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 Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RemoveUserFromGroupOperationSpec
(String accountId, String groupname, String groupId, String username) Constructs a validated instance ofRemoveUserFromGroupOperationSpec
.Constructs a validated instance ofRemoveUserFromGroupOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@NotNull String
The 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 boolean
boolean
@Nullable String
groupId()
The ID of the group.The ID of the group.@Nullable String
As a group's name can change, use ofgroupId
is recommended to identify a group.As a group's name can change, use ofgroupId
is recommended to identify a group.int
hashCode()
toString()
@Nullable String
username()
This parameter is no longer available.This parameter is no longer available.void
validate()
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 ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter.groupId
- The ID of the group. This parameter cannot be used with thegroupName
parameter.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 ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter. -
groupId
The ID of the group. This parameter cannot be used with thegroupName
parameter. -
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 ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter.- Returns:
this
.
-
groupId
The ID of the group. This parameter cannot be used with thegroupName
parameter.- 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
-