Class DeleteActorOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteActorOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteActorOperationSpec
extends Object
DeleteActorSpec
Specification for the DeleteActor operation.
Delete actors from project role
-
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
Constructs a validated instance ofDeleteActorOperationSpec
.Constructs a validated instance ofDeleteActorOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
group()
The name of the group to remove from the project role.The name of the group to remove from the project role.@Nullable String
groupId()
The ID of the group to remove from the project role.The ID of the group to remove from the project role.int
hashCode()
@NotNull Long
id()
The ID of the project role.The ID of the project role.@NotNull String
The project ID or project key (case sensitive).projectIdOrKey
(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).toString()
@Nullable String
user()
The user account ID of the user to remove from the project role.The user account ID of the user to remove from the project role.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
-
DeleteActorOperationSpec
Constructs a validated instance ofDeleteActorOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteActorOperationSpec
@Internal public DeleteActorOperationSpec(String projectIdOrKey, Long id, String user, String group, String groupId) Constructs a validated instance ofDeleteActorOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIdOrKey
- The project ID or project key (case sensitive).id
- The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.user
- The user account ID of the user to remove from the project role.group
- The name of the group to remove from the project role. This parameter cannot be used with thegroupId
parameter. As a group's name can change, use ofgroupId
is recommended.groupId
- The ID of the group to remove from the project role. This parameter cannot be used with thegroup
parameter.
-
DeleteActorOperationSpec
protected DeleteActorOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectIdOrKey
The project ID or project key (case sensitive). -
id
The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. -
user
The user account ID of the user to remove from the project role. -
group
The name of the group to remove from the project role. This parameter cannot be used with thegroupId
parameter. As a group's name can change, use ofgroupId
is recommended. -
groupId
The ID of the group to remove from the project role. This parameter cannot be used with thegroup
parameter. -
projectIdOrKey
The project ID or project key (case sensitive).- Returns:
this
.
-
id
The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.- Returns:
this
.
-
user
The user account ID of the user to remove from the project role.- Returns:
this
.
-
group
The name of the group to remove from the project role. This parameter cannot be used with thegroupId
parameter. As a group's name can change, use ofgroupId
is recommended.- Returns:
this
.
-
groupId
The ID of the group to remove from the project role. This parameter cannot be used with thegroup
parameter.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-