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 18namespace Google\Service\Baremetalsolution; 19 20class NetworkConfig extends \Google\Collection 21{ 22 protected $collection_key = 'vlanAttachments'; 23 /** 24 * @var string 25 */ 26 public $bandwidth; 27 /** 28 * @var string 29 */ 30 public $cidr; 31 /** 32 * @var string 33 */ 34 public $gcpService; 35 /** 36 * @var string 37 */ 38 public $id; 39 /** 40 * @var string 41 */ 42 public $name; 43 /** 44 * @var string 45 */ 46 public $serviceCidr; 47 /** 48 * @var string 49 */ 50 public $type; 51 /** 52 * @var string 53 */ 54 public $userNote; 55 protected $vlanAttachmentsType = IntakeVlanAttachment::class; 56 protected $vlanAttachmentsDataType = 'array'; 57 /** 58 * @var bool 59 */ 60 public $vlanSameProject; 61 62 /** 63 * @param string 64 */ 65 public function setBandwidth($bandwidth) 66 { 67 $this->bandwidth = $bandwidth; 68 } 69 /** 70 * @return string 71 */ 72 public function getBandwidth() 73 { 74 return $this->bandwidth; 75 } 76 /** 77 * @param string 78 */ 79 public function setCidr($cidr) 80 { 81 $this->cidr = $cidr; 82 } 83 /** 84 * @return string 85 */ 86 public function getCidr() 87 { 88 return $this->cidr; 89 } 90 /** 91 * @param string 92 */ 93 public function setGcpService($gcpService) 94 { 95 $this->gcpService = $gcpService; 96 } 97 /** 98 * @return string 99 */ 100 public function getGcpService() 101 { 102 return $this->gcpService; 103 } 104 /** 105 * @param string 106 */ 107 public function setId($id) 108 { 109 $this->id = $id; 110 } 111 /** 112 * @return string 113 */ 114 public function getId() 115 { 116 return $this->id; 117 } 118 /** 119 * @param string 120 */ 121 public function setName($name) 122 { 123 $this->name = $name; 124 } 125 /** 126 * @return string 127 */ 128 public function getName() 129 { 130 return $this->name; 131 } 132 /** 133 * @param string 134 */ 135 public function setServiceCidr($serviceCidr) 136 { 137 $this->serviceCidr = $serviceCidr; 138 } 139 /** 140 * @return string 141 */ 142 public function getServiceCidr() 143 { 144 return $this->serviceCidr; 145 } 146 /** 147 * @param string 148 */ 149 public function setType($type) 150 { 151 $this->type = $type; 152 } 153 /** 154 * @return string 155 */ 156 public function getType() 157 { 158 return $this->type; 159 } 160 /** 161 * @param string 162 */ 163 public function setUserNote($userNote) 164 { 165 $this->userNote = $userNote; 166 } 167 /** 168 * @return string 169 */ 170 public function getUserNote() 171 { 172 return $this->userNote; 173 } 174 /** 175 * @param IntakeVlanAttachment[] 176 */ 177 public function setVlanAttachments($vlanAttachments) 178 { 179 $this->vlanAttachments = $vlanAttachments; 180 } 181 /** 182 * @return IntakeVlanAttachment[] 183 */ 184 public function getVlanAttachments() 185 { 186 return $this->vlanAttachments; 187 } 188 /** 189 * @param bool 190 */ 191 public function setVlanSameProject($vlanSameProject) 192 { 193 $this->vlanSameProject = $vlanSameProject; 194 } 195 /** 196 * @return bool 197 */ 198 public function getVlanSameProject() 199 { 200 return $this->vlanSameProject; 201 } 202} 203 204// Adding a class alias for backwards compatibility with the previous class name. 205class_alias(NetworkConfig::class, 'Google_Service_Baremetalsolution_NetworkConfig'); 206