暫無描述

RoomCreateRequest.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Games_RoomCreateRequest extends Google_Collection
  18. {
  19. protected $collection_key = 'invitedPlayerIds';
  20. protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
  21. protected $autoMatchingCriteriaDataType = '';
  22. public $capabilities;
  23. protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
  24. protected $clientAddressDataType = '';
  25. public $invitedPlayerIds;
  26. public $kind;
  27. protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
  28. protected $networkDiagnosticsDataType = '';
  29. public $requestId;
  30. public $variant;
  31. /**
  32. * @param Google_Service_Games_RoomAutoMatchingCriteria
  33. */
  34. public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
  35. {
  36. $this->autoMatchingCriteria = $autoMatchingCriteria;
  37. }
  38. /**
  39. * @return Google_Service_Games_RoomAutoMatchingCriteria
  40. */
  41. public function getAutoMatchingCriteria()
  42. {
  43. return $this->autoMatchingCriteria;
  44. }
  45. public function setCapabilities($capabilities)
  46. {
  47. $this->capabilities = $capabilities;
  48. }
  49. public function getCapabilities()
  50. {
  51. return $this->capabilities;
  52. }
  53. /**
  54. * @param Google_Service_Games_RoomClientAddress
  55. */
  56. public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
  57. {
  58. $this->clientAddress = $clientAddress;
  59. }
  60. /**
  61. * @return Google_Service_Games_RoomClientAddress
  62. */
  63. public function getClientAddress()
  64. {
  65. return $this->clientAddress;
  66. }
  67. public function setInvitedPlayerIds($invitedPlayerIds)
  68. {
  69. $this->invitedPlayerIds = $invitedPlayerIds;
  70. }
  71. public function getInvitedPlayerIds()
  72. {
  73. return $this->invitedPlayerIds;
  74. }
  75. public function setKind($kind)
  76. {
  77. $this->kind = $kind;
  78. }
  79. public function getKind()
  80. {
  81. return $this->kind;
  82. }
  83. /**
  84. * @param Google_Service_Games_NetworkDiagnostics
  85. */
  86. public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
  87. {
  88. $this->networkDiagnostics = $networkDiagnostics;
  89. }
  90. /**
  91. * @return Google_Service_Games_NetworkDiagnostics
  92. */
  93. public function getNetworkDiagnostics()
  94. {
  95. return $this->networkDiagnostics;
  96. }
  97. public function setRequestId($requestId)
  98. {
  99. $this->requestId = $requestId;
  100. }
  101. public function getRequestId()
  102. {
  103. return $this->requestId;
  104. }
  105. public function setVariant($variant)
  106. {
  107. $this->variant = $variant;
  108. }
  109. public function getVariant()
  110. {
  111. return $this->variant;
  112. }
  113. }