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