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\PlayableLocations; 19 20class GoogleMapsPlayablelocationsV3PlayerReport extends \Google\Collection 21{ 22 protected $collection_key = 'reasons'; 23 public $languageCode; 24 public $locationName; 25 public $reasonDetails; 26 public $reasons; 27 28 public function setLanguageCode($languageCode) 29 { 30 $this->languageCode = $languageCode; 31 } 32 public function getLanguageCode() 33 { 34 return $this->languageCode; 35 } 36 public function setLocationName($locationName) 37 { 38 $this->locationName = $locationName; 39 } 40 public function getLocationName() 41 { 42 return $this->locationName; 43 } 44 public function setReasonDetails($reasonDetails) 45 { 46 $this->reasonDetails = $reasonDetails; 47 } 48 public function getReasonDetails() 49 { 50 return $this->reasonDetails; 51 } 52 public function setReasons($reasons) 53 { 54 $this->reasons = $reasons; 55 } 56 public function getReasons() 57 { 58 return $this->reasons; 59 } 60} 61 62// Adding a class alias for backwards compatibility with the previous class name. 63class_alias(GoogleMapsPlayablelocationsV3PlayerReport::class, 'Google_Service_PlayableLocations_GoogleMapsPlayablelocationsV3PlayerReport'); 64