GamesNumberAffixConfiguration.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. namespace Google\Service\GamesConfiguration;
  18. class GamesNumberAffixConfiguration extends \Google\Model
  19. {
  20. protected $fewType = LocalizedStringBundle::class;
  21. protected $fewDataType = '';
  22. protected $manyType = LocalizedStringBundle::class;
  23. protected $manyDataType = '';
  24. protected $oneType = LocalizedStringBundle::class;
  25. protected $oneDataType = '';
  26. protected $otherType = LocalizedStringBundle::class;
  27. protected $otherDataType = '';
  28. protected $twoType = LocalizedStringBundle::class;
  29. protected $twoDataType = '';
  30. protected $zeroType = LocalizedStringBundle::class;
  31. protected $zeroDataType = '';
  32. /**
  33. * When the language requires special treatment of "small" numbers (as with 2,
  34. * 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in
  35. * Polish).
  36. *
  37. * @param LocalizedStringBundle $few
  38. */
  39. public function setFew(LocalizedStringBundle $few)
  40. {
  41. $this->few = $few;
  42. }
  43. /**
  44. * @return LocalizedStringBundle
  45. */
  46. public function getFew()
  47. {
  48. return $this->few;
  49. }
  50. /**
  51. * When the language requires special treatment of "large" numbers (as with
  52. * numbers ending 11-99 in Maltese).
  53. *
  54. * @param LocalizedStringBundle $many
  55. */
  56. public function setMany(LocalizedStringBundle $many)
  57. {
  58. $this->many = $many;
  59. }
  60. /**
  61. * @return LocalizedStringBundle
  62. */
  63. public function getMany()
  64. {
  65. return $this->many;
  66. }
  67. /**
  68. * When the language requires special treatment of numbers like one (as with
  69. * the number 1 in English and most other languages; in Russian, any number
  70. * ending in 1 but not ending in 11 is in this class).
  71. *
  72. * @param LocalizedStringBundle $one
  73. */
  74. public function setOne(LocalizedStringBundle $one)
  75. {
  76. $this->one = $one;
  77. }
  78. /**
  79. * @return LocalizedStringBundle
  80. */
  81. public function getOne()
  82. {
  83. return $this->one;
  84. }
  85. /**
  86. * When the language does not require special treatment of the given quantity
  87. * (as with all numbers in Chinese, or 42 in English).
  88. *
  89. * @param LocalizedStringBundle $other
  90. */
  91. public function setOther(LocalizedStringBundle $other)
  92. {
  93. $this->other = $other;
  94. }
  95. /**
  96. * @return LocalizedStringBundle
  97. */
  98. public function getOther()
  99. {
  100. return $this->other;
  101. }
  102. /**
  103. * When the language requires special treatment of numbers like two (as with 2
  104. * in Welsh, or 102 in Slovenian).
  105. *
  106. * @param LocalizedStringBundle $two
  107. */
  108. public function setTwo(LocalizedStringBundle $two)
  109. {
  110. $this->two = $two;
  111. }
  112. /**
  113. * @return LocalizedStringBundle
  114. */
  115. public function getTwo()
  116. {
  117. return $this->two;
  118. }
  119. /**
  120. * When the language requires special treatment of the number 0 (as in
  121. * Arabic).
  122. *
  123. * @param LocalizedStringBundle $zero
  124. */
  125. public function setZero(LocalizedStringBundle $zero)
  126. {
  127. $this->zero = $zero;
  128. }
  129. /**
  130. * @return LocalizedStringBundle
  131. */
  132. public function getZero()
  133. {
  134. return $this->zero;
  135. }
  136. }
  137. // Adding a class alias for backwards compatibility with the previous class name.
  138. class_alias(GamesNumberAffixConfiguration::class, 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration');