Class DeleteProjectRoleActorsFromRoleOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteProjectRoleActorsFromRoleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteProjectRoleActorsFromRoleOperationSpec
extends Object
DeleteProjectRoleActorsFromRoleSpec
Specification for the DeleteProjectRoleActorsFromRole operation.
Delete default actors from project role
-
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
ConstructorsModifierConstructorDescriptionprotectedDeleteProjectRoleActorsFromRoleOperationSpec(Long id, String user, String groupId, String group) Constructs a validated instance ofDeleteProjectRoleActorsFromRoleOperationSpec.DeleteProjectRoleActorsFromRoleOperationSpec(Consumer<DeleteProjectRoleActorsFromRoleOperationSpec> spec) Constructs a validated instance ofDeleteProjectRoleActorsFromRoleOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteProjectRoleActorsFromRoleOperationSpec.DeleteProjectRoleActorsFromRoleOperationSpecBuilderbuilder()protected booleanboolean@Nullable Stringgroup()The group name of the group to be removed as a default actor.This parameter cannot be used with thegroupIdparameter.The group name of the group to be removed as a default actor.This parameter cannot be used with thegroupIdparameter.@Nullable StringgroupId()The group ID of the group to be removed as a default actor.The group ID of the group to be removed as a default actor.inthashCode()@NotNull Longid()The ID of the project role.The ID of the project role.toString()@Nullable Stringuser()The user account ID of the user to remove as a default actor.The user account ID of the user to remove as a default actor.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
-
DeleteProjectRoleActorsFromRoleOperationSpec
@Internal public DeleteProjectRoleActorsFromRoleOperationSpec(Consumer<DeleteProjectRoleActorsFromRoleOperationSpec> spec) Constructs a validated instance ofDeleteProjectRoleActorsFromRoleOperationSpec.- Parameters:
spec- the specification to process
-
DeleteProjectRoleActorsFromRoleOperationSpec
@Internal public DeleteProjectRoleActorsFromRoleOperationSpec(Long id, String user, String groupId, String group) Constructs a validated instance ofDeleteProjectRoleActorsFromRoleOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
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 as a default actor.groupId- The group ID of the group to be removed as a default actor. This parameter cannot be used with thegroupparameter.group- The group name of the group to be removed as a default actor.This parameter cannot be used with thegroupIdparameter. As a group's name can change, use ofgroupIdis recommended.
-
DeleteProjectRoleActorsFromRoleOperationSpec
protected DeleteProjectRoleActorsFromRoleOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteProjectRoleActorsFromRoleOperationSpec.DeleteProjectRoleActorsFromRoleOperationSpecBuilder builder() -
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 as a default actor. -
groupId
The group ID of the group to be removed as a default actor. This parameter cannot be used with thegroupparameter. -
group
The group name of the group to be removed as a default actor.This parameter cannot be used with thegroupIdparameter. As a group's name can change, use ofgroupIdis recommended. -
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 as a default actor.- Returns:
this.
-
groupId
The group ID of the group to be removed as a default actor. This parameter cannot be used with thegroupparameter.- Returns:
this.
-
group
The group name of the group to be removed as a default actor.This parameter cannot be used with thegroupIdparameter. As a group's name can change, use ofgroupIdis recommended.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-