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 History {
///
/// Gets or Sets MovieId
///
[DataMember(Name="movieId", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "movieId")]
public decimal? MovieId { get; set; }
///
/// Gets or Sets SourceTitle
///
[DataMember(Name="sourceTitle", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "sourceTitle")]
public string SourceTitle { get; set; }
///
/// Gets or Sets Languages
///
[DataMember(Name="languages", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "languages")]
public List Languages { get; set; }
///
/// Gets or Sets Quality
///
[DataMember(Name="quality", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "quality")]
public Quality Quality { get; set; }
///
/// Gets or Sets CustomFormats
///
[DataMember(Name="customFormats", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "customFormats")]
public List CustomFormats { get; set; }
///
/// Gets or Sets QualityCutoffNotMet
///
[DataMember(Name="qualityCutoffNotMet", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "qualityCutoffNotMet")]
public bool? QualityCutoffNotMet { get; set; }
///
/// Gets or Sets Date
///
[DataMember(Name="date", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "date")]
public string Date { get; set; }
///
/// Gets or Sets DownloadId
///
[DataMember(Name="downloadId", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "downloadId")]
public string DownloadId { get; set; }
///
/// Gets or Sets EventType
///
[DataMember(Name="eventType", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "eventType")]
public string EventType { get; set; }
///
/// Gets or Sets Data
///
[DataMember(Name="data", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "data")]
public Object Data { 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 History {\n");
sb.Append(" MovieId: ").Append(MovieId).Append("\n");
sb.Append(" SourceTitle: ").Append(SourceTitle).Append("\n");
sb.Append(" Languages: ").Append(Languages).Append("\n");
sb.Append(" Quality: ").Append(Quality).Append("\n");
sb.Append(" CustomFormats: ").Append(CustomFormats).Append("\n");
sb.Append(" QualityCutoffNotMet: ").Append(QualityCutoffNotMet).Append("\n");
sb.Append(" Date: ").Append(Date).Append("\n");
sb.Append(" DownloadId: ").Append(DownloadId).Append("\n");
sb.Append(" EventType: ").Append(EventType).Append("\n");
sb.Append(" Data: ").Append(Data).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);
}
}
}