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