MatchmakerReleaseUpdate.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 MatchmakerReleaseUpdate : MatchmakerReleaseUpdateBase {
  13. /// <summary>
  14. /// Name of the matchmaker component to use as the Open Match frontend.
  15. /// </summary>
  16. /// <value>Name of the matchmaker component to use as the Open Match frontend.</value>
  17. [DataMember(Name="frontend_component_name", EmitDefaultValue=false)]
  18. [JsonProperty(PropertyName = "frontend_component_name")]
  19. public string FrontendComponentName { get; set; }
  20. /// <summary>
  21. /// Name of the matchmaker component to use as the Open Match director.
  22. /// </summary>
  23. /// <value>Name of the matchmaker component to use as the Open Match director.</value>
  24. [DataMember(Name="director_component_name", EmitDefaultValue=false)]
  25. [JsonProperty(PropertyName = "director_component_name")]
  26. public string DirectorComponentName { get; set; }
  27. /// <summary>
  28. /// Name of the matchmaker component to use as the Open Match match function.
  29. /// </summary>
  30. /// <value>Name of the matchmaker component to use as the Open Match match function.</value>
  31. [DataMember(Name="match_function_component_name", EmitDefaultValue=false)]
  32. [JsonProperty(PropertyName = "match_function_component_name")]
  33. public string MatchFunctionComponentName { get; set; }
  34. /// <summary>
  35. /// Get the string presentation of the object
  36. /// </summary>
  37. /// <returns>String presentation of the object</returns>
  38. public override string ToString() {
  39. StringBuilder sb = new StringBuilder();
  40. sb.Append("class MatchmakerReleaseUpdate {\n");
  41. sb.Append(" FrontendComponentName: ").Append(FrontendComponentName).Append("\n");
  42. sb.Append(" DirectorComponentName: ").Append(DirectorComponentName).Append("\n");
  43. sb.Append(" MatchFunctionComponentName: ").Append(MatchFunctionComponentName).Append("\n");
  44. sb.Append("}\n");
  45. return sb.ToString();
  46. }
  47. /// <summary>
  48. /// Get the JSON string presentation of the object
  49. /// </summary>
  50. /// <returns>JSON string presentation of the object</returns>
  51. public new string ToJson() {
  52. return JsonConvert.SerializeObject(this, Formatting.Indented);
  53. }
  54. }
  55. }