Class AnalyticsConnectorClaudeCodeMetrics
-
- All Implemented Interfaces:
public final class AnalyticsConnectorClaudeCodeMetricsClaude Code activity metrics for a single connector on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalyticsConnectorClaudeCodeMetrics.BuilderA builder for AnalyticsConnectorClaudeCodeMetrics.
-
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 AnalyticsConnectorClaudeCodeMetrics.BuildertoBuilder()final AnalyticsConnectorClaudeCodeMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnalyticsConnectorClaudeCodeMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of AnalyticsConnectorClaudeCodeMetrics. final static AnalyticsConnectorClaudeCodeMetricsof(Long distinctSessionConnectorUsedCount)Returns an immutable instance of AnalyticsConnectorClaudeCodeMetrics with the required distinctSessionConnectorUsedCount set to the given value. final static AnalyticsConnectorClaudeCodeMetricsof(Long distinctSessionConnectorUsedCount)Alias for of. final static AnalyticsConnectorClaudeCodeMetricsof(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 AnalyticsConnectorClaudeCodeMetrics.Builder toBuilder()
-
validate
final AnalyticsConnectorClaudeCodeMetrics 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 AnalyticsConnectorClaudeCodeMetrics.Builder builder()
Returns a mutable builder for constructing an instance of AnalyticsConnectorClaudeCodeMetrics.
The following fields are required:
.distinctSessionConnectorUsedCount()
-
of
final static AnalyticsConnectorClaudeCodeMetrics of(Long distinctSessionConnectorUsedCount)
Returns an immutable instance of AnalyticsConnectorClaudeCodeMetrics with the required distinctSessionConnectorUsedCount set to the given value.
-
of
final static AnalyticsConnectorClaudeCodeMetrics of(Long distinctSessionConnectorUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static AnalyticsConnectorClaudeCodeMetrics of(Optional<Long> distinctSessionConnectorUsedCount)
Alias for calling of with
distinctSessionConnectorUsedCount.orElse(null).
-
-
-
-