Class: Anthropic::Models::Beta::BetaDeletedUserProfile

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_deleted_user_profile.rb,
sig/anthropic/models/beta/beta_deleted_user_profile.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::UserProfiles#delete

Instance Attribute Summary collapse

Instance Method Summary collapse

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 ⇒ BetaDeletedUserProfile

Returns a new instance of BetaDeletedUserProfile.

Parameters:



14
# File 'sig/anthropic/models/beta/beta_deleted_user_profile.rbs', line 14

def initialize: (id: String, ?type: :user_profile_deleted) -> void

Instance Attribute Details

#id ⇒ String

Identifier of the deleted user profile, prefixed uprof_.

Parameters:

Returns:



12
# File 'lib/anthropic/models/beta/beta_deleted_user_profile.rb', line 12

required :id, String

#type ⇒ Symbol, :user_profile_deleted

Object type. Always user_profile_deleted.

Parameters:

Returns:



18
# File 'lib/anthropic/models/beta/beta_deleted_user_profile.rb', line 18

required :type, const: :user_profile_deleted

Instance Method Details

#to_hash ⇒ { id: String, type: :user_profile_deleted }

Returns:



16
# File 'sig/anthropic/models/beta/beta_deleted_user_profile.rbs', line 16

def to_hash: -> { id: String, type: :user_profile_deleted }