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\ServiceConsumerManagement;
|
---|
19 |
|
---|
20 | class Publishing extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'methodSettings';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $apiShortName;
|
---|
27 | /**
|
---|
28 | * @var string[]
|
---|
29 | */
|
---|
30 | public $codeownerGithubTeams;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $docTagPrefix;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $documentationUri;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $githubLabel;
|
---|
43 | protected $librarySettingsType = ClientLibrarySettings::class;
|
---|
44 | protected $librarySettingsDataType = 'array';
|
---|
45 | protected $methodSettingsType = MethodSettings::class;
|
---|
46 | protected $methodSettingsDataType = 'array';
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $newIssueUri;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $organization;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $protoReferenceDocumentationUri;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $restReferenceDocumentationUri;
|
---|
63 |
|
---|
64 | /**
|
---|
65 | * @param string
|
---|
66 | */
|
---|
67 | public function setApiShortName($apiShortName)
|
---|
68 | {
|
---|
69 | $this->apiShortName = $apiShortName;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return string
|
---|
73 | */
|
---|
74 | public function getApiShortName()
|
---|
75 | {
|
---|
76 | return $this->apiShortName;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param string[]
|
---|
80 | */
|
---|
81 | public function setCodeownerGithubTeams($codeownerGithubTeams)
|
---|
82 | {
|
---|
83 | $this->codeownerGithubTeams = $codeownerGithubTeams;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return string[]
|
---|
87 | */
|
---|
88 | public function getCodeownerGithubTeams()
|
---|
89 | {
|
---|
90 | return $this->codeownerGithubTeams;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string
|
---|
94 | */
|
---|
95 | public function setDocTagPrefix($docTagPrefix)
|
---|
96 | {
|
---|
97 | $this->docTagPrefix = $docTagPrefix;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string
|
---|
101 | */
|
---|
102 | public function getDocTagPrefix()
|
---|
103 | {
|
---|
104 | return $this->docTagPrefix;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param string
|
---|
108 | */
|
---|
109 | public function setDocumentationUri($documentationUri)
|
---|
110 | {
|
---|
111 | $this->documentationUri = $documentationUri;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return string
|
---|
115 | */
|
---|
116 | public function getDocumentationUri()
|
---|
117 | {
|
---|
118 | return $this->documentationUri;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param string
|
---|
122 | */
|
---|
123 | public function setGithubLabel($githubLabel)
|
---|
124 | {
|
---|
125 | $this->githubLabel = $githubLabel;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return string
|
---|
129 | */
|
---|
130 | public function getGithubLabel()
|
---|
131 | {
|
---|
132 | return $this->githubLabel;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param ClientLibrarySettings[]
|
---|
136 | */
|
---|
137 | public function setLibrarySettings($librarySettings)
|
---|
138 | {
|
---|
139 | $this->librarySettings = $librarySettings;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return ClientLibrarySettings[]
|
---|
143 | */
|
---|
144 | public function getLibrarySettings()
|
---|
145 | {
|
---|
146 | return $this->librarySettings;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param MethodSettings[]
|
---|
150 | */
|
---|
151 | public function setMethodSettings($methodSettings)
|
---|
152 | {
|
---|
153 | $this->methodSettings = $methodSettings;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return MethodSettings[]
|
---|
157 | */
|
---|
158 | public function getMethodSettings()
|
---|
159 | {
|
---|
160 | return $this->methodSettings;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param string
|
---|
164 | */
|
---|
165 | public function setNewIssueUri($newIssueUri)
|
---|
166 | {
|
---|
167 | $this->newIssueUri = $newIssueUri;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return string
|
---|
171 | */
|
---|
172 | public function getNewIssueUri()
|
---|
173 | {
|
---|
174 | return $this->newIssueUri;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param string
|
---|
178 | */
|
---|
179 | public function setOrganization($organization)
|
---|
180 | {
|
---|
181 | $this->organization = $organization;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return string
|
---|
185 | */
|
---|
186 | public function getOrganization()
|
---|
187 | {
|
---|
188 | return $this->organization;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param string
|
---|
192 | */
|
---|
193 | public function setProtoReferenceDocumentationUri($protoReferenceDocumentationUri)
|
---|
194 | {
|
---|
195 | $this->protoReferenceDocumentationUri = $protoReferenceDocumentationUri;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return string
|
---|
199 | */
|
---|
200 | public function getProtoReferenceDocumentationUri()
|
---|
201 | {
|
---|
202 | return $this->protoReferenceDocumentationUri;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param string
|
---|
206 | */
|
---|
207 | public function setRestReferenceDocumentationUri($restReferenceDocumentationUri)
|
---|
208 | {
|
---|
209 | $this->restReferenceDocumentationUri = $restReferenceDocumentationUri;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return string
|
---|
213 | */
|
---|
214 | public function getRestReferenceDocumentationUri()
|
---|
215 | {
|
---|
216 | return $this->restReferenceDocumentationUri;
|
---|
217 | }
|
---|
218 | }
|
---|
219 |
|
---|
220 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
221 | class_alias(Publishing::class, 'Google_Service_ServiceConsumerManagement_Publishing');
|
---|