Class: Anthropic::Models::Beta::Organization::BetaAnalyticsToolActions
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaAnalyticsToolActions
- Defined in:
- lib/anthropic/models/beta/organization/beta_analytics_tool_actions.rb,
sig/anthropic/models/beta/organization/beta_analytics_tool_actions.rbs
Instance Attribute Summary collapse
-
#edit_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
-
#multi_edit_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
-
#notebook_edit_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
-
#write_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
Instance Method Summary collapse
-
#initialize(edit_tool:, multi_edit_tool:, notebook_edit_tool:, write_tool:) ⇒ BetaAnalyticsToolActions
constructor
Per-tool accepted/rejected counts for Claude Code file modification tools.
- #to_hash ⇒ { edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts, multi_edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts, notebook_edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts, write_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts }
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(edit_tool:, multi_edit_tool:, notebook_edit_tool:, write_tool:) ⇒ BetaAnalyticsToolActions
Per-tool accepted/rejected counts for Claude Code file modification tools.
|
|
# File 'lib/anthropic/models/beta/organization/beta_analytics_tool_actions.rb', line 32
|
Instance Attribute Details
#edit_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
12 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_tool_actions.rb', line 12 required :edit_tool, -> { Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts } |
#multi_edit_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
18 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_tool_actions.rb', line 18 required :multi_edit_tool, -> { Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts } |
#notebook_edit_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
24 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_tool_actions.rb', line 24 required :notebook_edit_tool, -> { Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts } |
#write_tool ⇒ Anthropic::Models::Beta::Organization::BetaAnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
30 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_tool_actions.rb', line 30 required :write_tool, -> { Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts } |
Instance Method Details
#to_hash ⇒ { edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts, multi_edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts, notebook_edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts, write_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts }
29 30 31 32 33 34 |
# File 'sig/anthropic/models/beta/organization/beta_analytics_tool_actions.rbs', line 29
def to_hash: -> {
edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts,
multi_edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts,
notebook_edit_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts,
write_tool: Anthropic::Beta::Organization::BetaAnalyticsToolActionCounts
}
|