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 InlineResponse200 { /// /// Gets or Sets Version /// [DataMember(Name="version", EmitDefaultValue=false)] [JsonProperty(PropertyName = "version")] public string Version { get; set; } /// /// Gets or Sets BuildTime /// [DataMember(Name="buildTime", EmitDefaultValue=false)] [JsonProperty(PropertyName = "buildTime")] public string BuildTime { get; set; } /// /// Gets or Sets IsDebug /// [DataMember(Name="isDebug", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isDebug")] public bool? IsDebug { get; set; } /// /// Gets or Sets IsProduction /// [DataMember(Name="isProduction", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isProduction")] public bool? IsProduction { get; set; } /// /// Gets or Sets IsAdmin /// [DataMember(Name="isAdmin", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isAdmin")] public bool? IsAdmin { get; set; } /// /// Gets or Sets IsUserInteractive /// [DataMember(Name="isUserInteractive", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isUserInteractive")] public bool? IsUserInteractive { get; set; } /// /// Gets or Sets StartupPath /// [DataMember(Name="startupPath", EmitDefaultValue=false)] [JsonProperty(PropertyName = "startupPath")] public string StartupPath { get; set; } /// /// Gets or Sets AppData /// [DataMember(Name="appData", EmitDefaultValue=false)] [JsonProperty(PropertyName = "appData")] public string AppData { get; set; } /// /// Gets or Sets OsName /// [DataMember(Name="osName", EmitDefaultValue=false)] [JsonProperty(PropertyName = "osName")] public string OsName { get; set; } /// /// Gets or Sets OsVersion /// [DataMember(Name="osVersion", EmitDefaultValue=false)] [JsonProperty(PropertyName = "osVersion")] public string OsVersion { get; set; } /// /// Gets or Sets IsNetCore /// [DataMember(Name="isNetCore", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isNetCore")] public bool? IsNetCore { get; set; } /// /// Gets or Sets IsMono /// [DataMember(Name="isMono", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isMono")] public bool? IsMono { get; set; } /// /// Gets or Sets IsLinux /// [DataMember(Name="isLinux", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isLinux")] public bool? IsLinux { get; set; } /// /// Gets or Sets IsOsx /// [DataMember(Name="isOsx", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isOsx")] public bool? IsOsx { get; set; } /// /// Gets or Sets IsWindows /// [DataMember(Name="isWindows", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isWindows")] public bool? IsWindows { get; set; } /// /// Gets or Sets IsDocker /// [DataMember(Name="isDocker", EmitDefaultValue=false)] [JsonProperty(PropertyName = "isDocker")] public bool? IsDocker { get; set; } /// /// Gets or Sets Mode /// [DataMember(Name="mode", EmitDefaultValue=false)] [JsonProperty(PropertyName = "mode")] public string Mode { get; set; } /// /// Gets or Sets Branch /// [DataMember(Name="branch", EmitDefaultValue=false)] [JsonProperty(PropertyName = "branch")] public string Branch { get; set; } /// /// Gets or Sets Authentication /// [DataMember(Name="authentication", EmitDefaultValue=false)] [JsonProperty(PropertyName = "authentication")] public string Authentication { get; set; } /// /// Gets or Sets SqliteVersion /// [DataMember(Name="sqliteVersion", EmitDefaultValue=false)] [JsonProperty(PropertyName = "sqliteVersion")] public string SqliteVersion { get; set; } /// /// Gets or Sets MigrationVersion /// [DataMember(Name="migrationVersion", EmitDefaultValue=false)] [JsonProperty(PropertyName = "migrationVersion")] public int? MigrationVersion { get; set; } /// /// Gets or Sets UrlBase /// [DataMember(Name="urlBase", EmitDefaultValue=false)] [JsonProperty(PropertyName = "urlBase")] public string UrlBase { get; set; } /// /// Gets or Sets RuntimeVersion /// [DataMember(Name="runtimeVersion", EmitDefaultValue=false)] [JsonProperty(PropertyName = "runtimeVersion")] public string RuntimeVersion { get; set; } /// /// Gets or Sets RuntimeName /// [DataMember(Name="runtimeName", EmitDefaultValue=false)] [JsonProperty(PropertyName = "runtimeName")] public string RuntimeName { get; set; } /// /// Gets or Sets StartTime /// [DataMember(Name="startTime", EmitDefaultValue=false)] [JsonProperty(PropertyName = "startTime")] public string StartTime { get; set; } /// /// Gets or Sets PackageUpdateMechanism /// [DataMember(Name="packageUpdateMechanism", EmitDefaultValue=false)] [JsonProperty(PropertyName = "packageUpdateMechanism")] public string PackageUpdateMechanism { 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 InlineResponse200 {\n"); sb.Append(" Version: ").Append(Version).Append("\n"); sb.Append(" BuildTime: ").Append(BuildTime).Append("\n"); sb.Append(" IsDebug: ").Append(IsDebug).Append("\n"); sb.Append(" IsProduction: ").Append(IsProduction).Append("\n"); sb.Append(" IsAdmin: ").Append(IsAdmin).Append("\n"); sb.Append(" IsUserInteractive: ").Append(IsUserInteractive).Append("\n"); sb.Append(" StartupPath: ").Append(StartupPath).Append("\n"); sb.Append(" AppData: ").Append(AppData).Append("\n"); sb.Append(" OsName: ").Append(OsName).Append("\n"); sb.Append(" OsVersion: ").Append(OsVersion).Append("\n"); sb.Append(" IsNetCore: ").Append(IsNetCore).Append("\n"); sb.Append(" IsMono: ").Append(IsMono).Append("\n"); sb.Append(" IsLinux: ").Append(IsLinux).Append("\n"); sb.Append(" IsOsx: ").Append(IsOsx).Append("\n"); sb.Append(" IsWindows: ").Append(IsWindows).Append("\n"); sb.Append(" IsDocker: ").Append(IsDocker).Append("\n"); sb.Append(" Mode: ").Append(Mode).Append("\n"); sb.Append(" Branch: ").Append(Branch).Append("\n"); sb.Append(" Authentication: ").Append(Authentication).Append("\n"); sb.Append(" SqliteVersion: ").Append(SqliteVersion).Append("\n"); sb.Append(" MigrationVersion: ").Append(MigrationVersion).Append("\n"); sb.Append(" UrlBase: ").Append(UrlBase).Append("\n"); sb.Append(" RuntimeVersion: ").Append(RuntimeVersion).Append("\n"); sb.Append(" RuntimeName: ").Append(RuntimeName).Append("\n"); sb.Append(" StartTime: ").Append(StartTime).Append("\n"); sb.Append(" PackageUpdateMechanism: ").Append(PackageUpdateMechanism).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); } } }