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 InlineResponse2003 { /// /// Gets or Sets Type /// [DataMember(Name="type", EmitDefaultValue=false)] [JsonProperty(PropertyName = "type")] public string Type { get; set; } /// /// Gets or Sets Label /// [DataMember(Name="label", EmitDefaultValue=false)] [JsonProperty(PropertyName = "label")] public string Label { get; set; } /// /// Gets or Sets Filters /// [DataMember(Name="filters", EmitDefaultValue=false)] [JsonProperty(PropertyName = "filters")] public List Filters { get; set; } /// /// Gets or Sets Id /// [DataMember(Name="id", EmitDefaultValue=false)] [JsonProperty(PropertyName = "id")] public int? Id { 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 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(); } /// /// Get the JSON string presentation of the object /// /// JSON string presentation of the object public string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }