Class BetaOrganizationUser.Builder
-
- All Implemented Interfaces:
public final class BetaOrganizationUser.BuilderA builder for BetaOrganizationUser.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaOrganizationUser.Builder id(String id)
ID of the User.
-
id
final BetaOrganizationUser.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addedAt
final BetaOrganizationUser.Builder addedAt(OffsetDateTime addedAt)
RFC 3339 datetime string indicating when the User joined the Organization.
-
addedAt
final BetaOrganizationUser.Builder addedAt(JsonField<OffsetDateTime> addedAt)
Sets Builder.addedAt to an arbitrary JSON value.
You should usually call Builder.addedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final BetaOrganizationUser.Builder email(String email)
Email of the User.
-
email
final BetaOrganizationUser.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email 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 BetaOrganizationUser.Builder name(String name)
Name of the User.
-
name
final BetaOrganizationUser.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.
-
role
final BetaOrganizationUser.Builder role(BetaOrganizationRole role)
Organization role of the User.
-
role
final BetaOrganizationUser.Builder role(JsonField<BetaOrganizationRole> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed BetaOrganizationRole value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaOrganizationUser.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")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaOrganizationUser.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaOrganizationUser.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaOrganizationUser.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaOrganizationUser.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaOrganizationUser.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaOrganizationUser build()
Returns an immutable instance of BetaOrganizationUser.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .addedAt() .email() .name() .role()
-
-
-
-