PageRenderTime 57ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/google/src/Google/Service/Spectrum.php

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