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 DeployEnvModel { /// /// The Key to retrieve the value in your instance /// /// The Key to retrieve the value in your instance [DataMember(Name="key", EmitDefaultValue=false)] [JsonProperty(PropertyName = "key")] public string Key { get; set; } /// /// The value to set in your instance /// /// The value to set in your instance [DataMember(Name="value", EmitDefaultValue=false)] [JsonProperty(PropertyName = "value")] public string Value { get; set; } /// /// If set to true, the value will be encrypted during the process of deployment /// /// If set to true, the value will be encrypted during the process of deployment [DataMember(Name="is_hidden", EmitDefaultValue=false)] [JsonProperty(PropertyName = "is_hidden")] public bool? IsHidden { 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 DeployEnvModel {\n"); sb.Append(" Key: ").Append(Key).Append("\n"); sb.Append(" Value: ").Append(Value).Append("\n"); sb.Append(" IsHidden: ").Append(IsHidden).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); } } }