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\Sasportal; 19 20class SasPortalDeviceGrant extends \Google\Collection 21{ 22 protected $collection_key = 'suspensionReason'; 23 /** 24 * @var string 25 */ 26 public $channelType; 27 /** 28 * @var string 29 */ 30 public $expireTime; 31 protected $frequencyRangeType = SasPortalFrequencyRange::class; 32 protected $frequencyRangeDataType = ''; 33 /** 34 * @var string 35 */ 36 public $grantId; 37 /** 38 * @var string 39 */ 40 public $lastHeartbeatTransmitExpireTime; 41 public $maxEirp; 42 protected $moveListType = SasPortalDpaMoveList::class; 43 protected $moveListDataType = 'array'; 44 /** 45 * @var string 46 */ 47 public $state; 48 /** 49 * @var string[] 50 */ 51 public $suspensionReason; 52 53 /** 54 * @param string 55 */ 56 public function setChannelType($channelType) 57 { 58 $this->channelType = $channelType; 59 } 60 /** 61 * @return string 62 */ 63 public function getChannelType() 64 { 65 return $this->channelType; 66 } 67 /** 68 * @param string 69 */ 70 public function setExpireTime($expireTime) 71 { 72 $this->expireTime = $expireTime; 73 } 74 /** 75 * @return string 76 */ 77 public function getExpireTime() 78 { 79 return $this->expireTime; 80 } 81 /** 82 * @param SasPortalFrequencyRange 83 */ 84 public function setFrequencyRange(SasPortalFrequencyRange $frequencyRange) 85 { 86 $this->frequencyRange = $frequencyRange; 87 } 88 /** 89 * @return SasPortalFrequencyRange 90 */ 91 public function getFrequencyRange() 92 { 93 return $this->frequencyRange; 94 } 95 /** 96 * @param string 97 */ 98 public function setGrantId($grantId) 99 { 100 $this->grantId = $grantId; 101 } 102 /** 103 * @return string 104 */ 105 public function getGrantId() 106 { 107 return $this->grantId; 108 } 109 /** 110 * @param string 111 */ 112 public function setLastHeartbeatTransmitExpireTime($lastHeartbeatTransmitExpireTime) 113 { 114 $this->lastHeartbeatTransmitExpireTime = $lastHeartbeatTransmitExpireTime; 115 } 116 /** 117 * @return string 118 */ 119 public function getLastHeartbeatTransmitExpireTime() 120 { 121 return $this->lastHeartbeatTransmitExpireTime; 122 } 123 public function setMaxEirp($maxEirp) 124 { 125 $this->maxEirp = $maxEirp; 126 } 127 public function getMaxEirp() 128 { 129 return $this->maxEirp; 130 } 131 /** 132 * @param SasPortalDpaMoveList[] 133 */ 134 public function setMoveList($moveList) 135 { 136 $this->moveList = $moveList; 137 } 138 /** 139 * @return SasPortalDpaMoveList[] 140 */ 141 public function getMoveList() 142 { 143 return $this->moveList; 144 } 145 /** 146 * @param string 147 */ 148 public function setState($state) 149 { 150 $this->state = $state; 151 } 152 /** 153 * @return string 154 */ 155 public function getState() 156 { 157 return $this->state; 158 } 159 /** 160 * @param string[] 161 */ 162 public function setSuspensionReason($suspensionReason) 163 { 164 $this->suspensionReason = $suspensionReason; 165 } 166 /** 167 * @return string[] 168 */ 169 public function getSuspensionReason() 170 { 171 return $this->suspensionReason; 172 } 173} 174 175// Adding a class alias for backwards compatibility with the previous class name. 176class_alias(SasPortalDeviceGrant::class, 'Google_Service_Sasportal_SasPortalDeviceGrant'); 177