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 |
|
---|
18 | namespace Google\Service\AndroidPublisher;
|
---|
19 |
|
---|
20 | class GeneratedApksPerSigningKey extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'generatedStandaloneApks';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $certificateSha256Hash;
|
---|
27 | protected $generatedAssetPackSlicesType = GeneratedAssetPackSlice::class;
|
---|
28 | protected $generatedAssetPackSlicesDataType = 'array';
|
---|
29 | protected $generatedRecoveryModulesType = GeneratedRecoveryApk::class;
|
---|
30 | protected $generatedRecoveryModulesDataType = 'array';
|
---|
31 | protected $generatedSplitApksType = GeneratedSplitApk::class;
|
---|
32 | protected $generatedSplitApksDataType = 'array';
|
---|
33 | protected $generatedStandaloneApksType = GeneratedStandaloneApk::class;
|
---|
34 | protected $generatedStandaloneApksDataType = 'array';
|
---|
35 | protected $generatedUniversalApkType = GeneratedUniversalApk::class;
|
---|
36 | protected $generatedUniversalApkDataType = '';
|
---|
37 | protected $targetingInfoType = TargetingInfo::class;
|
---|
38 | protected $targetingInfoDataType = '';
|
---|
39 |
|
---|
40 | /**
|
---|
41 | * @param string
|
---|
42 | */
|
---|
43 | public function setCertificateSha256Hash($certificateSha256Hash)
|
---|
44 | {
|
---|
45 | $this->certificateSha256Hash = $certificateSha256Hash;
|
---|
46 | }
|
---|
47 | /**
|
---|
48 | * @return string
|
---|
49 | */
|
---|
50 | public function getCertificateSha256Hash()
|
---|
51 | {
|
---|
52 | return $this->certificateSha256Hash;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * @param GeneratedAssetPackSlice[]
|
---|
56 | */
|
---|
57 | public function setGeneratedAssetPackSlices($generatedAssetPackSlices)
|
---|
58 | {
|
---|
59 | $this->generatedAssetPackSlices = $generatedAssetPackSlices;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @return GeneratedAssetPackSlice[]
|
---|
63 | */
|
---|
64 | public function getGeneratedAssetPackSlices()
|
---|
65 | {
|
---|
66 | return $this->generatedAssetPackSlices;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @param GeneratedRecoveryApk[]
|
---|
70 | */
|
---|
71 | public function setGeneratedRecoveryModules($generatedRecoveryModules)
|
---|
72 | {
|
---|
73 | $this->generatedRecoveryModules = $generatedRecoveryModules;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @return GeneratedRecoveryApk[]
|
---|
77 | */
|
---|
78 | public function getGeneratedRecoveryModules()
|
---|
79 | {
|
---|
80 | return $this->generatedRecoveryModules;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @param GeneratedSplitApk[]
|
---|
84 | */
|
---|
85 | public function setGeneratedSplitApks($generatedSplitApks)
|
---|
86 | {
|
---|
87 | $this->generatedSplitApks = $generatedSplitApks;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return GeneratedSplitApk[]
|
---|
91 | */
|
---|
92 | public function getGeneratedSplitApks()
|
---|
93 | {
|
---|
94 | return $this->generatedSplitApks;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param GeneratedStandaloneApk[]
|
---|
98 | */
|
---|
99 | public function setGeneratedStandaloneApks($generatedStandaloneApks)
|
---|
100 | {
|
---|
101 | $this->generatedStandaloneApks = $generatedStandaloneApks;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return GeneratedStandaloneApk[]
|
---|
105 | */
|
---|
106 | public function getGeneratedStandaloneApks()
|
---|
107 | {
|
---|
108 | return $this->generatedStandaloneApks;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @param GeneratedUniversalApk
|
---|
112 | */
|
---|
113 | public function setGeneratedUniversalApk(GeneratedUniversalApk $generatedUniversalApk)
|
---|
114 | {
|
---|
115 | $this->generatedUniversalApk = $generatedUniversalApk;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @return GeneratedUniversalApk
|
---|
119 | */
|
---|
120 | public function getGeneratedUniversalApk()
|
---|
121 | {
|
---|
122 | return $this->generatedUniversalApk;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @param TargetingInfo
|
---|
126 | */
|
---|
127 | public function setTargetingInfo(TargetingInfo $targetingInfo)
|
---|
128 | {
|
---|
129 | $this->targetingInfo = $targetingInfo;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @return TargetingInfo
|
---|
133 | */
|
---|
134 | public function getTargetingInfo()
|
---|
135 | {
|
---|
136 | return $this->targetingInfo;
|
---|
137 | }
|
---|
138 | }
|
---|
139 |
|
---|
140 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
141 | class_alias(GeneratedApksPerSigningKey::class, 'Google_Service_AndroidPublisher_GeneratedApksPerSigningKey');
|
---|