Class BetaAnalyticsUserActor

    • Constructor Detail

    • Method Detail

      • deleted

         final Boolean deleted()

        True when the account has been deleted, or when the user is no longer a member of the organization or its associated organizations (for example, their membership was removed or they were deprovisioned via your identity provider). email_address stays populated for removed users and is null when the account has been deleted. name follows the rules described on that field. The user_id is still populated for reconciliation.

      • emailAddress

         final Optional<String> emailAddress()

        The user's email address, including for users who are no longer members of the organization or its associated organizations. Null when the account has been deleted (check deleted) and for system-minted service accounts, which have no person's mailbox behind them (check name).

      • name

         final Optional<String> name()

        The user's full name. Null when the user has not set a name. Returns "Deleted User" when the account itself has been deleted, or when the user is no longer a member of the organization or its associated organizations and the organization has chosen to hide the names of removed users. Otherwise, the name stays populated for removed users. Rows for system-minted service accounts render the service name (for example, "Claude Security") or null.

      • _type

         final JsonValue _type()

        Actor type. Always "user_actor".

        Expected to always return the following:

        JsonValue.from("user_actor")

        However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).

      • _deleted

         final JsonField<Boolean> _deleted()

        Returns the raw JSON value of deleted.

        Unlike deleted, this method doesn't throw if the JSON field has an unexpected type.

      • _emailAddress

         final JsonField<String> _emailAddress()

        Returns the raw JSON value of emailAddress.

        Unlike emailAddress, this method doesn't throw if the JSON field has an unexpected type.

      • _name

         final JsonField<String> _name()

        Returns the raw JSON value of name.

        Unlike name, 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 BetaAnalyticsUserActor 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.