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