Class SetCommentPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SetCommentPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetCommentPropertyOperationSpec
extends Object
SetCommentPropertySpec
Specification for the SetCommentProperty operation.
Set comment property
-
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
ConstructorsModifierConstructorDescriptionprotectedSetCommentPropertyOperationSpec(String commentId, String propertyKey, Object body) Constructs a validated instance ofSetCommentPropertyOperationSpec.Constructs a validated instance ofSetCommentPropertyOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@NotNull Objectbody()builder()protected boolean@NotNull StringThe ID of the comment.The ID of the comment.booleaninthashCode()@NotNull StringThe key of the property.propertyKey(@NotNull String propertyKey) The key of the property.toString()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
-
SetCommentPropertyOperationSpec
Constructs a validated instance ofSetCommentPropertyOperationSpec.- Parameters:
spec- the specification to process
-
SetCommentPropertyOperationSpec
Constructs a validated instance ofSetCommentPropertyOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
commentId- The ID of the comment.propertyKey- The key of the property. The maximum length is 255 characters.body-
-
SetCommentPropertyOperationSpec
protected SetCommentPropertyOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
commentId
The ID of the comment. -
propertyKey
The key of the property. The maximum length is 255 characters. -
body
-
commentId
The ID of the comment.- Returns:
this.
-
propertyKey
The key of the property. The maximum length is 255 characters.- Returns:
this.
-
body
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-