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 DeploymentSessionContext {
///
/// Unique UUID
///
/// Unique UUID
[DataMember(Name="session_id", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "session_id")]
public string SessionId { get; set; }
///
/// Current status of the session
///
/// Current status of the session
[DataMember(Name="status", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
///
/// If the session is linked to a Ready deployment
///
/// If the session is linked to a Ready deployment
[DataMember(Name="ready", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "ready")]
public bool? Ready { get; set; }
///
/// If the session is linked to a deployment
///
/// If the session is linked to a deployment
[DataMember(Name="linked", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "linked")]
public bool? Linked { get; set; }
///
/// Type of session created
///
/// Type of session created
[DataMember(Name="kind", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
///
/// Count of user this session currently have
///
/// Count of user this session currently have
[DataMember(Name="user_count", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "user_count")]
public int? UserCount { 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 DeploymentSessionContext {\n");
sb.Append(" SessionId: ").Append(SessionId).Append("\n");
sb.Append(" Status: ").Append(Status).Append("\n");
sb.Append(" Ready: ").Append(Ready).Append("\n");
sb.Append(" Linked: ").Append(Linked).Append("\n");
sb.Append(" Kind: ").Append(Kind).Append("\n");
sb.Append(" UserCount: ").Append(UserCount).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);
}
}
}