31 lines
577 B
C#
31 lines
577 B
C#
using Newtonsoft.Json;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace PocketSharp.Models
|
|
{
|
|
/// <summary>
|
|
/// Access Code
|
|
/// </summary>
|
|
[JsonObject]
|
|
internal class AccessCode
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the code.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The code.
|
|
/// </value>
|
|
[JsonProperty("access_token")]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the username.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The username.
|
|
/// </value>
|
|
[JsonProperty]
|
|
public string Username { get; set; }
|
|
}
|
|
}
|