[f9c482b] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\OSConfig;
|
---|
| 19 |
|
---|
| 20 | class OSPolicyResourcePackageResource extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $aptType = OSPolicyResourcePackageResourceAPT::class;
|
---|
| 23 | protected $aptDataType = '';
|
---|
| 24 | protected $debType = OSPolicyResourcePackageResourceDeb::class;
|
---|
| 25 | protected $debDataType = '';
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $desiredState;
|
---|
| 30 | protected $googetType = OSPolicyResourcePackageResourceGooGet::class;
|
---|
| 31 | protected $googetDataType = '';
|
---|
| 32 | protected $msiType = OSPolicyResourcePackageResourceMSI::class;
|
---|
| 33 | protected $msiDataType = '';
|
---|
| 34 | protected $rpmType = OSPolicyResourcePackageResourceRPM::class;
|
---|
| 35 | protected $rpmDataType = '';
|
---|
| 36 | protected $yumType = OSPolicyResourcePackageResourceYUM::class;
|
---|
| 37 | protected $yumDataType = '';
|
---|
| 38 | protected $zypperType = OSPolicyResourcePackageResourceZypper::class;
|
---|
| 39 | protected $zypperDataType = '';
|
---|
| 40 |
|
---|
| 41 | /**
|
---|
| 42 | * @param OSPolicyResourcePackageResourceAPT
|
---|
| 43 | */
|
---|
| 44 | public function setApt(OSPolicyResourcePackageResourceAPT $apt)
|
---|
| 45 | {
|
---|
| 46 | $this->apt = $apt;
|
---|
| 47 | }
|
---|
| 48 | /**
|
---|
| 49 | * @return OSPolicyResourcePackageResourceAPT
|
---|
| 50 | */
|
---|
| 51 | public function getApt()
|
---|
| 52 | {
|
---|
| 53 | return $this->apt;
|
---|
| 54 | }
|
---|
| 55 | /**
|
---|
| 56 | * @param OSPolicyResourcePackageResourceDeb
|
---|
| 57 | */
|
---|
| 58 | public function setDeb(OSPolicyResourcePackageResourceDeb $deb)
|
---|
| 59 | {
|
---|
| 60 | $this->deb = $deb;
|
---|
| 61 | }
|
---|
| 62 | /**
|
---|
| 63 | * @return OSPolicyResourcePackageResourceDeb
|
---|
| 64 | */
|
---|
| 65 | public function getDeb()
|
---|
| 66 | {
|
---|
| 67 | return $this->deb;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @param string
|
---|
| 71 | */
|
---|
| 72 | public function setDesiredState($desiredState)
|
---|
| 73 | {
|
---|
| 74 | $this->desiredState = $desiredState;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @return string
|
---|
| 78 | */
|
---|
| 79 | public function getDesiredState()
|
---|
| 80 | {
|
---|
| 81 | return $this->desiredState;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @param OSPolicyResourcePackageResourceGooGet
|
---|
| 85 | */
|
---|
| 86 | public function setGooget(OSPolicyResourcePackageResourceGooGet $googet)
|
---|
| 87 | {
|
---|
| 88 | $this->googet = $googet;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @return OSPolicyResourcePackageResourceGooGet
|
---|
| 92 | */
|
---|
| 93 | public function getGooget()
|
---|
| 94 | {
|
---|
| 95 | return $this->googet;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @param OSPolicyResourcePackageResourceMSI
|
---|
| 99 | */
|
---|
| 100 | public function setMsi(OSPolicyResourcePackageResourceMSI $msi)
|
---|
| 101 | {
|
---|
| 102 | $this->msi = $msi;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @return OSPolicyResourcePackageResourceMSI
|
---|
| 106 | */
|
---|
| 107 | public function getMsi()
|
---|
| 108 | {
|
---|
| 109 | return $this->msi;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @param OSPolicyResourcePackageResourceRPM
|
---|
| 113 | */
|
---|
| 114 | public function setRpm(OSPolicyResourcePackageResourceRPM $rpm)
|
---|
| 115 | {
|
---|
| 116 | $this->rpm = $rpm;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @return OSPolicyResourcePackageResourceRPM
|
---|
| 120 | */
|
---|
| 121 | public function getRpm()
|
---|
| 122 | {
|
---|
| 123 | return $this->rpm;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @param OSPolicyResourcePackageResourceYUM
|
---|
| 127 | */
|
---|
| 128 | public function setYum(OSPolicyResourcePackageResourceYUM $yum)
|
---|
| 129 | {
|
---|
| 130 | $this->yum = $yum;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @return OSPolicyResourcePackageResourceYUM
|
---|
| 134 | */
|
---|
| 135 | public function getYum()
|
---|
| 136 | {
|
---|
| 137 | return $this->yum;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @param OSPolicyResourcePackageResourceZypper
|
---|
| 141 | */
|
---|
| 142 | public function setZypper(OSPolicyResourcePackageResourceZypper $zypper)
|
---|
| 143 | {
|
---|
| 144 | $this->zypper = $zypper;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @return OSPolicyResourcePackageResourceZypper
|
---|
| 148 | */
|
---|
| 149 | public function getZypper()
|
---|
| 150 | {
|
---|
| 151 | return $this->zypper;
|
---|
| 152 | }
|
---|
| 153 | }
|
---|
| 154 |
|
---|
| 155 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 156 | class_alias(OSPolicyResourcePackageResource::class, 'Google_Service_OSConfig_OSPolicyResourcePackageResource');
|
---|