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\GamesConfiguration; 19 20class LeaderboardConfiguration extends \Google\Model 21{ 22 protected $draftType = LeaderboardConfigurationDetail::class; 23 protected $draftDataType = ''; 24 /** 25 * @var string 26 */ 27 public $id; 28 /** 29 * @var string 30 */ 31 public $kind; 32 protected $publishedType = LeaderboardConfigurationDetail::class; 33 protected $publishedDataType = ''; 34 /** 35 * @var string 36 */ 37 public $scoreMax; 38 /** 39 * @var string 40 */ 41 public $scoreMin; 42 /** 43 * @var string 44 */ 45 public $scoreOrder; 46 /** 47 * @var string 48 */ 49 public $token; 50 51 /** 52 * @param LeaderboardConfigurationDetail 53 */ 54 public function setDraft(LeaderboardConfigurationDetail $draft) 55 { 56 $this->draft = $draft; 57 } 58 /** 59 * @return LeaderboardConfigurationDetail 60 */ 61 public function getDraft() 62 { 63 return $this->draft; 64 } 65 /** 66 * @param string 67 */ 68 public function setId($id) 69 { 70 $this->id = $id; 71 } 72 /** 73 * @return string 74 */ 75 public function getId() 76 { 77 return $this->id; 78 } 79 /** 80 * @param string 81 */ 82 public function setKind($kind) 83 { 84 $this->kind = $kind; 85 } 86 /** 87 * @return string 88 */ 89 public function getKind() 90 { 91 return $this->kind; 92 } 93 /** 94 * @param LeaderboardConfigurationDetail 95 */ 96 public function setPublished(LeaderboardConfigurationDetail $published) 97 { 98 $this->published = $published; 99 } 100 /** 101 * @return LeaderboardConfigurationDetail 102 */ 103 public function getPublished() 104 { 105 return $this->published; 106 } 107 /** 108 * @param string 109 */ 110 public function setScoreMax($scoreMax) 111 { 112 $this->scoreMax = $scoreMax; 113 } 114 /** 115 * @return string 116 */ 117 public function getScoreMax() 118 { 119 return $this->scoreMax; 120 } 121 /** 122 * @param string 123 */ 124 public function setScoreMin($scoreMin) 125 { 126 $this->scoreMin = $scoreMin; 127 } 128 /** 129 * @return string 130 */ 131 public function getScoreMin() 132 { 133 return $this->scoreMin; 134 } 135 /** 136 * @param string 137 */ 138 public function setScoreOrder($scoreOrder) 139 { 140 $this->scoreOrder = $scoreOrder; 141 } 142 /** 143 * @return string 144 */ 145 public function getScoreOrder() 146 { 147 return $this->scoreOrder; 148 } 149 /** 150 * @param string 151 */ 152 public function setToken($token) 153 { 154 $this->token = $token; 155 } 156 /** 157 * @return string 158 */ 159 public function getToken() 160 { 161 return $this->token; 162 } 163} 164 165// Adding a class alias for backwards compatibility with the previous class name. 166class_alias(LeaderboardConfiguration::class, 'Google_Service_GamesConfiguration_LeaderboardConfiguration'); 167