Class GroupCreateParams.Body
-
- All Implemented Interfaces:
public final class GroupCreateParams.BodyRequest payload for granting a group access to a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGroupCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringgroupId()Identifier of the group to add to the project. final Stringrole()Identifier of the project role to grant to the group. final JsonField<String>_groupId()Returns the raw JSON value of groupId. final JsonField<String>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final GroupCreateParams.Body.BuildertoBuilder()final GroupCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static GroupCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
_groupId
final JsonField<String> _groupId()
Returns the raw JSON value of groupId.
Unlike groupId, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<String> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final GroupCreateParams.Body.Builder toBuilder()
-
validate
final GroupCreateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static GroupCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.groupId() .role()
-
-
-
-