Class UpdateSecurityLevelOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateSecurityLevelOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateSecurityLevelOperationSpec
extends Object
UpdateSecurityLevelSpec
Specification for the UpdateSecurityLevel operation.
Update 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
UpdateSecurityLevelOperationSpec
(String schemeId, String levelId, UpdateIssueSecurityLevelDetails updateIssueSecurityLevelDetails) Constructs a validated instance ofUpdateSecurityLevelOperationSpec
.Constructs a validated instance ofUpdateSecurityLevelOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
levelId()
The ID of the issue security level to update.The ID of the issue security level to update.@NotNull String
schemeId()
The ID of the issue security scheme level belongs to.The ID of the issue security scheme level belongs to.toString()
@NotNull UpdateIssueSecurityLevelDetails
updateIssueSecurityLevelDetails
(@NotNull UpdateIssueSecurityLevelDetails updateIssueSecurityLevelDetails) 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
-
UpdateSecurityLevelOperationSpec
Constructs a validated instance ofUpdateSecurityLevelOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateSecurityLevelOperationSpec
@Internal public UpdateSecurityLevelOperationSpec(String schemeId, String levelId, UpdateIssueSecurityLevelDetails updateIssueSecurityLevelDetails) Constructs a validated instance ofUpdateSecurityLevelOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
schemeId
- The ID of the issue security scheme level belongs to.levelId
- The ID of the issue security level to update.updateIssueSecurityLevelDetails
-
-
UpdateSecurityLevelOperationSpec
protected UpdateSecurityLevelOperationSpec()
-
-
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 level belongs to. -
levelId
The ID of the issue security level to update. -
updateIssueSecurityLevelDetails
-
schemeId
The ID of the issue security scheme level belongs to.- Returns:
this
.
-
levelId
The ID of the issue security level to update.- Returns:
this
.
-
updateIssueSecurityLevelDetails
public UpdateSecurityLevelOperationSpec updateIssueSecurityLevelDetails(@NotNull @NotNull UpdateIssueSecurityLevelDetails updateIssueSecurityLevelDetails) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-