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 InstanceConfig extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $accountNetworksEnabled;
26  protected $clientNetworkType = NetworkAddress::class;
27  protected $clientNetworkDataType = '';
28  /**
29   * @var bool
30   */
31  public $hyperthreading;
32  /**
33   * @var string
34   */
35  public $id;
36  /**
37   * @var string
38   */
39  public $instanceType;
40  /**
41   * @var string
42   */
43  public $name;
44  /**
45   * @var string
46   */
47  public $osImage;
48  protected $privateNetworkType = NetworkAddress::class;
49  protected $privateNetworkDataType = '';
50  /**
51   * @var string
52   */
53  public $userNote;
54
55  /**
56   * @param bool
57   */
58  public function setAccountNetworksEnabled($accountNetworksEnabled)
59  {
60    $this->accountNetworksEnabled = $accountNetworksEnabled;
61  }
62  /**
63   * @return bool
64   */
65  public function getAccountNetworksEnabled()
66  {
67    return $this->accountNetworksEnabled;
68  }
69  /**
70   * @param NetworkAddress
71   */
72  public function setClientNetwork(NetworkAddress $clientNetwork)
73  {
74    $this->clientNetwork = $clientNetwork;
75  }
76  /**
77   * @return NetworkAddress
78   */
79  public function getClientNetwork()
80  {
81    return $this->clientNetwork;
82  }
83  /**
84   * @param bool
85   */
86  public function setHyperthreading($hyperthreading)
87  {
88    $this->hyperthreading = $hyperthreading;
89  }
90  /**
91   * @return bool
92   */
93  public function getHyperthreading()
94  {
95    return $this->hyperthreading;
96  }
97  /**
98   * @param string
99   */
100  public function setId($id)
101  {
102    $this->id = $id;
103  }
104  /**
105   * @return string
106   */
107  public function getId()
108  {
109    return $this->id;
110  }
111  /**
112   * @param string
113   */
114  public function setInstanceType($instanceType)
115  {
116    $this->instanceType = $instanceType;
117  }
118  /**
119   * @return string
120   */
121  public function getInstanceType()
122  {
123    return $this->instanceType;
124  }
125  /**
126   * @param string
127   */
128  public function setName($name)
129  {
130    $this->name = $name;
131  }
132  /**
133   * @return string
134   */
135  public function getName()
136  {
137    return $this->name;
138  }
139  /**
140   * @param string
141   */
142  public function setOsImage($osImage)
143  {
144    $this->osImage = $osImage;
145  }
146  /**
147   * @return string
148   */
149  public function getOsImage()
150  {
151    return $this->osImage;
152  }
153  /**
154   * @param NetworkAddress
155   */
156  public function setPrivateNetwork(NetworkAddress $privateNetwork)
157  {
158    $this->privateNetwork = $privateNetwork;
159  }
160  /**
161   * @return NetworkAddress
162   */
163  public function getPrivateNetwork()
164  {
165    return $this->privateNetwork;
166  }
167  /**
168   * @param string
169   */
170  public function setUserNote($userNote)
171  {
172    $this->userNote = $userNote;
173  }
174  /**
175   * @return string
176   */
177  public function getUserNote()
178  {
179    return $this->userNote;
180  }
181}
182
183// Adding a class alias for backwards compatibility with the previous class name.
184class_alias(InstanceConfig::class, 'Google_Service_Baremetalsolution_InstanceConfig');
185