Class BetaAnalyticsClaudeCodeMetrics.Builder
-
- All Implemented Interfaces:
public final class BetaAnalyticsClaudeCodeMetrics.BuilderA builder for BetaAnalyticsClaudeCodeMetrics.
-
-
Method Summary
-
-
Method Detail
-
coreMetrics
final BetaAnalyticsClaudeCodeMetrics.Builder coreMetrics(BetaAnalyticsCoreCodeMetrics coreMetrics)
Core Claude Code activity metrics for a single user on a given day.
-
coreMetrics
final BetaAnalyticsClaudeCodeMetrics.Builder coreMetrics(JsonField<BetaAnalyticsCoreCodeMetrics> coreMetrics)
Sets Builder.coreMetrics to an arbitrary JSON value.
You should usually call Builder.coreMetrics with a well-typed BetaAnalyticsCoreCodeMetrics value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
toolActions
final BetaAnalyticsClaudeCodeMetrics.Builder toolActions(BetaAnalyticsToolActions toolActions)
Per-tool accepted/rejected counts for Claude Code file modification tools.
-
toolActions
final BetaAnalyticsClaudeCodeMetrics.Builder toolActions(JsonField<BetaAnalyticsToolActions> toolActions)
Sets Builder.toolActions to an arbitrary JSON value.
You should usually call Builder.toolActions with a well-typed BetaAnalyticsToolActions value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaAnalyticsClaudeCodeMetrics.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaAnalyticsClaudeCodeMetrics.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaAnalyticsClaudeCodeMetrics.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaAnalyticsClaudeCodeMetrics.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaAnalyticsClaudeCodeMetrics.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaAnalyticsClaudeCodeMetrics build()
Returns an immutable instance of BetaAnalyticsClaudeCodeMetrics.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.coreMetrics() .toolActions()
-
-
-
-