Class: Anthropic::Models::Organization::AnalyticsToolActionCounts
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::AnalyticsToolActionCounts
- Defined in:
- lib/anthropic/models/organization/analytics_tool_action_counts.rb,
sig/anthropic/models/organization/analytics_tool_action_counts.rbs
Instance Attribute Summary collapse
-
#accepted_count ⇒ Integer
Number of tool proposals accepted.
-
#rejected_count ⇒ Integer
Number of tool proposals rejected.
Instance Method Summary collapse
-
#initialize(accepted_count:, rejected_count:) ⇒ AnalyticsToolActionCounts
constructor
Accepted/rejected counts for a single Claude Code tool type.
- #to_hash ⇒ { accepted_count: Integer, rejected_count: Integer }
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(accepted_count:, rejected_count:) ⇒ AnalyticsToolActionCounts
Accepted/rejected counts for a single Claude Code tool type.
|
|
# File 'lib/anthropic/models/organization/analytics_tool_action_counts.rb', line 19
|
Instance Attribute Details
#accepted_count ⇒ Integer
Number of tool proposals accepted
11 |
# File 'lib/anthropic/models/organization/analytics_tool_action_counts.rb', line 11 required :accepted_count, Integer |
#rejected_count ⇒ Integer
Number of tool proposals rejected
17 |
# File 'lib/anthropic/models/organization/analytics_tool_action_counts.rb', line 17 required :rejected_count, Integer |
Instance Method Details
#to_hash ⇒ { accepted_count: Integer, rejected_count: Integer }
17 |
# File 'sig/anthropic/models/organization/analytics_tool_action_counts.rbs', line 17
def to_hash: -> { accepted_count: Integer, rejected_count: Integer }
|