Class RemoveUserFromGroupOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveUserFromGroupOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveUserFromGroupOperationSpec
extends Object
RemoveUserFromGroupSpec
Specification for the RemoveUserFromGroup operation.
Remove user from group
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRemoveUserFromGroupOperationSpec(String accountId, String groupname, String groupId, String username) Constructs a validated instance ofRemoveUserFromGroupOperationSpec.Constructs a validated instance ofRemoveUserFromGroupOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.The account ID of the user, which uniquely identifies the user across all Atlassian products.builder()protected booleanboolean@Nullable StringgroupId()The ID of the group.The ID of the group.@Nullable StringAs a group's name can change, use ofgroupIdis recommended to identify a group.As a group's name can change, use ofgroupIdis recommended to identify a group.inthashCode()toString()@Nullable Stringusername()This parameter is no longer available.This parameter is no longer available.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
-
RemoveUserFromGroupOperationSpec
Constructs a validated instance ofRemoveUserFromGroupOperationSpec.- Parameters:
spec- the specification to process
-
RemoveUserFromGroupOperationSpec
@Internal public RemoveUserFromGroupOperationSpec(String accountId, String groupname, String groupId, String username) Constructs a validated instance ofRemoveUserFromGroupOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
accountId- The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.groupname- As a group's name can change, use ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter.groupId- The ID of the group. This parameter cannot be used with thegroupNameparameter.username- This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
-
RemoveUserFromGroupOperationSpec
protected RemoveUserFromGroupOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. -
groupname
As a group's name can change, use ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter. -
groupId
The ID of the group. This parameter cannot be used with thegroupNameparameter. -
username
This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.- Returns:
this.
-
groupname
As a group's name can change, use ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter.- Returns:
this.
-
groupId
The ID of the group. This parameter cannot be used with thegroupNameparameter.- Returns:
this.
-
username
This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-