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 MovieEditorBody { /// /// Gets or Sets MovieIds /// [DataMember(Name="movieIds", EmitDefaultValue=false)] [JsonProperty(PropertyName = "movieIds")] public List MovieIds { get; set; } /// /// Gets or Sets Monitored /// [DataMember(Name="monitored", EmitDefaultValue=false)] [JsonProperty(PropertyName = "monitored")] public bool? Monitored { get; set; } /// /// Gets or Sets QualityProfileId /// [DataMember(Name="qualityProfileId", EmitDefaultValue=false)] [JsonProperty(PropertyName = "qualityProfileId")] public int? QualityProfileId { get; set; } /// /// Gets or Sets MinimumAvailability /// [DataMember(Name="minimumAvailability", EmitDefaultValue=false)] [JsonProperty(PropertyName = "minimumAvailability")] public string MinimumAvailability { get; set; } /// /// Gets or Sets RootFolderPath /// [DataMember(Name="rootFolderPath", EmitDefaultValue=false)] [JsonProperty(PropertyName = "rootFolderPath")] public string RootFolderPath { get; set; } /// /// Gets or Sets Tags /// [DataMember(Name="tags", EmitDefaultValue=false)] [JsonProperty(PropertyName = "tags")] public List Tags { get; set; } /// /// Gets or Sets ApplyTags /// [DataMember(Name="applyTags", EmitDefaultValue=false)] [JsonProperty(PropertyName = "applyTags")] public string ApplyTags { get; set; } /// /// Gets or Sets MoveFiles /// [DataMember(Name="moveFiles", EmitDefaultValue=false)] [JsonProperty(PropertyName = "moveFiles")] public bool? MoveFiles { 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 MovieEditorBody {\n"); sb.Append(" MovieIds: ").Append(MovieIds).Append("\n"); sb.Append(" Monitored: ").Append(Monitored).Append("\n"); sb.Append(" QualityProfileId: ").Append(QualityProfileId).Append("\n"); sb.Append(" MinimumAvailability: ").Append(MinimumAvailability).Append("\n"); sb.Append(" RootFolderPath: ").Append(RootFolderPath).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" ApplyTags: ").Append(ApplyTags).Append("\n"); sb.Append(" MoveFiles: ").Append(MoveFiles).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); } } }