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 QualityQuality {
///
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }
///
/// Gets or Sets Name
///
[DataMember(Name="name", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
/// Gets or Sets Source
///
[DataMember(Name="source", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }
///
/// Gets or Sets Resolution
///
[DataMember(Name="resolution", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "resolution")]
public int? Resolution { get; set; }
///
/// Gets or Sets Modifier
///
[DataMember(Name="modifier", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "modifier")]
public string Modifier { 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 QualityQuality {\n");
sb.Append(" Id: ").Append(Id).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" Source: ").Append(Source).Append("\n");
sb.Append(" Resolution: ").Append(Resolution).Append("\n");
sb.Append(" Modifier: ").Append(Modifier).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);
}
}
}