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 ApplicationPatch {
///
/// Application name
///
/// Application name
[DataMember(Name="name", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
/// If the application can be deployed
///
/// If the application can be deployed
[DataMember(Name="is_active", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "is_active")]
public bool? IsActive { get; set; }
///
/// Image base64 string
///
/// Image base64 string
[DataMember(Name="image", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "image")]
public string Image { 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 ApplicationPatch {\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" IsActive: ").Append(IsActive).Append("\n");
sb.Append(" Image: ").Append(Image).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);
}
}
}