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 MatchmakerComponentResponse : BaseModel {
///
/// Matchmaker component name. Must be unique.
///
/// Matchmaker component name. Must be unique.
[DataMember(Name="name", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
/// Container repository where the component's image is hosted.
///
/// Container repository where the component's image is hosted.
[DataMember(Name="repository", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "repository")]
public string Repository { get; set; }
///
/// Container image to use for this component.
///
/// Container image to use for this component.
[DataMember(Name="image", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "image")]
public string Image { get; set; }
///
/// Tag of the container image to use for this component.
///
/// Tag of the container image to use for this component.
[DataMember(Name="tag", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "tag")]
public string Tag { get; set; }
///
/// Private repo credentials to use for pulling the image, if applicable.
///
/// Private repo credentials to use for pulling the image, if applicable.
[DataMember(Name="credentials", EmitDefaultValue=false)]
[JsonProperty(PropertyName = "credentials")]
public Object Credentials { 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 MatchmakerComponentResponse {\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" Repository: ").Append(Repository).Append("\n");
sb.Append(" Image: ").Append(Image).Append("\n");
sb.Append(" Tag: ").Append(Tag).Append("\n");
sb.Append(" Credentials: ").Append(Credentials).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
///
/// Get the JSON string presentation of the object
///
/// JSON string presentation of the object
public new string ToJson() {
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
}
}