mirror of
https://github.com/hanzo-dart/sdk.git
synced 2026-10-30 19:32:47 +00:00
1046 lines
43 KiB
Dart
1046 lines
43 KiB
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.18
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
part of hanzoai.cloud;
|
|
|
|
class IamCreateOrganizationInput {
|
|
/// Returns a new [IamCreateOrganizationInput] instance.
|
|
IamCreateOrganizationInput({
|
|
this.accountItems = const [],
|
|
this.accountMenu,
|
|
this.avatar,
|
|
this.balanceCredit,
|
|
this.balanceCurrency,
|
|
this.countryCodes = const [],
|
|
this.createdAt,
|
|
this.createdTime,
|
|
this.dcrPolicy,
|
|
this.defaultApplication,
|
|
this.defaultAvatar,
|
|
this.defaultPassword,
|
|
this.deleted,
|
|
this.disableSignin,
|
|
this.displayName,
|
|
this.emoji,
|
|
this.enableSoftDeletion,
|
|
this.enableTour,
|
|
this.failedSigninFrozenTime,
|
|
this.failedSigninLimit,
|
|
this.favicon,
|
|
this.founder,
|
|
this.hasPrivilegeConsent,
|
|
this.id,
|
|
this.initScore,
|
|
this.ipRestriction,
|
|
this.ipWhitelist,
|
|
this.isPersonal,
|
|
this.isProfilePublic,
|
|
this.kerberosKdcHost,
|
|
this.kerberosKeytab,
|
|
this.kerberosRealm,
|
|
this.kerberosServiceName,
|
|
this.languages = const [],
|
|
this.ldapAttributes = const [],
|
|
this.logo,
|
|
this.logoDark,
|
|
this.masterPassword,
|
|
this.masterVerificationCode,
|
|
this.mfaItems = const [],
|
|
this.mfaRememberInHours,
|
|
this.name,
|
|
this.navItems = const [],
|
|
this.orgBalance,
|
|
this.owner,
|
|
this.passwordExpireDays,
|
|
this.passwordObfuscatorKey,
|
|
this.passwordObfuscatorType,
|
|
this.passwordOptions = const [],
|
|
this.passwordSalt,
|
|
this.passwordType,
|
|
this.tags = const [],
|
|
this.themeData,
|
|
this.updatedAt,
|
|
this.useEmailAsUsername,
|
|
this.usePermanentAvatar,
|
|
this.userBalance,
|
|
this.userNavItems = const [],
|
|
this.userTypes = const [],
|
|
this.websiteUrl,
|
|
this.widgetItems = const [],
|
|
});
|
|
List<IamAccountItem> accountItems;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? accountMenu;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? avatar;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
double? balanceCredit;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? balanceCurrency;
|
|
|
|
List<String> countryCodes;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
DateTime? createdAt;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? createdTime;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? dcrPolicy;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? defaultApplication;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? defaultAvatar;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? defaultPassword;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? deleted;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? disableSignin;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? displayName;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? emoji;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? enableSoftDeletion;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? enableTour;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
int? failedSigninFrozenTime;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
int? failedSigninLimit;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? favicon;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? founder;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? hasPrivilegeConsent;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? id;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
int? initScore;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? ipRestriction;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? ipWhitelist;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? isPersonal;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? isProfilePublic;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? kerberosKdcHost;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? kerberosKeytab;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? kerberosRealm;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? kerberosServiceName;
|
|
|
|
List<String> languages;
|
|
|
|
List<String> ldapAttributes;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? logo;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? logoDark;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? masterPassword;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? masterVerificationCode;
|
|
|
|
List<IamMfaItem> mfaItems;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
int? mfaRememberInHours;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? name;
|
|
|
|
List<String> navItems;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
double? orgBalance;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? owner;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
int? passwordExpireDays;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? passwordObfuscatorKey;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? passwordObfuscatorType;
|
|
|
|
List<String> passwordOptions;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? passwordSalt;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? passwordType;
|
|
|
|
List<String> tags;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
IamThemeData? themeData;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
DateTime? updatedAt;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? useEmailAsUsername;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
bool? usePermanentAvatar;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
double? userBalance;
|
|
|
|
List<String> userNavItems;
|
|
|
|
List<String> userTypes;
|
|
|
|
///
|
|
/// Please note: This property should have been non-nullable! Since the specification file
|
|
/// does not include a default value (using the "default:" property), however, the generated
|
|
/// source code must fall back to having a nullable type.
|
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
///
|
|
String? websiteUrl;
|
|
|
|
List<String> widgetItems;
|
|
|
|
@override
|
|
bool operator ==(Object other) => identical(this, other) || other is IamCreateOrganizationInput &&
|
|
_deepEquality.equals(other.accountItems, accountItems) &&
|
|
other.accountMenu == accountMenu &&
|
|
other.avatar == avatar &&
|
|
other.balanceCredit == balanceCredit &&
|
|
other.balanceCurrency == balanceCurrency &&
|
|
_deepEquality.equals(other.countryCodes, countryCodes) &&
|
|
other.createdAt == createdAt &&
|
|
other.createdTime == createdTime &&
|
|
other.dcrPolicy == dcrPolicy &&
|
|
other.defaultApplication == defaultApplication &&
|
|
other.defaultAvatar == defaultAvatar &&
|
|
other.defaultPassword == defaultPassword &&
|
|
other.deleted == deleted &&
|
|
other.disableSignin == disableSignin &&
|
|
other.displayName == displayName &&
|
|
other.emoji == emoji &&
|
|
other.enableSoftDeletion == enableSoftDeletion &&
|
|
other.enableTour == enableTour &&
|
|
other.failedSigninFrozenTime == failedSigninFrozenTime &&
|
|
other.failedSigninLimit == failedSigninLimit &&
|
|
other.favicon == favicon &&
|
|
other.founder == founder &&
|
|
other.hasPrivilegeConsent == hasPrivilegeConsent &&
|
|
other.id == id &&
|
|
other.initScore == initScore &&
|
|
other.ipRestriction == ipRestriction &&
|
|
other.ipWhitelist == ipWhitelist &&
|
|
other.isPersonal == isPersonal &&
|
|
other.isProfilePublic == isProfilePublic &&
|
|
other.kerberosKdcHost == kerberosKdcHost &&
|
|
other.kerberosKeytab == kerberosKeytab &&
|
|
other.kerberosRealm == kerberosRealm &&
|
|
other.kerberosServiceName == kerberosServiceName &&
|
|
_deepEquality.equals(other.languages, languages) &&
|
|
_deepEquality.equals(other.ldapAttributes, ldapAttributes) &&
|
|
other.logo == logo &&
|
|
other.logoDark == logoDark &&
|
|
other.masterPassword == masterPassword &&
|
|
other.masterVerificationCode == masterVerificationCode &&
|
|
_deepEquality.equals(other.mfaItems, mfaItems) &&
|
|
other.mfaRememberInHours == mfaRememberInHours &&
|
|
other.name == name &&
|
|
_deepEquality.equals(other.navItems, navItems) &&
|
|
other.orgBalance == orgBalance &&
|
|
other.owner == owner &&
|
|
other.passwordExpireDays == passwordExpireDays &&
|
|
other.passwordObfuscatorKey == passwordObfuscatorKey &&
|
|
other.passwordObfuscatorType == passwordObfuscatorType &&
|
|
_deepEquality.equals(other.passwordOptions, passwordOptions) &&
|
|
other.passwordSalt == passwordSalt &&
|
|
other.passwordType == passwordType &&
|
|
_deepEquality.equals(other.tags, tags) &&
|
|
other.themeData == themeData &&
|
|
other.updatedAt == updatedAt &&
|
|
other.useEmailAsUsername == useEmailAsUsername &&
|
|
other.usePermanentAvatar == usePermanentAvatar &&
|
|
other.userBalance == userBalance &&
|
|
_deepEquality.equals(other.userNavItems, userNavItems) &&
|
|
_deepEquality.equals(other.userTypes, userTypes) &&
|
|
other.websiteUrl == websiteUrl &&
|
|
_deepEquality.equals(other.widgetItems, widgetItems);
|
|
|
|
@override
|
|
int get hashCode =>
|
|
// ignore: unnecessary_parenthesis
|
|
(accountItems.hashCode) +
|
|
(accountMenu == null ? 0 : accountMenu!.hashCode) +
|
|
(avatar == null ? 0 : avatar!.hashCode) +
|
|
(balanceCredit == null ? 0 : balanceCredit!.hashCode) +
|
|
(balanceCurrency == null ? 0 : balanceCurrency!.hashCode) +
|
|
(countryCodes.hashCode) +
|
|
(createdAt == null ? 0 : createdAt!.hashCode) +
|
|
(createdTime == null ? 0 : createdTime!.hashCode) +
|
|
(dcrPolicy == null ? 0 : dcrPolicy!.hashCode) +
|
|
(defaultApplication == null ? 0 : defaultApplication!.hashCode) +
|
|
(defaultAvatar == null ? 0 : defaultAvatar!.hashCode) +
|
|
(defaultPassword == null ? 0 : defaultPassword!.hashCode) +
|
|
(deleted == null ? 0 : deleted!.hashCode) +
|
|
(disableSignin == null ? 0 : disableSignin!.hashCode) +
|
|
(displayName == null ? 0 : displayName!.hashCode) +
|
|
(emoji == null ? 0 : emoji!.hashCode) +
|
|
(enableSoftDeletion == null ? 0 : enableSoftDeletion!.hashCode) +
|
|
(enableTour == null ? 0 : enableTour!.hashCode) +
|
|
(failedSigninFrozenTime == null ? 0 : failedSigninFrozenTime!.hashCode) +
|
|
(failedSigninLimit == null ? 0 : failedSigninLimit!.hashCode) +
|
|
(favicon == null ? 0 : favicon!.hashCode) +
|
|
(founder == null ? 0 : founder!.hashCode) +
|
|
(hasPrivilegeConsent == null ? 0 : hasPrivilegeConsent!.hashCode) +
|
|
(id == null ? 0 : id!.hashCode) +
|
|
(initScore == null ? 0 : initScore!.hashCode) +
|
|
(ipRestriction == null ? 0 : ipRestriction!.hashCode) +
|
|
(ipWhitelist == null ? 0 : ipWhitelist!.hashCode) +
|
|
(isPersonal == null ? 0 : isPersonal!.hashCode) +
|
|
(isProfilePublic == null ? 0 : isProfilePublic!.hashCode) +
|
|
(kerberosKdcHost == null ? 0 : kerberosKdcHost!.hashCode) +
|
|
(kerberosKeytab == null ? 0 : kerberosKeytab!.hashCode) +
|
|
(kerberosRealm == null ? 0 : kerberosRealm!.hashCode) +
|
|
(kerberosServiceName == null ? 0 : kerberosServiceName!.hashCode) +
|
|
(languages.hashCode) +
|
|
(ldapAttributes.hashCode) +
|
|
(logo == null ? 0 : logo!.hashCode) +
|
|
(logoDark == null ? 0 : logoDark!.hashCode) +
|
|
(masterPassword == null ? 0 : masterPassword!.hashCode) +
|
|
(masterVerificationCode == null ? 0 : masterVerificationCode!.hashCode) +
|
|
(mfaItems.hashCode) +
|
|
(mfaRememberInHours == null ? 0 : mfaRememberInHours!.hashCode) +
|
|
(name == null ? 0 : name!.hashCode) +
|
|
(navItems.hashCode) +
|
|
(orgBalance == null ? 0 : orgBalance!.hashCode) +
|
|
(owner == null ? 0 : owner!.hashCode) +
|
|
(passwordExpireDays == null ? 0 : passwordExpireDays!.hashCode) +
|
|
(passwordObfuscatorKey == null ? 0 : passwordObfuscatorKey!.hashCode) +
|
|
(passwordObfuscatorType == null ? 0 : passwordObfuscatorType!.hashCode) +
|
|
(passwordOptions.hashCode) +
|
|
(passwordSalt == null ? 0 : passwordSalt!.hashCode) +
|
|
(passwordType == null ? 0 : passwordType!.hashCode) +
|
|
(tags.hashCode) +
|
|
(themeData == null ? 0 : themeData!.hashCode) +
|
|
(updatedAt == null ? 0 : updatedAt!.hashCode) +
|
|
(useEmailAsUsername == null ? 0 : useEmailAsUsername!.hashCode) +
|
|
(usePermanentAvatar == null ? 0 : usePermanentAvatar!.hashCode) +
|
|
(userBalance == null ? 0 : userBalance!.hashCode) +
|
|
(userNavItems.hashCode) +
|
|
(userTypes.hashCode) +
|
|
(websiteUrl == null ? 0 : websiteUrl!.hashCode) +
|
|
(widgetItems.hashCode);
|
|
|
|
@override
|
|
String toString() => 'IamCreateOrganizationInput[accountItems=$accountItems, accountMenu=$accountMenu, avatar=$avatar, balanceCredit=$balanceCredit, balanceCurrency=$balanceCurrency, countryCodes=$countryCodes, createdAt=$createdAt, createdTime=$createdTime, dcrPolicy=$dcrPolicy, defaultApplication=$defaultApplication, defaultAvatar=$defaultAvatar, defaultPassword=$defaultPassword, deleted=$deleted, disableSignin=$disableSignin, displayName=$displayName, emoji=$emoji, enableSoftDeletion=$enableSoftDeletion, enableTour=$enableTour, failedSigninFrozenTime=$failedSigninFrozenTime, failedSigninLimit=$failedSigninLimit, favicon=$favicon, founder=$founder, hasPrivilegeConsent=$hasPrivilegeConsent, id=$id, initScore=$initScore, ipRestriction=$ipRestriction, ipWhitelist=$ipWhitelist, isPersonal=$isPersonal, isProfilePublic=$isProfilePublic, kerberosKdcHost=$kerberosKdcHost, kerberosKeytab=$kerberosKeytab, kerberosRealm=$kerberosRealm, kerberosServiceName=$kerberosServiceName, languages=$languages, ldapAttributes=$ldapAttributes, logo=$logo, logoDark=$logoDark, masterPassword=$masterPassword, masterVerificationCode=$masterVerificationCode, mfaItems=$mfaItems, mfaRememberInHours=$mfaRememberInHours, name=$name, navItems=$navItems, orgBalance=$orgBalance, owner=$owner, passwordExpireDays=$passwordExpireDays, passwordObfuscatorKey=$passwordObfuscatorKey, passwordObfuscatorType=$passwordObfuscatorType, passwordOptions=$passwordOptions, passwordSalt=$passwordSalt, passwordType=$passwordType, tags=$tags, themeData=$themeData, updatedAt=$updatedAt, useEmailAsUsername=$useEmailAsUsername, usePermanentAvatar=$usePermanentAvatar, userBalance=$userBalance, userNavItems=$userNavItems, userTypes=$userTypes, websiteUrl=$websiteUrl, widgetItems=$widgetItems]';
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final json = <String, dynamic>{};
|
|
json[r'accountItems'] = this.accountItems;
|
|
if (this.accountMenu != null) {
|
|
json[r'accountMenu'] = this.accountMenu;
|
|
} else {
|
|
json[r'accountMenu'] = null;
|
|
}
|
|
if (this.avatar != null) {
|
|
json[r'avatar'] = this.avatar;
|
|
} else {
|
|
json[r'avatar'] = null;
|
|
}
|
|
if (this.balanceCredit != null) {
|
|
json[r'balanceCredit'] = this.balanceCredit;
|
|
} else {
|
|
json[r'balanceCredit'] = null;
|
|
}
|
|
if (this.balanceCurrency != null) {
|
|
json[r'balanceCurrency'] = this.balanceCurrency;
|
|
} else {
|
|
json[r'balanceCurrency'] = null;
|
|
}
|
|
json[r'countryCodes'] = this.countryCodes;
|
|
if (this.createdAt != null) {
|
|
json[r'createdAt'] = this.createdAt!.toUtc().toIso8601String();
|
|
} else {
|
|
json[r'createdAt'] = null;
|
|
}
|
|
if (this.createdTime != null) {
|
|
json[r'createdTime'] = this.createdTime;
|
|
} else {
|
|
json[r'createdTime'] = null;
|
|
}
|
|
if (this.dcrPolicy != null) {
|
|
json[r'dcrPolicy'] = this.dcrPolicy;
|
|
} else {
|
|
json[r'dcrPolicy'] = null;
|
|
}
|
|
if (this.defaultApplication != null) {
|
|
json[r'defaultApplication'] = this.defaultApplication;
|
|
} else {
|
|
json[r'defaultApplication'] = null;
|
|
}
|
|
if (this.defaultAvatar != null) {
|
|
json[r'defaultAvatar'] = this.defaultAvatar;
|
|
} else {
|
|
json[r'defaultAvatar'] = null;
|
|
}
|
|
if (this.defaultPassword != null) {
|
|
json[r'defaultPassword'] = this.defaultPassword;
|
|
} else {
|
|
json[r'defaultPassword'] = null;
|
|
}
|
|
if (this.deleted != null) {
|
|
json[r'deleted'] = this.deleted;
|
|
} else {
|
|
json[r'deleted'] = null;
|
|
}
|
|
if (this.disableSignin != null) {
|
|
json[r'disableSignin'] = this.disableSignin;
|
|
} else {
|
|
json[r'disableSignin'] = null;
|
|
}
|
|
if (this.displayName != null) {
|
|
json[r'displayName'] = this.displayName;
|
|
} else {
|
|
json[r'displayName'] = null;
|
|
}
|
|
if (this.emoji != null) {
|
|
json[r'emoji'] = this.emoji;
|
|
} else {
|
|
json[r'emoji'] = null;
|
|
}
|
|
if (this.enableSoftDeletion != null) {
|
|
json[r'enableSoftDeletion'] = this.enableSoftDeletion;
|
|
} else {
|
|
json[r'enableSoftDeletion'] = null;
|
|
}
|
|
if (this.enableTour != null) {
|
|
json[r'enableTour'] = this.enableTour;
|
|
} else {
|
|
json[r'enableTour'] = null;
|
|
}
|
|
if (this.failedSigninFrozenTime != null) {
|
|
json[r'failedSigninFrozenTime'] = this.failedSigninFrozenTime;
|
|
} else {
|
|
json[r'failedSigninFrozenTime'] = null;
|
|
}
|
|
if (this.failedSigninLimit != null) {
|
|
json[r'failedSigninLimit'] = this.failedSigninLimit;
|
|
} else {
|
|
json[r'failedSigninLimit'] = null;
|
|
}
|
|
if (this.favicon != null) {
|
|
json[r'favicon'] = this.favicon;
|
|
} else {
|
|
json[r'favicon'] = null;
|
|
}
|
|
if (this.founder != null) {
|
|
json[r'founder'] = this.founder;
|
|
} else {
|
|
json[r'founder'] = null;
|
|
}
|
|
if (this.hasPrivilegeConsent != null) {
|
|
json[r'hasPrivilegeConsent'] = this.hasPrivilegeConsent;
|
|
} else {
|
|
json[r'hasPrivilegeConsent'] = null;
|
|
}
|
|
if (this.id != null) {
|
|
json[r'id'] = this.id;
|
|
} else {
|
|
json[r'id'] = null;
|
|
}
|
|
if (this.initScore != null) {
|
|
json[r'initScore'] = this.initScore;
|
|
} else {
|
|
json[r'initScore'] = null;
|
|
}
|
|
if (this.ipRestriction != null) {
|
|
json[r'ipRestriction'] = this.ipRestriction;
|
|
} else {
|
|
json[r'ipRestriction'] = null;
|
|
}
|
|
if (this.ipWhitelist != null) {
|
|
json[r'ipWhitelist'] = this.ipWhitelist;
|
|
} else {
|
|
json[r'ipWhitelist'] = null;
|
|
}
|
|
if (this.isPersonal != null) {
|
|
json[r'isPersonal'] = this.isPersonal;
|
|
} else {
|
|
json[r'isPersonal'] = null;
|
|
}
|
|
if (this.isProfilePublic != null) {
|
|
json[r'isProfilePublic'] = this.isProfilePublic;
|
|
} else {
|
|
json[r'isProfilePublic'] = null;
|
|
}
|
|
if (this.kerberosKdcHost != null) {
|
|
json[r'kerberosKdcHost'] = this.kerberosKdcHost;
|
|
} else {
|
|
json[r'kerberosKdcHost'] = null;
|
|
}
|
|
if (this.kerberosKeytab != null) {
|
|
json[r'kerberosKeytab'] = this.kerberosKeytab;
|
|
} else {
|
|
json[r'kerberosKeytab'] = null;
|
|
}
|
|
if (this.kerberosRealm != null) {
|
|
json[r'kerberosRealm'] = this.kerberosRealm;
|
|
} else {
|
|
json[r'kerberosRealm'] = null;
|
|
}
|
|
if (this.kerberosServiceName != null) {
|
|
json[r'kerberosServiceName'] = this.kerberosServiceName;
|
|
} else {
|
|
json[r'kerberosServiceName'] = null;
|
|
}
|
|
json[r'languages'] = this.languages;
|
|
json[r'ldapAttributes'] = this.ldapAttributes;
|
|
if (this.logo != null) {
|
|
json[r'logo'] = this.logo;
|
|
} else {
|
|
json[r'logo'] = null;
|
|
}
|
|
if (this.logoDark != null) {
|
|
json[r'logoDark'] = this.logoDark;
|
|
} else {
|
|
json[r'logoDark'] = null;
|
|
}
|
|
if (this.masterPassword != null) {
|
|
json[r'masterPassword'] = this.masterPassword;
|
|
} else {
|
|
json[r'masterPassword'] = null;
|
|
}
|
|
if (this.masterVerificationCode != null) {
|
|
json[r'masterVerificationCode'] = this.masterVerificationCode;
|
|
} else {
|
|
json[r'masterVerificationCode'] = null;
|
|
}
|
|
json[r'mfaItems'] = this.mfaItems;
|
|
if (this.mfaRememberInHours != null) {
|
|
json[r'mfaRememberInHours'] = this.mfaRememberInHours;
|
|
} else {
|
|
json[r'mfaRememberInHours'] = null;
|
|
}
|
|
if (this.name != null) {
|
|
json[r'name'] = this.name;
|
|
} else {
|
|
json[r'name'] = null;
|
|
}
|
|
json[r'navItems'] = this.navItems;
|
|
if (this.orgBalance != null) {
|
|
json[r'orgBalance'] = this.orgBalance;
|
|
} else {
|
|
json[r'orgBalance'] = null;
|
|
}
|
|
if (this.owner != null) {
|
|
json[r'owner'] = this.owner;
|
|
} else {
|
|
json[r'owner'] = null;
|
|
}
|
|
if (this.passwordExpireDays != null) {
|
|
json[r'passwordExpireDays'] = this.passwordExpireDays;
|
|
} else {
|
|
json[r'passwordExpireDays'] = null;
|
|
}
|
|
if (this.passwordObfuscatorKey != null) {
|
|
json[r'passwordObfuscatorKey'] = this.passwordObfuscatorKey;
|
|
} else {
|
|
json[r'passwordObfuscatorKey'] = null;
|
|
}
|
|
if (this.passwordObfuscatorType != null) {
|
|
json[r'passwordObfuscatorType'] = this.passwordObfuscatorType;
|
|
} else {
|
|
json[r'passwordObfuscatorType'] = null;
|
|
}
|
|
json[r'passwordOptions'] = this.passwordOptions;
|
|
if (this.passwordSalt != null) {
|
|
json[r'passwordSalt'] = this.passwordSalt;
|
|
} else {
|
|
json[r'passwordSalt'] = null;
|
|
}
|
|
if (this.passwordType != null) {
|
|
json[r'passwordType'] = this.passwordType;
|
|
} else {
|
|
json[r'passwordType'] = null;
|
|
}
|
|
json[r'tags'] = this.tags;
|
|
if (this.themeData != null) {
|
|
json[r'themeData'] = this.themeData;
|
|
} else {
|
|
json[r'themeData'] = null;
|
|
}
|
|
if (this.updatedAt != null) {
|
|
json[r'updatedAt'] = this.updatedAt!.toUtc().toIso8601String();
|
|
} else {
|
|
json[r'updatedAt'] = null;
|
|
}
|
|
if (this.useEmailAsUsername != null) {
|
|
json[r'useEmailAsUsername'] = this.useEmailAsUsername;
|
|
} else {
|
|
json[r'useEmailAsUsername'] = null;
|
|
}
|
|
if (this.usePermanentAvatar != null) {
|
|
json[r'usePermanentAvatar'] = this.usePermanentAvatar;
|
|
} else {
|
|
json[r'usePermanentAvatar'] = null;
|
|
}
|
|
if (this.userBalance != null) {
|
|
json[r'userBalance'] = this.userBalance;
|
|
} else {
|
|
json[r'userBalance'] = null;
|
|
}
|
|
json[r'userNavItems'] = this.userNavItems;
|
|
json[r'userTypes'] = this.userTypes;
|
|
if (this.websiteUrl != null) {
|
|
json[r'websiteUrl'] = this.websiteUrl;
|
|
} else {
|
|
json[r'websiteUrl'] = null;
|
|
}
|
|
json[r'widgetItems'] = this.widgetItems;
|
|
return json;
|
|
}
|
|
|
|
/// Returns a new [IamCreateOrganizationInput] instance and imports its values from
|
|
/// [value] if it's a [Map], null otherwise.
|
|
// ignore: prefer_constructors_over_static_methods
|
|
static IamCreateOrganizationInput? fromJson(dynamic value) {
|
|
if (value is Map) {
|
|
final json = value.cast<String, dynamic>();
|
|
|
|
// Ensure that the map contains the required keys.
|
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
|
// Note 2: this code is stripped in release mode!
|
|
assert(() {
|
|
requiredKeys.forEach((key) {
|
|
assert(json.containsKey(key), 'Required key "IamCreateOrganizationInput[$key]" is missing from JSON.');
|
|
assert(json[key] != null, 'Required key "IamCreateOrganizationInput[$key]" has a null value in JSON.');
|
|
});
|
|
return true;
|
|
}());
|
|
|
|
return IamCreateOrganizationInput(
|
|
accountItems: IamAccountItem.listFromJson(json[r'accountItems']),
|
|
accountMenu: mapValueOfType<String>(json, r'accountMenu'),
|
|
avatar: mapValueOfType<String>(json, r'avatar'),
|
|
balanceCredit: mapValueOfType<double>(json, r'balanceCredit'),
|
|
balanceCurrency: mapValueOfType<String>(json, r'balanceCurrency'),
|
|
countryCodes: json[r'countryCodes'] is Iterable
|
|
? (json[r'countryCodes'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
createdAt: mapDateTime(json, r'createdAt', r''),
|
|
createdTime: mapValueOfType<String>(json, r'createdTime'),
|
|
dcrPolicy: mapValueOfType<String>(json, r'dcrPolicy'),
|
|
defaultApplication: mapValueOfType<String>(json, r'defaultApplication'),
|
|
defaultAvatar: mapValueOfType<String>(json, r'defaultAvatar'),
|
|
defaultPassword: mapValueOfType<String>(json, r'defaultPassword'),
|
|
deleted: mapValueOfType<bool>(json, r'deleted'),
|
|
disableSignin: mapValueOfType<bool>(json, r'disableSignin'),
|
|
displayName: mapValueOfType<String>(json, r'displayName'),
|
|
emoji: mapValueOfType<String>(json, r'emoji'),
|
|
enableSoftDeletion: mapValueOfType<bool>(json, r'enableSoftDeletion'),
|
|
enableTour: mapValueOfType<bool>(json, r'enableTour'),
|
|
failedSigninFrozenTime: mapValueOfType<int>(json, r'failedSigninFrozenTime'),
|
|
failedSigninLimit: mapValueOfType<int>(json, r'failedSigninLimit'),
|
|
favicon: mapValueOfType<String>(json, r'favicon'),
|
|
founder: mapValueOfType<String>(json, r'founder'),
|
|
hasPrivilegeConsent: mapValueOfType<bool>(json, r'hasPrivilegeConsent'),
|
|
id: mapValueOfType<String>(json, r'id'),
|
|
initScore: mapValueOfType<int>(json, r'initScore'),
|
|
ipRestriction: mapValueOfType<String>(json, r'ipRestriction'),
|
|
ipWhitelist: mapValueOfType<String>(json, r'ipWhitelist'),
|
|
isPersonal: mapValueOfType<bool>(json, r'isPersonal'),
|
|
isProfilePublic: mapValueOfType<bool>(json, r'isProfilePublic'),
|
|
kerberosKdcHost: mapValueOfType<String>(json, r'kerberosKdcHost'),
|
|
kerberosKeytab: mapValueOfType<String>(json, r'kerberosKeytab'),
|
|
kerberosRealm: mapValueOfType<String>(json, r'kerberosRealm'),
|
|
kerberosServiceName: mapValueOfType<String>(json, r'kerberosServiceName'),
|
|
languages: json[r'languages'] is Iterable
|
|
? (json[r'languages'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
ldapAttributes: json[r'ldapAttributes'] is Iterable
|
|
? (json[r'ldapAttributes'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
logo: mapValueOfType<String>(json, r'logo'),
|
|
logoDark: mapValueOfType<String>(json, r'logoDark'),
|
|
masterPassword: mapValueOfType<String>(json, r'masterPassword'),
|
|
masterVerificationCode: mapValueOfType<String>(json, r'masterVerificationCode'),
|
|
mfaItems: IamMfaItem.listFromJson(json[r'mfaItems']),
|
|
mfaRememberInHours: mapValueOfType<int>(json, r'mfaRememberInHours'),
|
|
name: mapValueOfType<String>(json, r'name'),
|
|
navItems: json[r'navItems'] is Iterable
|
|
? (json[r'navItems'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
orgBalance: mapValueOfType<double>(json, r'orgBalance'),
|
|
owner: mapValueOfType<String>(json, r'owner'),
|
|
passwordExpireDays: mapValueOfType<int>(json, r'passwordExpireDays'),
|
|
passwordObfuscatorKey: mapValueOfType<String>(json, r'passwordObfuscatorKey'),
|
|
passwordObfuscatorType: mapValueOfType<String>(json, r'passwordObfuscatorType'),
|
|
passwordOptions: json[r'passwordOptions'] is Iterable
|
|
? (json[r'passwordOptions'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
passwordSalt: mapValueOfType<String>(json, r'passwordSalt'),
|
|
passwordType: mapValueOfType<String>(json, r'passwordType'),
|
|
tags: json[r'tags'] is Iterable
|
|
? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
themeData: IamThemeData.fromJson(json[r'themeData']),
|
|
updatedAt: mapDateTime(json, r'updatedAt', r''),
|
|
useEmailAsUsername: mapValueOfType<bool>(json, r'useEmailAsUsername'),
|
|
usePermanentAvatar: mapValueOfType<bool>(json, r'usePermanentAvatar'),
|
|
userBalance: mapValueOfType<double>(json, r'userBalance'),
|
|
userNavItems: json[r'userNavItems'] is Iterable
|
|
? (json[r'userNavItems'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
userTypes: json[r'userTypes'] is Iterable
|
|
? (json[r'userTypes'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
websiteUrl: mapValueOfType<String>(json, r'websiteUrl'),
|
|
widgetItems: json[r'widgetItems'] is Iterable
|
|
? (json[r'widgetItems'] as Iterable).cast<String>().toList(growable: false)
|
|
: const [],
|
|
);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
static List<IamCreateOrganizationInput> listFromJson(dynamic json, {bool growable = false,}) {
|
|
final result = <IamCreateOrganizationInput>[];
|
|
if (json is List && json.isNotEmpty) {
|
|
for (final row in json) {
|
|
final value = IamCreateOrganizationInput.fromJson(row);
|
|
if (value != null) {
|
|
result.add(value);
|
|
}
|
|
}
|
|
}
|
|
return result.toList(growable: growable);
|
|
}
|
|
|
|
static Map<String, IamCreateOrganizationInput> mapFromJson(dynamic json) {
|
|
final map = <String, IamCreateOrganizationInput>{};
|
|
if (json is Map && json.isNotEmpty) {
|
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
|
for (final entry in json.entries) {
|
|
final value = IamCreateOrganizationInput.fromJson(entry.value);
|
|
if (value != null) {
|
|
map[entry.key] = value;
|
|
}
|
|
}
|
|
}
|
|
return map;
|
|
}
|
|
|
|
// maps a json object with a list of IamCreateOrganizationInput-objects as value to a dart map
|
|
static Map<String, List<IamCreateOrganizationInput>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
|
final map = <String, List<IamCreateOrganizationInput>>{};
|
|
if (json is Map && json.isNotEmpty) {
|
|
// ignore: parameter_assignments
|
|
json = json.cast<String, dynamic>();
|
|
for (final entry in json.entries) {
|
|
map[entry.key] = IamCreateOrganizationInput.listFromJson(entry.value, growable: growable,);
|
|
}
|
|
}
|
|
return map;
|
|
}
|
|
|
|
/// The list of required keys that must be present in a JSON.
|
|
static const requiredKeys = <String>{
|
|
};
|
|
}
|
|
|