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