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 SelectorModel {
///
/// The Tag to filter potential Deployment with this Selector
///
/// The Tag to filter potential Deployment with this Selector
[DataMember(Name="tag", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "tag")]
public string Tag { get; set; }
///
/// If True, will not try to filter Deployment and only tag the Session
///
/// If True, will not try to filter Deployment and only tag the Session
[DataMember(Name="tag_only", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "tag_only")]
public bool? TagOnly { get; set; }
///
/// Environment Variable to inject in new Deployment created by App Version with auto-deploy
///
/// Environment Variable to inject in new Deployment created by App Version with auto-deploy
[DataMember(Name="env", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "env")]
public Object Env { 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 SelectorModel {\n");
sb.Append(" Tag: ").Append(Tag).Append("\n");
sb.Append(" TagOnly: ").Append(TagOnly).Append("\n");
sb.Append(" Env: ").Append(Env).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);
}
}
}