@@ -319,3 +319,206 @@ class UserOrg extends DataModel {
319
319
@override
320
320
List <Object ?> get props => < Object ? > [orgInfo, orgUser, isFollowed];
321
321
}
322
+
323
+ @JsonSerializable ()
324
+ class UserPassportModel extends DataModel {
325
+ const UserPassportModel ({
326
+ required this .appId,
327
+ required this .userId,
328
+ required this .userIdStr,
329
+ required this .odinUserType,
330
+ required this .name,
331
+ required this .screenName,
332
+ required this .avatarUrl,
333
+ required this .userVerified,
334
+ required this .emailCollected,
335
+ required this .phoneCollected,
336
+ required this .verifiedContent,
337
+ required this .verifiedAgency,
338
+ required this .isBlocked,
339
+ required this .isBlocking,
340
+ required this .bgImgUrl,
341
+ required this .gender,
342
+ required this .mediaId,
343
+ required this .userAuthInfo,
344
+ required this .industry,
345
+ required this .area,
346
+ required this .canBeFoundByPhone,
347
+ required this .mobile,
348
+ required this .birthday,
349
+ required this .description,
350
+ required this .email,
351
+ required this .newUser,
352
+ required this .sessionKey,
353
+ required this .isRecommendAllowed,
354
+ required this .recommendHintMessage,
355
+ required this .connects,
356
+ required this .followingsCount,
357
+ required this .followersCount,
358
+ required this .visitCountRecent,
359
+ required this .skipEditProfile,
360
+ required this .isManualSetUserInfo,
361
+ required this .deviceId,
362
+ required this .countryCode,
363
+ required this .hasPassword,
364
+ required this .shareToRepost,
365
+ required this .userDecoration,
366
+ required this .userPrivacyExtend,
367
+ required this .oldUserId,
368
+ required this .oldUserIdStr,
369
+ required this .secUserId,
370
+ required this .secOldUserId,
371
+ required this .vcdAccount,
372
+ required this .vcdRelation,
373
+ required this .canBindVisitorAccount,
374
+ required this .isVisitorAccount,
375
+ required this .isOnlyBindIns,
376
+ required this .userDeviceRecordStatus,
377
+ required this .isKidsMode,
378
+ required this .isEmployee,
379
+ required this .passportEnterpriseUserType,
380
+ required this .needDeviceCreate,
381
+ required this .needTtwidMigration,
382
+ required this .userAuthStatus,
383
+ required this .userSafeMobile2Fa,
384
+ required this .safeMobileCountryCode,
385
+ required this .liteUserInfoString,
386
+ required this .liteUserInfoDemotion,
387
+ this .appUserInfo,
388
+ });
389
+
390
+ factory UserPassportModel .fromJson (Map <String , dynamic > json) =>
391
+ _$UserPassportModelFromJson (json);
392
+
393
+ final int appId;
394
+ final int userId;
395
+ final String userIdStr;
396
+ final int odinUserType;
397
+ final String name;
398
+ final String screenName;
399
+ final String avatarUrl;
400
+ final bool userVerified;
401
+ final bool emailCollected;
402
+ final bool phoneCollected;
403
+ final String verifiedContent;
404
+ final String verifiedAgency;
405
+ final int isBlocked;
406
+ final int isBlocking;
407
+ final String bgImgUrl;
408
+ final int gender;
409
+ final int mediaId;
410
+ final String userAuthInfo;
411
+ final String industry;
412
+ final String area;
413
+ final int canBeFoundByPhone;
414
+ final String mobile;
415
+ final String birthday;
416
+ final String description;
417
+ final String email;
418
+ final int newUser;
419
+ final String sessionKey;
420
+ final int isRecommendAllowed;
421
+ final String recommendHintMessage;
422
+ final List connects;
423
+ final int followingsCount;
424
+ final int followersCount;
425
+ final int visitCountRecent;
426
+ final int skipEditProfile;
427
+ final bool isManualSetUserInfo;
428
+ final int deviceId;
429
+ final int countryCode;
430
+ final int hasPassword;
431
+ final int shareToRepost;
432
+ final int userDecoration;
433
+ final int userPrivacyExtend;
434
+ final int oldUserId;
435
+ final String oldUserIdStr;
436
+ final String secUserId;
437
+ final String secOldUserId;
438
+ final int vcdAccount;
439
+ final int vcdRelation;
440
+ final bool canBindVisitorAccount;
441
+ final bool isVisitorAccount;
442
+ final bool isOnlyBindIns;
443
+ final int userDeviceRecordStatus;
444
+ final int isKidsMode;
445
+ final bool isEmployee;
446
+ final int passportEnterpriseUserType;
447
+ final int needDeviceCreate;
448
+ final int needTtwidMigration;
449
+ final int userAuthStatus;
450
+ final String userSafeMobile2Fa;
451
+ final int safeMobileCountryCode;
452
+ final String liteUserInfoString;
453
+ final int liteUserInfoDemotion;
454
+ final Json ? appUserInfo;
455
+
456
+ @override
457
+ List <Object ?> get props => < Object ? > [
458
+ appId,
459
+ userId,
460
+ userIdStr,
461
+ odinUserType,
462
+ name,
463
+ screenName,
464
+ avatarUrl,
465
+ userVerified,
466
+ emailCollected,
467
+ phoneCollected,
468
+ verifiedContent,
469
+ verifiedAgency,
470
+ isBlocked,
471
+ isBlocking,
472
+ bgImgUrl,
473
+ gender,
474
+ mediaId,
475
+ userAuthInfo,
476
+ industry,
477
+ area,
478
+ canBeFoundByPhone,
479
+ mobile,
480
+ birthday,
481
+ description,
482
+ email,
483
+ newUser,
484
+ sessionKey,
485
+ isRecommendAllowed,
486
+ recommendHintMessage,
487
+ connects,
488
+ followingsCount,
489
+ followersCount,
490
+ visitCountRecent,
491
+ skipEditProfile,
492
+ isManualSetUserInfo,
493
+ deviceId,
494
+ countryCode,
495
+ hasPassword,
496
+ shareToRepost,
497
+ userDecoration,
498
+ userPrivacyExtend,
499
+ oldUserId,
500
+ oldUserIdStr,
501
+ secUserId,
502
+ secOldUserId,
503
+ vcdAccount,
504
+ vcdRelation,
505
+ canBindVisitorAccount,
506
+ isVisitorAccount,
507
+ isOnlyBindIns,
508
+ userDeviceRecordStatus,
509
+ isKidsMode,
510
+ isEmployee,
511
+ passportEnterpriseUserType,
512
+ needDeviceCreate,
513
+ needTtwidMigration,
514
+ userAuthStatus,
515
+ userSafeMobile2Fa,
516
+ safeMobileCountryCode,
517
+ liteUserInfoString,
518
+ liteUserInfoDemotion,
519
+ appUserInfo,
520
+ ];
521
+
522
+ @override
523
+ Json toJson () => _$UserPassportModelToJson (this );
524
+ }
0 commit comments