source: vendor/google/apiclient-services/src/WorkloadManager/WorkloadProfile.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.1 KB
Line 
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\WorkloadManager;
19
20class WorkloadProfile extends \Google\Model
21{
22 protected $applicationType = Layer::class;
23 protected $applicationDataType = '';
24 protected $ascsType = Layer::class;
25 protected $ascsDataType = '';
26 protected $databaseType = Layer::class;
27 protected $databaseDataType = '';
28 /**
29 * @var string[]
30 */
31 public $labels;
32 /**
33 * @var string
34 */
35 public $name;
36 /**
37 * @var string
38 */
39 public $refreshedTime;
40 protected $sapWorkloadType = SapWorkload::class;
41 protected $sapWorkloadDataType = '';
42 protected $sqlserverWorkloadType = SqlserverWorkload::class;
43 protected $sqlserverWorkloadDataType = '';
44 /**
45 * @var string
46 */
47 public $state;
48 protected $threeTierWorkloadType = ThreeTierWorkload::class;
49 protected $threeTierWorkloadDataType = '';
50 /**
51 * @var string
52 */
53 public $workloadType;
54
55 /**
56 * @param Layer
57 */
58 public function setApplication(Layer $application)
59 {
60 $this->application = $application;
61 }
62 /**
63 * @return Layer
64 */
65 public function getApplication()
66 {
67 return $this->application;
68 }
69 /**
70 * @param Layer
71 */
72 public function setAscs(Layer $ascs)
73 {
74 $this->ascs = $ascs;
75 }
76 /**
77 * @return Layer
78 */
79 public function getAscs()
80 {
81 return $this->ascs;
82 }
83 /**
84 * @param Layer
85 */
86 public function setDatabase(Layer $database)
87 {
88 $this->database = $database;
89 }
90 /**
91 * @return Layer
92 */
93 public function getDatabase()
94 {
95 return $this->database;
96 }
97 /**
98 * @param string[]
99 */
100 public function setLabels($labels)
101 {
102 $this->labels = $labels;
103 }
104 /**
105 * @return string[]
106 */
107 public function getLabels()
108 {
109 return $this->labels;
110 }
111 /**
112 * @param string
113 */
114 public function setName($name)
115 {
116 $this->name = $name;
117 }
118 /**
119 * @return string
120 */
121 public function getName()
122 {
123 return $this->name;
124 }
125 /**
126 * @param string
127 */
128 public function setRefreshedTime($refreshedTime)
129 {
130 $this->refreshedTime = $refreshedTime;
131 }
132 /**
133 * @return string
134 */
135 public function getRefreshedTime()
136 {
137 return $this->refreshedTime;
138 }
139 /**
140 * @param SapWorkload
141 */
142 public function setSapWorkload(SapWorkload $sapWorkload)
143 {
144 $this->sapWorkload = $sapWorkload;
145 }
146 /**
147 * @return SapWorkload
148 */
149 public function getSapWorkload()
150 {
151 return $this->sapWorkload;
152 }
153 /**
154 * @param SqlserverWorkload
155 */
156 public function setSqlserverWorkload(SqlserverWorkload $sqlserverWorkload)
157 {
158 $this->sqlserverWorkload = $sqlserverWorkload;
159 }
160 /**
161 * @return SqlserverWorkload
162 */
163 public function getSqlserverWorkload()
164 {
165 return $this->sqlserverWorkload;
166 }
167 /**
168 * @param string
169 */
170 public function setState($state)
171 {
172 $this->state = $state;
173 }
174 /**
175 * @return string
176 */
177 public function getState()
178 {
179 return $this->state;
180 }
181 /**
182 * @param ThreeTierWorkload
183 */
184 public function setThreeTierWorkload(ThreeTierWorkload $threeTierWorkload)
185 {
186 $this->threeTierWorkload = $threeTierWorkload;
187 }
188 /**
189 * @return ThreeTierWorkload
190 */
191 public function getThreeTierWorkload()
192 {
193 return $this->threeTierWorkload;
194 }
195 /**
196 * @param string
197 */
198 public function setWorkloadType($workloadType)
199 {
200 $this->workloadType = $workloadType;
201 }
202 /**
203 * @return string
204 */
205 public function getWorkloadType()
206 {
207 return $this->workloadType;
208 }
209}
210
211// Adding a class alias for backwards compatibility with the previous class name.
212class_alias(WorkloadProfile::class, 'Google_Service_WorkloadManager_WorkloadProfile');
Note: See TracBrowser for help on using the repository browser.