using Newtonsoft.Json;
namespace PepperDash.Essentials
{
///
/// Represents a AuthorizationResponse
///
public class AuthorizationResponse
{
[JsonProperty("authorized")]
///
/// Gets or sets the Authorized
///
public bool Authorized { get; set; }
[JsonProperty("reason", NullValueHandling = NullValueHandling.Ignore)]
///
/// Gets or sets the Reason
///
public string Reason { get; set; } = null;
}
///
/// Represents a AuthorizationRequest
///
public class AuthorizationRequest
{
[JsonProperty("grantCode")]
///
/// Gets or sets the GrantCode
///
public string GrantCode { get; set; }
}
}