暂无描述

TurnBasedMatch.php 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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_TurnBasedMatch extends Google_Collection
  18. {
  19. protected $collection_key = 'results';
  20. public $applicationId;
  21. protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
  22. protected $autoMatchingCriteriaDataType = '';
  23. protected $creationDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
  24. protected $creationDetailsDataType = '';
  25. protected $dataType = 'Google_Service_Games_TurnBasedMatchData';
  26. protected $dataDataType = '';
  27. public $description;
  28. public $inviterId;
  29. public $kind;
  30. protected $lastUpdateDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
  31. protected $lastUpdateDetailsDataType = '';
  32. public $matchId;
  33. public $matchNumber;
  34. public $matchVersion;
  35. protected $participantsType = 'Google_Service_Games_TurnBasedMatchParticipant';
  36. protected $participantsDataType = 'array';
  37. public $pendingParticipantId;
  38. protected $previousMatchDataType = 'Google_Service_Games_TurnBasedMatchData';
  39. protected $previousMatchDataDataType = '';
  40. public $rematchId;
  41. protected $resultsType = 'Google_Service_Games_ParticipantResult';
  42. protected $resultsDataType = 'array';
  43. public $status;
  44. public $userMatchStatus;
  45. public $variant;
  46. public $withParticipantId;
  47. public function setApplicationId($applicationId)
  48. {
  49. $this->applicationId = $applicationId;
  50. }
  51. public function getApplicationId()
  52. {
  53. return $this->applicationId;
  54. }
  55. /**
  56. * @param Google_Service_Games_TurnBasedAutoMatchingCriteria
  57. */
  58. public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
  59. {
  60. $this->autoMatchingCriteria = $autoMatchingCriteria;
  61. }
  62. /**
  63. * @return Google_Service_Games_TurnBasedAutoMatchingCriteria
  64. */
  65. public function getAutoMatchingCriteria()
  66. {
  67. return $this->autoMatchingCriteria;
  68. }
  69. /**
  70. * @param Google_Service_Games_TurnBasedMatchModification
  71. */
  72. public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails)
  73. {
  74. $this->creationDetails = $creationDetails;
  75. }
  76. /**
  77. * @return Google_Service_Games_TurnBasedMatchModification
  78. */
  79. public function getCreationDetails()
  80. {
  81. return $this->creationDetails;
  82. }
  83. /**
  84. * @param Google_Service_Games_TurnBasedMatchData
  85. */
  86. public function setData(Google_Service_Games_TurnBasedMatchData $data)
  87. {
  88. $this->data = $data;
  89. }
  90. /**
  91. * @return Google_Service_Games_TurnBasedMatchData
  92. */
  93. public function getData()
  94. {
  95. return $this->data;
  96. }
  97. public function setDescription($description)
  98. {
  99. $this->description = $description;
  100. }
  101. public function getDescription()
  102. {
  103. return $this->description;
  104. }
  105. public function setInviterId($inviterId)
  106. {
  107. $this->inviterId = $inviterId;
  108. }
  109. public function getInviterId()
  110. {
  111. return $this->inviterId;
  112. }
  113. public function setKind($kind)
  114. {
  115. $this->kind = $kind;
  116. }
  117. public function getKind()
  118. {
  119. return $this->kind;
  120. }
  121. /**
  122. * @param Google_Service_Games_TurnBasedMatchModification
  123. */
  124. public function setLastUpdateDetails(Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails)
  125. {
  126. $this->lastUpdateDetails = $lastUpdateDetails;
  127. }
  128. /**
  129. * @return Google_Service_Games_TurnBasedMatchModification
  130. */
  131. public function getLastUpdateDetails()
  132. {
  133. return $this->lastUpdateDetails;
  134. }
  135. public function setMatchId($matchId)
  136. {
  137. $this->matchId = $matchId;
  138. }
  139. public function getMatchId()
  140. {
  141. return $this->matchId;
  142. }
  143. public function setMatchNumber($matchNumber)
  144. {
  145. $this->matchNumber = $matchNumber;
  146. }
  147. public function getMatchNumber()
  148. {
  149. return $this->matchNumber;
  150. }
  151. public function setMatchVersion($matchVersion)
  152. {
  153. $this->matchVersion = $matchVersion;
  154. }
  155. public function getMatchVersion()
  156. {
  157. return $this->matchVersion;
  158. }
  159. /**
  160. * @param Google_Service_Games_TurnBasedMatchParticipant
  161. */
  162. public function setParticipants($participants)
  163. {
  164. $this->participants = $participants;
  165. }
  166. /**
  167. * @return Google_Service_Games_TurnBasedMatchParticipant
  168. */
  169. public function getParticipants()
  170. {
  171. return $this->participants;
  172. }
  173. public function setPendingParticipantId($pendingParticipantId)
  174. {
  175. $this->pendingParticipantId = $pendingParticipantId;
  176. }
  177. public function getPendingParticipantId()
  178. {
  179. return $this->pendingParticipantId;
  180. }
  181. /**
  182. * @param Google_Service_Games_TurnBasedMatchData
  183. */
  184. public function setPreviousMatchData(Google_Service_Games_TurnBasedMatchData $previousMatchData)
  185. {
  186. $this->previousMatchData = $previousMatchData;
  187. }
  188. /**
  189. * @return Google_Service_Games_TurnBasedMatchData
  190. */
  191. public function getPreviousMatchData()
  192. {
  193. return $this->previousMatchData;
  194. }
  195. public function setRematchId($rematchId)
  196. {
  197. $this->rematchId = $rematchId;
  198. }
  199. public function getRematchId()
  200. {
  201. return $this->rematchId;
  202. }
  203. /**
  204. * @param Google_Service_Games_ParticipantResult
  205. */
  206. public function setResults($results)
  207. {
  208. $this->results = $results;
  209. }
  210. /**
  211. * @return Google_Service_Games_ParticipantResult
  212. */
  213. public function getResults()
  214. {
  215. return $this->results;
  216. }
  217. public function setStatus($status)
  218. {
  219. $this->status = $status;
  220. }
  221. public function getStatus()
  222. {
  223. return $this->status;
  224. }
  225. public function setUserMatchStatus($userMatchStatus)
  226. {
  227. $this->userMatchStatus = $userMatchStatus;
  228. }
  229. public function getUserMatchStatus()
  230. {
  231. return $this->userMatchStatus;
  232. }
  233. public function setVariant($variant)
  234. {
  235. $this->variant = $variant;
  236. }
  237. public function getVariant()
  238. {
  239. return $this->variant;
  240. }
  241. public function setWithParticipantId($withParticipantId)
  242. {
  243. $this->withParticipantId = $withParticipantId;
  244. }
  245. public function getWithParticipantId()
  246. {
  247. return $this->withParticipantId;
  248. }
  249. }