-
Notifications
You must be signed in to change notification settings - Fork 100
/
UserProfile.cs
637 lines (593 loc) · 28.5 KB
/
UserProfile.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
/*
* Okta Admin Management
*
* Allows customers to easily access the Okta Management APIs
*
* The version of the OpenAPI document: 2024.07.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using OpenAPIDateConverter = Okta.Sdk.Client.OpenAPIDateConverter;
namespace Okta.Sdk.Model
{
/// <summary>
/// Template: ModelGeneric
/// Specifies the default and custom profile properties for a user. The default user profile is based on the [System for Cross-domain Identity Management: Core Schema](https://datatracker.ietf.org/doc/html/rfc7643). The only permitted customizations of the default profile are to update permissions, change whether the `firstName` and `lastName` properties are nullable, and specify a [pattern](https://developer.okta.com/docs/reference/api/schemas/#login-pattern-validation) for `login`. You can use the Profile Editor in the administrator UI or the [Schemas API](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) to make schema modifications. You can extend user profiles with custom properties. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin console or the [Schemas API](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) to manage schema extensions. Custom attributes may contain HTML tags. It's the client's responsibility to escape or encode this data before displaying it. Use [best-practices](https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html) to prevent cross-site scripting.
/// </summary>
[DataContract(Name = "UserProfile")]
public partial class UserProfile : IEquatable<UserProfile>
{
/// <summary>
/// The city or locality of the user's address (`locality`)
/// </summary>
/// <value>The city or locality of the user's address (`locality`)</value>
[DataMember(Name = "city", EmitDefaultValue = true)]
public string City { get; set; }
/// <summary>
/// Name of the cost center assigned to a user
/// </summary>
/// <value>Name of the cost center assigned to a user</value>
[DataMember(Name = "costCenter", EmitDefaultValue = true)]
public string CostCenter { get; set; }
/// <summary>
/// The country name component of the user's address (`country`)
/// </summary>
/// <value>The country name component of the user's address (`country`)</value>
[DataMember(Name = "countryCode", EmitDefaultValue = true)]
public string CountryCode { get; set; }
/// <summary>
/// Name of the user's department
/// </summary>
/// <value>Name of the user's department</value>
[DataMember(Name = "department", EmitDefaultValue = true)]
public string Department { get; set; }
/// <summary>
/// Name of the user suitable for display to end users
/// </summary>
/// <value>Name of the user suitable for display to end users</value>
[DataMember(Name = "displayName", EmitDefaultValue = true)]
public string DisplayName { get; set; }
/// <summary>
/// Name of the user's division
/// </summary>
/// <value>Name of the user's division</value>
[DataMember(Name = "division", EmitDefaultValue = true)]
public string Division { get; set; }
/// <summary>
/// The primary email address of the user. For validation, see [RFC 5322 Section 3.2.3](https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3).
/// </summary>
/// <value>The primary email address of the user. For validation, see [RFC 5322 Section 3.2.3](https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3).</value>
[DataMember(Name = "email", EmitDefaultValue = true)]
public string Email { get; set; }
/// <summary>
/// The organization or company assigned unique identifier for the user
/// </summary>
/// <value>The organization or company assigned unique identifier for the user</value>
[DataMember(Name = "employeeNumber", EmitDefaultValue = true)]
public string EmployeeNumber { get; set; }
/// <summary>
/// Given name of the user (`givenName`)
/// </summary>
/// <value>Given name of the user (`givenName`)</value>
[DataMember(Name = "firstName", EmitDefaultValue = true)]
public string FirstName { get; set; }
/// <summary>
/// Honorific prefix(es) of the user, or title in most Western languages
/// </summary>
/// <value>Honorific prefix(es) of the user, or title in most Western languages</value>
[DataMember(Name = "honorificPrefix", EmitDefaultValue = true)]
public string HonorificPrefix { get; set; }
/// <summary>
/// Honorific suffix(es) of the user
/// </summary>
/// <value>Honorific suffix(es) of the user</value>
[DataMember(Name = "honorificSuffix", EmitDefaultValue = true)]
public string HonorificSuffix { get; set; }
/// <summary>
/// The family name of the user (`familyName`)
/// </summary>
/// <value>The family name of the user (`familyName`)</value>
[DataMember(Name = "lastName", EmitDefaultValue = true)]
public string LastName { get; set; }
/// <summary>
/// The user's default location for purposes of localizing items such as currency, date time format, numerical representations, and so on. A locale value is a concatenation of the ISO 639-1 two-letter language code, an underscore, and the ISO 3166-1 two-letter country code. For example, en_US specifies the language English and country US. This value is `en_US` by default.
/// </summary>
/// <value>The user's default location for purposes of localizing items such as currency, date time format, numerical representations, and so on. A locale value is a concatenation of the ISO 639-1 two-letter language code, an underscore, and the ISO 3166-1 two-letter country code. For example, en_US specifies the language English and country US. This value is `en_US` by default.</value>
[DataMember(Name = "locale", EmitDefaultValue = true)]
public string Locale { get; set; }
/// <summary>
/// The unique identifier for the user (`username`). For validation, see [Login pattern validation](https://developer.okta.com/docs/reference/api/schemas/#login-pattern-validation). See also [Okta login](https://developer.okta.com/docs/reference/api/users/#okta-login).
/// </summary>
/// <value>The unique identifier for the user (`username`). For validation, see [Login pattern validation](https://developer.okta.com/docs/reference/api/schemas/#login-pattern-validation). See also [Okta login](https://developer.okta.com/docs/reference/api/users/#okta-login).</value>
[DataMember(Name = "login", EmitDefaultValue = true)]
public string Login { get; set; }
/// <summary>
/// The `displayName` of the user's manager
/// </summary>
/// <value>The `displayName` of the user's manager</value>
[DataMember(Name = "manager", EmitDefaultValue = true)]
public string Manager { get; set; }
/// <summary>
/// The `id` of the user's manager
/// </summary>
/// <value>The `id` of the user's manager</value>
[DataMember(Name = "managerId", EmitDefaultValue = true)]
public string ManagerId { get; set; }
/// <summary>
/// The middle name of the user
/// </summary>
/// <value>The middle name of the user</value>
[DataMember(Name = "middleName", EmitDefaultValue = true)]
public string MiddleName { get; set; }
/// <summary>
/// The mobile phone number of the user
/// </summary>
/// <value>The mobile phone number of the user</value>
[DataMember(Name = "mobilePhone", EmitDefaultValue = true)]
public string MobilePhone { get; set; }
/// <summary>
/// The casual way to address the user in real life
/// </summary>
/// <value>The casual way to address the user in real life</value>
[DataMember(Name = "nickName", EmitDefaultValue = true)]
public string NickName { get; set; }
/// <summary>
/// Name of the the user's organization
/// </summary>
/// <value>Name of the the user's organization</value>
[DataMember(Name = "organization", EmitDefaultValue = true)]
public string Organization { get; set; }
/// <summary>
/// Mailing address component of the user's address
/// </summary>
/// <value>Mailing address component of the user's address</value>
[DataMember(Name = "postalAddress", EmitDefaultValue = true)]
public string PostalAddress { get; set; }
/// <summary>
/// The user's preferred written or spoken language
/// </summary>
/// <value>The user's preferred written or spoken language</value>
[DataMember(Name = "preferredLanguage", EmitDefaultValue = true)]
public string PreferredLanguage { get; set; }
/// <summary>
/// The primary phone number of the user such as a home number
/// </summary>
/// <value>The primary phone number of the user such as a home number</value>
[DataMember(Name = "primaryPhone", EmitDefaultValue = true)]
public string PrimaryPhone { get; set; }
/// <summary>
/// The URL of the user's online profile. For example, a web page. See [URL](https://datatracker.ietf.org/doc/html/rfc1808).
/// </summary>
/// <value>The URL of the user's online profile. For example, a web page. See [URL](https://datatracker.ietf.org/doc/html/rfc1808).</value>
[DataMember(Name = "profileUrl", EmitDefaultValue = true)]
public string ProfileUrl { get; set; }
/// <summary>
/// The secondary email address of the user typically used for account recovery
/// </summary>
/// <value>The secondary email address of the user typically used for account recovery</value>
[DataMember(Name = "secondEmail", EmitDefaultValue = true)]
public string SecondEmail { get; set; }
/// <summary>
/// The state or region component of the user's address (`region`)
/// </summary>
/// <value>The state or region component of the user's address (`region`)</value>
[DataMember(Name = "state", EmitDefaultValue = true)]
public string State { get; set; }
/// <summary>
/// The full street address component of the user's address
/// </summary>
/// <value>The full street address component of the user's address</value>
[DataMember(Name = "streetAddress", EmitDefaultValue = true)]
public string StreetAddress { get; set; }
/// <summary>
/// The user's time zone
/// </summary>
/// <value>The user's time zone</value>
[DataMember(Name = "timezone", EmitDefaultValue = true)]
public string Timezone { get; set; }
/// <summary>
/// The user's title, such as Vice President
/// </summary>
/// <value>The user's title, such as Vice President</value>
[DataMember(Name = "title", EmitDefaultValue = true)]
public string Title { get; set; }
/// <summary>
/// The property used to describe the organization-to-user relationship, such as employee or contractor
/// </summary>
/// <value>The property used to describe the organization-to-user relationship, such as employee or contractor</value>
[DataMember(Name = "userType", EmitDefaultValue = true)]
public string UserType { get; set; }
/// <summary>
/// The ZIP code or postal code component of the user's address (`postalCode`)
/// </summary>
/// <value>The ZIP code or postal code component of the user's address (`postalCode`)</value>
[DataMember(Name = "zipCode", EmitDefaultValue = true)]
public string ZipCode { get; set; }
/// <summary>
/// Gets or Sets additional properties
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class UserProfile {\n");
sb.Append(" City: ").Append(City).Append("\n");
sb.Append(" CostCenter: ").Append(CostCenter).Append("\n");
sb.Append(" CountryCode: ").Append(CountryCode).Append("\n");
sb.Append(" Department: ").Append(Department).Append("\n");
sb.Append(" DisplayName: ").Append(DisplayName).Append("\n");
sb.Append(" Division: ").Append(Division).Append("\n");
sb.Append(" Email: ").Append(Email).Append("\n");
sb.Append(" EmployeeNumber: ").Append(EmployeeNumber).Append("\n");
sb.Append(" FirstName: ").Append(FirstName).Append("\n");
sb.Append(" HonorificPrefix: ").Append(HonorificPrefix).Append("\n");
sb.Append(" HonorificSuffix: ").Append(HonorificSuffix).Append("\n");
sb.Append(" LastName: ").Append(LastName).Append("\n");
sb.Append(" Locale: ").Append(Locale).Append("\n");
sb.Append(" Login: ").Append(Login).Append("\n");
sb.Append(" Manager: ").Append(Manager).Append("\n");
sb.Append(" ManagerId: ").Append(ManagerId).Append("\n");
sb.Append(" MiddleName: ").Append(MiddleName).Append("\n");
sb.Append(" MobilePhone: ").Append(MobilePhone).Append("\n");
sb.Append(" NickName: ").Append(NickName).Append("\n");
sb.Append(" Organization: ").Append(Organization).Append("\n");
sb.Append(" PostalAddress: ").Append(PostalAddress).Append("\n");
sb.Append(" PreferredLanguage: ").Append(PreferredLanguage).Append("\n");
sb.Append(" PrimaryPhone: ").Append(PrimaryPhone).Append("\n");
sb.Append(" ProfileUrl: ").Append(ProfileUrl).Append("\n");
sb.Append(" SecondEmail: ").Append(SecondEmail).Append("\n");
sb.Append(" State: ").Append(State).Append("\n");
sb.Append(" StreetAddress: ").Append(StreetAddress).Append("\n");
sb.Append(" Timezone: ").Append(Timezone).Append("\n");
sb.Append(" Title: ").Append(Title).Append("\n");
sb.Append(" UserType: ").Append(UserType).Append("\n");
sb.Append(" ZipCode: ").Append(ZipCode).Append("\n");
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as UserProfile);
}
/// <summary>
/// Returns true if UserProfile instances are equal
/// </summary>
/// <param name="input">Instance of UserProfile to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(UserProfile input)
{
if (input == null)
{
return false;
}
return
(
this.City == input.City ||
(this.City != null &&
this.City.Equals(input.City))
) &&
(
this.CostCenter == input.CostCenter ||
(this.CostCenter != null &&
this.CostCenter.Equals(input.CostCenter))
) &&
(
this.CountryCode == input.CountryCode ||
(this.CountryCode != null &&
this.CountryCode.Equals(input.CountryCode))
) &&
(
this.Department == input.Department ||
(this.Department != null &&
this.Department.Equals(input.Department))
) &&
(
this.DisplayName == input.DisplayName ||
(this.DisplayName != null &&
this.DisplayName.Equals(input.DisplayName))
) &&
(
this.Division == input.Division ||
(this.Division != null &&
this.Division.Equals(input.Division))
) &&
(
this.Email == input.Email ||
(this.Email != null &&
this.Email.Equals(input.Email))
) &&
(
this.EmployeeNumber == input.EmployeeNumber ||
(this.EmployeeNumber != null &&
this.EmployeeNumber.Equals(input.EmployeeNumber))
) &&
(
this.FirstName == input.FirstName ||
(this.FirstName != null &&
this.FirstName.Equals(input.FirstName))
) &&
(
this.HonorificPrefix == input.HonorificPrefix ||
(this.HonorificPrefix != null &&
this.HonorificPrefix.Equals(input.HonorificPrefix))
) &&
(
this.HonorificSuffix == input.HonorificSuffix ||
(this.HonorificSuffix != null &&
this.HonorificSuffix.Equals(input.HonorificSuffix))
) &&
(
this.LastName == input.LastName ||
(this.LastName != null &&
this.LastName.Equals(input.LastName))
) &&
(
this.Locale == input.Locale ||
(this.Locale != null &&
this.Locale.Equals(input.Locale))
) &&
(
this.Login == input.Login ||
(this.Login != null &&
this.Login.Equals(input.Login))
) &&
(
this.Manager == input.Manager ||
(this.Manager != null &&
this.Manager.Equals(input.Manager))
) &&
(
this.ManagerId == input.ManagerId ||
(this.ManagerId != null &&
this.ManagerId.Equals(input.ManagerId))
) &&
(
this.MiddleName == input.MiddleName ||
(this.MiddleName != null &&
this.MiddleName.Equals(input.MiddleName))
) &&
(
this.MobilePhone == input.MobilePhone ||
(this.MobilePhone != null &&
this.MobilePhone.Equals(input.MobilePhone))
) &&
(
this.NickName == input.NickName ||
(this.NickName != null &&
this.NickName.Equals(input.NickName))
) &&
(
this.Organization == input.Organization ||
(this.Organization != null &&
this.Organization.Equals(input.Organization))
) &&
(
this.PostalAddress == input.PostalAddress ||
(this.PostalAddress != null &&
this.PostalAddress.Equals(input.PostalAddress))
) &&
(
this.PreferredLanguage == input.PreferredLanguage ||
(this.PreferredLanguage != null &&
this.PreferredLanguage.Equals(input.PreferredLanguage))
) &&
(
this.PrimaryPhone == input.PrimaryPhone ||
(this.PrimaryPhone != null &&
this.PrimaryPhone.Equals(input.PrimaryPhone))
) &&
(
this.ProfileUrl == input.ProfileUrl ||
(this.ProfileUrl != null &&
this.ProfileUrl.Equals(input.ProfileUrl))
) &&
(
this.SecondEmail == input.SecondEmail ||
(this.SecondEmail != null &&
this.SecondEmail.Equals(input.SecondEmail))
) &&
(
this.State == input.State ||
(this.State != null &&
this.State.Equals(input.State))
) &&
(
this.StreetAddress == input.StreetAddress ||
(this.StreetAddress != null &&
this.StreetAddress.Equals(input.StreetAddress))
) &&
(
this.Timezone == input.Timezone ||
(this.Timezone != null &&
this.Timezone.Equals(input.Timezone))
) &&
(
this.Title == input.Title ||
(this.Title != null &&
this.Title.Equals(input.Title))
) &&
(
this.UserType == input.UserType ||
(this.UserType != null &&
this.UserType.Equals(input.UserType))
) &&
(
this.ZipCode == input.ZipCode ||
(this.ZipCode != null &&
this.ZipCode.Equals(input.ZipCode))
)
&& (this.AdditionalProperties.Count == input.AdditionalProperties.Count && !this.AdditionalProperties.Except(input.AdditionalProperties).Any());
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.City != null)
{
hashCode = (hashCode * 59) + this.City.GetHashCode();
}
if (this.CostCenter != null)
{
hashCode = (hashCode * 59) + this.CostCenter.GetHashCode();
}
if (this.CountryCode != null)
{
hashCode = (hashCode * 59) + this.CountryCode.GetHashCode();
}
if (this.Department != null)
{
hashCode = (hashCode * 59) + this.Department.GetHashCode();
}
if (this.DisplayName != null)
{
hashCode = (hashCode * 59) + this.DisplayName.GetHashCode();
}
if (this.Division != null)
{
hashCode = (hashCode * 59) + this.Division.GetHashCode();
}
if (this.Email != null)
{
hashCode = (hashCode * 59) + this.Email.GetHashCode();
}
if (this.EmployeeNumber != null)
{
hashCode = (hashCode * 59) + this.EmployeeNumber.GetHashCode();
}
if (this.FirstName != null)
{
hashCode = (hashCode * 59) + this.FirstName.GetHashCode();
}
if (this.HonorificPrefix != null)
{
hashCode = (hashCode * 59) + this.HonorificPrefix.GetHashCode();
}
if (this.HonorificSuffix != null)
{
hashCode = (hashCode * 59) + this.HonorificSuffix.GetHashCode();
}
if (this.LastName != null)
{
hashCode = (hashCode * 59) + this.LastName.GetHashCode();
}
if (this.Locale != null)
{
hashCode = (hashCode * 59) + this.Locale.GetHashCode();
}
if (this.Login != null)
{
hashCode = (hashCode * 59) + this.Login.GetHashCode();
}
if (this.Manager != null)
{
hashCode = (hashCode * 59) + this.Manager.GetHashCode();
}
if (this.ManagerId != null)
{
hashCode = (hashCode * 59) + this.ManagerId.GetHashCode();
}
if (this.MiddleName != null)
{
hashCode = (hashCode * 59) + this.MiddleName.GetHashCode();
}
if (this.MobilePhone != null)
{
hashCode = (hashCode * 59) + this.MobilePhone.GetHashCode();
}
if (this.NickName != null)
{
hashCode = (hashCode * 59) + this.NickName.GetHashCode();
}
if (this.Organization != null)
{
hashCode = (hashCode * 59) + this.Organization.GetHashCode();
}
if (this.PostalAddress != null)
{
hashCode = (hashCode * 59) + this.PostalAddress.GetHashCode();
}
if (this.PreferredLanguage != null)
{
hashCode = (hashCode * 59) + this.PreferredLanguage.GetHashCode();
}
if (this.PrimaryPhone != null)
{
hashCode = (hashCode * 59) + this.PrimaryPhone.GetHashCode();
}
if (this.ProfileUrl != null)
{
hashCode = (hashCode * 59) + this.ProfileUrl.GetHashCode();
}
if (this.SecondEmail != null)
{
hashCode = (hashCode * 59) + this.SecondEmail.GetHashCode();
}
if (this.State != null)
{
hashCode = (hashCode * 59) + this.State.GetHashCode();
}
if (this.StreetAddress != null)
{
hashCode = (hashCode * 59) + this.StreetAddress.GetHashCode();
}
if (this.Timezone != null)
{
hashCode = (hashCode * 59) + this.Timezone.GetHashCode();
}
if (this.Title != null)
{
hashCode = (hashCode * 59) + this.Title.GetHashCode();
}
if (this.UserType != null)
{
hashCode = (hashCode * 59) + this.UserType.GetHashCode();
}
if (this.ZipCode != null)
{
hashCode = (hashCode * 59) + this.ZipCode.GetHashCode();
}
if (this.AdditionalProperties != null)
{
hashCode = (hashCode * 59) + this.AdditionalProperties.GetHashCode();
}
return hashCode;
}
}
}
}