Class BetaAnalyticsDesignMetrics
-
- All Implemented Interfaces:
public final class BetaAnalyticsDesignMetricsClaude Design activity metrics for a single user on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsDesignMetrics.BuilderA builder for BetaAnalyticsDesignMetrics.
-
Method Summary
Modifier and Type Method Description final LongdistinctProjectsCreatedCount()Number of distinct Claude Design projects created. final Optional<Long>distinctProjectsUsedCount()Number of distinct Claude Design projects the user worked in. final Optional<Long>distinctSessionCount()Number of distinct Claude Design sessions. final LongmessageCount()Number of messages sent in Claude Design sessions final JsonField<Long>_distinctProjectsCreatedCount()Returns the raw JSON value of distinctProjectsCreatedCount. final JsonField<Long>_distinctProjectsUsedCount()Returns the raw JSON value of distinctProjectsUsedCount. final JsonField<Long>_distinctSessionCount()Returns the raw JSON value of distinctSessionCount. final JsonField<Long>_messageCount()Returns the raw JSON value of messageCount. final Map<String, JsonValue>_additionalProperties()final BetaAnalyticsDesignMetrics.BuildertoBuilder()final BetaAnalyticsDesignMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsDesignMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsDesignMetrics. -
-
Method Detail
-
distinctProjectsCreatedCount
final Long distinctProjectsCreatedCount()
Number of distinct Claude Design projects created. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
-
distinctProjectsUsedCount
final Optional<Long> distinctProjectsUsedCount()
Number of distinct Claude Design projects the user worked in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
distinctSessionCount
final Optional<Long> distinctSessionCount()
Number of distinct Claude Design sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
messageCount
final Long messageCount()
Number of messages sent in Claude Design sessions
-
_distinctProjectsCreatedCount
final JsonField<Long> _distinctProjectsCreatedCount()
Returns the raw JSON value of distinctProjectsCreatedCount.
Unlike distinctProjectsCreatedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_distinctProjectsUsedCount
final JsonField<Long> _distinctProjectsUsedCount()
Returns the raw JSON value of distinctProjectsUsedCount.
Unlike distinctProjectsUsedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_distinctSessionCount
final JsonField<Long> _distinctSessionCount()
Returns the raw JSON value of distinctSessionCount.
Unlike distinctSessionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_messageCount
final JsonField<Long> _messageCount()
Returns the raw JSON value of messageCount.
Unlike messageCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaAnalyticsDesignMetrics.Builder toBuilder()
-
validate
final BetaAnalyticsDesignMetrics 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 BetaAnalyticsDesignMetrics.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsDesignMetrics.
The following fields are required:
.distinctProjectsCreatedCount() .distinctProjectsUsedCount() .distinctSessionCount() .messageCount()
-
-
-
-