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\DeploymentManager;
19
20class Deployment extends \Google\Collection
21{
22  protected $collection_key = 'labels';
23  /**
24   * @var string
25   */
26  public $description;
27  /**
28   * @var string
29   */
30  public $fingerprint;
31  /**
32   * @var string
33   */
34  public $id;
35  /**
36   * @var string
37   */
38  public $insertTime;
39  protected $labelsType = DeploymentLabelEntry::class;
40  protected $labelsDataType = 'array';
41  /**
42   * @var string
43   */
44  public $manifest;
45  /**
46   * @var string
47   */
48  public $name;
49  protected $operationType = Operation::class;
50  protected $operationDataType = '';
51  /**
52   * @var string
53   */
54  public $selfLink;
55  protected $targetType = TargetConfiguration::class;
56  protected $targetDataType = '';
57  protected $updateType = DeploymentUpdate::class;
58  protected $updateDataType = '';
59  /**
60   * @var string
61   */
62  public $updateTime;
63
64  /**
65   * @param string
66   */
67  public function setDescription($description)
68  {
69    $this->description = $description;
70  }
71  /**
72   * @return string
73   */
74  public function getDescription()
75  {
76    return $this->description;
77  }
78  /**
79   * @param string
80   */
81  public function setFingerprint($fingerprint)
82  {
83    $this->fingerprint = $fingerprint;
84  }
85  /**
86   * @return string
87   */
88  public function getFingerprint()
89  {
90    return $this->fingerprint;
91  }
92  /**
93   * @param string
94   */
95  public function setId($id)
96  {
97    $this->id = $id;
98  }
99  /**
100   * @return string
101   */
102  public function getId()
103  {
104    return $this->id;
105  }
106  /**
107   * @param string
108   */
109  public function setInsertTime($insertTime)
110  {
111    $this->insertTime = $insertTime;
112  }
113  /**
114   * @return string
115   */
116  public function getInsertTime()
117  {
118    return $this->insertTime;
119  }
120  /**
121   * @param DeploymentLabelEntry[]
122   */
123  public function setLabels($labels)
124  {
125    $this->labels = $labels;
126  }
127  /**
128   * @return DeploymentLabelEntry[]
129   */
130  public function getLabels()
131  {
132    return $this->labels;
133  }
134  /**
135   * @param string
136   */
137  public function setManifest($manifest)
138  {
139    $this->manifest = $manifest;
140  }
141  /**
142   * @return string
143   */
144  public function getManifest()
145  {
146    return $this->manifest;
147  }
148  /**
149   * @param string
150   */
151  public function setName($name)
152  {
153    $this->name = $name;
154  }
155  /**
156   * @return string
157   */
158  public function getName()
159  {
160    return $this->name;
161  }
162  /**
163   * @param Operation
164   */
165  public function setOperation(Operation $operation)
166  {
167    $this->operation = $operation;
168  }
169  /**
170   * @return Operation
171   */
172  public function getOperation()
173  {
174    return $this->operation;
175  }
176  /**
177   * @param string
178   */
179  public function setSelfLink($selfLink)
180  {
181    $this->selfLink = $selfLink;
182  }
183  /**
184   * @return string
185   */
186  public function getSelfLink()
187  {
188    return $this->selfLink;
189  }
190  /**
191   * @param TargetConfiguration
192   */
193  public function setTarget(TargetConfiguration $target)
194  {
195    $this->target = $target;
196  }
197  /**
198   * @return TargetConfiguration
199   */
200  public function getTarget()
201  {
202    return $this->target;
203  }
204  /**
205   * @param DeploymentUpdate
206   */
207  public function setUpdate(DeploymentUpdate $update)
208  {
209    $this->update = $update;
210  }
211  /**
212   * @return DeploymentUpdate
213   */
214  public function getUpdate()
215  {
216    return $this->update;
217  }
218  /**
219   * @param string
220   */
221  public function setUpdateTime($updateTime)
222  {
223    $this->updateTime = $updateTime;
224  }
225  /**
226   * @return string
227   */
228  public function getUpdateTime()
229  {
230    return $this->updateTime;
231  }
232}
233
234// Adding a class alias for backwards compatibility with the previous class name.
235class_alias(Deployment::class, 'Google_Service_DeploymentManager_Deployment');
236