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 TagDetail { /// /// Gets or Sets Id /// [DataMember(Name="id", EmitDefaultValue=false)] [JsonProperty(PropertyName = "id")] public int? Id { get; set; } /// /// Gets or Sets Label /// [DataMember(Name="label", EmitDefaultValue=false)] [JsonProperty(PropertyName = "label")] public string Label { get; set; } /// /// Gets or Sets DelayProfileIds /// [DataMember(Name="delayProfileIds", EmitDefaultValue=false)] [JsonProperty(PropertyName = "delayProfileIds")] public List DelayProfileIds { get; set; } /// /// Gets or Sets NotificationIds /// [DataMember(Name="notificationIds", EmitDefaultValue=false)] [JsonProperty(PropertyName = "notificationIds")] public List NotificationIds { get; set; } /// /// Gets or Sets RestrictionIds /// [DataMember(Name="restrictionIds", EmitDefaultValue=false)] [JsonProperty(PropertyName = "restrictionIds")] public List RestrictionIds { get; set; } /// /// Gets or Sets NetImportIds /// [DataMember(Name="netImportIds", EmitDefaultValue=false)] [JsonProperty(PropertyName = "netImportIds")] public List NetImportIds { get; set; } /// /// Gets or Sets MovieIds /// [DataMember(Name="movieIds", EmitDefaultValue=false)] [JsonProperty(PropertyName = "movieIds")] public List MovieIds { 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 TagDetail {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Label: ").Append(Label).Append("\n"); sb.Append(" DelayProfileIds: ").Append(DelayProfileIds).Append("\n"); sb.Append(" NotificationIds: ").Append(NotificationIds).Append("\n"); sb.Append(" RestrictionIds: ").Append(RestrictionIds).Append("\n"); sb.Append(" NetImportIds: ").Append(NetImportIds).Append("\n"); sb.Append(" MovieIds: ").Append(MovieIds).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); } } }