Class PostGroupUserByGroupIDV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PostGroupUserByGroupIDV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PostGroupUserByGroupIDV1OperationSpec
extends Object
PostGroupUserByGroupIDV1
Adds a user as a member in a group represented by its groupId **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: User must be a site admin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull StringgroupId()GroupId of the group whose membership is updatedGroupId of the group whose membership is updatedinthashCode()@NonNull AccountIdpayload()AccountId of the user who needs to be added as member.AccountId of the user who needs to be added as member.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
PostGroupUserByGroupIDV1OperationSpec
@Internal public PostGroupUserByGroupIDV1OperationSpec(Consumer<PostGroupUserByGroupIDV1OperationSpec> spec) Constructs a validated instance ofPostGroupUserByGroupIDV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
groupId
GroupId of the group whose membership is updated -
payload
AccountId of the user who needs to be added as member. -
groupId
GroupId of the group whose membership is updated- Returns:
this.
-
payload
AccountId of the user who needs to be added as member.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-