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 NetworkMetricsModel {
///
/// Gets or Sets Receive
///
[DataMember(Name="receive", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "receive")]
public MetricsModel Receive { get; set; }
///
/// Gets or Sets Transmit
///
[DataMember(Name="transmit", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "transmit")]
public MetricsModel Transmit { 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 NetworkMetricsModel {\n");
sb.Append(" Receive: ").Append(Receive).Append("\n");
sb.Append(" Transmit: ").Append(Transmit).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);
}
}
}