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\CloudAsset;
19
20class SoftwarePackage extends \Google\Model
21{
22  protected $aptPackageType = VersionedPackage::class;
23  protected $aptPackageDataType = '';
24  protected $cosPackageType = VersionedPackage::class;
25  protected $cosPackageDataType = '';
26  protected $googetPackageType = VersionedPackage::class;
27  protected $googetPackageDataType = '';
28  protected $qfePackageType = WindowsQuickFixEngineeringPackage::class;
29  protected $qfePackageDataType = '';
30  protected $windowsApplicationType = WindowsApplication::class;
31  protected $windowsApplicationDataType = '';
32  protected $wuaPackageType = WindowsUpdatePackage::class;
33  protected $wuaPackageDataType = '';
34  protected $yumPackageType = VersionedPackage::class;
35  protected $yumPackageDataType = '';
36  protected $zypperPackageType = VersionedPackage::class;
37  protected $zypperPackageDataType = '';
38  protected $zypperPatchType = ZypperPatch::class;
39  protected $zypperPatchDataType = '';
40
41  /**
42   * @param VersionedPackage
43   */
44  public function setAptPackage(VersionedPackage $aptPackage)
45  {
46    $this->aptPackage = $aptPackage;
47  }
48  /**
49   * @return VersionedPackage
50   */
51  public function getAptPackage()
52  {
53    return $this->aptPackage;
54  }
55  /**
56   * @param VersionedPackage
57   */
58  public function setCosPackage(VersionedPackage $cosPackage)
59  {
60    $this->cosPackage = $cosPackage;
61  }
62  /**
63   * @return VersionedPackage
64   */
65  public function getCosPackage()
66  {
67    return $this->cosPackage;
68  }
69  /**
70   * @param VersionedPackage
71   */
72  public function setGoogetPackage(VersionedPackage $googetPackage)
73  {
74    $this->googetPackage = $googetPackage;
75  }
76  /**
77   * @return VersionedPackage
78   */
79  public function getGoogetPackage()
80  {
81    return $this->googetPackage;
82  }
83  /**
84   * @param WindowsQuickFixEngineeringPackage
85   */
86  public function setQfePackage(WindowsQuickFixEngineeringPackage $qfePackage)
87  {
88    $this->qfePackage = $qfePackage;
89  }
90  /**
91   * @return WindowsQuickFixEngineeringPackage
92   */
93  public function getQfePackage()
94  {
95    return $this->qfePackage;
96  }
97  /**
98   * @param WindowsApplication
99   */
100  public function setWindowsApplication(WindowsApplication $windowsApplication)
101  {
102    $this->windowsApplication = $windowsApplication;
103  }
104  /**
105   * @return WindowsApplication
106   */
107  public function getWindowsApplication()
108  {
109    return $this->windowsApplication;
110  }
111  /**
112   * @param WindowsUpdatePackage
113   */
114  public function setWuaPackage(WindowsUpdatePackage $wuaPackage)
115  {
116    $this->wuaPackage = $wuaPackage;
117  }
118  /**
119   * @return WindowsUpdatePackage
120   */
121  public function getWuaPackage()
122  {
123    return $this->wuaPackage;
124  }
125  /**
126   * @param VersionedPackage
127   */
128  public function setYumPackage(VersionedPackage $yumPackage)
129  {
130    $this->yumPackage = $yumPackage;
131  }
132  /**
133   * @return VersionedPackage
134   */
135  public function getYumPackage()
136  {
137    return $this->yumPackage;
138  }
139  /**
140   * @param VersionedPackage
141   */
142  public function setZypperPackage(VersionedPackage $zypperPackage)
143  {
144    $this->zypperPackage = $zypperPackage;
145  }
146  /**
147   * @return VersionedPackage
148   */
149  public function getZypperPackage()
150  {
151    return $this->zypperPackage;
152  }
153  /**
154   * @param ZypperPatch
155   */
156  public function setZypperPatch(ZypperPatch $zypperPatch)
157  {
158    $this->zypperPatch = $zypperPatch;
159  }
160  /**
161   * @return ZypperPatch
162   */
163  public function getZypperPatch()
164  {
165    return $this->zypperPatch;
166  }
167}
168
169// Adding a class alias for backwards compatibility with the previous class name.
170class_alias(SoftwarePackage::class, 'Google_Service_CloudAsset_SoftwarePackage');
171