using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// /// /// [DataContract] public class ApiModelContainercrashdata { /// /// Auto Generated Field for exit_code /// /// Auto Generated Field for exit_code [DataMember(Name="exit_code", EmitDefaultValue=false)] [JsonProperty(PropertyName = "exit_code")] public int? ExitCode { get; set; } /// /// Auto Generated Field for message /// /// Auto Generated Field for message [DataMember(Name="message", EmitDefaultValue=false)] [JsonProperty(PropertyName = "message")] public string Message { get; set; } /// /// Auto Generated Field for restart_count /// /// Auto Generated Field for restart_count [DataMember(Name="restart_count", EmitDefaultValue=false)] [JsonProperty(PropertyName = "restart_count")] public int? RestartCount { get; set; } /// /// Get the string presentation of the object /// /// String presentation of the object public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class ApiModelContainercrashdata {\n"); sb.Append(" ExitCode: ").Append(ExitCode).Append("\n"); sb.Append(" Message: ").Append(Message).Append("\n"); sb.Append(" RestartCount: ").Append(RestartCount).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); } } }