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 InlineResponse2005 { /// /// Gets or Sets Host /// [DataMember(Name="host", EmitDefaultValue=false)] [JsonProperty(PropertyName = "host")] public string Host { get; set; } /// /// Gets or Sets RemotePath /// [DataMember(Name="remotePath", EmitDefaultValue=false)] [JsonProperty(PropertyName = "remotePath")] public string RemotePath { get; set; } /// /// Gets or Sets LocalPath /// [DataMember(Name="localPath", EmitDefaultValue=false)] [JsonProperty(PropertyName = "localPath")] public string LocalPath { 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 InlineResponse2005 {\n"); sb.Append(" Host: ").Append(Host).Append("\n"); sb.Append(" RemotePath: ").Append(RemotePath).Append("\n"); sb.Append(" LocalPath: ").Append(LocalPath).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); } } }