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