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, email_address_identification_status: nil, phone_number: nil, phone_number_identification_status: 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, banned: nil, locked: 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, email_address_identification_status: nil, phone_number: nil, phone_number_identification_status: 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, banned: nil, locked: nil) ⇒ CreateUserRequest
Returns a new instance of CreateUserRequest.
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 |
# File 'lib/clerk/models/operations/createuser_request.rb', line 127 def initialize(email_address: nil, email_address_identification_status: nil, phone_number: nil, phone_number_identification_status: 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, banned: nil, locked: nil) @email_address = email_address @email_address_identification_status = email_address_identification_status @phone_number = phone_number @phone_number_identification_status = phone_number_identification_status @web3_wallet = web3_wallet @password_hasher = password_hasher @backup_codes = backup_codes @public_metadata = @private_metadata = @unsafe_metadata = @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 @banned = banned @locked = locked end |
Instance Method Details
#==(other) ⇒ Object
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 |
# File 'lib/clerk/models/operations/createuser_request.rb', line 161 def ==(other) return false unless other.is_a? self.class return false unless @email_address == other.email_address return false unless @email_address_identification_status == other.email_address_identification_status return false unless @phone_number == other.phone_number return false unless @phone_number_identification_status == other.phone_number_identification_status 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 @public_metadata == other. return false unless @private_metadata == other. return false unless @unsafe_metadata == 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 return false unless @banned == other.banned return false unless @locked == other.locked true end |