Initial commit
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_AchievementConfiguration extends Google_Model
|
||||
{
|
||||
public $achievementType;
|
||||
protected $draftType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
|
||||
protected $draftDataType = '';
|
||||
public $id;
|
||||
public $initialState;
|
||||
public $kind;
|
||||
protected $publishedType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
|
||||
protected $publishedDataType = '';
|
||||
public $stepsToUnlock;
|
||||
public $token;
|
||||
|
||||
public function setAchievementType($achievementType)
|
||||
{
|
||||
$this->achievementType = $achievementType;
|
||||
}
|
||||
public function getAchievementType()
|
||||
{
|
||||
return $this->achievementType;
|
||||
}
|
||||
public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft)
|
||||
{
|
||||
$this->draft = $draft;
|
||||
}
|
||||
public function getDraft()
|
||||
{
|
||||
return $this->draft;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setInitialState($initialState)
|
||||
{
|
||||
$this->initialState = $initialState;
|
||||
}
|
||||
public function getInitialState()
|
||||
{
|
||||
return $this->initialState;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published)
|
||||
{
|
||||
$this->published = $published;
|
||||
}
|
||||
public function getPublished()
|
||||
{
|
||||
return $this->published;
|
||||
}
|
||||
public function setStepsToUnlock($stepsToUnlock)
|
||||
{
|
||||
$this->stepsToUnlock = $stepsToUnlock;
|
||||
}
|
||||
public function getStepsToUnlock()
|
||||
{
|
||||
return $this->stepsToUnlock;
|
||||
}
|
||||
public function setToken($token)
|
||||
{
|
||||
$this->token = $token;
|
||||
}
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_AchievementConfigurationDetail extends Google_Model
|
||||
{
|
||||
protected $descriptionType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $descriptionDataType = '';
|
||||
public $iconUrl;
|
||||
public $kind;
|
||||
protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $nameDataType = '';
|
||||
public $pointValue;
|
||||
public $sortRank;
|
||||
|
||||
public function setDescription(Google_Service_GamesConfiguration_LocalizedStringBundle $description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setIconUrl($iconUrl)
|
||||
{
|
||||
$this->iconUrl = $iconUrl;
|
||||
}
|
||||
public function getIconUrl()
|
||||
{
|
||||
return $this->iconUrl;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setPointValue($pointValue)
|
||||
{
|
||||
$this->pointValue = $pointValue;
|
||||
}
|
||||
public function getPointValue()
|
||||
{
|
||||
return $this->pointValue;
|
||||
}
|
||||
public function setSortRank($sortRank)
|
||||
{
|
||||
$this->sortRank = $sortRank;
|
||||
}
|
||||
public function getSortRank()
|
||||
{
|
||||
return $this->sortRank;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_AchievementConfigurationListResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_GamesConfiguration_AchievementConfiguration';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_GamesNumberAffixConfiguration extends Google_Model
|
||||
{
|
||||
protected $fewType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $fewDataType = '';
|
||||
protected $manyType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $manyDataType = '';
|
||||
protected $oneType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $oneDataType = '';
|
||||
protected $otherType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $otherDataType = '';
|
||||
protected $twoType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $twoDataType = '';
|
||||
protected $zeroType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $zeroDataType = '';
|
||||
|
||||
public function setFew(Google_Service_GamesConfiguration_LocalizedStringBundle $few)
|
||||
{
|
||||
$this->few = $few;
|
||||
}
|
||||
public function getFew()
|
||||
{
|
||||
return $this->few;
|
||||
}
|
||||
public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many)
|
||||
{
|
||||
$this->many = $many;
|
||||
}
|
||||
public function getMany()
|
||||
{
|
||||
return $this->many;
|
||||
}
|
||||
public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one)
|
||||
{
|
||||
$this->one = $one;
|
||||
}
|
||||
public function getOne()
|
||||
{
|
||||
return $this->one;
|
||||
}
|
||||
public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other)
|
||||
{
|
||||
$this->other = $other;
|
||||
}
|
||||
public function getOther()
|
||||
{
|
||||
return $this->other;
|
||||
}
|
||||
public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two)
|
||||
{
|
||||
$this->two = $two;
|
||||
}
|
||||
public function getTwo()
|
||||
{
|
||||
return $this->two;
|
||||
}
|
||||
public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero)
|
||||
{
|
||||
$this->zero = $zero;
|
||||
}
|
||||
public function getZero()
|
||||
{
|
||||
return $this->zero;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_GamesNumberFormatConfiguration extends Google_Model
|
||||
{
|
||||
public $currencyCode;
|
||||
public $numDecimalPlaces;
|
||||
public $numberFormatType;
|
||||
protected $suffixType = 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration';
|
||||
protected $suffixDataType = '';
|
||||
|
||||
public function setCurrencyCode($currencyCode)
|
||||
{
|
||||
$this->currencyCode = $currencyCode;
|
||||
}
|
||||
public function getCurrencyCode()
|
||||
{
|
||||
return $this->currencyCode;
|
||||
}
|
||||
public function setNumDecimalPlaces($numDecimalPlaces)
|
||||
{
|
||||
$this->numDecimalPlaces = $numDecimalPlaces;
|
||||
}
|
||||
public function getNumDecimalPlaces()
|
||||
{
|
||||
return $this->numDecimalPlaces;
|
||||
}
|
||||
public function setNumberFormatType($numberFormatType)
|
||||
{
|
||||
$this->numberFormatType = $numberFormatType;
|
||||
}
|
||||
public function getNumberFormatType()
|
||||
{
|
||||
return $this->numberFormatType;
|
||||
}
|
||||
public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix)
|
||||
{
|
||||
$this->suffix = $suffix;
|
||||
}
|
||||
public function getSuffix()
|
||||
{
|
||||
return $this->suffix;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/GamesConfiguration/ImageConfiguration.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_ImageConfiguration extends Google_Model
|
||||
{
|
||||
public $imageType;
|
||||
public $kind;
|
||||
public $resourceId;
|
||||
public $url;
|
||||
|
||||
public function setImageType($imageType)
|
||||
{
|
||||
$this->imageType = $imageType;
|
||||
}
|
||||
public function getImageType()
|
||||
{
|
||||
return $this->imageType;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setResourceId($resourceId)
|
||||
{
|
||||
$this->resourceId = $resourceId;
|
||||
}
|
||||
public function getResourceId()
|
||||
{
|
||||
return $this->resourceId;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_LeaderboardConfiguration extends Google_Model
|
||||
{
|
||||
protected $draftType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
|
||||
protected $draftDataType = '';
|
||||
public $id;
|
||||
public $kind;
|
||||
protected $publishedType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
|
||||
protected $publishedDataType = '';
|
||||
public $scoreMax;
|
||||
public $scoreMin;
|
||||
public $scoreOrder;
|
||||
public $token;
|
||||
|
||||
public function setDraft(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $draft)
|
||||
{
|
||||
$this->draft = $draft;
|
||||
}
|
||||
public function getDraft()
|
||||
{
|
||||
return $this->draft;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPublished(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published)
|
||||
{
|
||||
$this->published = $published;
|
||||
}
|
||||
public function getPublished()
|
||||
{
|
||||
return $this->published;
|
||||
}
|
||||
public function setScoreMax($scoreMax)
|
||||
{
|
||||
$this->scoreMax = $scoreMax;
|
||||
}
|
||||
public function getScoreMax()
|
||||
{
|
||||
return $this->scoreMax;
|
||||
}
|
||||
public function setScoreMin($scoreMin)
|
||||
{
|
||||
$this->scoreMin = $scoreMin;
|
||||
}
|
||||
public function getScoreMin()
|
||||
{
|
||||
return $this->scoreMin;
|
||||
}
|
||||
public function setScoreOrder($scoreOrder)
|
||||
{
|
||||
$this->scoreOrder = $scoreOrder;
|
||||
}
|
||||
public function getScoreOrder()
|
||||
{
|
||||
return $this->scoreOrder;
|
||||
}
|
||||
public function setToken($token)
|
||||
{
|
||||
$this->token = $token;
|
||||
}
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_LeaderboardConfigurationDetail extends Google_Model
|
||||
{
|
||||
public $iconUrl;
|
||||
public $kind;
|
||||
protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
|
||||
protected $nameDataType = '';
|
||||
protected $scoreFormatType = 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration';
|
||||
protected $scoreFormatDataType = '';
|
||||
public $sortRank;
|
||||
|
||||
public function setIconUrl($iconUrl)
|
||||
{
|
||||
$this->iconUrl = $iconUrl;
|
||||
}
|
||||
public function getIconUrl()
|
||||
{
|
||||
return $this->iconUrl;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat)
|
||||
{
|
||||
$this->scoreFormat = $scoreFormat;
|
||||
}
|
||||
public function getScoreFormat()
|
||||
{
|
||||
return $this->scoreFormat;
|
||||
}
|
||||
public function setSortRank($sortRank)
|
||||
{
|
||||
$this->sortRank = $sortRank;
|
||||
}
|
||||
public function getSortRank()
|
||||
{
|
||||
return $this->sortRank;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_GamesConfiguration_LeaderboardConfiguration';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedString.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_LocalizedString extends Google_Model
|
||||
{
|
||||
public $kind;
|
||||
public $locale;
|
||||
public $value;
|
||||
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setLocale($locale)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
}
|
||||
public function getLocale()
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/GamesConfiguration/LocalizedStringBundle.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_GamesConfiguration_LocalizedStringBundle extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'translations';
|
||||
public $kind;
|
||||
protected $translationsType = 'Google_Service_GamesConfiguration_LocalizedString';
|
||||
protected $translationsDataType = 'array';
|
||||
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setTranslations($translations)
|
||||
{
|
||||
$this->translations = $translations;
|
||||
}
|
||||
public function getTranslations()
|
||||
{
|
||||
return $this->translations;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "achievementConfigurations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
|
||||
* $achievementConfigurations = $gamesConfigurationService->achievementConfigurations;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_GamesConfiguration_Resource_AchievementConfigurations extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Delete the achievement configuration with the given ID.
|
||||
* (achievementConfigurations.delete)
|
||||
*
|
||||
* @param string $achievementId The ID of the achievement used by this method.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($achievementId, $optParams = array())
|
||||
{
|
||||
$params = array('achievementId' => $achievementId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Retrieves the metadata of the achievement configuration with the given ID.
|
||||
* (achievementConfigurations.get)
|
||||
*
|
||||
* @param string $achievementId The ID of the achievement used by this method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_AchievementConfiguration
|
||||
*/
|
||||
public function get($achievementId, $optParams = array())
|
||||
{
|
||||
$params = array('achievementId' => $achievementId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
|
||||
}
|
||||
/**
|
||||
* Insert a new achievement configuration in this application.
|
||||
* (achievementConfigurations.insert)
|
||||
*
|
||||
* @param string $applicationId The application ID from the Google Play
|
||||
* developer console.
|
||||
* @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_AchievementConfiguration
|
||||
*/
|
||||
public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('applicationId' => $applicationId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
|
||||
}
|
||||
/**
|
||||
* Returns a list of the achievement configurations in this application.
|
||||
* (achievementConfigurations.listAchievementConfigurations)
|
||||
*
|
||||
* @param string $applicationId The application ID from the Google Play
|
||||
* developer console.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of resource configurations to
|
||||
* return in the response, used for paging. For any response, the actual number
|
||||
* of resources returned may be less than the specified maxResults.
|
||||
* @opt_param string pageToken The token returned by the previous request.
|
||||
* @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse
|
||||
*/
|
||||
public function listAchievementConfigurations($applicationId, $optParams = array())
|
||||
{
|
||||
$params = array('applicationId' => $applicationId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse");
|
||||
}
|
||||
/**
|
||||
* Update the metadata of the achievement configuration with the given ID. This
|
||||
* method supports patch semantics. (achievementConfigurations.patch)
|
||||
*
|
||||
* @param string $achievementId The ID of the achievement used by this method.
|
||||
* @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_AchievementConfiguration
|
||||
*/
|
||||
public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('achievementId' => $achievementId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
|
||||
}
|
||||
/**
|
||||
* Update the metadata of the achievement configuration with the given ID.
|
||||
* (achievementConfigurations.update)
|
||||
*
|
||||
* @param string $achievementId The ID of the achievement used by this method.
|
||||
* @param Google_Service_GamesConfiguration_AchievementConfiguration $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_AchievementConfiguration
|
||||
*/
|
||||
public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('achievementId' => $achievementId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "imageConfigurations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
|
||||
* $imageConfigurations = $gamesConfigurationService->imageConfigurations;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_GamesConfiguration_Resource_ImageConfigurations extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Uploads an image for a resource with the given ID and image type.
|
||||
* (imageConfigurations.upload)
|
||||
*
|
||||
* @param string $resourceId The ID of the resource used by this method.
|
||||
* @param string $imageType Selects which image in a resource for this method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_ImageConfiguration
|
||||
*/
|
||||
public function upload($resourceId, $imageType, $optParams = array())
|
||||
{
|
||||
$params = array('resourceId' => $resourceId, 'imageType' => $imageType);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "leaderboardConfigurations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
|
||||
* $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_GamesConfiguration_Resource_LeaderboardConfigurations extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Delete the leaderboard configuration with the given ID.
|
||||
* (leaderboardConfigurations.delete)
|
||||
*
|
||||
* @param string $leaderboardId The ID of the leaderboard.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($leaderboardId, $optParams = array())
|
||||
{
|
||||
$params = array('leaderboardId' => $leaderboardId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Retrieves the metadata of the leaderboard configuration with the given ID.
|
||||
* (leaderboardConfigurations.get)
|
||||
*
|
||||
* @param string $leaderboardId The ID of the leaderboard.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration
|
||||
*/
|
||||
public function get($leaderboardId, $optParams = array())
|
||||
{
|
||||
$params = array('leaderboardId' => $leaderboardId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
|
||||
}
|
||||
/**
|
||||
* Insert a new leaderboard configuration in this application.
|
||||
* (leaderboardConfigurations.insert)
|
||||
*
|
||||
* @param string $applicationId The application ID from the Google Play
|
||||
* developer console.
|
||||
* @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration
|
||||
*/
|
||||
public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('applicationId' => $applicationId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
|
||||
}
|
||||
/**
|
||||
* Returns a list of the leaderboard configurations in this application.
|
||||
* (leaderboardConfigurations.listLeaderboardConfigurations)
|
||||
*
|
||||
* @param string $applicationId The application ID from the Google Play
|
||||
* developer console.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of resource configurations to
|
||||
* return in the response, used for paging. For any response, the actual number
|
||||
* of resources returned may be less than the specified maxResults.
|
||||
* @opt_param string pageToken The token returned by the previous request.
|
||||
* @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse
|
||||
*/
|
||||
public function listLeaderboardConfigurations($applicationId, $optParams = array())
|
||||
{
|
||||
$params = array('applicationId' => $applicationId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse");
|
||||
}
|
||||
/**
|
||||
* Update the metadata of the leaderboard configuration with the given ID. This
|
||||
* method supports patch semantics. (leaderboardConfigurations.patch)
|
||||
*
|
||||
* @param string $leaderboardId The ID of the leaderboard.
|
||||
* @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration
|
||||
*/
|
||||
public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
|
||||
}
|
||||
/**
|
||||
* Update the metadata of the leaderboard configuration with the given ID.
|
||||
* (leaderboardConfigurations.update)
|
||||
*
|
||||
* @param string $leaderboardId The ID of the leaderboard.
|
||||
* @param Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration
|
||||
*/
|
||||
public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user