Class: Anthropic::Models::Organization::AnalyticsClaudeTagMetrics
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::AnalyticsClaudeTagMetrics
- Defined in:
- lib/anthropic/models/organization/analytics_claude_tag_metrics.rb,
sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs
Instance Attribute Summary collapse
-
#active_day_count ⇒ Integer?
1 on a day the user was active in Claude Tag in Slack, otherwise 0.
-
#active_message_count ⇒ Integer?
Number of the user's Slack messages that made them active: @-mentions, direct messages, group direct message asks, and thread posts Claude answered.
Instance Method Summary collapse
-
#initialize(active_day_count:, active_message_count:) ⇒ AnalyticsClaudeTagMetrics
constructor
Claude Tag activity metrics for a single linked user on a given day.
- #to_hash ⇒ { active_day_count: Integer?, active_message_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(active_day_count:, active_message_count:) ⇒ AnalyticsClaudeTagMetrics
Claude Tag activity metrics for a single linked user on a given day.
Some parameter documentations has been truncated, see Anthropic::Models::Organization::AnalyticsClaudeTagMetrics for more details.
|
|
# File 'lib/anthropic/models/organization/analytics_claude_tag_metrics.rb', line 27
|
Instance Attribute Details
#active_day_count ⇒ Integer?
1 on a day the user was active in Claude Tag in Slack, otherwise 0. Summed over the window in date-range mode, so it is the number of active days; on grouped rows, the total of each member's active days. Null when Claude Tag data cannot be read for the request. Otherwise, 0 on a row filtered by project, and null on any other row when no covered day was measured.
15 |
# File 'lib/anthropic/models/organization/analytics_claude_tag_metrics.rb', line 15 required :active_day_count, Integer, nil?: true |
#active_message_count ⇒ Integer?
Number of the user's Slack messages that made them active: @-mentions, direct messages, group direct message asks, and thread posts Claude answered. Other messages are not counted. Null when Claude Tag data cannot be read for the request. Otherwise, 0 on a row filtered by project, and null on any other row when no covered day was measured.
25 |
# File 'lib/anthropic/models/organization/analytics_claude_tag_metrics.rb', line 25 required :active_message_count, Integer, nil?: true |
Instance Method Details
#to_hash ⇒ { active_day_count: Integer?, active_message_count: Integer? }
17 18 19 20 |
# File 'sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs', line 17
def to_hash: -> {
active_day_count: Integer?,
active_message_count: Integer?
}
|