Class AddVoteOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.AddVoteOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddVoteOperationSpec
extends Object
AddVoteSpec
Specification for the AddVote operation.
Add vote
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AddVoteOperationSpec
(String issueIdOrKey) Constructs a validated instance ofAddVoteOperationSpec
.Constructs a validated instance ofAddVoteOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
The ID or key of the issue.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue.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
-
AddVoteOperationSpec
Constructs a validated instance ofAddVoteOperationSpec
.- Parameters:
spec
- the specification to process
-
AddVoteOperationSpec
Constructs a validated instance ofAddVoteOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.
-
AddVoteOperationSpec
protected AddVoteOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-