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 IdentitytoolkitRelyingpartySetProjectConfigRequest 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 $delegatedProjectNumber; 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 protected $resetPasswordTemplateType = EmailTemplate::class; 50 protected $resetPasswordTemplateDataType = ''; 51 /** 52 * @var bool 53 */ 54 public $useEmailSending; 55 protected $verifyEmailTemplateType = EmailTemplate::class; 56 protected $verifyEmailTemplateDataType = ''; 57 58 /** 59 * @param bool 60 */ 61 public function setAllowPasswordUser($allowPasswordUser) 62 { 63 $this->allowPasswordUser = $allowPasswordUser; 64 } 65 /** 66 * @return bool 67 */ 68 public function getAllowPasswordUser() 69 { 70 return $this->allowPasswordUser; 71 } 72 /** 73 * @param string 74 */ 75 public function setApiKey($apiKey) 76 { 77 $this->apiKey = $apiKey; 78 } 79 /** 80 * @return string 81 */ 82 public function getApiKey() 83 { 84 return $this->apiKey; 85 } 86 /** 87 * @param string[] 88 */ 89 public function setAuthorizedDomains($authorizedDomains) 90 { 91 $this->authorizedDomains = $authorizedDomains; 92 } 93 /** 94 * @return string[] 95 */ 96 public function getAuthorizedDomains() 97 { 98 return $this->authorizedDomains; 99 } 100 /** 101 * @param EmailTemplate 102 */ 103 public function setChangeEmailTemplate(EmailTemplate $changeEmailTemplate) 104 { 105 $this->changeEmailTemplate = $changeEmailTemplate; 106 } 107 /** 108 * @return EmailTemplate 109 */ 110 public function getChangeEmailTemplate() 111 { 112 return $this->changeEmailTemplate; 113 } 114 /** 115 * @param string 116 */ 117 public function setDelegatedProjectNumber($delegatedProjectNumber) 118 { 119 $this->delegatedProjectNumber = $delegatedProjectNumber; 120 } 121 /** 122 * @return string 123 */ 124 public function getDelegatedProjectNumber() 125 { 126 return $this->delegatedProjectNumber; 127 } 128 /** 129 * @param bool 130 */ 131 public function setEnableAnonymousUser($enableAnonymousUser) 132 { 133 $this->enableAnonymousUser = $enableAnonymousUser; 134 } 135 /** 136 * @return bool 137 */ 138 public function getEnableAnonymousUser() 139 { 140 return $this->enableAnonymousUser; 141 } 142 /** 143 * @param IdpConfig[] 144 */ 145 public function setIdpConfig($idpConfig) 146 { 147 $this->idpConfig = $idpConfig; 148 } 149 /** 150 * @return IdpConfig[] 151 */ 152 public function getIdpConfig() 153 { 154 return $this->idpConfig; 155 } 156 /** 157 * @param EmailTemplate 158 */ 159 public function setLegacyResetPasswordTemplate(EmailTemplate $legacyResetPasswordTemplate) 160 { 161 $this->legacyResetPasswordTemplate = $legacyResetPasswordTemplate; 162 } 163 /** 164 * @return EmailTemplate 165 */ 166 public function getLegacyResetPasswordTemplate() 167 { 168 return $this->legacyResetPasswordTemplate; 169 } 170 /** 171 * @param EmailTemplate 172 */ 173 public function setResetPasswordTemplate(EmailTemplate $resetPasswordTemplate) 174 { 175 $this->resetPasswordTemplate = $resetPasswordTemplate; 176 } 177 /** 178 * @return EmailTemplate 179 */ 180 public function getResetPasswordTemplate() 181 { 182 return $this->resetPasswordTemplate; 183 } 184 /** 185 * @param bool 186 */ 187 public function setUseEmailSending($useEmailSending) 188 { 189 $this->useEmailSending = $useEmailSending; 190 } 191 /** 192 * @return bool 193 */ 194 public function getUseEmailSending() 195 { 196 return $this->useEmailSending; 197 } 198 /** 199 * @param EmailTemplate 200 */ 201 public function setVerifyEmailTemplate(EmailTemplate $verifyEmailTemplate) 202 { 203 $this->verifyEmailTemplate = $verifyEmailTemplate; 204 } 205 /** 206 * @return EmailTemplate 207 */ 208 public function getVerifyEmailTemplate() 209 { 210 return $this->verifyEmailTemplate; 211 } 212} 213 214// Adding a class alias for backwards compatibility with the previous class name. 215class_alias(IdentitytoolkitRelyingpartySetProjectConfigRequest::class, 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest'); 216