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\IdentityToolkit;
19
20class IdentitytoolkitRelyingpartyGetProjectConfigResponse extends \Google\Collection
21{
22  protected $collection_key = 'idpConfig';
23  /**
24   * @var bool
25   */
26  public $allowPasswordUser;
27  /**
28   * @var string
29   */
30  public $apiKey;
31  /**
32   * @var string[]
33   */
34  public $authorizedDomains;
35  protected $changeEmailTemplateType = EmailTemplate::class;
36  protected $changeEmailTemplateDataType = '';
37  /**
38   * @var string
39   */
40  public $dynamicLinksDomain;
41  /**
42   * @var bool
43   */
44  public $enableAnonymousUser;
45  protected $idpConfigType = IdpConfig::class;
46  protected $idpConfigDataType = 'array';
47  protected $legacyResetPasswordTemplateType = EmailTemplate::class;
48  protected $legacyResetPasswordTemplateDataType = '';
49  /**
50   * @var string
51   */
52  public $projectId;
53  protected $resetPasswordTemplateType = EmailTemplate::class;
54  protected $resetPasswordTemplateDataType = '';
55  /**
56   * @var bool
57   */
58  public $useEmailSending;
59  protected $verifyEmailTemplateType = EmailTemplate::class;
60  protected $verifyEmailTemplateDataType = '';
61
62  /**
63   * @param bool
64   */
65  public function setAllowPasswordUser($allowPasswordUser)
66  {
67    $this->allowPasswordUser = $allowPasswordUser;
68  }
69  /**
70   * @return bool
71   */
72  public function getAllowPasswordUser()
73  {
74    return $this->allowPasswordUser;
75  }
76  /**
77   * @param string
78   */
79  public function setApiKey($apiKey)
80  {
81    $this->apiKey = $apiKey;
82  }
83  /**
84   * @return string
85   */
86  public function getApiKey()
87  {
88    return $this->apiKey;
89  }
90  /**
91   * @param string[]
92   */
93  public function setAuthorizedDomains($authorizedDomains)
94  {
95    $this->authorizedDomains = $authorizedDomains;
96  }
97  /**
98   * @return string[]
99   */
100  public function getAuthorizedDomains()
101  {
102    return $this->authorizedDomains;
103  }
104  /**
105   * @param EmailTemplate
106   */
107  public function setChangeEmailTemplate(EmailTemplate $changeEmailTemplate)
108  {
109    $this->changeEmailTemplate = $changeEmailTemplate;
110  }
111  /**
112   * @return EmailTemplate
113   */
114  public function getChangeEmailTemplate()
115  {
116    return $this->changeEmailTemplate;
117  }
118  /**
119   * @param string
120   */
121  public function setDynamicLinksDomain($dynamicLinksDomain)
122  {
123    $this->dynamicLinksDomain = $dynamicLinksDomain;
124  }
125  /**
126   * @return string
127   */
128  public function getDynamicLinksDomain()
129  {
130    return $this->dynamicLinksDomain;
131  }
132  /**
133   * @param bool
134   */
135  public function setEnableAnonymousUser($enableAnonymousUser)
136  {
137    $this->enableAnonymousUser = $enableAnonymousUser;
138  }
139  /**
140   * @return bool
141   */
142  public function getEnableAnonymousUser()
143  {
144    return $this->enableAnonymousUser;
145  }
146  /**
147   * @param IdpConfig[]
148   */
149  public function setIdpConfig($idpConfig)
150  {
151    $this->idpConfig = $idpConfig;
152  }
153  /**
154   * @return IdpConfig[]
155   */
156  public function getIdpConfig()
157  {
158    return $this->idpConfig;
159  }
160  /**
161   * @param EmailTemplate
162   */
163  public function setLegacyResetPasswordTemplate(EmailTemplate $legacyResetPasswordTemplate)
164  {
165    $this->legacyResetPasswordTemplate = $legacyResetPasswordTemplate;
166  }
167  /**
168   * @return EmailTemplate
169   */
170  public function getLegacyResetPasswordTemplate()
171  {
172    return $this->legacyResetPasswordTemplate;
173  }
174  /**
175   * @param string
176   */
177  public function setProjectId($projectId)
178  {
179    $this->projectId = $projectId;
180  }
181  /**
182   * @return string
183   */
184  public function getProjectId()
185  {
186    return $this->projectId;
187  }
188  /**
189   * @param EmailTemplate
190   */
191  public function setResetPasswordTemplate(EmailTemplate $resetPasswordTemplate)
192  {
193    $this->resetPasswordTemplate = $resetPasswordTemplate;
194  }
195  /**
196   * @return EmailTemplate
197   */
198  public function getResetPasswordTemplate()
199  {
200    return $this->resetPasswordTemplate;
201  }
202  /**
203   * @param bool
204   */
205  public function setUseEmailSending($useEmailSending)
206  {
207    $this->useEmailSending = $useEmailSending;
208  }
209  /**
210   * @return bool
211   */
212  public function getUseEmailSending()
213  {
214    return $this->useEmailSending;
215  }
216  /**
217   * @param EmailTemplate
218   */
219  public function setVerifyEmailTemplate(EmailTemplate $verifyEmailTemplate)
220  {
221    $this->verifyEmailTemplate = $verifyEmailTemplate;
222  }
223  /**
224   * @return EmailTemplate
225   */
226  public function getVerifyEmailTemplate()
227  {
228    return $this->verifyEmailTemplate;
229  }
230}
231
232// Adding a class alias for backwards compatibility with the previous class name.
233class_alias(IdentitytoolkitRelyingpartyGetProjectConfigResponse::class, 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetProjectConfigResponse');
234