This commit is contained in:
2026-02-11 20:50:03 +05:30
parent df77848ca5
commit 614c38bdaf
2303 changed files with 256620 additions and 4 deletions
@@ -0,0 +1,68 @@
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace IO.Swagger.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class MetricsResponse {
/// <summary>
/// Gets or Sets Total
/// </summary>
[DataMember(Name="total", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "total")]
public TotalMetricsModel Total { get; set; }
/// <summary>
/// Gets or Sets Cpu
/// </summary>
[DataMember(Name="cpu", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "cpu")]
public MetricsModel Cpu { get; set; }
/// <summary>
/// Gets or Sets Mem
/// </summary>
[DataMember(Name="mem", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "mem")]
public MetricsModel Mem { get; set; }
/// <summary>
/// Gets or Sets Network
/// </summary>
[DataMember(Name="network", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "network")]
public NetworkMetricsModel Network { get; set; }
/// <summary>
/// Get the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Get the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public string ToJson() {
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
}
}