[e3d4e0a] | 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\MigrationCenterAPI;
|
---|
| 19 |
|
---|
| 20 | class Asset extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'sources';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $assignedGroups;
|
---|
| 27 | /**
|
---|
| 28 | * @var string[]
|
---|
| 29 | */
|
---|
| 30 | public $attributes;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $createTime;
|
---|
| 35 | protected $databaseDeploymentDetailsType = DatabaseDeploymentDetails::class;
|
---|
| 36 | protected $databaseDeploymentDetailsDataType = '';
|
---|
| 37 | protected $databaseDetailsType = DatabaseDetails::class;
|
---|
| 38 | protected $databaseDetailsDataType = '';
|
---|
| 39 | protected $insightListType = InsightList::class;
|
---|
| 40 | protected $insightListDataType = '';
|
---|
| 41 | /**
|
---|
| 42 | * @var string[]
|
---|
| 43 | */
|
---|
| 44 | public $labels;
|
---|
| 45 | protected $machineDetailsType = MachineDetails::class;
|
---|
| 46 | protected $machineDetailsDataType = '';
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $name;
|
---|
| 51 | protected $performanceDataType = AssetPerformanceData::class;
|
---|
| 52 | protected $performanceDataDataType = '';
|
---|
| 53 | /**
|
---|
| 54 | * @var string[]
|
---|
| 55 | */
|
---|
| 56 | public $sources;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $title;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $updateTime;
|
---|
| 65 |
|
---|
| 66 | /**
|
---|
| 67 | * @param string[]
|
---|
| 68 | */
|
---|
| 69 | public function setAssignedGroups($assignedGroups)
|
---|
| 70 | {
|
---|
| 71 | $this->assignedGroups = $assignedGroups;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @return string[]
|
---|
| 75 | */
|
---|
| 76 | public function getAssignedGroups()
|
---|
| 77 | {
|
---|
| 78 | return $this->assignedGroups;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @param string[]
|
---|
| 82 | */
|
---|
| 83 | public function setAttributes($attributes)
|
---|
| 84 | {
|
---|
| 85 | $this->attributes = $attributes;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return string[]
|
---|
| 89 | */
|
---|
| 90 | public function getAttributes()
|
---|
| 91 | {
|
---|
| 92 | return $this->attributes;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param string
|
---|
| 96 | */
|
---|
| 97 | public function setCreateTime($createTime)
|
---|
| 98 | {
|
---|
| 99 | $this->createTime = $createTime;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return string
|
---|
| 103 | */
|
---|
| 104 | public function getCreateTime()
|
---|
| 105 | {
|
---|
| 106 | return $this->createTime;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param DatabaseDeploymentDetails
|
---|
| 110 | */
|
---|
| 111 | public function setDatabaseDeploymentDetails(DatabaseDeploymentDetails $databaseDeploymentDetails)
|
---|
| 112 | {
|
---|
| 113 | $this->databaseDeploymentDetails = $databaseDeploymentDetails;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return DatabaseDeploymentDetails
|
---|
| 117 | */
|
---|
| 118 | public function getDatabaseDeploymentDetails()
|
---|
| 119 | {
|
---|
| 120 | return $this->databaseDeploymentDetails;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param DatabaseDetails
|
---|
| 124 | */
|
---|
| 125 | public function setDatabaseDetails(DatabaseDetails $databaseDetails)
|
---|
| 126 | {
|
---|
| 127 | $this->databaseDetails = $databaseDetails;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return DatabaseDetails
|
---|
| 131 | */
|
---|
| 132 | public function getDatabaseDetails()
|
---|
| 133 | {
|
---|
| 134 | return $this->databaseDetails;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param InsightList
|
---|
| 138 | */
|
---|
| 139 | public function setInsightList(InsightList $insightList)
|
---|
| 140 | {
|
---|
| 141 | $this->insightList = $insightList;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return InsightList
|
---|
| 145 | */
|
---|
| 146 | public function getInsightList()
|
---|
| 147 | {
|
---|
| 148 | return $this->insightList;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param string[]
|
---|
| 152 | */
|
---|
| 153 | public function setLabels($labels)
|
---|
| 154 | {
|
---|
| 155 | $this->labels = $labels;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return string[]
|
---|
| 159 | */
|
---|
| 160 | public function getLabels()
|
---|
| 161 | {
|
---|
| 162 | return $this->labels;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param MachineDetails
|
---|
| 166 | */
|
---|
| 167 | public function setMachineDetails(MachineDetails $machineDetails)
|
---|
| 168 | {
|
---|
| 169 | $this->machineDetails = $machineDetails;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return MachineDetails
|
---|
| 173 | */
|
---|
| 174 | public function getMachineDetails()
|
---|
| 175 | {
|
---|
| 176 | return $this->machineDetails;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param string
|
---|
| 180 | */
|
---|
| 181 | public function setName($name)
|
---|
| 182 | {
|
---|
| 183 | $this->name = $name;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return string
|
---|
| 187 | */
|
---|
| 188 | public function getName()
|
---|
| 189 | {
|
---|
| 190 | return $this->name;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param AssetPerformanceData
|
---|
| 194 | */
|
---|
| 195 | public function setPerformanceData(AssetPerformanceData $performanceData)
|
---|
| 196 | {
|
---|
| 197 | $this->performanceData = $performanceData;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return AssetPerformanceData
|
---|
| 201 | */
|
---|
| 202 | public function getPerformanceData()
|
---|
| 203 | {
|
---|
| 204 | return $this->performanceData;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param string[]
|
---|
| 208 | */
|
---|
| 209 | public function setSources($sources)
|
---|
| 210 | {
|
---|
| 211 | $this->sources = $sources;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return string[]
|
---|
| 215 | */
|
---|
| 216 | public function getSources()
|
---|
| 217 | {
|
---|
| 218 | return $this->sources;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param string
|
---|
| 222 | */
|
---|
| 223 | public function setTitle($title)
|
---|
| 224 | {
|
---|
| 225 | $this->title = $title;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return string
|
---|
| 229 | */
|
---|
| 230 | public function getTitle()
|
---|
| 231 | {
|
---|
| 232 | return $this->title;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param string
|
---|
| 236 | */
|
---|
| 237 | public function setUpdateTime($updateTime)
|
---|
| 238 | {
|
---|
| 239 | $this->updateTime = $updateTime;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return string
|
---|
| 243 | */
|
---|
| 244 | public function getUpdateTime()
|
---|
| 245 | {
|
---|
| 246 | return $this->updateTime;
|
---|
| 247 | }
|
---|
| 248 | }
|
---|
| 249 |
|
---|
| 250 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 251 | class_alias(Asset::class, 'Google_Service_MigrationCenterAPI_Asset');
|
---|