You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
940 B
38 lines
940 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Wing.Model
|
|
{
|
|
public class WTokenResponse : WingApiResponse
|
|
{
|
|
public WTokenData Data { get; set; }
|
|
|
|
}
|
|
|
|
public class WTokenData
|
|
{
|
|
public string AccessCode { get; set; }
|
|
public int ExpiryTime { get; set; }
|
|
public string TokenType { get; set; }
|
|
public string Scope { get; set; }
|
|
}
|
|
|
|
|
|
public class WingApiResponse
|
|
{
|
|
public bool Success { get; set; }
|
|
public string StatusCode { get; set; }
|
|
public object MessageType { get; set; }
|
|
public string StatusDescription { get; set; }
|
|
}
|
|
public class ApiException
|
|
{
|
|
public string error_code { get; set; }
|
|
public string message { get; set; }
|
|
public string error { get; set; }
|
|
public string error_description { get; set; }
|
|
}
|
|
}
|