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.
77 lines
2.2 KiB
77 lines
2.2 KiB
using System;
|
|
using System.Text;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace RadarrSharp.Models {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[DataContract]
|
|
public class InlineResponse2002 {
|
|
/// <summary>
|
|
/// Gets or Sets Page
|
|
/// </summary>
|
|
[DataMember(Name="page", EmitDefaultValue=false)]
|
|
[JsonProperty(PropertyName = "page")]
|
|
public int? Page { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets PageSize
|
|
/// </summary>
|
|
[DataMember(Name="pageSize", EmitDefaultValue=false)]
|
|
[JsonProperty(PropertyName = "pageSize")]
|
|
public int? PageSize { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets SortDirection
|
|
/// </summary>
|
|
[DataMember(Name="sortDirection", EmitDefaultValue=false)]
|
|
[JsonProperty(PropertyName = "sortDirection")]
|
|
public string SortDirection { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets TotalRecords
|
|
/// </summary>
|
|
[DataMember(Name="totalRecords", EmitDefaultValue=false)]
|
|
[JsonProperty(PropertyName = "totalRecords")]
|
|
public int? TotalRecords { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets Records
|
|
/// </summary>
|
|
[DataMember(Name="records", EmitDefaultValue=false)]
|
|
[JsonProperty(PropertyName = "records")]
|
|
public List<History> Records { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Get the string presentation of the object
|
|
/// </summary>
|
|
/// <returns>String presentation of the object</returns>
|
|
public override string ToString() {
|
|
var sb = new StringBuilder();
|
|
sb.Append("class InlineResponse2002 {\n");
|
|
sb.Append(" Page: ").Append(Page).Append("\n");
|
|
sb.Append(" PageSize: ").Append(PageSize).Append("\n");
|
|
sb.Append(" SortDirection: ").Append(SortDirection).Append("\n");
|
|
sb.Append(" TotalRecords: ").Append(TotalRecords).Append("\n");
|
|
sb.Append(" Records: ").Append(Records).Append("\n");
|
|
sb.Append("}\n");
|
|
return sb.ToString();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Get the JSON string presentation of the object
|
|
/// </summary>
|
|
/// <returns>JSON string presentation of the object</returns>
|
|
public string ToJson() {
|
|
return JsonConvert.SerializeObject(this, Formatting.Indented);
|
|
}
|
|
|
|
}
|
|
}
|