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 DownloadClient {
///
/// Gets or Sets Enable
///
[DataMember(Name="enable", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "enable")]
public bool? Enable { get; set; }
///
/// Gets or Sets Protocol
///
[DataMember(Name="protocol", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "protocol")]
public string Protocol { get; set; }
///
/// Gets or Sets Priority
///
[DataMember(Name="priority", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "priority")]
public int? Priority { get; set; }
///
/// Gets or Sets Name
///
[DataMember(Name="name", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
/// Gets or Sets Fields
///
[DataMember(Name="fields", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "fields")]
public List Fields { get; set; }
///
/// Gets or Sets ImplementationName
///
[DataMember(Name="implementationName", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "implementationName")]
public string ImplementationName { get; set; }
///
/// Gets or Sets Implementation
///
[DataMember(Name="implementation", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "implementation")]
public string Implementation { get; set; }
///
/// Gets or Sets ConfigContract
///
[DataMember(Name="configContract", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "configContract")]
public string ConfigContract { get; set; }
///
/// Gets or Sets InfoLink
///
[DataMember(Name="infoLink", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "infoLink")]
public string InfoLink { get; set; }
///
/// Gets or Sets Tags
///
[DataMember(Name="tags", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "tags")]
public List Tags { get; set; }
///
/// Gets or Sets Id
///
[DataMember(Name="id", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "id")]
public int? 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 DownloadClient {\n");
sb.Append(" Enable: ").Append(Enable).Append("\n");
sb.Append(" Protocol: ").Append(Protocol).Append("\n");
sb.Append(" Priority: ").Append(Priority).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" Fields: ").Append(Fields).Append("\n");
sb.Append(" ImplementationName: ").Append(ImplementationName).Append("\n");
sb.Append(" Implementation: ").Append(Implementation).Append("\n");
sb.Append(" ConfigContract: ").Append(ConfigContract).Append("\n");
sb.Append(" InfoLink: ").Append(InfoLink).Append("\n");
sb.Append(" Tags: ").Append(Tags).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);
}
}
}