Class AnalyticsSkillClaudeCodeMetrics
-
- All Implemented Interfaces:
public final class AnalyticsSkillClaudeCodeMetricsClaude Code activity metrics for a single skill on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalyticsSkillClaudeCodeMetrics.BuilderA builder for AnalyticsSkillClaudeCodeMetrics.
-
Method Summary
Modifier and Type Method Description final Optional<Long>distinctSessionSkillUsedCount()Number of distinct Claude Code sessions in which the skill was used. final JsonField<Long>_distinctSessionSkillUsedCount()Returns the raw JSON value of distinctSessionSkillUsedCount. final Map<String, JsonValue>_additionalProperties()final AnalyticsSkillClaudeCodeMetrics.BuildertoBuilder()final AnalyticsSkillClaudeCodeMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnalyticsSkillClaudeCodeMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of AnalyticsSkillClaudeCodeMetrics. final static AnalyticsSkillClaudeCodeMetricsof(Long distinctSessionSkillUsedCount)Returns an immutable instance of AnalyticsSkillClaudeCodeMetrics with the required distinctSessionSkillUsedCount set to the given value. final static AnalyticsSkillClaudeCodeMetricsof(Long distinctSessionSkillUsedCount)Alias for of. final static AnalyticsSkillClaudeCodeMetricsof(Optional<Long> distinctSessionSkillUsedCount)Alias for calling of with distinctSessionSkillUsedCount.orElse(null).-
-
Method Detail
-
distinctSessionSkillUsedCount
final Optional<Long> distinctSessionSkillUsedCount()
Number of distinct Claude Code sessions in which the skill was used. A skill counts as used only when it is explicitly activated — the model (or the user, via the skill's slash command) invokes it, reading its instructions into context as part of that activation. Skills that are merely installed or listed as available, or whose content reaches the context without an activation (preloaded, hook-injected, or read as a plain file), are not counted. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
_distinctSessionSkillUsedCount
final JsonField<Long> _distinctSessionSkillUsedCount()
Returns the raw JSON value of distinctSessionSkillUsedCount.
Unlike distinctSessionSkillUsedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AnalyticsSkillClaudeCodeMetrics.Builder toBuilder()
-
validate
final AnalyticsSkillClaudeCodeMetrics 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 AnalyticsSkillClaudeCodeMetrics.Builder builder()
Returns a mutable builder for constructing an instance of AnalyticsSkillClaudeCodeMetrics.
The following fields are required:
.distinctSessionSkillUsedCount()
-
of
final static AnalyticsSkillClaudeCodeMetrics of(Long distinctSessionSkillUsedCount)
Returns an immutable instance of AnalyticsSkillClaudeCodeMetrics with the required distinctSessionSkillUsedCount set to the given value.
-
of
final static AnalyticsSkillClaudeCodeMetrics of(Long distinctSessionSkillUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static AnalyticsSkillClaudeCodeMetrics of(Optional<Long> distinctSessionSkillUsedCount)
Alias for calling of with
distinctSessionSkillUsedCount.orElse(null).
-
-
-
-