Class BetaAnalyticsProjectActivity

    • Constructor Detail

    • 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<BetaAnalyticsUser> 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

      • projectId

         final String projectId()

        Tagged project identifier (e.g. claude_proj_...)

      • rbacGroupId

         final Optional<String> rbacGroupId()

        Tagged RBAC group identifier (rbac_group_...), matching the spend-limits API spelling. Present only when the request grouped by rbac_group_id.

      • rbacGroupName

         final Optional<String> rbacGroupName()

        Resolved RBAC group display name, alongside rbac_group_id when name resolution is available. Null if the group has been deleted or its name could not be resolved; rbac_group_id remains the stable key.

      • userId

         final Optional<String> userId()

        Tagged user identifier (e.g. user_...). Present only when the request grouped by user_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<BetaAnalyticsUser> _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.

      • validate

         final BetaAnalyticsProjectActivity 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.