Class BetaAnalyticsClaudeCodeMetrics
-
- All Implemented Interfaces:
public final class BetaAnalyticsClaudeCodeMetricsClaude Code activity metrics for a single user on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsClaudeCodeMetrics.BuilderA builder for BetaAnalyticsClaudeCodeMetrics.
-
Method Summary
Modifier and Type Method Description final BetaAnalyticsCoreCodeMetricscoreMetrics()Core Claude Code activity metrics for a single user on a given day. final BetaAnalyticsToolActionstoolActions()Per-tool accepted/rejected counts for Claude Code file modification tools. final JsonField<BetaAnalyticsCoreCodeMetrics>_coreMetrics()Returns the raw JSON value of coreMetrics. final JsonField<BetaAnalyticsToolActions>_toolActions()Returns the raw JSON value of toolActions. final Map<String, JsonValue>_additionalProperties()final BetaAnalyticsClaudeCodeMetrics.BuildertoBuilder()final BetaAnalyticsClaudeCodeMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsClaudeCodeMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsClaudeCodeMetrics. -
-
Method Detail
-
coreMetrics
final BetaAnalyticsCoreCodeMetrics coreMetrics()
Core Claude Code activity metrics for a single user on a given day.
-
toolActions
final BetaAnalyticsToolActions toolActions()
Per-tool accepted/rejected counts for Claude Code file modification tools.
-
_coreMetrics
final JsonField<BetaAnalyticsCoreCodeMetrics> _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<BetaAnalyticsToolActions> _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 BetaAnalyticsClaudeCodeMetrics.Builder toBuilder()
-
validate
final BetaAnalyticsClaudeCodeMetrics 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 BetaAnalyticsClaudeCodeMetrics.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsClaudeCodeMetrics.
The following fields are required:
.coreMetrics() .toolActions()
-
-
-
-