Class: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaUserProfileExternalUserDetails
- Defined in:
- lib/anthropic/models/beta/beta_user_profile_external_user_details.rb,
sig/anthropic/models/beta/beta_user_profile_external_user_details.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 the platform associates with the entity, as an ISO 3166-1 alpha-2 code.
-
#email_hash ⇒ String?
The platform-computed hash of the entity's email address.
-
#entity_type ⇒ Symbol, ...
What kind of entity the profile represents:
individual,business,non_profitorgovernment. -
#name_hash ⇒ String?
The platform-computed hash of the entity's name.
-
#onboarded_at ⇒ Time?
When the entity opened its account with the platform, as stated by the platform, in RFC 3339 format (UTC).
-
#reference_id ⇒ String?
The platform's own reference for the entity.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_status:, country:, email_hash:, entity_type:, name_hash:, onboarded_at:, reference_id:) ⇒ void
constructor
Details about the entity this profile represents, as the platform states them.
- #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:, country:, email_hash:, entity_type:, name_hash:, onboarded_at:, reference_id:) ⇒ void
Details about the entity this profile represents, as the platform states them.
Anthropic does not verify them. Every field is present, null until the
platform supplies a value.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaUserProfileExternalUserDetails for more details.
|
|
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 60
|
Instance Attribute Details
#account_status ⇒ Symbol, ...
The status of the entity's account on the platform: active, suspended or
blocked. null until the platform supplies one.
12 13 14 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 12 required :account_status, enum: -> { Anthropic::Beta::BetaUserProfileExternalUserDetails::AccountStatus }, nil?: true |
#country ⇒ String?
The country the platform associates with the entity, as an ISO 3166-1 alpha-2
code. null until the platform supplies one.
21 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 21 required :country, String, nil?: true |
#email_hash ⇒ String?
The platform-computed hash of the entity's email address. null until the
platform supplies one.
28 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 28 required :email_hash, String, nil?: true |
#entity_type ⇒ Symbol, ...
What kind of entity the profile represents: individual, business,
non_profit or government. null until the platform supplies one.
35 36 37 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 35 required :entity_type, enum: -> { Anthropic::Beta::BetaUserProfileExternalUserDetails::EntityType }, nil?: true |
#name_hash ⇒ String?
The platform-computed hash of the entity's name. null until the platform
supplies one.
44 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 44 required :name_hash, String, nil?: true |
#onboarded_at ⇒ Time?
When the entity opened its account with the platform, as stated by the platform,
in RFC 3339 format (UTC). null until the platform supplies one.
51 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 51 required :onboarded_at, Time, nil?: true |
#reference_id ⇒ String?
The platform's own reference for the entity. null until the platform supplies
one.
58 |
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 58 required :reference_id, String, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/beta_user_profile_external_user_details.rb', line 98
|
Instance Method Details
#to_hash ⇒ {
42 |
# File 'sig/anthropic/models/beta/beta_user_profile_external_user_details.rbs', line 42 def to_hash: -> { |