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 MatchmakerReleaseResponseBase : BaseModel { /// /// Name of the app to deploy using the matchmaker. /// /// Name of the app to deploy using the matchmaker. [DataMember(Name="app_name", EmitDefaultValue=false)] [JsonProperty(PropertyName = "app_name")] public string AppName { get; set; } /// /// Name of the version of the specified app to deploy using the matchmaker. /// /// Name of the version of the specified app to deploy using the matchmaker. [DataMember(Name="version_name", EmitDefaultValue=false)] [JsonProperty(PropertyName = "version_name")] public string VersionName { get; set; } /// /// Name of the matchmaker release. Should be unique, and will be used to differentiate your releases. /// /// Name of the matchmaker release. Should be unique, and will be used to differentiate your releases. [DataMember(Name="version", EmitDefaultValue=false)] [JsonProperty(PropertyName = "version")] public string Version { 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 MatchmakerReleaseResponseBase {\n"); sb.Append(" AppName: ").Append(AppName).Append("\n"); sb.Append(" VersionName: ").Append(VersionName).Append("\n"); sb.Append(" Version: ").Append(Version).Append("\n"); sb.Append("}\n"); return sb.ToString(); } /// /// Get the JSON string presentation of the object /// /// JSON string presentation of the object public new string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }