Class BetaAnalyticsConnectorClaudeCodeMetrics
-
- All Implemented Interfaces:
public final class BetaAnalyticsConnectorClaudeCodeMetricsClaude Code activity metrics for a single connector on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsConnectorClaudeCodeMetrics.BuilderA builder for BetaAnalyticsConnectorClaudeCodeMetrics.
-
Method Summary
Modifier and Type Method Description final Optional<Long>distinctSessionConnectorUsedCount()Number of distinct Claude Code sessions in which the connector was used. final JsonField<Long>_distinctSessionConnectorUsedCount()Returns the raw JSON value of distinctSessionConnectorUsedCount. final Map<String, JsonValue>_additionalProperties()final BetaAnalyticsConnectorClaudeCodeMetrics.BuildertoBuilder()final BetaAnalyticsConnectorClaudeCodeMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsConnectorClaudeCodeMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsConnectorClaudeCodeMetrics. final static BetaAnalyticsConnectorClaudeCodeMetricsof(Long distinctSessionConnectorUsedCount)Returns an immutable instance of BetaAnalyticsConnectorClaudeCodeMetrics with the required distinctSessionConnectorUsedCount set to the given value. final static BetaAnalyticsConnectorClaudeCodeMetricsof(Long distinctSessionConnectorUsedCount)Alias for of. final static BetaAnalyticsConnectorClaudeCodeMetricsof(Optional<Long> distinctSessionConnectorUsedCount)Alias for calling of with distinctSessionConnectorUsedCount.orElse(null).-
-
Method Detail
-
distinctSessionConnectorUsedCount
final Optional<Long> distinctSessionConnectorUsedCount()
Number of distinct Claude Code sessions in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
_distinctSessionConnectorUsedCount
final JsonField<Long> _distinctSessionConnectorUsedCount()
Returns the raw JSON value of distinctSessionConnectorUsedCount.
Unlike distinctSessionConnectorUsedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAnalyticsConnectorClaudeCodeMetrics.Builder toBuilder()
-
validate
final BetaAnalyticsConnectorClaudeCodeMetrics 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 BetaAnalyticsConnectorClaudeCodeMetrics.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsConnectorClaudeCodeMetrics.
The following fields are required:
.distinctSessionConnectorUsedCount()
-
of
final static BetaAnalyticsConnectorClaudeCodeMetrics of(Long distinctSessionConnectorUsedCount)
Returns an immutable instance of BetaAnalyticsConnectorClaudeCodeMetrics with the required distinctSessionConnectorUsedCount set to the given value.
-
of
final static BetaAnalyticsConnectorClaudeCodeMetrics of(Long distinctSessionConnectorUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static BetaAnalyticsConnectorClaudeCodeMetrics of(Optional<Long> distinctSessionConnectorUsedCount)
Alias for calling of with
distinctSessionConnectorUsedCount.orElse(null).
-
-
-
-