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.
69 lines
1.9 KiB
69 lines
1.9 KiB
3 years ago
|
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 InlineResponse2003 {
|
||
|
/// <summary>
|
||
|
/// Gets or Sets Type
|
||
|
/// </summary>
|
||
|
[DataMember(Name="type", EmitDefaultValue=false)]
|
||
|
[JsonProperty(PropertyName = "type")]
|
||
|
public string Type { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets or Sets Label
|
||
|
/// </summary>
|
||
|
[DataMember(Name="label", EmitDefaultValue=false)]
|
||
|
[JsonProperty(PropertyName = "label")]
|
||
|
public string Label { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets or Sets Filters
|
||
|
/// </summary>
|
||
|
[DataMember(Name="filters", EmitDefaultValue=false)]
|
||
|
[JsonProperty(PropertyName = "filters")]
|
||
|
public List<CustomfilterFilters> Filters { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets or Sets Id
|
||
|
/// </summary>
|
||
|
[DataMember(Name="id", EmitDefaultValue=false)]
|
||
|
[JsonProperty(PropertyName = "id")]
|
||
|
public int? Id { 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 InlineResponse2003 {\n");
|
||
|
sb.Append(" Type: ").Append(Type).Append("\n");
|
||
|
sb.Append(" Label: ").Append(Label).Append("\n");
|
||
|
sb.Append(" Filters: ").Append(Filters).Append("\n");
|
||
|
sb.Append(" Id: ").Append(Id).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);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|