Class: Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup

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

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(id:, type: :skills) ⇒ BetaOrganizationRateLimitSkillsGroup

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup for more details.

Parameters:

  • id (String)

    Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY

  • type (Symbol, :skills) (defaults to: :skills)

    Always skills: the Skills API.

  • id: (String)
  • type: (:skills) (defaults to: :skills)


# File 'lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb', line 22

Instance Attribute Details

#idString

Opaque identifier of the rate-limit group (for example, rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.

Parameters:

  • value (String)

Returns:

  • (String)


14
# File 'lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb', line 14

required :id, String

#typeSymbol, :skills

Always skills: the Skills API.

Parameters:

  • value (:skills)

Returns:

  • (Symbol, :skills)


20
# File 'lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb', line 20

required :type, const: :skills

Instance Method Details

#to_hash{ id: String, type: :skills }

Returns:

  • ({ id: String, type: :skills })


15
# File 'sig/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbs', line 15

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