Class AnalyticsClaudeCodeMetrics
-
- All Implemented Interfaces:
public final class AnalyticsClaudeCodeMetricsClaude Code activity metrics for a single user on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalyticsClaudeCodeMetrics.BuilderA builder for AnalyticsClaudeCodeMetrics.
-
Method Summary
Modifier and Type Method Description final AnalyticsCoreCodeMetricscoreMetrics()Core Claude Code activity metrics for a single user on a given day. final AnalyticsToolActionstoolActions()Per-tool accepted/rejected counts for Claude Code file modification tools. final JsonField<AnalyticsCoreCodeMetrics>_coreMetrics()Returns the raw JSON value of coreMetrics. final JsonField<AnalyticsToolActions>_toolActions()Returns the raw JSON value of toolActions. final Map<String, JsonValue>_additionalProperties()final AnalyticsClaudeCodeMetrics.BuildertoBuilder()final AnalyticsClaudeCodeMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnalyticsClaudeCodeMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of AnalyticsClaudeCodeMetrics. -
-
Method Detail
-
coreMetrics
final AnalyticsCoreCodeMetrics coreMetrics()
Core Claude Code activity metrics for a single user on a given day.
-
toolActions
final AnalyticsToolActions toolActions()
Per-tool accepted/rejected counts for Claude Code file modification tools.
-
_coreMetrics
final JsonField<AnalyticsCoreCodeMetrics> _coreMetrics()
Returns the raw JSON value of coreMetrics.
Unlike coreMetrics, this method doesn't throw if the JSON field has an unexpected type.
-
_toolActions
final JsonField<AnalyticsToolActions> _toolActions()
Returns the raw JSON value of toolActions.
Unlike toolActions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AnalyticsClaudeCodeMetrics.Builder toBuilder()
-
validate
final AnalyticsClaudeCodeMetrics validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static AnalyticsClaudeCodeMetrics.Builder builder()
Returns a mutable builder for constructing an instance of AnalyticsClaudeCodeMetrics.
The following fields are required:
.coreMetrics() .toolActions()
-
-
-
-