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 IdentitytoolkitRelyingpartyUploadAccountRequest extends \Google\Collection
21{
22  protected $collection_key = 'users';
23  /**
24   * @var bool
25   */
26  public $allowOverwrite;
27  /**
28   * @var int
29   */
30  public $blockSize;
31  /**
32   * @var int
33   */
34  public $cpuMemCost;
35  /**
36   * @var string
37   */
38  public $delegatedProjectNumber;
39  /**
40   * @var int
41   */
42  public $dkLen;
43  /**
44   * @var string
45   */
46  public $hashAlgorithm;
47  /**
48   * @var int
49   */
50  public $memoryCost;
51  /**
52   * @var int
53   */
54  public $parallelization;
55  /**
56   * @var int
57   */
58  public $rounds;
59  /**
60   * @var string
61   */
62  public $saltSeparator;
63  /**
64   * @var bool
65   */
66  public $sanityCheck;
67  /**
68   * @var string
69   */
70  public $signerKey;
71  /**
72   * @var string
73   */
74  public $targetProjectId;
75  protected $usersType = UserInfo::class;
76  protected $usersDataType = 'array';
77
78  /**
79   * @param bool
80   */
81  public function setAllowOverwrite($allowOverwrite)
82  {
83    $this->allowOverwrite = $allowOverwrite;
84  }
85  /**
86   * @return bool
87   */
88  public function getAllowOverwrite()
89  {
90    return $this->allowOverwrite;
91  }
92  /**
93   * @param int
94   */
95  public function setBlockSize($blockSize)
96  {
97    $this->blockSize = $blockSize;
98  }
99  /**
100   * @return int
101   */
102  public function getBlockSize()
103  {
104    return $this->blockSize;
105  }
106  /**
107   * @param int
108   */
109  public function setCpuMemCost($cpuMemCost)
110  {
111    $this->cpuMemCost = $cpuMemCost;
112  }
113  /**
114   * @return int
115   */
116  public function getCpuMemCost()
117  {
118    return $this->cpuMemCost;
119  }
120  /**
121   * @param string
122   */
123  public function setDelegatedProjectNumber($delegatedProjectNumber)
124  {
125    $this->delegatedProjectNumber = $delegatedProjectNumber;
126  }
127  /**
128   * @return string
129   */
130  public function getDelegatedProjectNumber()
131  {
132    return $this->delegatedProjectNumber;
133  }
134  /**
135   * @param int
136   */
137  public function setDkLen($dkLen)
138  {
139    $this->dkLen = $dkLen;
140  }
141  /**
142   * @return int
143   */
144  public function getDkLen()
145  {
146    return $this->dkLen;
147  }
148  /**
149   * @param string
150   */
151  public function setHashAlgorithm($hashAlgorithm)
152  {
153    $this->hashAlgorithm = $hashAlgorithm;
154  }
155  /**
156   * @return string
157   */
158  public function getHashAlgorithm()
159  {
160    return $this->hashAlgorithm;
161  }
162  /**
163   * @param int
164   */
165  public function setMemoryCost($memoryCost)
166  {
167    $this->memoryCost = $memoryCost;
168  }
169  /**
170   * @return int
171   */
172  public function getMemoryCost()
173  {
174    return $this->memoryCost;
175  }
176  /**
177   * @param int
178   */
179  public function setParallelization($parallelization)
180  {
181    $this->parallelization = $parallelization;
182  }
183  /**
184   * @return int
185   */
186  public function getParallelization()
187  {
188    return $this->parallelization;
189  }
190  /**
191   * @param int
192   */
193  public function setRounds($rounds)
194  {
195    $this->rounds = $rounds;
196  }
197  /**
198   * @return int
199   */
200  public function getRounds()
201  {
202    return $this->rounds;
203  }
204  /**
205   * @param string
206   */
207  public function setSaltSeparator($saltSeparator)
208  {
209    $this->saltSeparator = $saltSeparator;
210  }
211  /**
212   * @return string
213   */
214  public function getSaltSeparator()
215  {
216    return $this->saltSeparator;
217  }
218  /**
219   * @param bool
220   */
221  public function setSanityCheck($sanityCheck)
222  {
223    $this->sanityCheck = $sanityCheck;
224  }
225  /**
226   * @return bool
227   */
228  public function getSanityCheck()
229  {
230    return $this->sanityCheck;
231  }
232  /**
233   * @param string
234   */
235  public function setSignerKey($signerKey)
236  {
237    $this->signerKey = $signerKey;
238  }
239  /**
240   * @return string
241   */
242  public function getSignerKey()
243  {
244    return $this->signerKey;
245  }
246  /**
247   * @param string
248   */
249  public function setTargetProjectId($targetProjectId)
250  {
251    $this->targetProjectId = $targetProjectId;
252  }
253  /**
254   * @return string
255   */
256  public function getTargetProjectId()
257  {
258    return $this->targetProjectId;
259  }
260  /**
261   * @param UserInfo[]
262   */
263  public function setUsers($users)
264  {
265    $this->users = $users;
266  }
267  /**
268   * @return UserInfo[]
269   */
270  public function getUsers()
271  {
272    return $this->users;
273  }
274}
275
276// Adding a class alias for backwards compatibility with the previous class name.
277class_alias(IdentitytoolkitRelyingpartyUploadAccountRequest::class, 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest');
278