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 18namespace Google\Service\Games; 19 20class AchievementDefinition extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $achievementType; 26 /** 27 * @var string 28 */ 29 public $description; 30 /** 31 * @var string 32 */ 33 public $experiencePoints; 34 /** 35 * @var string 36 */ 37 public $formattedTotalSteps; 38 /** 39 * @var string 40 */ 41 public $id; 42 /** 43 * @var string 44 */ 45 public $initialState; 46 /** 47 * @var bool 48 */ 49 public $isRevealedIconUrlDefault; 50 /** 51 * @var bool 52 */ 53 public $isUnlockedIconUrlDefault; 54 /** 55 * @var string 56 */ 57 public $kind; 58 /** 59 * @var string 60 */ 61 public $name; 62 /** 63 * @var string 64 */ 65 public $revealedIconUrl; 66 /** 67 * @var int 68 */ 69 public $totalSteps; 70 /** 71 * @var string 72 */ 73 public $unlockedIconUrl; 74 75 /** 76 * @param string 77 */ 78 public function setAchievementType($achievementType) 79 { 80 $this->achievementType = $achievementType; 81 } 82 /** 83 * @return string 84 */ 85 public function getAchievementType() 86 { 87 return $this->achievementType; 88 } 89 /** 90 * @param string 91 */ 92 public function setDescription($description) 93 { 94 $this->description = $description; 95 } 96 /** 97 * @return string 98 */ 99 public function getDescription() 100 { 101 return $this->description; 102 } 103 /** 104 * @param string 105 */ 106 public function setExperiencePoints($experiencePoints) 107 { 108 $this->experiencePoints = $experiencePoints; 109 } 110 /** 111 * @return string 112 */ 113 public function getExperiencePoints() 114 { 115 return $this->experiencePoints; 116 } 117 /** 118 * @param string 119 */ 120 public function setFormattedTotalSteps($formattedTotalSteps) 121 { 122 $this->formattedTotalSteps = $formattedTotalSteps; 123 } 124 /** 125 * @return string 126 */ 127 public function getFormattedTotalSteps() 128 { 129 return $this->formattedTotalSteps; 130 } 131 /** 132 * @param string 133 */ 134 public function setId($id) 135 { 136 $this->id = $id; 137 } 138 /** 139 * @return string 140 */ 141 public function getId() 142 { 143 return $this->id; 144 } 145 /** 146 * @param string 147 */ 148 public function setInitialState($initialState) 149 { 150 $this->initialState = $initialState; 151 } 152 /** 153 * @return string 154 */ 155 public function getInitialState() 156 { 157 return $this->initialState; 158 } 159 /** 160 * @param bool 161 */ 162 public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault) 163 { 164 $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault; 165 } 166 /** 167 * @return bool 168 */ 169 public function getIsRevealedIconUrlDefault() 170 { 171 return $this->isRevealedIconUrlDefault; 172 } 173 /** 174 * @param bool 175 */ 176 public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault) 177 { 178 $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault; 179 } 180 /** 181 * @return bool 182 */ 183 public function getIsUnlockedIconUrlDefault() 184 { 185 return $this->isUnlockedIconUrlDefault; 186 } 187 /** 188 * @param string 189 */ 190 public function setKind($kind) 191 { 192 $this->kind = $kind; 193 } 194 /** 195 * @return string 196 */ 197 public function getKind() 198 { 199 return $this->kind; 200 } 201 /** 202 * @param string 203 */ 204 public function setName($name) 205 { 206 $this->name = $name; 207 } 208 /** 209 * @return string 210 */ 211 public function getName() 212 { 213 return $this->name; 214 } 215 /** 216 * @param string 217 */ 218 public function setRevealedIconUrl($revealedIconUrl) 219 { 220 $this->revealedIconUrl = $revealedIconUrl; 221 } 222 /** 223 * @return string 224 */ 225 public function getRevealedIconUrl() 226 { 227 return $this->revealedIconUrl; 228 } 229 /** 230 * @param int 231 */ 232 public function setTotalSteps($totalSteps) 233 { 234 $this->totalSteps = $totalSteps; 235 } 236 /** 237 * @return int 238 */ 239 public function getTotalSteps() 240 { 241 return $this->totalSteps; 242 } 243 /** 244 * @param string 245 */ 246 public function setUnlockedIconUrl($unlockedIconUrl) 247 { 248 $this->unlockedIconUrl = $unlockedIconUrl; 249 } 250 /** 251 * @return string 252 */ 253 public function getUnlockedIconUrl() 254 { 255 return $this->unlockedIconUrl; 256 } 257} 258 259// Adding a class alias for backwards compatibility with the previous class name. 260class_alias(AchievementDefinition::class, 'Google_Service_Games_AchievementDefinition'); 261