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 ImportList { /// /// Gets or Sets Enabled /// [DataMember(Name="enabled", EmitDefaultValue=false)] [JsonProperty(PropertyName = "enabled")] public bool? Enabled { get; set; } /// /// Gets or Sets EnableAuto /// [DataMember(Name="enableAuto", EmitDefaultValue=false)] [JsonProperty(PropertyName = "enableAuto")] public bool? EnableAuto { get; set; } /// /// Gets or Sets ShouldMonitor /// [DataMember(Name="shouldMonitor", EmitDefaultValue=false)] [JsonProperty(PropertyName = "shouldMonitor")] public bool? ShouldMonitor { get; set; } /// /// Gets or Sets RootFolderPath /// [DataMember(Name="rootFolderPath", EmitDefaultValue=false)] [JsonProperty(PropertyName = "rootFolderPath")] public string RootFolderPath { get; set; } /// /// Gets or Sets QualityProfileId /// [DataMember(Name="qualityProfileId", EmitDefaultValue=false)] [JsonProperty(PropertyName = "qualityProfileId")] public decimal? QualityProfileId { get; set; } /// /// Gets or Sets SearchOnAdd /// [DataMember(Name="searchOnAdd", EmitDefaultValue=false)] [JsonProperty(PropertyName = "searchOnAdd")] public bool? SearchOnAdd { get; set; } /// /// Gets or Sets MinimumAvailability /// [DataMember(Name="minimumAvailability", EmitDefaultValue=false)] [JsonProperty(PropertyName = "minimumAvailability")] public string MinimumAvailability { get; set; } /// /// Gets or Sets ListType /// [DataMember(Name="listType", EmitDefaultValue=false)] [JsonProperty(PropertyName = "listType")] public string ListType { get; set; } /// /// Gets or Sets ListOrder /// [DataMember(Name="listOrder", EmitDefaultValue=false)] [JsonProperty(PropertyName = "listOrder")] public decimal? ListOrder { get; set; } /// /// Gets or Sets Name /// [DataMember(Name="name", EmitDefaultValue=false)] [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// Gets or Sets Fields /// [DataMember(Name="fields", EmitDefaultValue=false)] [JsonProperty(PropertyName = "fields")] public List Fields { get; set; } /// /// Gets or Sets ImplementationName /// [DataMember(Name="implementationName", EmitDefaultValue=false)] [JsonProperty(PropertyName = "implementationName")] public string ImplementationName { get; set; } /// /// Gets or Sets Implementation /// [DataMember(Name="implementation", EmitDefaultValue=false)] [JsonProperty(PropertyName = "implementation")] public string Implementation { get; set; } /// /// Gets or Sets ConfigContract /// [DataMember(Name="configContract", EmitDefaultValue=false)] [JsonProperty(PropertyName = "configContract")] public string ConfigContract { get; set; } /// /// Gets or Sets InfoLink /// [DataMember(Name="infoLink", EmitDefaultValue=false)] [JsonProperty(PropertyName = "infoLink")] public string InfoLink { get; set; } /// /// Gets or Sets Tags /// [DataMember(Name="tags", EmitDefaultValue=false)] [JsonProperty(PropertyName = "tags")] public List Tags { 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 ImportList {\n"); sb.Append(" Enabled: ").Append(Enabled).Append("\n"); sb.Append(" EnableAuto: ").Append(EnableAuto).Append("\n"); sb.Append(" ShouldMonitor: ").Append(ShouldMonitor).Append("\n"); sb.Append(" RootFolderPath: ").Append(RootFolderPath).Append("\n"); sb.Append(" QualityProfileId: ").Append(QualityProfileId).Append("\n"); sb.Append(" SearchOnAdd: ").Append(SearchOnAdd).Append("\n"); sb.Append(" MinimumAvailability: ").Append(MinimumAvailability).Append("\n"); sb.Append(" ListType: ").Append(ListType).Append("\n"); sb.Append(" ListOrder: ").Append(ListOrder).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Fields: ").Append(Fields).Append("\n"); sb.Append(" ImplementationName: ").Append(ImplementationName).Append("\n"); sb.Append(" Implementation: ").Append(Implementation).Append("\n"); sb.Append(" ConfigContract: ").Append(ConfigContract).Append("\n"); sb.Append(" InfoLink: ").Append(InfoLink).Append("\n"); sb.Append(" Tags: ").Append(Tags).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); } } }