Class RemoveLevelOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.RemoveLevelOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveLevelOperationSpec
extends Object
RemoveLevelSpec
Specification for the RemoveLevel operation.
Remove issue security level
-
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
RemoveLevelOperationSpec
(String schemeId, String levelId, String replaceWith) Constructs a validated instance ofRemoveLevelOperationSpec
.Constructs a validated instance ofRemoveLevelOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
levelId()
The ID of the issue security level to remove.The ID of the issue security level to remove.@Nullable String
The ID of the issue security level that will replace the currently selected level.replaceWith
(@Nullable String replaceWith) The ID of the issue security level that will replace the currently selected level.@NotNull String
schemeId()
The ID of the issue security scheme.The ID of the issue security scheme.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
-
RemoveLevelOperationSpec
Constructs a validated instance ofRemoveLevelOperationSpec
.- Parameters:
spec
- the specification to process
-
RemoveLevelOperationSpec
Constructs a validated instance ofRemoveLevelOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
schemeId
- The ID of the issue security scheme.levelId
- The ID of the issue security level to remove.replaceWith
- The ID of the issue security level that will replace the currently selected level.
-
RemoveLevelOperationSpec
protected RemoveLevelOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
schemeId
The ID of the issue security scheme. -
levelId
The ID of the issue security level to remove. -
replaceWith
The ID of the issue security level that will replace the currently selected level. -
schemeId
The ID of the issue security scheme.- Returns:
this
.
-
levelId
The ID of the issue security level to remove.- Returns:
this
.
-
replaceWith
The ID of the issue security level that will replace the currently selected level.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-