Class AnalyticsProjectActivity
-
- All Implemented Interfaces:
public final class AnalyticsProjectActivityPer-project activity data for a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalyticsProjectActivity.BuilderA builder for AnalyticsProjectActivity.
-
Method Summary
Modifier and Type Method Description final Optional<OffsetDateTime>createdAt()Project creation timestamp in RFC 3339 format. final Optional<AnalyticsUser>createdBy()User who created the project. final Optional<Long>distinctConversationCount()Number of distinct conversations in the project. final LongdistinctUserCount()Number of distinct users who used the project on the requested day, or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values. final LongmessageCount()Number of messages sent in the project on the requested day final StringprojectId()Tagged project identifier (e.g. final StringprojectName()Name of the project final Optional<String>rbacGroupId()Tagged RBAC group identifier ( rbac_group_...), matching the spend-limits API spelling.final Optional<String>rbacGroupName()Resolved RBAC group display name, alongside rbac_group_idwhen name resolution is available.final Optional<String>userId()Tagged user identifier (e.g. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<AnalyticsUser>_createdBy()Returns the raw JSON value of createdBy. final JsonField<Long>_distinctConversationCount()Returns the raw JSON value of distinctConversationCount. final JsonField<Long>_distinctUserCount()Returns the raw JSON value of distinctUserCount. final JsonField<Long>_messageCount()Returns the raw JSON value of messageCount. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<String>_projectName()Returns the raw JSON value of projectName. final JsonField<String>_rbacGroupId()Returns the raw JSON value of rbacGroupId. final JsonField<String>_rbacGroupName()Returns the raw JSON value of rbacGroupName. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final AnalyticsProjectActivity.BuildertoBuilder()final AnalyticsProjectActivityvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnalyticsProjectActivity.Builderbuilder()Returns a mutable builder for constructing an instance of AnalyticsProjectActivity. -
-
Method Detail
-
createdAt
final Optional<OffsetDateTime> createdAt()
Project creation timestamp in RFC 3339 format. Null if the project was deleted before attribution was recorded.
-
createdBy
final Optional<AnalyticsUser> createdBy()
User who created the project. Null if the project was deleted before attribution was recorded, or if the creator's account no longer exists.
-
distinctConversationCount
final Optional<Long> distinctConversationCount()
Number of distinct conversations in the project. Null on aggregated rows where a distinct count cannot be computed.
-
distinctUserCount
final Long distinctUserCount()
Number of distinct users who used the project on the requested day, or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
-
messageCount
final Long messageCount()
Number of messages sent in the project on the requested day
-
projectName
final String projectName()
Name of the project
-
rbacGroupId
final Optional<String> rbacGroupId()
Tagged RBAC group identifier (
rbac_group_...), matching the spend-limits API spelling. Present only when the request grouped byrbac_group_id.
-
rbacGroupName
final Optional<String> rbacGroupName()
Resolved RBAC group display name, alongside
rbac_group_idwhen name resolution is available. Null if the group has been deleted or its name could not be resolved;rbac_group_idremains the stable key.
-
userId
final Optional<String> userId()
Tagged user identifier (e.g.
user_...). Present only when the request grouped byuser_id.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdBy
final JsonField<AnalyticsUser> _createdBy()
Returns the raw JSON value of createdBy.
Unlike createdBy, this method doesn't throw if the JSON field has an unexpected type.
-
_distinctConversationCount
final JsonField<Long> _distinctConversationCount()
Returns the raw JSON value of distinctConversationCount.
Unlike distinctConversationCount, this method doesn't throw if the JSON field has an unexpected type.
-
_distinctUserCount
final JsonField<Long> _distinctUserCount()
Returns the raw JSON value of distinctUserCount.
Unlike distinctUserCount, 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.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_projectName
final JsonField<String> _projectName()
Returns the raw JSON value of projectName.
Unlike projectName, this method doesn't throw if the JSON field has an unexpected type.
-
_rbacGroupId
final JsonField<String> _rbacGroupId()
Returns the raw JSON value of rbacGroupId.
Unlike rbacGroupId, this method doesn't throw if the JSON field has an unexpected type.
-
_rbacGroupName
final JsonField<String> _rbacGroupName()
Returns the raw JSON value of rbacGroupName.
Unlike rbacGroupName, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AnalyticsProjectActivity.Builder toBuilder()
-
validate
final AnalyticsProjectActivity 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 AnalyticsProjectActivity.Builder builder()
Returns a mutable builder for constructing an instance of AnalyticsProjectActivity.
The following fields are required:
.createdAt() .createdBy() .distinctConversationCount() .distinctUserCount() .messageCount() .projectId() .projectName()
-
-
-
-