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 TotalMetricsModel { /// /// Gets or Sets ReceiveTotal /// [DataMember(Name="receive_total", EmitDefaultValue=false)] [JsonProperty(PropertyName = "receive_total")] public MetricsModel ReceiveTotal { get; set; } /// /// Gets or Sets TransmitTotal /// [DataMember(Name="transmit_total", EmitDefaultValue=false)] [JsonProperty(PropertyName = "transmit_total")] public MetricsModel TransmitTotal { get; set; } /// /// Gets or Sets DiskReadTotal /// [DataMember(Name="disk_read_total", EmitDefaultValue=false)] [JsonProperty(PropertyName = "disk_read_total")] public MetricsModel DiskReadTotal { get; set; } /// /// Gets or Sets DiskWriteTotal /// [DataMember(Name="disk_write_total", EmitDefaultValue=false)] [JsonProperty(PropertyName = "disk_write_total")] public MetricsModel DiskWriteTotal { 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 TotalMetricsModel {\n"); sb.Append(" ReceiveTotal: ").Append(ReceiveTotal).Append("\n"); sb.Append(" TransmitTotal: ").Append(TransmitTotal).Append("\n"); sb.Append(" DiskReadTotal: ").Append(DiskReadTotal).Append("\n"); sb.Append(" DiskWriteTotal: ").Append(DiskWriteTotal).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); } } }