MatchmakerReleaseConfigResponse.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Text;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using System.Runtime.Serialization;
  6. using Newtonsoft.Json;
  7. namespace IO.Swagger.Model {
  8. /// <summary>
  9. ///
  10. /// </summary>
  11. [DataContract]
  12. public class MatchmakerReleaseConfigResponse : BaseModel {
  13. /// <summary>
  14. /// Matchmaker configuration name. Must be unique.
  15. /// </summary>
  16. /// <value>Matchmaker configuration name. Must be unique.</value>
  17. [DataMember(Name="name", EmitDefaultValue=false)]
  18. [JsonProperty(PropertyName = "name")]
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// Matchmaker configuration, parsed as a string.
  22. /// </summary>
  23. /// <value>Matchmaker configuration, parsed as a string.</value>
  24. [DataMember(Name="configuration", EmitDefaultValue=false)]
  25. [JsonProperty(PropertyName = "configuration")]
  26. public string Configuration { get; set; }
  27. /// <summary>
  28. /// Get the string presentation of the object
  29. /// </summary>
  30. /// <returns>String presentation of the object</returns>
  31. public override string ToString() {
  32. StringBuilder sb = new StringBuilder();
  33. sb.Append("class MatchmakerReleaseConfigResponse {\n");
  34. sb.Append(" Name: ").Append(Name).Append("\n");
  35. sb.Append(" Configuration: ").Append(Configuration).Append("\n");
  36. sb.Append("}\n");
  37. return sb.ToString();
  38. }
  39. /// <summary>
  40. /// Get the JSON string presentation of the object
  41. /// </summary>
  42. /// <returns>JSON string presentation of the object</returns>
  43. public new string ToJson() {
  44. return JsonConvert.SerializeObject(this, Formatting.Indented);
  45. }
  46. }
  47. }