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 AppCreation { /// /// If the creation happened correctly /// /// If the creation happened correctly [DataMember(Name="success", EmitDefaultValue=false)] [JsonProperty(PropertyName = "success")] public bool? Success { get; set; } /// /// Gets or Sets Version /// [DataMember(Name="version", EmitDefaultValue=false)] [JsonProperty(PropertyName = "version")] public AppVersion 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 AppCreation {\n"); sb.Append(" Success: ").Append(Success).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 string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }