PageRenderTime 63ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/src/Google/Service/Spectrum.php

https://github.com/XinGao/google-api-php-client
PHP | 1887 lines | 1475 code | 317 blank | 95 comment | 0 complexity | c057a3a0091e5db7352ab1de599e5a12 MD5 | raw file
Possible License(s): Apache-2.0
  1. <?php
  2. /*
  3. * Copyright 2010 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. /**
  18. * Service definition for Spectrum (v1explorer).
  19. *
  20. * <p>
  21. * API for spectrum-management functions.
  22. * </p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="http://developers.google.com/spectrum" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_Spectrum extends Google_Service
  32. {
  33. public $paws;
  34. /**
  35. * Constructs the internal representation of the Spectrum service.
  36. *
  37. * @param Google_Client $client
  38. */
  39. public function __construct(Google_Client $client)
  40. {
  41. parent::__construct($client);
  42. $this->servicePath = 'spectrum/v1explorer/paws/';
  43. $this->version = 'v1explorer';
  44. $this->serviceName = 'spectrum';
  45. $this->paws = new Google_Service_Spectrum_Paws_Resource(
  46. $this,
  47. $this->serviceName,
  48. 'paws',
  49. array(
  50. 'methods' => array(
  51. 'getSpectrum' => array(
  52. 'path' => 'getSpectrum',
  53. 'httpMethod' => 'POST',
  54. 'parameters' => array(),
  55. ),'getSpectrumBatch' => array(
  56. 'path' => 'getSpectrumBatch',
  57. 'httpMethod' => 'POST',
  58. 'parameters' => array(),
  59. ),'init' => array(
  60. 'path' => 'init',
  61. 'httpMethod' => 'POST',
  62. 'parameters' => array(),
  63. ),'notifySpectrumUse' => array(
  64. 'path' => 'notifySpectrumUse',
  65. 'httpMethod' => 'POST',
  66. 'parameters' => array(),
  67. ),'register' => array(
  68. 'path' => 'register',
  69. 'httpMethod' => 'POST',
  70. 'parameters' => array(),
  71. ),'verifyDevice' => array(
  72. 'path' => 'verifyDevice',
  73. 'httpMethod' => 'POST',
  74. 'parameters' => array(),
  75. ),
  76. )
  77. )
  78. );
  79. }
  80. }
  81. /**
  82. * The "paws" collection of methods.
  83. * Typical usage is:
  84. * <code>
  85. * $spectrumService = new Google_Service_Spectrum(...);
  86. * $paws = $spectrumService->paws;
  87. * </code>
  88. */
  89. class Google_Service_Spectrum_Paws_Resource extends Google_Service_Resource
  90. {
  91. /**
  92. * Requests information about the available spectrum for a device at a location.
  93. * Requests from a fixed-mode device must include owner information so the
  94. * device can be registered with the database. (paws.getSpectrum)
  95. *
  96. * @param Google_PawsGetSpectrumRequest $postBody
  97. * @param array $optParams Optional parameters.
  98. * @return Google_Service_Spectrum_PawsGetSpectrumResponse
  99. */
  100. public function getSpectrum(Google_Service_Spectrum_PawsGetSpectrumRequest $postBody, $optParams = array())
  101. {
  102. $params = array('postBody' => $postBody);
  103. $params = array_merge($params, $optParams);
  104. return $this->call('getSpectrum', array($params), "Google_Service_Spectrum_PawsGetSpectrumResponse");
  105. }
  106. /**
  107. * The Google Spectrum Database does not support batch requests, so this method
  108. * always yields an UNIMPLEMENTED error. (paws.getSpectrumBatch)
  109. *
  110. * @param Google_PawsGetSpectrumBatchRequest $postBody
  111. * @param array $optParams Optional parameters.
  112. * @return Google_Service_Spectrum_PawsGetSpectrumBatchResponse
  113. */
  114. public function getSpectrumBatch(Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody, $optParams = array())
  115. {
  116. $params = array('postBody' => $postBody);
  117. $params = array_merge($params, $optParams);
  118. return $this->call('getSpectrumBatch', array($params), "Google_Service_Spectrum_PawsGetSpectrumBatchResponse");
  119. }
  120. /**
  121. * Initializes the connection between a white space device and the database.
  122. * (paws.init)
  123. *
  124. * @param Google_PawsInitRequest $postBody
  125. * @param array $optParams Optional parameters.
  126. * @return Google_Service_Spectrum_PawsInitResponse
  127. */
  128. public function init(Google_Service_Spectrum_PawsInitRequest $postBody, $optParams = array())
  129. {
  130. $params = array('postBody' => $postBody);
  131. $params = array_merge($params, $optParams);
  132. return $this->call('init', array($params), "Google_Service_Spectrum_PawsInitResponse");
  133. }
  134. /**
  135. * Notifies the database that the device has selected certain frequency ranges
  136. * for transmission. Only to be invoked when required by the regulator. The
  137. * Google Spectrum Database does not operate in domains that require
  138. * notification, so this always yields an UNIMPLEMENTED error.
  139. * (paws.notifySpectrumUse)
  140. *
  141. * @param Google_PawsNotifySpectrumUseRequest $postBody
  142. * @param array $optParams Optional parameters.
  143. * @return Google_Service_Spectrum_PawsNotifySpectrumUseResponse
  144. */
  145. public function notifySpectrumUse(Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody, $optParams = array())
  146. {
  147. $params = array('postBody' => $postBody);
  148. $params = array_merge($params, $optParams);
  149. return $this->call('notifySpectrumUse', array($params), "Google_Service_Spectrum_PawsNotifySpectrumUseResponse");
  150. }
  151. /**
  152. * The Google Spectrum Database implements registration in the getSpectrum
  153. * method. As such this always returns an UNIMPLEMENTED error. (paws.register)
  154. *
  155. * @param Google_PawsRegisterRequest $postBody
  156. * @param array $optParams Optional parameters.
  157. * @return Google_Service_Spectrum_PawsRegisterResponse
  158. */
  159. public function register(Google_Service_Spectrum_PawsRegisterRequest $postBody, $optParams = array())
  160. {
  161. $params = array('postBody' => $postBody);
  162. $params = array_merge($params, $optParams);
  163. return $this->call('register', array($params), "Google_Service_Spectrum_PawsRegisterResponse");
  164. }
  165. /**
  166. * Validates a device for white space use in accordance with regulatory rules.
  167. * The Google Spectrum Database does not support master/slave configurations, so
  168. * this always yields an UNIMPLEMENTED error. (paws.verifyDevice)
  169. *
  170. * @param Google_PawsVerifyDeviceRequest $postBody
  171. * @param array $optParams Optional parameters.
  172. * @return Google_Service_Spectrum_PawsVerifyDeviceResponse
  173. */
  174. public function verifyDevice(Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody, $optParams = array())
  175. {
  176. $params = array('postBody' => $postBody);
  177. $params = array_merge($params, $optParams);
  178. return $this->call('verifyDevice', array($params), "Google_Service_Spectrum_PawsVerifyDeviceResponse");
  179. }
  180. }
  181. class Google_Service_Spectrum_AntennaCharacteristics extends Google_Model
  182. {
  183. public $height;
  184. public $heightType;
  185. public $heightUncertainty;
  186. public function setHeight($height)
  187. {
  188. $this->height = $height;
  189. }
  190. public function getHeight()
  191. {
  192. return $this->height;
  193. }
  194. public function setHeightType($heightType)
  195. {
  196. $this->heightType = $heightType;
  197. }
  198. public function getHeightType()
  199. {
  200. return $this->heightType;
  201. }
  202. public function setHeightUncertainty($heightUncertainty)
  203. {
  204. $this->heightUncertainty = $heightUncertainty;
  205. }
  206. public function getHeightUncertainty()
  207. {
  208. return $this->heightUncertainty;
  209. }
  210. }
  211. class Google_Service_Spectrum_DatabaseSpec extends Google_Model
  212. {
  213. public $name;
  214. public $uri;
  215. public function setName($name)
  216. {
  217. $this->name = $name;
  218. }
  219. public function getName()
  220. {
  221. return $this->name;
  222. }
  223. public function setUri($uri)
  224. {
  225. $this->uri = $uri;
  226. }
  227. public function getUri()
  228. {
  229. return $this->uri;
  230. }
  231. }
  232. class Google_Service_Spectrum_DbUpdateSpec extends Google_Collection
  233. {
  234. protected $collection_key = 'databases';
  235. protected $databasesType = 'Google_Service_Spectrum_DatabaseSpec';
  236. protected $databasesDataType = 'array';
  237. public function setDatabases($databases)
  238. {
  239. $this->databases = $databases;
  240. }
  241. public function getDatabases()
  242. {
  243. return $this->databases;
  244. }
  245. }
  246. class Google_Service_Spectrum_DeviceCapabilities extends Google_Collection
  247. {
  248. protected $collection_key = 'frequencyRanges';
  249. protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange';
  250. protected $frequencyRangesDataType = 'array';
  251. public function setFrequencyRanges($frequencyRanges)
  252. {
  253. $this->frequencyRanges = $frequencyRanges;
  254. }
  255. public function getFrequencyRanges()
  256. {
  257. return $this->frequencyRanges;
  258. }
  259. }
  260. class Google_Service_Spectrum_DeviceDescriptor extends Google_Collection
  261. {
  262. protected $collection_key = 'rulesetIds';
  263. public $etsiEnDeviceCategory;
  264. public $etsiEnDeviceEmissionsClass;
  265. public $etsiEnDeviceType;
  266. public $etsiEnTechnologyId;
  267. public $fccId;
  268. public $fccTvbdDeviceType;
  269. public $manufacturerId;
  270. public $modelId;
  271. public $rulesetIds;
  272. public $serialNumber;
  273. public function setEtsiEnDeviceCategory($etsiEnDeviceCategory)
  274. {
  275. $this->etsiEnDeviceCategory = $etsiEnDeviceCategory;
  276. }
  277. public function getEtsiEnDeviceCategory()
  278. {
  279. return $this->etsiEnDeviceCategory;
  280. }
  281. public function setEtsiEnDeviceEmissionsClass($etsiEnDeviceEmissionsClass)
  282. {
  283. $this->etsiEnDeviceEmissionsClass = $etsiEnDeviceEmissionsClass;
  284. }
  285. public function getEtsiEnDeviceEmissionsClass()
  286. {
  287. return $this->etsiEnDeviceEmissionsClass;
  288. }
  289. public function setEtsiEnDeviceType($etsiEnDeviceType)
  290. {
  291. $this->etsiEnDeviceType = $etsiEnDeviceType;
  292. }
  293. public function getEtsiEnDeviceType()
  294. {
  295. return $this->etsiEnDeviceType;
  296. }
  297. public function setEtsiEnTechnologyId($etsiEnTechnologyId)
  298. {
  299. $this->etsiEnTechnologyId = $etsiEnTechnologyId;
  300. }
  301. public function getEtsiEnTechnologyId()
  302. {
  303. return $this->etsiEnTechnologyId;
  304. }
  305. public function setFccId($fccId)
  306. {
  307. $this->fccId = $fccId;
  308. }
  309. public function getFccId()
  310. {
  311. return $this->fccId;
  312. }
  313. public function setFccTvbdDeviceType($fccTvbdDeviceType)
  314. {
  315. $this->fccTvbdDeviceType = $fccTvbdDeviceType;
  316. }
  317. public function getFccTvbdDeviceType()
  318. {
  319. return $this->fccTvbdDeviceType;
  320. }
  321. public function setManufacturerId($manufacturerId)
  322. {
  323. $this->manufacturerId = $manufacturerId;
  324. }
  325. public function getManufacturerId()
  326. {
  327. return $this->manufacturerId;
  328. }
  329. public function setModelId($modelId)
  330. {
  331. $this->modelId = $modelId;
  332. }
  333. public function getModelId()
  334. {
  335. return $this->modelId;
  336. }
  337. public function setRulesetIds($rulesetIds)
  338. {
  339. $this->rulesetIds = $rulesetIds;
  340. }
  341. public function getRulesetIds()
  342. {
  343. return $this->rulesetIds;
  344. }
  345. public function setSerialNumber($serialNumber)
  346. {
  347. $this->serialNumber = $serialNumber;
  348. }
  349. public function getSerialNumber()
  350. {
  351. return $this->serialNumber;
  352. }
  353. }
  354. class Google_Service_Spectrum_DeviceOwner extends Google_Model
  355. {
  356. protected $operatorType = 'Google_Service_Spectrum_Vcard';
  357. protected $operatorDataType = '';
  358. protected $ownerType = 'Google_Service_Spectrum_Vcard';
  359. protected $ownerDataType = '';
  360. public function setOperator(Google_Service_Spectrum_Vcard $operator)
  361. {
  362. $this->operator = $operator;
  363. }
  364. public function getOperator()
  365. {
  366. return $this->operator;
  367. }
  368. public function setOwner(Google_Service_Spectrum_Vcard $owner)
  369. {
  370. $this->owner = $owner;
  371. }
  372. public function getOwner()
  373. {
  374. return $this->owner;
  375. }
  376. }
  377. class Google_Service_Spectrum_DeviceValidity extends Google_Model
  378. {
  379. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  380. protected $deviceDescDataType = '';
  381. public $isValid;
  382. public $reason;
  383. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  384. {
  385. $this->deviceDesc = $deviceDesc;
  386. }
  387. public function getDeviceDesc()
  388. {
  389. return $this->deviceDesc;
  390. }
  391. public function setIsValid($isValid)
  392. {
  393. $this->isValid = $isValid;
  394. }
  395. public function getIsValid()
  396. {
  397. return $this->isValid;
  398. }
  399. public function setReason($reason)
  400. {
  401. $this->reason = $reason;
  402. }
  403. public function getReason()
  404. {
  405. return $this->reason;
  406. }
  407. }
  408. class Google_Service_Spectrum_EventTime extends Google_Model
  409. {
  410. public $startTime;
  411. public $stopTime;
  412. public function setStartTime($startTime)
  413. {
  414. $this->startTime = $startTime;
  415. }
  416. public function getStartTime()
  417. {
  418. return $this->startTime;
  419. }
  420. public function setStopTime($stopTime)
  421. {
  422. $this->stopTime = $stopTime;
  423. }
  424. public function getStopTime()
  425. {
  426. return $this->stopTime;
  427. }
  428. }
  429. class Google_Service_Spectrum_FrequencyRange extends Google_Model
  430. {
  431. public $channelId;
  432. public $maxPowerDBm;
  433. public $startHz;
  434. public $stopHz;
  435. public function setChannelId($channelId)
  436. {
  437. $this->channelId = $channelId;
  438. }
  439. public function getChannelId()
  440. {
  441. return $this->channelId;
  442. }
  443. public function setMaxPowerDBm($maxPowerDBm)
  444. {
  445. $this->maxPowerDBm = $maxPowerDBm;
  446. }
  447. public function getMaxPowerDBm()
  448. {
  449. return $this->maxPowerDBm;
  450. }
  451. public function setStartHz($startHz)
  452. {
  453. $this->startHz = $startHz;
  454. }
  455. public function getStartHz()
  456. {
  457. return $this->startHz;
  458. }
  459. public function setStopHz($stopHz)
  460. {
  461. $this->stopHz = $stopHz;
  462. }
  463. public function getStopHz()
  464. {
  465. return $this->stopHz;
  466. }
  467. }
  468. class Google_Service_Spectrum_GeoLocation extends Google_Model
  469. {
  470. public $confidence;
  471. protected $pointType = 'Google_Service_Spectrum_GeoLocationEllipse';
  472. protected $pointDataType = '';
  473. protected $regionType = 'Google_Service_Spectrum_GeoLocationPolygon';
  474. protected $regionDataType = '';
  475. public function setConfidence($confidence)
  476. {
  477. $this->confidence = $confidence;
  478. }
  479. public function getConfidence()
  480. {
  481. return $this->confidence;
  482. }
  483. public function setPoint(Google_Service_Spectrum_GeoLocationEllipse $point)
  484. {
  485. $this->point = $point;
  486. }
  487. public function getPoint()
  488. {
  489. return $this->point;
  490. }
  491. public function setRegion(Google_Service_Spectrum_GeoLocationPolygon $region)
  492. {
  493. $this->region = $region;
  494. }
  495. public function getRegion()
  496. {
  497. return $this->region;
  498. }
  499. }
  500. class Google_Service_Spectrum_GeoLocationEllipse extends Google_Model
  501. {
  502. protected $centerType = 'Google_Service_Spectrum_GeoLocationPoint';
  503. protected $centerDataType = '';
  504. public $orientation;
  505. public $semiMajorAxis;
  506. public $semiMinorAxis;
  507. public function setCenter(Google_Service_Spectrum_GeoLocationPoint $center)
  508. {
  509. $this->center = $center;
  510. }
  511. public function getCenter()
  512. {
  513. return $this->center;
  514. }
  515. public function setOrientation($orientation)
  516. {
  517. $this->orientation = $orientation;
  518. }
  519. public function getOrientation()
  520. {
  521. return $this->orientation;
  522. }
  523. public function setSemiMajorAxis($semiMajorAxis)
  524. {
  525. $this->semiMajorAxis = $semiMajorAxis;
  526. }
  527. public function getSemiMajorAxis()
  528. {
  529. return $this->semiMajorAxis;
  530. }
  531. public function setSemiMinorAxis($semiMinorAxis)
  532. {
  533. $this->semiMinorAxis = $semiMinorAxis;
  534. }
  535. public function getSemiMinorAxis()
  536. {
  537. return $this->semiMinorAxis;
  538. }
  539. }
  540. class Google_Service_Spectrum_GeoLocationPoint extends Google_Model
  541. {
  542. public $latitude;
  543. public $longitude;
  544. public function setLatitude($latitude)
  545. {
  546. $this->latitude = $latitude;
  547. }
  548. public function getLatitude()
  549. {
  550. return $this->latitude;
  551. }
  552. public function setLongitude($longitude)
  553. {
  554. $this->longitude = $longitude;
  555. }
  556. public function getLongitude()
  557. {
  558. return $this->longitude;
  559. }
  560. }
  561. class Google_Service_Spectrum_GeoLocationPolygon extends Google_Collection
  562. {
  563. protected $collection_key = 'exterior';
  564. protected $exteriorType = 'Google_Service_Spectrum_GeoLocationPoint';
  565. protected $exteriorDataType = 'array';
  566. public function setExterior($exterior)
  567. {
  568. $this->exterior = $exterior;
  569. }
  570. public function getExterior()
  571. {
  572. return $this->exterior;
  573. }
  574. }
  575. class Google_Service_Spectrum_GeoSpectrumSchedule extends Google_Collection
  576. {
  577. protected $collection_key = 'spectrumSchedules';
  578. protected $locationType = 'Google_Service_Spectrum_GeoLocation';
  579. protected $locationDataType = '';
  580. protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule';
  581. protected $spectrumSchedulesDataType = 'array';
  582. public function setLocation(Google_Service_Spectrum_GeoLocation $location)
  583. {
  584. $this->location = $location;
  585. }
  586. public function getLocation()
  587. {
  588. return $this->location;
  589. }
  590. public function setSpectrumSchedules($spectrumSchedules)
  591. {
  592. $this->spectrumSchedules = $spectrumSchedules;
  593. }
  594. public function getSpectrumSchedules()
  595. {
  596. return $this->spectrumSchedules;
  597. }
  598. }
  599. class Google_Service_Spectrum_PawsGetSpectrumBatchRequest extends Google_Collection
  600. {
  601. protected $collection_key = 'locations';
  602. protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
  603. protected $antennaDataType = '';
  604. protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities';
  605. protected $capabilitiesDataType = '';
  606. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  607. protected $deviceDescDataType = '';
  608. protected $locationsType = 'Google_Service_Spectrum_GeoLocation';
  609. protected $locationsDataType = 'array';
  610. protected $masterDeviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  611. protected $masterDeviceDescDataType = '';
  612. protected $ownerType = 'Google_Service_Spectrum_DeviceOwner';
  613. protected $ownerDataType = '';
  614. public $requestType;
  615. public $type;
  616. public $version;
  617. public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna)
  618. {
  619. $this->antenna = $antenna;
  620. }
  621. public function getAntenna()
  622. {
  623. return $this->antenna;
  624. }
  625. public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities)
  626. {
  627. $this->capabilities = $capabilities;
  628. }
  629. public function getCapabilities()
  630. {
  631. return $this->capabilities;
  632. }
  633. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  634. {
  635. $this->deviceDesc = $deviceDesc;
  636. }
  637. public function getDeviceDesc()
  638. {
  639. return $this->deviceDesc;
  640. }
  641. public function setLocations($locations)
  642. {
  643. $this->locations = $locations;
  644. }
  645. public function getLocations()
  646. {
  647. return $this->locations;
  648. }
  649. public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc)
  650. {
  651. $this->masterDeviceDesc = $masterDeviceDesc;
  652. }
  653. public function getMasterDeviceDesc()
  654. {
  655. return $this->masterDeviceDesc;
  656. }
  657. public function setOwner(Google_Service_Spectrum_DeviceOwner $owner)
  658. {
  659. $this->owner = $owner;
  660. }
  661. public function getOwner()
  662. {
  663. return $this->owner;
  664. }
  665. public function setRequestType($requestType)
  666. {
  667. $this->requestType = $requestType;
  668. }
  669. public function getRequestType()
  670. {
  671. return $this->requestType;
  672. }
  673. public function setType($type)
  674. {
  675. $this->type = $type;
  676. }
  677. public function getType()
  678. {
  679. return $this->type;
  680. }
  681. public function setVersion($version)
  682. {
  683. $this->version = $version;
  684. }
  685. public function getVersion()
  686. {
  687. return $this->version;
  688. }
  689. }
  690. class Google_Service_Spectrum_PawsGetSpectrumBatchResponse extends Google_Collection
  691. {
  692. protected $collection_key = 'geoSpectrumSchedules';
  693. protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
  694. protected $databaseChangeDataType = '';
  695. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  696. protected $deviceDescDataType = '';
  697. protected $geoSpectrumSchedulesType = 'Google_Service_Spectrum_GeoSpectrumSchedule';
  698. protected $geoSpectrumSchedulesDataType = 'array';
  699. public $kind;
  700. public $maxContiguousBwHz;
  701. public $maxTotalBwHz;
  702. public $needsSpectrumReport;
  703. protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo';
  704. protected $rulesetInfoDataType = '';
  705. public $timestamp;
  706. public $type;
  707. public $version;
  708. public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
  709. {
  710. $this->databaseChange = $databaseChange;
  711. }
  712. public function getDatabaseChange()
  713. {
  714. return $this->databaseChange;
  715. }
  716. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  717. {
  718. $this->deviceDesc = $deviceDesc;
  719. }
  720. public function getDeviceDesc()
  721. {
  722. return $this->deviceDesc;
  723. }
  724. public function setGeoSpectrumSchedules($geoSpectrumSchedules)
  725. {
  726. $this->geoSpectrumSchedules = $geoSpectrumSchedules;
  727. }
  728. public function getGeoSpectrumSchedules()
  729. {
  730. return $this->geoSpectrumSchedules;
  731. }
  732. public function setKind($kind)
  733. {
  734. $this->kind = $kind;
  735. }
  736. public function getKind()
  737. {
  738. return $this->kind;
  739. }
  740. public function setMaxContiguousBwHz($maxContiguousBwHz)
  741. {
  742. $this->maxContiguousBwHz = $maxContiguousBwHz;
  743. }
  744. public function getMaxContiguousBwHz()
  745. {
  746. return $this->maxContiguousBwHz;
  747. }
  748. public function setMaxTotalBwHz($maxTotalBwHz)
  749. {
  750. $this->maxTotalBwHz = $maxTotalBwHz;
  751. }
  752. public function getMaxTotalBwHz()
  753. {
  754. return $this->maxTotalBwHz;
  755. }
  756. public function setNeedsSpectrumReport($needsSpectrumReport)
  757. {
  758. $this->needsSpectrumReport = $needsSpectrumReport;
  759. }
  760. public function getNeedsSpectrumReport()
  761. {
  762. return $this->needsSpectrumReport;
  763. }
  764. public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo)
  765. {
  766. $this->rulesetInfo = $rulesetInfo;
  767. }
  768. public function getRulesetInfo()
  769. {
  770. return $this->rulesetInfo;
  771. }
  772. public function setTimestamp($timestamp)
  773. {
  774. $this->timestamp = $timestamp;
  775. }
  776. public function getTimestamp()
  777. {
  778. return $this->timestamp;
  779. }
  780. public function setType($type)
  781. {
  782. $this->type = $type;
  783. }
  784. public function getType()
  785. {
  786. return $this->type;
  787. }
  788. public function setVersion($version)
  789. {
  790. $this->version = $version;
  791. }
  792. public function getVersion()
  793. {
  794. return $this->version;
  795. }
  796. }
  797. class Google_Service_Spectrum_PawsGetSpectrumRequest extends Google_Model
  798. {
  799. protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
  800. protected $antennaDataType = '';
  801. protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities';
  802. protected $capabilitiesDataType = '';
  803. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  804. protected $deviceDescDataType = '';
  805. protected $locationType = 'Google_Service_Spectrum_GeoLocation';
  806. protected $locationDataType = '';
  807. protected $masterDeviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  808. protected $masterDeviceDescDataType = '';
  809. protected $ownerType = 'Google_Service_Spectrum_DeviceOwner';
  810. protected $ownerDataType = '';
  811. public $requestType;
  812. public $type;
  813. public $version;
  814. public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna)
  815. {
  816. $this->antenna = $antenna;
  817. }
  818. public function getAntenna()
  819. {
  820. return $this->antenna;
  821. }
  822. public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities)
  823. {
  824. $this->capabilities = $capabilities;
  825. }
  826. public function getCapabilities()
  827. {
  828. return $this->capabilities;
  829. }
  830. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  831. {
  832. $this->deviceDesc = $deviceDesc;
  833. }
  834. public function getDeviceDesc()
  835. {
  836. return $this->deviceDesc;
  837. }
  838. public function setLocation(Google_Service_Spectrum_GeoLocation $location)
  839. {
  840. $this->location = $location;
  841. }
  842. public function getLocation()
  843. {
  844. return $this->location;
  845. }
  846. public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc)
  847. {
  848. $this->masterDeviceDesc = $masterDeviceDesc;
  849. }
  850. public function getMasterDeviceDesc()
  851. {
  852. return $this->masterDeviceDesc;
  853. }
  854. public function setOwner(Google_Service_Spectrum_DeviceOwner $owner)
  855. {
  856. $this->owner = $owner;
  857. }
  858. public function getOwner()
  859. {
  860. return $this->owner;
  861. }
  862. public function setRequestType($requestType)
  863. {
  864. $this->requestType = $requestType;
  865. }
  866. public function getRequestType()
  867. {
  868. return $this->requestType;
  869. }
  870. public function setType($type)
  871. {
  872. $this->type = $type;
  873. }
  874. public function getType()
  875. {
  876. return $this->type;
  877. }
  878. public function setVersion($version)
  879. {
  880. $this->version = $version;
  881. }
  882. public function getVersion()
  883. {
  884. return $this->version;
  885. }
  886. }
  887. class Google_Service_Spectrum_PawsGetSpectrumResponse extends Google_Collection
  888. {
  889. protected $collection_key = 'spectrumSchedules';
  890. protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
  891. protected $databaseChangeDataType = '';
  892. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  893. protected $deviceDescDataType = '';
  894. public $kind;
  895. public $maxContiguousBwHz;
  896. public $maxTotalBwHz;
  897. public $needsSpectrumReport;
  898. protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo';
  899. protected $rulesetInfoDataType = '';
  900. protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule';
  901. protected $spectrumSchedulesDataType = 'array';
  902. public $timestamp;
  903. public $type;
  904. public $version;
  905. public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
  906. {
  907. $this->databaseChange = $databaseChange;
  908. }
  909. public function getDatabaseChange()
  910. {
  911. return $this->databaseChange;
  912. }
  913. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  914. {
  915. $this->deviceDesc = $deviceDesc;
  916. }
  917. public function getDeviceDesc()
  918. {
  919. return $this->deviceDesc;
  920. }
  921. public function setKind($kind)
  922. {
  923. $this->kind = $kind;
  924. }
  925. public function getKind()
  926. {
  927. return $this->kind;
  928. }
  929. public function setMaxContiguousBwHz($maxContiguousBwHz)
  930. {
  931. $this->maxContiguousBwHz = $maxContiguousBwHz;
  932. }
  933. public function getMaxContiguousBwHz()
  934. {
  935. return $this->maxContiguousBwHz;
  936. }
  937. public function setMaxTotalBwHz($maxTotalBwHz)
  938. {
  939. $this->maxTotalBwHz = $maxTotalBwHz;
  940. }
  941. public function getMaxTotalBwHz()
  942. {
  943. return $this->maxTotalBwHz;
  944. }
  945. public function setNeedsSpectrumReport($needsSpectrumReport)
  946. {
  947. $this->needsSpectrumReport = $needsSpectrumReport;
  948. }
  949. public function getNeedsSpectrumReport()
  950. {
  951. return $this->needsSpectrumReport;
  952. }
  953. public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo)
  954. {
  955. $this->rulesetInfo = $rulesetInfo;
  956. }
  957. public function getRulesetInfo()
  958. {
  959. return $this->rulesetInfo;
  960. }
  961. public function setSpectrumSchedules($spectrumSchedules)
  962. {
  963. $this->spectrumSchedules = $spectrumSchedules;
  964. }
  965. public function getSpectrumSchedules()
  966. {
  967. return $this->spectrumSchedules;
  968. }
  969. public function setTimestamp($timestamp)
  970. {
  971. $this->timestamp = $timestamp;
  972. }
  973. public function getTimestamp()
  974. {
  975. return $this->timestamp;
  976. }
  977. public function setType($type)
  978. {
  979. $this->type = $type;
  980. }
  981. public function getType()
  982. {
  983. return $this->type;
  984. }
  985. public function setVersion($version)
  986. {
  987. $this->version = $version;
  988. }
  989. public function getVersion()
  990. {
  991. return $this->version;
  992. }
  993. }
  994. class Google_Service_Spectrum_PawsInitRequest extends Google_Model
  995. {
  996. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  997. protected $deviceDescDataType = '';
  998. protected $locationType = 'Google_Service_Spectrum_GeoLocation';
  999. protected $locationDataType = '';
  1000. public $type;
  1001. public $version;
  1002. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  1003. {
  1004. $this->deviceDesc = $deviceDesc;
  1005. }
  1006. public function getDeviceDesc()
  1007. {
  1008. return $this->deviceDesc;
  1009. }
  1010. public function setLocation(Google_Service_Spectrum_GeoLocation $location)
  1011. {
  1012. $this->location = $location;
  1013. }
  1014. public function getLocation()
  1015. {
  1016. return $this->location;
  1017. }
  1018. public function setType($type)
  1019. {
  1020. $this->type = $type;
  1021. }
  1022. public function getType()
  1023. {
  1024. return $this->type;
  1025. }
  1026. public function setVersion($version)
  1027. {
  1028. $this->version = $version;
  1029. }
  1030. public function getVersion()
  1031. {
  1032. return $this->version;
  1033. }
  1034. }
  1035. class Google_Service_Spectrum_PawsInitResponse extends Google_Model
  1036. {
  1037. protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
  1038. protected $databaseChangeDataType = '';
  1039. public $kind;
  1040. protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo';
  1041. protected $rulesetInfoDataType = '';
  1042. public $type;
  1043. public $version;
  1044. public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
  1045. {
  1046. $this->databaseChange = $databaseChange;
  1047. }
  1048. public function getDatabaseChange()
  1049. {
  1050. return $this->databaseChange;
  1051. }
  1052. public function setKind($kind)
  1053. {
  1054. $this->kind = $kind;
  1055. }
  1056. public function getKind()
  1057. {
  1058. return $this->kind;
  1059. }
  1060. public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo)
  1061. {
  1062. $this->rulesetInfo = $rulesetInfo;
  1063. }
  1064. public function getRulesetInfo()
  1065. {
  1066. return $this->rulesetInfo;
  1067. }
  1068. public function setType($type)
  1069. {
  1070. $this->type = $type;
  1071. }
  1072. public function getType()
  1073. {
  1074. return $this->type;
  1075. }
  1076. public function setVersion($version)
  1077. {
  1078. $this->version = $version;
  1079. }
  1080. public function getVersion()
  1081. {
  1082. return $this->version;
  1083. }
  1084. }
  1085. class Google_Service_Spectrum_PawsNotifySpectrumUseRequest extends Google_Collection
  1086. {
  1087. protected $collection_key = 'spectra';
  1088. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  1089. protected $deviceDescDataType = '';
  1090. protected $locationType = 'Google_Service_Spectrum_GeoLocation';
  1091. protected $locationDataType = '';
  1092. protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage';
  1093. protected $spectraDataType = 'array';
  1094. public $type;
  1095. public $version;
  1096. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  1097. {
  1098. $this->deviceDesc = $deviceDesc;
  1099. }
  1100. public function getDeviceDesc()
  1101. {
  1102. return $this->deviceDesc;
  1103. }
  1104. public function setLocation(Google_Service_Spectrum_GeoLocation $location)
  1105. {
  1106. $this->location = $location;
  1107. }
  1108. public function getLocation()
  1109. {
  1110. return $this->location;
  1111. }
  1112. public function setSpectra($spectra)
  1113. {
  1114. $this->spectra = $spectra;
  1115. }
  1116. public function getSpectra()
  1117. {
  1118. return $this->spectra;
  1119. }
  1120. public function setType($type)
  1121. {
  1122. $this->type = $type;
  1123. }
  1124. public function getType()
  1125. {
  1126. return $this->type;
  1127. }
  1128. public function setVersion($version)
  1129. {
  1130. $this->version = $version;
  1131. }
  1132. public function getVersion()
  1133. {
  1134. return $this->version;
  1135. }
  1136. }
  1137. class Google_Service_Spectrum_PawsNotifySpectrumUseResponse extends Google_Model
  1138. {
  1139. public $kind;
  1140. public $type;
  1141. public $version;
  1142. public function setKind($kind)
  1143. {
  1144. $this->kind = $kind;
  1145. }
  1146. public function getKind()
  1147. {
  1148. return $this->kind;
  1149. }
  1150. public function setType($type)
  1151. {
  1152. $this->type = $type;
  1153. }
  1154. public function getType()
  1155. {
  1156. return $this->type;
  1157. }
  1158. public function setVersion($version)
  1159. {
  1160. $this->version = $version;
  1161. }
  1162. public function getVersion()
  1163. {
  1164. return $this->version;
  1165. }
  1166. }
  1167. class Google_Service_Spectrum_PawsRegisterRequest extends Google_Model
  1168. {
  1169. protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
  1170. protected $antennaDataType = '';
  1171. protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
  1172. protected $deviceDescDataType = '';
  1173. protected $deviceOwnerType = 'Google_Service_Spectrum_DeviceOwner';
  1174. protected $deviceOwnerDataType = '';
  1175. protected $locationType = 'Google_Service_Spectrum_GeoLocation';
  1176. protected $locationDataType = '';
  1177. public $type;
  1178. public $version;
  1179. public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna)
  1180. {
  1181. $this->antenna = $antenna;
  1182. }
  1183. public function getAntenna()
  1184. {
  1185. return $this->antenna;
  1186. }
  1187. public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
  1188. {
  1189. $this->deviceDesc = $deviceDesc;
  1190. }
  1191. public function getDeviceDesc()
  1192. {
  1193. return $this->deviceDesc;
  1194. }
  1195. public function setDeviceOwner(Google_Service_Spectrum_DeviceOwner $deviceOwner)
  1196. {
  1197. $this->deviceOwner = $deviceOwner;
  1198. }
  1199. public function getDeviceOwner()
  1200. {
  1201. return $this->deviceOwner;
  1202. }
  1203. public function setLocation(Google_Service_Spectrum_GeoLocation $location)
  1204. {
  1205. $this->location = $location;
  1206. }
  1207. public function getLocation()
  1208. {
  1209. return $this->location;
  1210. }
  1211. public function setType($type)
  1212. {
  1213. $this->type = $type;
  1214. }
  1215. public function getType()
  1216. {
  1217. return $this->type;
  1218. }
  1219. public function setVersion($version)
  1220. {
  1221. $this->version = $version;
  1222. }
  1223. public function getVersion()
  1224. {
  1225. return $this->version;
  1226. }
  1227. }
  1228. class Google_Service_Spectrum_PawsRegisterResponse extends Google_Model
  1229. {
  1230. protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
  1231. protected $databaseChangeDataType = '';
  1232. public $kind;
  1233. public $type;
  1234. public $version;
  1235. public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
  1236. {
  1237. $this->databaseChange = $databaseChange;
  1238. }
  1239. public function getDatabaseChange()
  1240. {
  1241. return $this->databaseChange;
  1242. }
  1243. public function setKind($kind)
  1244. {
  1245. $this->kind = $kind;
  1246. }
  1247. public function getKind()
  1248. {
  1249. return $this->kind;
  1250. }
  1251. public function setType($type)
  1252. {
  1253. $this->type = $type;
  1254. }
  1255. public function getType()
  1256. {
  1257. return $this->type;
  1258. }
  1259. public function setVersion($version)
  1260. {
  1261. $this->version = $version;
  1262. }
  1263. public function getVersion()
  1264. {
  1265. return $this->version;
  1266. }
  1267. }
  1268. class Google_Service_Spectrum_PawsVerifyDeviceRequest extends Google_Collection
  1269. {
  1270. protected $collection_key = 'deviceDescs';
  1271. protected $deviceDescsType = 'Google_Service_Spectrum_DeviceDescriptor';
  1272. protected $deviceDescsDataType = 'array';
  1273. public $type;
  1274. public $version;
  1275. public function setDeviceDescs($deviceDescs)
  1276. {
  1277. $this->deviceDescs = $deviceDescs;
  1278. }
  1279. public function getDeviceDescs()
  1280. {
  1281. return $this->deviceDescs;
  1282. }
  1283. public function setType($type)
  1284. {
  1285. $this->type = $type;
  1286. }
  1287. public function getType()
  1288. {
  1289. return $this->type;
  1290. }
  1291. public function setVersion($version)
  1292. {
  1293. $this->version = $version;
  1294. }
  1295. public function getVersion()
  1296. {
  1297. return $this->version;
  1298. }
  1299. }
  1300. class Google_Service_Spectrum_PawsVerifyDeviceResponse extends Google_Collection
  1301. {
  1302. protected $collection_key = 'deviceValidities';
  1303. protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
  1304. protected $databaseChangeDataType = '';
  1305. protected $deviceValiditiesType = 'Google_Service_Spectrum_DeviceValidity';
  1306. protected $deviceValiditiesDataType = 'array';
  1307. public $kind;
  1308. public $type;
  1309. public $version;
  1310. public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange)
  1311. {
  1312. $this->databaseChange = $databaseChange;
  1313. }
  1314. public function getDatabaseChange()
  1315. {
  1316. return $this->databaseChange;
  1317. }
  1318. public function setDeviceValidities($deviceValidities)
  1319. {
  1320. $this->deviceValidities = $deviceValidities;
  1321. }
  1322. public function getDeviceValidities()
  1323. {
  1324. return $this->deviceValidities;
  1325. }
  1326. public function setKind($kind)
  1327. {
  1328. $this->kind = $kind;
  1329. }
  1330. public function getKind()
  1331. {
  1332. return $this->kind;
  1333. }
  1334. public function setType($type)
  1335. {
  1336. $this->type = $type;
  1337. }
  1338. public function getType()
  1339. {
  1340. return $this->type;
  1341. }
  1342. public function setVersion($version)
  1343. {
  1344. $this->version = $version;
  1345. }
  1346. public function getVersion()
  1347. {
  1348. return $this->version;
  1349. }
  1350. }
  1351. class Google_Service_Spectrum_RulesetInfo extends Google_Collection
  1352. {
  1353. protected $collection_key = 'rulesetIds';
  1354. public $authority;
  1355. public $maxLocationChange;
  1356. public $maxPollingSecs;
  1357. public $rulesetIds;
  1358. public function setAuthority($authority)
  1359. {
  1360. $this->authority = $authority;
  1361. }
  1362. public function getAuthority()
  1363. {
  1364. return $this->authority;
  1365. }
  1366. public function setMaxLocationChange($maxLocationChange)
  1367. {
  1368. $this->maxLocationChange = $maxLocationChange;
  1369. }
  1370. public function getMaxLocationChange()
  1371. {
  1372. return $this->maxLocationChange;
  1373. }
  1374. public function setMaxPollingSecs($maxPollingSecs)
  1375. {
  1376. $this->maxPollingSecs = $maxPollingSecs;
  1377. }
  1378. public function getMaxPollingSecs()
  1379. {
  1380. return $this->maxPollingSecs;
  1381. }
  1382. public function setRulesetIds($rulesetIds)
  1383. {
  1384. $this->rulesetIds = $rulesetIds;
  1385. }
  1386. public function getRulesetIds()
  1387. {
  1388. return $this->rulesetIds;
  1389. }
  1390. }
  1391. class Google_Service_Spectrum_SpectrumMessage extends Google_Collection
  1392. {
  1393. protected $collection_key = 'frequencyRanges';
  1394. public $bandwidth;
  1395. protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange';
  1396. protected $frequencyRangesDataType = 'array';
  1397. public function setBandwidth($bandwidth)
  1398. {
  1399. $this->bandwidth = $bandwidth;
  1400. }
  1401. public function getBandwidth()
  1402. {
  1403. return $this->bandwidth;
  1404. }
  1405. public function setFrequencyRanges($frequencyRanges)
  1406. {
  1407. $this->frequencyRanges = $frequencyRanges;
  1408. }
  1409. public function getFrequencyRanges()
  1410. {
  1411. return $this->frequencyRanges;
  1412. }
  1413. }
  1414. class Google_Service_Spectrum_SpectrumSchedule extends Google_Collection
  1415. {
  1416. protected $collection_key = 'spectra';
  1417. protected $eventTimeType = 'Google_Service_Spectrum_EventTime';
  1418. protected $eventTimeDataType = '';
  1419. protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage';
  1420. protected $spectraDataType = 'array';
  1421. public function setEventTime(Google_Service_Spectrum_EventTime $eventTime)
  1422. {
  1423. $this->eventTime = $eventTime;
  1424. }
  1425. public function getEventTime()
  1426. {
  1427. return $this->eventTime;
  1428. }
  1429. public function setSpectra($spectra)
  1430. {
  1431. $this->spectra = $spectra;
  1432. }
  1433. public function getSpectra()
  1434. {
  1435. return $this->spectra;
  1436. }
  1437. }
  1438. class Google_Service_Spectrum_Vcard extends Google_Model
  1439. {
  1440. protected $adrType = 'Google_Service_Spectrum_VcardAddress';
  1441. protected $adrDataType = '';
  1442. protected $emailType = 'Google_Service_Spectrum_VcardTypedText';
  1443. protected $emailDataType = '';
  1444. public $fn;
  1445. protected $orgType = 'Google_Service_Spectrum_VcardTypedText';
  1446. protected $orgDataType = '';
  1447. protected $telType = 'Google_Service_Spectrum_VcardTelephone';
  1448. protected $telDataType = '';
  1449. public function setAdr(Google_Service_Spectrum_VcardAddress $adr)
  1450. {
  1451. $this->adr = $adr;
  1452. }
  1453. public function getAdr()
  1454. {
  1455. return $this->adr;
  1456. }
  1457. public function setEmail(Google_Service_Spectrum_VcardTypedText $email)
  1458. {
  1459. $this->email = $email;
  1460. }
  1461. public function getEmail()
  1462. {
  1463. return $this->email;
  1464. }
  1465. public function setFn($fn)
  1466. {
  1467. $this->fn = $fn;
  1468. }
  1469. public function getFn()
  1470. {
  1471. return $this->fn;
  1472. }
  1473. public function setOrg(Google_Service_Spectrum_VcardTypedText $org)
  1474. {
  1475. $this->org = $org;
  1476. }
  1477. public function getOrg()
  1478. {
  1479. return $this->org;
  1480. }
  1481. public function setTel(Google_Service_Spectrum_VcardTelephone $tel)
  1482. {
  1483. $this->tel = $tel;
  1484. }
  1485. public function getTel()
  1486. {
  1487. return $this->tel;
  1488. }
  1489. }
  1490. class Google_Service_Spectrum_VcardAddress extends Google_Model
  1491. {
  1492. public $code;
  1493. public $country;
  1494. public $locality;
  1495. public $pobox;
  1496. public $region;
  1497. public $street;
  1498. public function setCode($code)
  1499. {
  1500. $this->code = $code;
  1501. }
  1502. public function getCode()
  1503. {
  1504. return $this->code;
  1505. }
  1506. public function setCountry($country)
  1507. {
  1508. $this->country = $country;
  1509. }
  1510. public function getCountry()
  1511. {
  1512. return $this->country;
  1513. }
  1514. public function setLocality($locality)
  1515. {
  1516. $this->locality = $locality;
  1517. }
  1518. public function getLocality()
  1519. {
  1520. return $this->locality;
  1521. }
  1522. public function setPobox($pobox)
  1523. {
  1524. $this->pobox = $pobox;
  1525. }
  1526. public function getPobox()
  1527. {
  1528. return $this->pobox;
  1529. }
  1530. public function setRegion($region)
  1531. {
  1532. $this->region = $region;
  1533. }
  1534. public function getRegion()
  1535. {
  1536. return $this->region;
  1537. }
  1538. public function setStreet($street)
  1539. {
  1540. $this->street = $street;
  1541. }
  1542. public function getStreet()
  1543. {
  1544. return $this->street;
  1545. }
  1546. }
  1547. class Google_Service_Spectrum_VcardTelephone extends Google_Model
  1548. {
  1549. public $uri;
  1550. public function setUri($uri)
  1551. {
  1552. $this->uri = $uri;
  1553. }
  1554. public function getUri()
  1555. {
  1556. return $this->uri;
  1557. }
  1558. }
  1559. class Google_Service_Spectrum_VcardTypedText extends Google_Model
  1560. {
  1561. public $text;
  1562. public function setText($text)
  1563. {
  1564. $this->text = $text;
  1565. }
  1566. public function getText()
  1567. {
  1568. return $this->text;
  1569. }
  1570. }