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 MovieFileMediaInfo { /// /// Gets or Sets AudioAdditionalFeatures /// [DataMember(Name="audioAdditionalFeatures", EmitDefaultValue=false)] [JsonProperty(PropertyName = "audioAdditionalFeatures")] public string AudioAdditionalFeatures { get; set; } /// /// Gets or Sets AudioBitrate /// [DataMember(Name="audioBitrate", EmitDefaultValue=false)] [JsonProperty(PropertyName = "audioBitrate")] public decimal? AudioBitrate { get; set; } /// /// Gets or Sets AudioChannels /// [DataMember(Name="audioChannels", EmitDefaultValue=false)] [JsonProperty(PropertyName = "audioChannels")] public decimal? AudioChannels { get; set; } /// /// Gets or Sets AudioCodec /// [DataMember(Name="audioCodec", EmitDefaultValue=false)] [JsonProperty(PropertyName = "audioCodec")] public string AudioCodec { get; set; } /// /// Gets or Sets AudioLanguages /// [DataMember(Name="audioLanguages", EmitDefaultValue=false)] [JsonProperty(PropertyName = "audioLanguages")] public string AudioLanguages { get; set; } /// /// Gets or Sets AudioStreamCount /// [DataMember(Name="audioStreamCount", EmitDefaultValue=false)] [JsonProperty(PropertyName = "audioStreamCount")] public decimal? AudioStreamCount { get; set; } /// /// Gets or Sets VideoBitDepth /// [DataMember(Name="videoBitDepth", EmitDefaultValue=false)] [JsonProperty(PropertyName = "videoBitDepth")] public decimal? VideoBitDepth { get; set; } /// /// Gets or Sets VideoBitrate /// [DataMember(Name="videoBitrate", EmitDefaultValue=false)] [JsonProperty(PropertyName = "videoBitrate")] public decimal? VideoBitrate { get; set; } /// /// Gets or Sets VideoCodec /// [DataMember(Name="videoCodec", EmitDefaultValue=false)] [JsonProperty(PropertyName = "videoCodec")] public string VideoCodec { get; set; } /// /// Gets or Sets VideoFps /// [DataMember(Name="videoFps", EmitDefaultValue=false)] [JsonProperty(PropertyName = "videoFps")] public decimal? VideoFps { get; set; } /// /// Gets or Sets Resolution /// [DataMember(Name="resolution", EmitDefaultValue=false)] [JsonProperty(PropertyName = "resolution")] public string Resolution { get; set; } /// /// Gets or Sets RunTime /// [DataMember(Name="runTime", EmitDefaultValue=false)] [JsonProperty(PropertyName = "runTime")] public string RunTime { get; set; } /// /// Gets or Sets ScanType /// [DataMember(Name="scanType", EmitDefaultValue=false)] [JsonProperty(PropertyName = "scanType")] public string ScanType { get; set; } /// /// Gets or Sets Subtitles /// [DataMember(Name="subtitles", EmitDefaultValue=false)] [JsonProperty(PropertyName = "subtitles")] public string Subtitles { 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 MovieFileMediaInfo {\n"); sb.Append(" AudioAdditionalFeatures: ").Append(AudioAdditionalFeatures).Append("\n"); sb.Append(" AudioBitrate: ").Append(AudioBitrate).Append("\n"); sb.Append(" AudioChannels: ").Append(AudioChannels).Append("\n"); sb.Append(" AudioCodec: ").Append(AudioCodec).Append("\n"); sb.Append(" AudioLanguages: ").Append(AudioLanguages).Append("\n"); sb.Append(" AudioStreamCount: ").Append(AudioStreamCount).Append("\n"); sb.Append(" VideoBitDepth: ").Append(VideoBitDepth).Append("\n"); sb.Append(" VideoBitrate: ").Append(VideoBitrate).Append("\n"); sb.Append(" VideoCodec: ").Append(VideoCodec).Append("\n"); sb.Append(" VideoFps: ").Append(VideoFps).Append("\n"); sb.Append(" Resolution: ").Append(Resolution).Append("\n"); sb.Append(" RunTime: ").Append(RunTime).Append("\n"); sb.Append(" ScanType: ").Append(ScanType).Append("\n"); sb.Append(" Subtitles: ").Append(Subtitles).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); } } }