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 AppVersionEnv { /// /// The Key where the Environment Variable will be set /// /// The Key where the Environment Variable will be set [DataMember(Name="key", EmitDefaultValue=false)] [JsonProperty(PropertyName = "key")] public string Key { get; set; } /// /// The Value to retrieve at the Key /// /// The Value to retrieve at the Key [DataMember(Name="value", EmitDefaultValue=false)] [JsonProperty(PropertyName = "value")] public string Value { get; set; } /// /// This will encrypt the value in our database, won't be readable by external source /// /// This will encrypt the value in our database, won't be readable by external source [DataMember(Name="is_secret", EmitDefaultValue=false)] [JsonProperty(PropertyName = "is_secret")] public bool? IsSecret { 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 AppVersionEnv {\n"); sb.Append(" Key: ").Append(Key).Append("\n"); sb.Append(" Value: ").Append(Value).Append("\n"); sb.Append(" IsSecret: ").Append(IsSecret).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); } } }