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\Appengine;
19
20class Deployment extends \Google\Model
21{
22  protected $cloudBuildOptionsType = CloudBuildOptions::class;
23  protected $cloudBuildOptionsDataType = '';
24  protected $containerType = ContainerInfo::class;
25  protected $containerDataType = '';
26  protected $filesType = FileInfo::class;
27  protected $filesDataType = 'map';
28  protected $zipType = ZipInfo::class;
29  protected $zipDataType = '';
30
31  /**
32   * @param CloudBuildOptions
33   */
34  public function setCloudBuildOptions(CloudBuildOptions $cloudBuildOptions)
35  {
36    $this->cloudBuildOptions = $cloudBuildOptions;
37  }
38  /**
39   * @return CloudBuildOptions
40   */
41  public function getCloudBuildOptions()
42  {
43    return $this->cloudBuildOptions;
44  }
45  /**
46   * @param ContainerInfo
47   */
48  public function setContainer(ContainerInfo $container)
49  {
50    $this->container = $container;
51  }
52  /**
53   * @return ContainerInfo
54   */
55  public function getContainer()
56  {
57    return $this->container;
58  }
59  /**
60   * @param FileInfo[]
61   */
62  public function setFiles($files)
63  {
64    $this->files = $files;
65  }
66  /**
67   * @return FileInfo[]
68   */
69  public function getFiles()
70  {
71    return $this->files;
72  }
73  /**
74   * @param ZipInfo
75   */
76  public function setZip(ZipInfo $zip)
77  {
78    $this->zip = $zip;
79  }
80  /**
81   * @return ZipInfo
82   */
83  public function getZip()
84  {
85    return $this->zip;
86  }
87}
88
89// Adding a class alias for backwards compatibility with the previous class name.
90class_alias(Deployment::class, 'Google_Service_Appengine_Deployment');
91