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 MetricsResponse {
///
/// Gets or Sets Total
///
[DataMember(Name="total", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "total")]
public TotalMetricsModel Total { get; set; }
///
/// Gets or Sets Cpu
///
[DataMember(Name="cpu", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "cpu")]
public MetricsModel Cpu { get; set; }
///
/// Gets or Sets Mem
///
[DataMember(Name="mem", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "mem")]
public MetricsModel Mem { get; set; }
///
/// Gets or Sets Network
///
[DataMember(Name="network", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "network")]
public NetworkMetricsModel Network { 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 MetricsResponse {\n");
sb.Append(" Total: ").Append(Total).Append("\n");
sb.Append(" Cpu: ").Append(Cpu).Append("\n");
sb.Append(" Mem: ").Append(Mem).Append("\n");
sb.Append(" Network: ").Append(Network).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);
}
}
}