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\PeopleService;
19
20class Name extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $displayName;
26  /**
27   * @var string
28   */
29  public $displayNameLastFirst;
30  /**
31   * @var string
32   */
33  public $familyName;
34  /**
35   * @var string
36   */
37  public $givenName;
38  /**
39   * @var string
40   */
41  public $honorificPrefix;
42  /**
43   * @var string
44   */
45  public $honorificSuffix;
46  protected $metadataType = FieldMetadata::class;
47  protected $metadataDataType = '';
48  /**
49   * @var string
50   */
51  public $middleName;
52  /**
53   * @var string
54   */
55  public $phoneticFamilyName;
56  /**
57   * @var string
58   */
59  public $phoneticFullName;
60  /**
61   * @var string
62   */
63  public $phoneticGivenName;
64  /**
65   * @var string
66   */
67  public $phoneticHonorificPrefix;
68  /**
69   * @var string
70   */
71  public $phoneticHonorificSuffix;
72  /**
73   * @var string
74   */
75  public $phoneticMiddleName;
76  /**
77   * @var string
78   */
79  public $unstructuredName;
80
81  /**
82   * @param string
83   */
84  public function setDisplayName($displayName)
85  {
86    $this->displayName = $displayName;
87  }
88  /**
89   * @return string
90   */
91  public function getDisplayName()
92  {
93    return $this->displayName;
94  }
95  /**
96   * @param string
97   */
98  public function setDisplayNameLastFirst($displayNameLastFirst)
99  {
100    $this->displayNameLastFirst = $displayNameLastFirst;
101  }
102  /**
103   * @return string
104   */
105  public function getDisplayNameLastFirst()
106  {
107    return $this->displayNameLastFirst;
108  }
109  /**
110   * @param string
111   */
112  public function setFamilyName($familyName)
113  {
114    $this->familyName = $familyName;
115  }
116  /**
117   * @return string
118   */
119  public function getFamilyName()
120  {
121    return $this->familyName;
122  }
123  /**
124   * @param string
125   */
126  public function setGivenName($givenName)
127  {
128    $this->givenName = $givenName;
129  }
130  /**
131   * @return string
132   */
133  public function getGivenName()
134  {
135    return $this->givenName;
136  }
137  /**
138   * @param string
139   */
140  public function setHonorificPrefix($honorificPrefix)
141  {
142    $this->honorificPrefix = $honorificPrefix;
143  }
144  /**
145   * @return string
146   */
147  public function getHonorificPrefix()
148  {
149    return $this->honorificPrefix;
150  }
151  /**
152   * @param string
153   */
154  public function setHonorificSuffix($honorificSuffix)
155  {
156    $this->honorificSuffix = $honorificSuffix;
157  }
158  /**
159   * @return string
160   */
161  public function getHonorificSuffix()
162  {
163    return $this->honorificSuffix;
164  }
165  /**
166   * @param FieldMetadata
167   */
168  public function setMetadata(FieldMetadata $metadata)
169  {
170    $this->metadata = $metadata;
171  }
172  /**
173   * @return FieldMetadata
174   */
175  public function getMetadata()
176  {
177    return $this->metadata;
178  }
179  /**
180   * @param string
181   */
182  public function setMiddleName($middleName)
183  {
184    $this->middleName = $middleName;
185  }
186  /**
187   * @return string
188   */
189  public function getMiddleName()
190  {
191    return $this->middleName;
192  }
193  /**
194   * @param string
195   */
196  public function setPhoneticFamilyName($phoneticFamilyName)
197  {
198    $this->phoneticFamilyName = $phoneticFamilyName;
199  }
200  /**
201   * @return string
202   */
203  public function getPhoneticFamilyName()
204  {
205    return $this->phoneticFamilyName;
206  }
207  /**
208   * @param string
209   */
210  public function setPhoneticFullName($phoneticFullName)
211  {
212    $this->phoneticFullName = $phoneticFullName;
213  }
214  /**
215   * @return string
216   */
217  public function getPhoneticFullName()
218  {
219    return $this->phoneticFullName;
220  }
221  /**
222   * @param string
223   */
224  public function setPhoneticGivenName($phoneticGivenName)
225  {
226    $this->phoneticGivenName = $phoneticGivenName;
227  }
228  /**
229   * @return string
230   */
231  public function getPhoneticGivenName()
232  {
233    return $this->phoneticGivenName;
234  }
235  /**
236   * @param string
237   */
238  public function setPhoneticHonorificPrefix($phoneticHonorificPrefix)
239  {
240    $this->phoneticHonorificPrefix = $phoneticHonorificPrefix;
241  }
242  /**
243   * @return string
244   */
245  public function getPhoneticHonorificPrefix()
246  {
247    return $this->phoneticHonorificPrefix;
248  }
249  /**
250   * @param string
251   */
252  public function setPhoneticHonorificSuffix($phoneticHonorificSuffix)
253  {
254    $this->phoneticHonorificSuffix = $phoneticHonorificSuffix;
255  }
256  /**
257   * @return string
258   */
259  public function getPhoneticHonorificSuffix()
260  {
261    return $this->phoneticHonorificSuffix;
262  }
263  /**
264   * @param string
265   */
266  public function setPhoneticMiddleName($phoneticMiddleName)
267  {
268    $this->phoneticMiddleName = $phoneticMiddleName;
269  }
270  /**
271   * @return string
272   */
273  public function getPhoneticMiddleName()
274  {
275    return $this->phoneticMiddleName;
276  }
277  /**
278   * @param string
279   */
280  public function setUnstructuredName($unstructuredName)
281  {
282    $this->unstructuredName = $unstructuredName;
283  }
284  /**
285   * @return string
286   */
287  public function getUnstructuredName()
288  {
289    return $this->unstructuredName;
290  }
291}
292
293// Adding a class alias for backwards compatibility with the previous class name.
294class_alias(Name::class, 'Google_Service_PeopleService_Name');
295