Class: Clerk::Models::Operations::CreateUserRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::CreateUserRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/createuser_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(email_address: nil, phone_number: nil, web3_wallet: nil, password_hasher: nil, backup_codes: nil, public_metadata: nil, private_metadata: nil, unsafe_metadata: nil, external_id: nil, first_name: nil, last_name: nil, locale: nil, username: nil, password: nil, password_digest: nil, skip_password_checks: nil, skip_password_requirement: nil, totp_secret: nil, delete_self_enabled: nil, legal_accepted_at: nil, skip_legal_checks: nil, skip_user_requirement: nil, create_organization_enabled: nil, create_organizations_limit: nil, created_at: nil, bypass_client_trust: nil) ⇒ CreateUserRequest
constructor
A new instance of CreateUserRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(email_address: nil, phone_number: nil, web3_wallet: nil, password_hasher: nil, backup_codes: nil, public_metadata: nil, private_metadata: nil, unsafe_metadata: nil, external_id: nil, first_name: nil, last_name: nil, locale: nil, username: nil, password: nil, password_digest: nil, skip_password_checks: nil, skip_password_requirement: nil, totp_secret: nil, delete_self_enabled: nil, legal_accepted_at: nil, skip_legal_checks: nil, skip_user_requirement: nil, create_organization_enabled: nil, create_organizations_limit: nil, created_at: nil, bypass_client_trust: nil) ⇒ CreateUserRequest
Returns a new instance of CreateUserRequest.
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 |
# File 'lib/clerk/models/operations/createuser_request.rb', line 104 def initialize(email_address: nil, phone_number: nil, web3_wallet: nil, password_hasher: nil, backup_codes: nil, public_metadata: nil, private_metadata: nil, unsafe_metadata: nil, external_id: nil, first_name: nil, last_name: nil, locale: nil, username: nil, password: nil, password_digest: nil, skip_password_checks: nil, skip_password_requirement: nil, totp_secret: nil, delete_self_enabled: nil, legal_accepted_at: nil, skip_legal_checks: nil, skip_user_requirement: nil, create_organization_enabled: nil, create_organizations_limit: nil, created_at: nil, bypass_client_trust: nil) @email_address = email_address @phone_number = phone_number @web3_wallet = web3_wallet @password_hasher = password_hasher @backup_codes = backup_codes = = = @external_id = external_id @first_name = first_name @last_name = last_name @locale = locale @username = username @password = password @password_digest = password_digest @skip_password_checks = skip_password_checks @skip_password_requirement = skip_password_requirement @totp_secret = totp_secret @delete_self_enabled = delete_self_enabled @legal_accepted_at = legal_accepted_at @skip_legal_checks = skip_legal_checks @skip_user_requirement = skip_user_requirement @create_organization_enabled = create_organization_enabled @create_organizations_limit = create_organizations_limit @created_at = created_at @bypass_client_trust = bypass_client_trust end |
Instance Method Details
#==(other) ⇒ Object
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 |
# File 'lib/clerk/models/operations/createuser_request.rb', line 134 def ==(other) return false unless other.is_a? self.class return false unless @email_address == other.email_address return false unless @phone_number == other.phone_number return false unless @web3_wallet == other.web3_wallet return false unless @password_hasher == other.password_hasher return false unless @backup_codes == other.backup_codes return false unless == other. return false unless == other. return false unless == other. return false unless @external_id == other.external_id return false unless @first_name == other.first_name return false unless @last_name == other.last_name return false unless @locale == other.locale return false unless @username == other.username return false unless @password == other.password return false unless @password_digest == other.password_digest return false unless @skip_password_checks == other.skip_password_checks return false unless @skip_password_requirement == other.skip_password_requirement return false unless @totp_secret == other.totp_secret return false unless @delete_self_enabled == other.delete_self_enabled return false unless @legal_accepted_at == other.legal_accepted_at return false unless @skip_legal_checks == other.skip_legal_checks return false unless @skip_user_requirement == other.skip_user_requirement return false unless @create_organization_enabled == other.create_organization_enabled return false unless @create_organizations_limit == other.create_organizations_limit return false unless @created_at == other.created_at return false unless @bypass_client_trust == other.bypass_client_trust true end |