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 ConfigNamingBody { /// /// Gets or Sets RenameMovies /// [DataMember(Name="renameMovies", EmitDefaultValue=false)] [JsonProperty(PropertyName = "renameMovies")] public bool? RenameMovies { get; set; } /// /// Gets or Sets ReplaceIllegalCharacters /// [DataMember(Name="replaceIllegalCharacters", EmitDefaultValue=false)] [JsonProperty(PropertyName = "replaceIllegalCharacters")] public bool? ReplaceIllegalCharacters { get; set; } /// /// Gets or Sets ColonReplacementFormat /// [DataMember(Name="colonReplacementFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "colonReplacementFormat")] public string ColonReplacementFormat { get; set; } /// /// Gets or Sets StandardMovieFormat /// [DataMember(Name="standardMovieFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "standardMovieFormat")] public string StandardMovieFormat { get; set; } /// /// Gets or Sets MovieFolderFormat /// [DataMember(Name="movieFolderFormat", EmitDefaultValue=false)] [JsonProperty(PropertyName = "movieFolderFormat")] public string MovieFolderFormat { get; set; } /// /// Gets or Sets IncludeQuality /// [DataMember(Name="includeQuality", EmitDefaultValue=false)] [JsonProperty(PropertyName = "includeQuality")] public bool? IncludeQuality { get; set; } /// /// Gets or Sets ReplaceSpaces /// [DataMember(Name="replaceSpaces", EmitDefaultValue=false)] [JsonProperty(PropertyName = "replaceSpaces")] public bool? ReplaceSpaces { get; set; } /// /// Gets or Sets Id /// [DataMember(Name="id", EmitDefaultValue=false)] [JsonProperty(PropertyName = "id")] public decimal? 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 ConfigNamingBody {\n"); sb.Append(" RenameMovies: ").Append(RenameMovies).Append("\n"); sb.Append(" ReplaceIllegalCharacters: ").Append(ReplaceIllegalCharacters).Append("\n"); sb.Append(" ColonReplacementFormat: ").Append(ColonReplacementFormat).Append("\n"); sb.Append(" StandardMovieFormat: ").Append(StandardMovieFormat).Append("\n"); sb.Append(" MovieFolderFormat: ").Append(MovieFolderFormat).Append("\n"); sb.Append(" IncludeQuality: ").Append(IncludeQuality).Append("\n"); sb.Append(" ReplaceSpaces: ").Append(ReplaceSpaces).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); } } }