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\AndroidManagement;
19
20class ApplicationReport extends \Google\Collection
21{
22  protected $collection_key = 'signingKeyCertFingerprints';
23  /**
24   * @var string
25   */
26  public $applicationSource;
27  /**
28   * @var string
29   */
30  public $displayName;
31  protected $eventsType = ApplicationEvent::class;
32  protected $eventsDataType = 'array';
33  /**
34   * @var string
35   */
36  public $installerPackageName;
37  protected $keyedAppStatesType = KeyedAppState::class;
38  protected $keyedAppStatesDataType = 'array';
39  /**
40   * @var string
41   */
42  public $packageName;
43  /**
44   * @var string
45   */
46  public $packageSha256Hash;
47  /**
48   * @var string[]
49   */
50  public $signingKeyCertFingerprints;
51  /**
52   * @var string
53   */
54  public $state;
55  /**
56   * @var int
57   */
58  public $versionCode;
59  /**
60   * @var string
61   */
62  public $versionName;
63
64  /**
65   * @param string
66   */
67  public function setApplicationSource($applicationSource)
68  {
69    $this->applicationSource = $applicationSource;
70  }
71  /**
72   * @return string
73   */
74  public function getApplicationSource()
75  {
76    return $this->applicationSource;
77  }
78  /**
79   * @param string
80   */
81  public function setDisplayName($displayName)
82  {
83    $this->displayName = $displayName;
84  }
85  /**
86   * @return string
87   */
88  public function getDisplayName()
89  {
90    return $this->displayName;
91  }
92  /**
93   * @param ApplicationEvent[]
94   */
95  public function setEvents($events)
96  {
97    $this->events = $events;
98  }
99  /**
100   * @return ApplicationEvent[]
101   */
102  public function getEvents()
103  {
104    return $this->events;
105  }
106  /**
107   * @param string
108   */
109  public function setInstallerPackageName($installerPackageName)
110  {
111    $this->installerPackageName = $installerPackageName;
112  }
113  /**
114   * @return string
115   */
116  public function getInstallerPackageName()
117  {
118    return $this->installerPackageName;
119  }
120  /**
121   * @param KeyedAppState[]
122   */
123  public function setKeyedAppStates($keyedAppStates)
124  {
125    $this->keyedAppStates = $keyedAppStates;
126  }
127  /**
128   * @return KeyedAppState[]
129   */
130  public function getKeyedAppStates()
131  {
132    return $this->keyedAppStates;
133  }
134  /**
135   * @param string
136   */
137  public function setPackageName($packageName)
138  {
139    $this->packageName = $packageName;
140  }
141  /**
142   * @return string
143   */
144  public function getPackageName()
145  {
146    return $this->packageName;
147  }
148  /**
149   * @param string
150   */
151  public function setPackageSha256Hash($packageSha256Hash)
152  {
153    $this->packageSha256Hash = $packageSha256Hash;
154  }
155  /**
156   * @return string
157   */
158  public function getPackageSha256Hash()
159  {
160    return $this->packageSha256Hash;
161  }
162  /**
163   * @param string[]
164   */
165  public function setSigningKeyCertFingerprints($signingKeyCertFingerprints)
166  {
167    $this->signingKeyCertFingerprints = $signingKeyCertFingerprints;
168  }
169  /**
170   * @return string[]
171   */
172  public function getSigningKeyCertFingerprints()
173  {
174    return $this->signingKeyCertFingerprints;
175  }
176  /**
177   * @param string
178   */
179  public function setState($state)
180  {
181    $this->state = $state;
182  }
183  /**
184   * @return string
185   */
186  public function getState()
187  {
188    return $this->state;
189  }
190  /**
191   * @param int
192   */
193  public function setVersionCode($versionCode)
194  {
195    $this->versionCode = $versionCode;
196  }
197  /**
198   * @return int
199   */
200  public function getVersionCode()
201  {
202    return $this->versionCode;
203  }
204  /**
205   * @param string
206   */
207  public function setVersionName($versionName)
208  {
209    $this->versionName = $versionName;
210  }
211  /**
212   * @return string
213   */
214  public function getVersionName()
215  {
216    return $this->versionName;
217  }
218}
219
220// Adding a class alias for backwards compatibility with the previous class name.
221class_alias(ApplicationReport::class, 'Google_Service_AndroidManagement_ApplicationReport');
222