Class BetaAnalyticsUserActor.Builder
-
- All Implemented Interfaces:
public final class BetaAnalyticsUserActor.BuilderA builder for BetaAnalyticsUserActor.
-
-
Method Summary
Modifier and Type Method Description final BetaAnalyticsUserActor.Builderdeleted(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). final BetaAnalyticsUserActor.Builderdeleted(JsonField<Boolean> deleted)Sets Builder.deleted to an arbitrary JSON value. final BetaAnalyticsUserActor.BuilderemailAddress(String emailAddress)The user's email address, including for users who are no longer members of the organization or its associated organizations. final BetaAnalyticsUserActor.BuilderemailAddress(Optional<String> emailAddress)Alias for calling Builder.emailAddress with emailAddress.orElse(null).final BetaAnalyticsUserActor.BuilderemailAddress(JsonField<String> emailAddress)Sets Builder.emailAddress to an arbitrary JSON value. final BetaAnalyticsUserActor.Buildername(String name)The user's full name. final BetaAnalyticsUserActor.Buildername(Optional<String> name)Alias for calling Builder.name with name.orElse(null).final BetaAnalyticsUserActor.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final BetaAnalyticsUserActor.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaAnalyticsUserActor.BuilderuserId(String userId)Tagged user ID. final BetaAnalyticsUserActor.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final BetaAnalyticsUserActor.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaAnalyticsUserActor.BuilderputAdditionalProperty(String key, JsonValue value)final BetaAnalyticsUserActor.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaAnalyticsUserActor.BuilderremoveAdditionalProperty(String key)final BetaAnalyticsUserActor.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaAnalyticsUserActorbuild()Returns an immutable instance of BetaAnalyticsUserActor. -
-
Method Detail
-
deleted
final BetaAnalyticsUserActor.Builder deleted(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_addressstays populated for removed users and is null when the account has been deleted.namefollows the rules described on that field. Theuser_idis still populated for reconciliation.
-
deleted
final BetaAnalyticsUserActor.Builder deleted(JsonField<Boolean> deleted)
Sets Builder.deleted to an arbitrary JSON value.
You should usually call Builder.deleted with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
emailAddress
final BetaAnalyticsUserActor.Builder emailAddress(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 (checkname).
-
emailAddress
final BetaAnalyticsUserActor.Builder emailAddress(Optional<String> emailAddress)
Alias for calling Builder.emailAddress with
emailAddress.orElse(null).
-
emailAddress
final BetaAnalyticsUserActor.Builder emailAddress(JsonField<String> emailAddress)
Sets Builder.emailAddress to an arbitrary JSON value.
You should usually call Builder.emailAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaAnalyticsUserActor.Builder name(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.
-
name
final BetaAnalyticsUserActor.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final BetaAnalyticsUserActor.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaAnalyticsUserActor.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("user_actor")This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final BetaAnalyticsUserActor.Builder userId(String userId)
Tagged user ID.
-
userId
final BetaAnalyticsUserActor.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaAnalyticsUserActor.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaAnalyticsUserActor.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaAnalyticsUserActor.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaAnalyticsUserActor.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaAnalyticsUserActor.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaAnalyticsUserActor build()
Returns an immutable instance of BetaAnalyticsUserActor.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.deleted() .emailAddress() .name() .userId()
-
-
-
-