You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.6 KiB

3 years ago
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace RadarrSharp.Models {
/// <summary>
///
/// </summary>
[DataContract]
public class ProviderField {
/// <summary>
/// Gets or Sets Order
/// </summary>
[DataMember(Name="order", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "order")]
public int? Order { get; set; }
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
/// <summary>
/// Gets or Sets Label
/// </summary>
[DataMember(Name="label", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "label")]
public string Label { get; set; }
/// <summary>
/// Gets or Sets HelpText
/// </summary>
[DataMember(Name="helpText", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "helpText")]
public string HelpText { get; set; }
/// <summary>
/// Gets or Sets Value
/// </summary>
[DataMember(Name="value", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
/// <summary>
/// Gets or Sets Type
/// </summary>
[DataMember(Name="type", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
/// <summary>
/// Gets or Sets Advanced
/// </summary>
[DataMember(Name="advanced", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "advanced")]
public bool? Advanced { get; set; }
/// <summary>
/// Get the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString() {
var sb = new StringBuilder();
sb.Append("class ProviderField {\n");
sb.Append(" Order: ").Append(Order).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" Label: ").Append(Label).Append("\n");
sb.Append(" HelpText: ").Append(HelpText).Append("\n");
sb.Append(" Value: ").Append(Value).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" Advanced: ").Append(Advanced).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
/// <summary>
/// Get the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public string ToJson() {
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
}
}