Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

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