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 InlineResponse2001 {
///
/// Gets or Sets Version
///
[DataMember(Name="version", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
///
/// Gets or Sets Branch
///
[DataMember(Name="branch", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "branch")]
public string Branch { get; set; }
///
/// Gets or Sets ReleaseDate
///
[DataMember(Name="releaseDate", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "releaseDate")]
public string ReleaseDate { get; set; }
///
/// Gets or Sets FileName
///
[DataMember(Name="fileName", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "fileName")]
public string FileName { get; set; }
///
/// Gets or Sets Url
///
[DataMember(Name="url", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
/// Gets or Sets Installed
///
[DataMember(Name="installed", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "installed")]
public bool? Installed { get; set; }
///
/// Gets or Sets Installable
///
[DataMember(Name="installable", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "installable")]
public bool? Installable { get; set; }
///
/// Gets or Sets Latest
///
[DataMember(Name="latest", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "latest")]
public bool? Latest { get; set; }
///
/// Gets or Sets Changes
///
[DataMember(Name="changes", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "changes")]
public InlineResponse2001Changes Changes { get; set; }
///
/// Gets or Sets Hash
///
[DataMember(Name="hash", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "hash")]
public string Hash { 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 InlineResponse2001 {\n");
sb.Append(" Version: ").Append(Version).Append("\n");
sb.Append(" Branch: ").Append(Branch).Append("\n");
sb.Append(" ReleaseDate: ").Append(ReleaseDate).Append("\n");
sb.Append(" FileName: ").Append(FileName).Append("\n");
sb.Append(" Url: ").Append(Url).Append("\n");
sb.Append(" Installed: ").Append(Installed).Append("\n");
sb.Append(" Installable: ").Append(Installable).Append("\n");
sb.Append(" Latest: ").Append(Latest).Append("\n");
sb.Append(" Changes: ").Append(Changes).Append("\n");
sb.Append(" Hash: ").Append(Hash).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);
}
}
}