Class SetWorklogPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SetWorklogPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetWorklogPropertyOperationSpec
extends Object
SetWorklogPropertySpec
Specification for the SetWorklogProperty operation.
Set worklog 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
ConstructorsModifierConstructorDescriptionprotectedSetWorklogPropertyOperationSpec(String issueIdOrKey, String worklogId, String propertyKey, Object body) Constructs a validated instance ofSetWorklogPropertyOperationSpec.Constructs a validated instance ofSetWorklogPropertyOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@NotNull Objectbody()builder()protected booleanbooleaninthashCode()@NotNull StringThe ID or key of the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key of the issue.@NotNull StringThe key of the issue property.propertyKey(@NotNull String propertyKey) The key of the issue property.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull StringThe ID of the worklog.The ID of the worklog.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
SetWorklogPropertyOperationSpec
Constructs a validated instance ofSetWorklogPropertyOperationSpec.- Parameters:
spec- the specification to process
-
SetWorklogPropertyOperationSpec
@Internal public SetWorklogPropertyOperationSpec(String issueIdOrKey, String worklogId, String propertyKey, Object body) Constructs a validated instance ofSetWorklogPropertyOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey- The ID or key of the issue.worklogId- The ID of the worklog.propertyKey- The key of the issue property. The maximum length is 255 characters.body-
-
SetWorklogPropertyOperationSpec
protected SetWorklogPropertyOperationSpec()
-
-
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. -
worklogId
The ID of the worklog. -
propertyKey
The key of the issue property. The maximum length is 255 characters. -
body
-
issueIdOrKey
The ID or key of the issue.- Returns:
this.
-
worklogId
The ID of the worklog.- Returns:
this.
-
propertyKey
The key of the issue property. The maximum length is 255 characters.- Returns:
this.
-
body
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-