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 Blocklist {
///
/// 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 Date
///
[DataMember(Name="date", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "date")]
public string Date { get; set; }
///
/// Gets or Sets Protocol
///
[DataMember(Name="protocol", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "protocol")]
public string Protocol { get; set; }
///
/// Gets or Sets Indexer
///
[DataMember(Name="indexer", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "indexer")]
public string Indexer { get; set; }
///
/// Gets or Sets Message
///
[DataMember(Name="message", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "message")]
public string Message { 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 Blocklist {\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(" Date: ").Append(Date).Append("\n");
sb.Append(" Protocol: ").Append(Protocol).Append("\n");
sb.Append(" Indexer: ").Append(Indexer).Append("\n");
sb.Append(" Message: ").Append(Message).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);
}
}
}