Class: Anthropic::Models::Beta::Organization::BetaAnalyticsUser
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaAnalyticsUser
- Defined in:
- lib/anthropic/models/beta/organization/beta_analytics_user.rb,
sig/anthropic/models/beta/organization/beta_analytics_user.rbs
Instance Attribute Summary collapse
-
#email_address ⇒ String
Email address of the user.
-
#id ⇒ String
Tagged user identifier (e.g.
user_...). -
#type ⇒ Symbol, :user
Object type.
Instance Method Summary collapse
-
#initialize(id:, email_address:, type: :user) ⇒ BetaAnalyticsUser
constructor
A user in the organization, identified by tagged id and email address.
- #to_hash ⇒ { id: String, email_address: String, type: :user }
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(id:, email_address:, type: :user) ⇒ BetaAnalyticsUser
A user in the organization, identified by tagged id and email address.
|
|
# File 'lib/anthropic/models/beta/organization/beta_analytics_user.rb', line 26
|
Instance Attribute Details
#email_address ⇒ String
Email address of the user
18 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_user.rb', line 18 required :email_address, String |
#id ⇒ String
Tagged user identifier (e.g. user_...)
12 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_user.rb', line 12 required :id, String |
#type ⇒ Symbol, :user
Object type. Always user.
24 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_user.rb', line 24 required :type, const: :user |
Instance Method Details
#to_hash ⇒ { id: String, email_address: String, type: :user }
21 |
# File 'sig/anthropic/models/beta/organization/beta_analytics_user.rbs', line 21
def to_hash: -> { id: String, email_address: String, type: :user }
|