Class RoleCreateResponse.Builder
-
- All Implemented Interfaces:
public final class RoleCreateResponse.BuilderA builder for RoleCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
object_
final RoleCreateResponse.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.role")This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final RoleCreateResponse.Builder role(Role role)
Details about a role that can be assigned through the public Roles API.
-
role
final RoleCreateResponse.Builder role(JsonField<Role> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed Role value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
user
final RoleCreateResponse.Builder user(OrganizationUser user)
Represents an individual
userwithin an organization.
-
user
final RoleCreateResponse.Builder user(JsonField<OrganizationUser> user)
Sets Builder.user to an arbitrary JSON value.
You should usually call Builder.user with a well-typed OrganizationUser value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RoleCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RoleCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RoleCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RoleCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RoleCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RoleCreateResponse build()
Returns an immutable instance of RoleCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.role() .user()
-
-
-
-