| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- <?php
- /*
- * Copyright 2014 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
- namespace Google\Service\Baremetalsolution;
- class VolumeConfig extends \Google\Collection
- {
- protected $collection_key = 'nfsExports';
- /**
- * @var string
- */
- public $gcpService;
- /**
- * @var string
- */
- public $id;
- protected $lunRangesType = LunRange::class;
- protected $lunRangesDataType = 'array';
- /**
- * @var string[]
- */
- public $machineIds;
- /**
- * @var string
- */
- public $name;
- protected $nfsExportsType = NfsExport::class;
- protected $nfsExportsDataType = 'array';
- /**
- * @var string
- */
- public $protocol;
- /**
- * @var int
- */
- public $sizeGb;
- /**
- * @var bool
- */
- public $snapshotsEnabled;
- /**
- * @var string
- */
- public $type;
- /**
- * @var string
- */
- public $userNote;
- /**
- * @param string
- */
- public function setGcpService($gcpService)
- {
- $this->gcpService = $gcpService;
- }
- /**
- * @return string
- */
- public function getGcpService()
- {
- return $this->gcpService;
- }
- /**
- * @param string
- */
- public function setId($id)
- {
- $this->id = $id;
- }
- /**
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param LunRange[]
- */
- public function setLunRanges($lunRanges)
- {
- $this->lunRanges = $lunRanges;
- }
- /**
- * @return LunRange[]
- */
- public function getLunRanges()
- {
- return $this->lunRanges;
- }
- /**
- * @param string[]
- */
- public function setMachineIds($machineIds)
- {
- $this->machineIds = $machineIds;
- }
- /**
- * @return string[]
- */
- public function getMachineIds()
- {
- return $this->machineIds;
- }
- /**
- * @param string
- */
- public function setName($name)
- {
- $this->name = $name;
- }
- /**
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * @param NfsExport[]
- */
- public function setNfsExports($nfsExports)
- {
- $this->nfsExports = $nfsExports;
- }
- /**
- * @return NfsExport[]
- */
- public function getNfsExports()
- {
- return $this->nfsExports;
- }
- /**
- * @param string
- */
- public function setProtocol($protocol)
- {
- $this->protocol = $protocol;
- }
- /**
- * @return string
- */
- public function getProtocol()
- {
- return $this->protocol;
- }
- /**
- * @param int
- */
- public function setSizeGb($sizeGb)
- {
- $this->sizeGb = $sizeGb;
- }
- /**
- * @return int
- */
- public function getSizeGb()
- {
- return $this->sizeGb;
- }
- /**
- * @param bool
- */
- public function setSnapshotsEnabled($snapshotsEnabled)
- {
- $this->snapshotsEnabled = $snapshotsEnabled;
- }
- /**
- * @return bool
- */
- public function getSnapshotsEnabled()
- {
- return $this->snapshotsEnabled;
- }
- /**
- * @param string
- */
- public function setType($type)
- {
- $this->type = $type;
- }
- /**
- * @return string
- */
- public function getType()
- {
- return $this->type;
- }
- /**
- * @param string
- */
- public function setUserNote($userNote)
- {
- $this->userNote = $userNote;
- }
- /**
- * @return string
- */
- public function getUserNote()
- {
- return $this->userNote;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(VolumeConfig::class, 'Google_Service_Baremetalsolution_VolumeConfig');
|