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 InlineResponse2004 { /// /// Gets or Sets FirstDayOfWeek /// [DataMember(Name="firstDayOfWeek", EmitDefaultValue=false)] [JsonProperty(PropertyName = "firstDayOfWeek")] public int? FirstDayOfWeek { get; set; } /// /// Gets or Sets CalendarWeekColumnHeader /// [DataMember(Name="calendarWeekColumnHeader", EmitDefaultValue=false)] [JsonProperty(PropertyName = "calendarWeekColumnHeader")] public string CalendarWeekColumnHeader { get; set; } /// /// Gets or Sets MovieRuntimeFormat /// [DataMember(Name="movieRuntimeFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "movieRuntimeFormat")] public string MovieRuntimeFormat { get; set; } /// /// Gets or Sets ShortDateFormat /// [DataMember(Name="shortDateFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "shortDateFormat")] public string ShortDateFormat { get; set; } /// /// Gets or Sets LongDateFormat /// [DataMember(Name="longDateFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "longDateFormat")] public string LongDateFormat { get; set; } /// /// Gets or Sets TimeFormat /// [DataMember(Name="timeFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "timeFormat")] public string TimeFormat { get; set; } /// /// Gets or Sets ShowRelativeDates /// [DataMember(Name="showRelativeDates", EmitDefaultValue=false)] [JsonProperty(PropertyName = "showRelativeDates")] public bool? ShowRelativeDates { get; set; } /// /// Gets or Sets EnableColorImpairedMode /// [DataMember(Name="enableColorImpairedMode", EmitDefaultValue=false)] [JsonProperty(PropertyName = "enableColorImpairedMode")] public bool? EnableColorImpairedMode { get; set; } /// /// Gets or Sets MovieInfoLanguage /// [DataMember(Name="movieInfoLanguage", EmitDefaultValue=false)] [JsonProperty(PropertyName = "movieInfoLanguage")] public int? MovieInfoLanguage { 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 InlineResponse2004 {\n"); sb.Append(" FirstDayOfWeek: ").Append(FirstDayOfWeek).Append("\n"); sb.Append(" CalendarWeekColumnHeader: ").Append(CalendarWeekColumnHeader).Append("\n"); sb.Append(" MovieRuntimeFormat: ").Append(MovieRuntimeFormat).Append("\n"); sb.Append(" ShortDateFormat: ").Append(ShortDateFormat).Append("\n"); sb.Append(" LongDateFormat: ").Append(LongDateFormat).Append("\n"); sb.Append(" TimeFormat: ").Append(TimeFormat).Append("\n"); sb.Append(" ShowRelativeDates: ").Append(ShowRelativeDates).Append("\n"); sb.Append(" EnableColorImpairedMode: ").Append(EnableColorImpairedMode).Append("\n"); sb.Append(" MovieInfoLanguage: ").Append(MovieInfoLanguage).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); } } }