Class: Anthropic::Models::Beta::Organization::BetaAnalyticsReportUserActor
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaAnalyticsReportUserActor
- Defined in:
- lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb,
sig/anthropic/models/beta/organization/beta_analytics_report_user_actor.rbs
Instance Attribute Summary collapse
-
#deleted ⇒ Boolean
True when the account has been deleted, or when the user is no longer a member of the organization or its associated organizations (for example, their membership was removed or they were deprovisioned via your identity provider).
-
#email_address ⇒ String?
The user's current email address, including for users who are no longer members of the organization.
-
#name ⇒ String?
The user's current full name.
-
#type ⇒ Symbol, :user_actor
Actor type.
-
#user_id ⇒ String
Tagged user ID.
Instance Method Summary collapse
-
#initialize(deleted:, email_address:, name:, user_id:, type: :user_actor) ⇒ BetaAnalyticsReportUserActor
constructor
Some parameter documentations has been truncated, see BetaAnalyticsReportUserActor for more details.
- #to_hash ⇒ { deleted: bool, email_address: String?, name: String?, type: :user_actor, user_id: String }
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(deleted:, email_address:, name:, user_id:, type: :user_actor) ⇒ BetaAnalyticsReportUserActor
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaAnalyticsReportUserActor for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb', line 47
|
Instance Attribute Details
#deleted ⇒ Boolean
True when the account has been deleted, or when the user is no longer a member
of the organization or its associated organizations (for example, their
membership was removed or they were deprovisioned via your identity provider).
email_address stays populated for removed users and is null when the account
has been deleted. name follows the rules described on that field. The
user_id is still populated for reconciliation.
17 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb', line 17 required :deleted, Anthropic::Internal::Type::Boolean |
#email_address ⇒ String?
The user's current email address, including for users who are no longer members of the organization. Null when the account has been deleted and for system-minted service accounts.
25 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb', line 25 required :email_address, String, nil?: true |
#name ⇒ String?
The user's current full name. Null when the user has not set one.
"Deleted User" when the account has been deleted, or when the user is no
longer a member and the organization hides removed users' names.
33 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb', line 33 required :name, String, nil?: true |
#type ⇒ Symbol, :user_actor
Actor type. Always "user_actor".
39 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb', line 39 required :type, const: :user_actor |
#user_id ⇒ String
Tagged user ID.
45 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb', line 45 required :user_id, String |
Instance Method Details
#to_hash ⇒ { deleted: bool, email_address: String?, name: String?, type: :user_actor, user_id: String }
33 34 35 36 37 38 39 |
# File 'sig/anthropic/models/beta/organization/beta_analytics_report_user_actor.rbs', line 33
def to_hash: -> {
deleted: bool,
email_address: String?,
name: String?,
type: :user_actor,
user_id: String
}
|