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 CustomFormatSpecifications {
///
/// Gets or Sets Name
///
[DataMember(Name="name", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
/// Gets or Sets Implementation
///
[DataMember(Name="implementation", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "implementation")]
public string Implementation { get; set; }
///
/// Gets or Sets ImplementationName
///
[DataMember(Name="implementationName", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "implementationName")]
public string ImplementationName { get; set; }
///
/// Gets or Sets InfoLink
///
[DataMember(Name="infoLink", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "infoLink")]
public string InfoLink { get; set; }
///
/// Gets or Sets Negate
///
[DataMember(Name="negate", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "negate")]
public bool? Negate { get; set; }
///
/// Gets or Sets Required
///
[DataMember(Name="required", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "required")]
public bool? Required { get; set; }
///
/// Gets or Sets Fields
///
[DataMember(Name="fields", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "fields")]
public List Fields { 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 CustomFormatSpecifications {\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" Implementation: ").Append(Implementation).Append("\n");
sb.Append(" ImplementationName: ").Append(ImplementationName).Append("\n");
sb.Append(" InfoLink: ").Append(InfoLink).Append("\n");
sb.Append(" Negate: ").Append(Negate).Append("\n");
sb.Append(" Required: ").Append(Required).Append("\n");
sb.Append(" Fields: ").Append(Fields).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);
}
}
}