source: vendor/google/apiclient-services/src/Integrations/GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 4.5 KB
Line 
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\Integrations;
19
20class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode extends \Google\Model
21{
22 protected $accessTokenType = GoogleCloudIntegrationsV1alphaAccessToken::class;
23 protected $accessTokenDataType = '';
24 /**
25 * @var bool
26 */
27 public $applyReauthPolicy;
28 /**
29 * @var string
30 */
31 public $authCode;
32 /**
33 * @var string
34 */
35 public $authEndpoint;
36 protected $authParamsType = GoogleCloudIntegrationsV1alphaParameterMap::class;
37 protected $authParamsDataType = '';
38 /**
39 * @var string
40 */
41 public $clientId;
42 /**
43 * @var string
44 */
45 public $clientSecret;
46 /**
47 * @var string
48 */
49 public $requestType;
50 /**
51 * @var string
52 */
53 public $scope;
54 /**
55 * @var string
56 */
57 public $tokenEndpoint;
58 protected $tokenParamsType = GoogleCloudIntegrationsV1alphaParameterMap::class;
59 protected $tokenParamsDataType = '';
60
61 /**
62 * @param GoogleCloudIntegrationsV1alphaAccessToken
63 */
64 public function setAccessToken(GoogleCloudIntegrationsV1alphaAccessToken $accessToken)
65 {
66 $this->accessToken = $accessToken;
67 }
68 /**
69 * @return GoogleCloudIntegrationsV1alphaAccessToken
70 */
71 public function getAccessToken()
72 {
73 return $this->accessToken;
74 }
75 /**
76 * @param bool
77 */
78 public function setApplyReauthPolicy($applyReauthPolicy)
79 {
80 $this->applyReauthPolicy = $applyReauthPolicy;
81 }
82 /**
83 * @return bool
84 */
85 public function getApplyReauthPolicy()
86 {
87 return $this->applyReauthPolicy;
88 }
89 /**
90 * @param string
91 */
92 public function setAuthCode($authCode)
93 {
94 $this->authCode = $authCode;
95 }
96 /**
97 * @return string
98 */
99 public function getAuthCode()
100 {
101 return $this->authCode;
102 }
103 /**
104 * @param string
105 */
106 public function setAuthEndpoint($authEndpoint)
107 {
108 $this->authEndpoint = $authEndpoint;
109 }
110 /**
111 * @return string
112 */
113 public function getAuthEndpoint()
114 {
115 return $this->authEndpoint;
116 }
117 /**
118 * @param GoogleCloudIntegrationsV1alphaParameterMap
119 */
120 public function setAuthParams(GoogleCloudIntegrationsV1alphaParameterMap $authParams)
121 {
122 $this->authParams = $authParams;
123 }
124 /**
125 * @return GoogleCloudIntegrationsV1alphaParameterMap
126 */
127 public function getAuthParams()
128 {
129 return $this->authParams;
130 }
131 /**
132 * @param string
133 */
134 public function setClientId($clientId)
135 {
136 $this->clientId = $clientId;
137 }
138 /**
139 * @return string
140 */
141 public function getClientId()
142 {
143 return $this->clientId;
144 }
145 /**
146 * @param string
147 */
148 public function setClientSecret($clientSecret)
149 {
150 $this->clientSecret = $clientSecret;
151 }
152 /**
153 * @return string
154 */
155 public function getClientSecret()
156 {
157 return $this->clientSecret;
158 }
159 /**
160 * @param string
161 */
162 public function setRequestType($requestType)
163 {
164 $this->requestType = $requestType;
165 }
166 /**
167 * @return string
168 */
169 public function getRequestType()
170 {
171 return $this->requestType;
172 }
173 /**
174 * @param string
175 */
176 public function setScope($scope)
177 {
178 $this->scope = $scope;
179 }
180 /**
181 * @return string
182 */
183 public function getScope()
184 {
185 return $this->scope;
186 }
187 /**
188 * @param string
189 */
190 public function setTokenEndpoint($tokenEndpoint)
191 {
192 $this->tokenEndpoint = $tokenEndpoint;
193 }
194 /**
195 * @return string
196 */
197 public function getTokenEndpoint()
198 {
199 return $this->tokenEndpoint;
200 }
201 /**
202 * @param GoogleCloudIntegrationsV1alphaParameterMap
203 */
204 public function setTokenParams(GoogleCloudIntegrationsV1alphaParameterMap $tokenParams)
205 {
206 $this->tokenParams = $tokenParams;
207 }
208 /**
209 * @return GoogleCloudIntegrationsV1alphaParameterMap
210 */
211 public function getTokenParams()
212 {
213 return $this->tokenParams;
214 }
215}
216
217// Adding a class alias for backwards compatibility with the previous class name.
218class_alias(GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode::class, 'Google_Service_Integrations_GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode');
Note: See TracBrowser for help on using the repository browser.