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 QueuedetailsStatusMessages { /// /// Gets or Sets Title /// [DataMember(Name="title", EmitDefaultValue=false)] [JsonProperty(PropertyName = "title")] public string Title { get; set; } /// /// Gets or Sets Messages /// [DataMember(Name="messages", EmitDefaultValue=false)] [JsonProperty(PropertyName = "messages")] public List Messages { 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 QueuedetailsStatusMessages {\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" Messages: ").Append(Messages).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); } } }