Class RemoveGroupOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveGroupOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveGroupOperationSpec
extends Object
RemoveGroupSpec
Specification for the RemoveGroup operation.
Remove 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
RemoveGroupOperationSpec
(String groupname, String groupId, String swapGroup, String swapGroupId) Constructs a validated instance ofRemoveGroupOperationSpec
.Constructs a validated instance ofRemoveGroupOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
groupId()
The ID of the group.The ID of the group.@Nullable String
int
hashCode()
@Nullable String
As a group's name can change, use ofswapGroupId
is recommended to identify a group.As a group's name can change, use ofswapGroupId
is recommended to identify a group.@Nullable String
The ID of the group to transfer restrictions to.swapGroupId
(@Nullable String swapGroupId) The ID of the group to transfer restrictions to.toString()
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
-
RemoveGroupOperationSpec
Constructs a validated instance ofRemoveGroupOperationSpec
.- Parameters:
spec
- the specification to process
-
RemoveGroupOperationSpec
@Internal public RemoveGroupOperationSpec(String groupname, String groupId, String swapGroup, String swapGroupId) Constructs a validated instance ofRemoveGroupOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
groupname
-groupId
- The ID of the group. This parameter cannot be used with thegroupname
parameter.swapGroup
- As a group's name can change, use ofswapGroupId
is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with theswapGroupId
parameter.swapGroupId
- The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with theswapGroup
parameter.
-
RemoveGroupOperationSpec
protected RemoveGroupOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
groupname
-
groupId
The ID of the group. This parameter cannot be used with thegroupname
parameter. -
swapGroup
As a group's name can change, use ofswapGroupId
is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with theswapGroupId
parameter. -
swapGroupId
The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with theswapGroup
parameter. -
groupname
- Returns:
this
.
-
groupId
The ID of the group. This parameter cannot be used with thegroupname
parameter.- Returns:
this
.
-
swapGroup
As a group's name can change, use ofswapGroupId
is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with theswapGroupId
parameter.- Returns:
this
.
-
swapGroupId
The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with theswapGroup
parameter.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-