Class OrganizationUser.User.Builder
-
- All Implemented Interfaces:
public final class OrganizationUser.User.BuilderA builder for User.
-
-
Method Summary
-
-
Method Detail
-
id
final OrganizationUser.User.Builder id(String id)
-
id
final OrganizationUser.User.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.
-
object_
final OrganizationUser.User.Builder object_(JsonValue object_)
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.
-
banned
final OrganizationUser.User.Builder banned(Boolean banned)
-
banned
final OrganizationUser.User.Builder banned(Boolean banned)
Alias for Builder.banned.
This unboxed primitive overload exists for backwards compatibility.
-
banned
final OrganizationUser.User.Builder banned(Optional<Boolean> banned)
Alias for calling Builder.banned with
banned.orElse(null).
-
banned
final OrganizationUser.User.Builder banned(JsonField<Boolean> banned)
Sets Builder.banned to an arbitrary JSON value.
You should usually call Builder.banned with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bannedAt
final OrganizationUser.User.Builder bannedAt(Long bannedAt)
-
bannedAt
final OrganizationUser.User.Builder bannedAt(Long bannedAt)
Alias for Builder.bannedAt.
This unboxed primitive overload exists for backwards compatibility.
-
bannedAt
final OrganizationUser.User.Builder bannedAt(Optional<Long> bannedAt)
Alias for calling Builder.bannedAt with
bannedAt.orElse(null).
-
bannedAt
final OrganizationUser.User.Builder bannedAt(JsonField<Long> bannedAt)
Sets Builder.bannedAt to an arbitrary JSON value.
You should usually call Builder.bannedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final OrganizationUser.User.Builder email(String email)
-
email
final OrganizationUser.User.Builder email(Optional<String> email)
Alias for calling Builder.email with
email.orElse(null).
-
email
final OrganizationUser.User.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.
-
enabled
final OrganizationUser.User.Builder enabled(Boolean enabled)
-
enabled
final OrganizationUser.User.Builder enabled(Boolean enabled)
Alias for Builder.enabled.
This unboxed primitive overload exists for backwards compatibility.
-
enabled
final OrganizationUser.User.Builder enabled(Optional<Boolean> enabled)
Alias for calling Builder.enabled with
enabled.orElse(null).
-
enabled
final OrganizationUser.User.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final OrganizationUser.User.Builder name(String name)
-
name
final OrganizationUser.User.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final OrganizationUser.User.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.
-
picture
final OrganizationUser.User.Builder picture(String picture)
-
picture
final OrganizationUser.User.Builder picture(Optional<String> picture)
Alias for calling Builder.picture with
picture.orElse(null).
-
picture
final OrganizationUser.User.Builder picture(JsonField<String> picture)
Sets Builder.picture to an arbitrary JSON value.
You should usually call Builder.picture 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 OrganizationUser.User.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OrganizationUser.User.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OrganizationUser.User.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OrganizationUser.User.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OrganizationUser.User.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OrganizationUser.User build()
Returns an immutable instance of User.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-