Class: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams
- Defined in:
- lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb,
sig/anthropic/models/beta/beta_user_profile_external_user_details_params.rbs
Defined Under Namespace
Modules: AccountStatus, EntityType
Instance Attribute Summary collapse
-
#account_status ⇒ Symbol, ...
The status of the entity's account on the platform:
active,suspendedorblocked. -
#country ⇒ String?
The country of the entity (not of the platform), as the platform determines it: an ISO 3166-1 alpha-2 code in upper case, for example
US. -
#email_hash ⇒ String?
A hash of the entity's email address, computed by the platform.
-
#entity_type ⇒ Symbol, ...
What kind of entity the profile represents:
individual,business,non_profitorgovernment. -
#name_hash ⇒ String?
A hash of the entity's name, computed by the platform.
-
#onboarded_at ⇒ Time?
When the entity opened its account with the platform, in RFC 3339 format: for an
applicationprofile, when the end-user signed up; for apassthroughprofile, when the company became the platform's customer. -
#reference_id ⇒ String?
The platform's own reference for the entity, for example the key of the end-user's row in the platform's database.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_status: nil, country: nil, email_hash: nil, entity_type: nil, name_hash: nil, onboarded_at: nil, reference_id: nil) ⇒ void
constructor
Some parameter documentations has been truncated, see BetaUserProfileExternalUserDetailsParams for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(account_status: nil, country: nil, email_hash: nil, entity_type: nil, name_hash: nil, onboarded_at: nil, reference_id: nil) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams for more details.
|
|
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 65
|
Instance Attribute Details
#account_status ⇒ Symbol, ...
The status of the entity's account on the platform: active, suspended or
blocked.
12 13 14 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 12 optional :account_status, enum: -> { Anthropic::Beta::BetaUserProfileExternalUserDetailsParams::AccountStatus }, nil?: true |
#country ⇒ String?
The country of the entity (not of the platform), as the platform determines it:
an ISO 3166-1 alpha-2 code in upper case, for example US. Only the form, two
uppercase ASCII letters, is checked.
22 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 22 optional :country, String, nil?: true |
#email_hash ⇒ String?
A hash of the entity's email address, computed by the platform. Anthropic treats it as an opaque string and does not prescribe the hash function. 1 to 255 characters.
30 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 30 optional :email_hash, String, nil?: true |
#entity_type ⇒ Symbol, ...
What kind of entity the profile represents: individual, business,
non_profit or government.
37 38 39 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 37 optional :entity_type, enum: -> { Anthropic::Beta::BetaUserProfileExternalUserDetailsParams::EntityType }, nil?: true |
#name_hash ⇒ String?
A hash of the entity's name, computed by the platform. Anthropic treats it as an opaque string and does not prescribe the hash function. 1 to 255 characters.
46 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 46 optional :name_hash, String, nil?: true |
#onboarded_at ⇒ Time?
When the entity opened its account with the platform, in RFC 3339 format: for an
application profile, when the end-user signed up; for a passthrough profile,
when the company became the platform's customer. Must be a complete timestamp no
more than 1 minute in the future.
55 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 55 optional :onboarded_at, Time |
#reference_id ⇒ String?
The platform's own reference for the entity, for example the key of the end-user's row in the platform's database. Not interpreted by Anthropic and not enforced unique. 1 to 255 characters.
63 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 63 optional :reference_id, String, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb', line 100
|
Instance Method Details
#to_hash ⇒ {
44 |
# File 'sig/anthropic/models/beta/beta_user_profile_external_user_details_params.rbs', line 44 def to_hash: -> { |