using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace RadarrSharp.Models {
///
///
///
[DataContract]
public class InlineResponse2006 {
///
/// 1
///
/// 1
[DataMember(Name="page", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "page")]
public int? Page { get; set; }
///
/// 20
///
/// 20
[DataMember(Name="pageSize", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "pageSize")]
public int? PageSize { get; set; }
///
/// descending
///
/// descending
[DataMember(Name="sortDirection", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "sortDirection")]
public string SortDirection { get; set; }
///
/// date
///
/// date
[DataMember(Name="sortKey", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "sortKey")]
public string SortKey { get; set; }
///
/// Gets or Sets TotalRecords
///
[DataMember(Name="totalRecords", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "totalRecords")]
public int? TotalRecords { get; set; }
///
/// Gets or Sets Records
///
[DataMember(Name="records", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "records")]
public List Records { get; set; }
///
/// Get the string presentation of the object
///
/// String presentation of the object
public override string ToString() {
var sb = new StringBuilder();
sb.Append("class InlineResponse2006 {\n");
sb.Append(" Page: ").Append(Page).Append("\n");
sb.Append(" PageSize: ").Append(PageSize).Append("\n");
sb.Append(" SortDirection: ").Append(SortDirection).Append("\n");
sb.Append(" SortKey: ").Append(SortKey).Append("\n");
sb.Append(" TotalRecords: ").Append(TotalRecords).Append("\n");
sb.Append(" Records: ").Append(Records).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
///
/// Get the JSON string presentation of the object
///
/// JSON string presentation of the object
public string ToJson() {
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
}
}