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 AppVersionProbe { /// /// Your optimal value for Latency /// /// Your optimal value for Latency [DataMember(Name="optimal_ping", EmitDefaultValue=false)] [JsonProperty(PropertyName = "optimal_ping")] public int? OptimalPing { get; set; } /// /// Your reject value for Latency /// /// Your reject value for Latency [DataMember(Name="rejected_ping", EmitDefaultValue=false)] [JsonProperty(PropertyName = "rejected_ping")] public int? RejectedPing { 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 AppVersionProbe {\n"); sb.Append(" OptimalPing: ").Append(OptimalPing).Append("\n"); sb.Append(" RejectedPing: ").Append(RejectedPing).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); } } }