namespace AMWD.Net.Api.Cloudflare
{
///
/// The base Cloudflare response.
/// Derived from Source: Result
///
public class CloudflareResponse
{
///
/// Errors returned by the API call.
///
[JsonProperty("errors")]
public IReadOnlyCollection? Errors { get; set; }
///
/// Messages returned by the API call.
///
[JsonProperty("messages")]
public IReadOnlyCollection? Messages { get; set; }
///
/// Whether the API call was successful.
///
[JsonProperty("success")]
public bool Success { get; set; }
}
///
/// The result type.
public class CloudflareResponse : CloudflareResponse
{
///
/// The result of the API call.
///
[JsonProperty("result")]
public T? Result { get; set; }
///
/// Information about the result of the request.
///
[JsonProperty("result_info")]
public PaginationInfo? ResultInfo { get; set; }
}
}