Class DeleteWorklogPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteWorklogPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteWorklogPropertyOperationSpec
extends Object
DeleteWorklogPropertySpec
Specification for the DeleteWorklogProperty operation.
Delete 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
ConstructorsModifierConstructorDescriptionprotectedDeleteWorklogPropertyOperationSpec(String issueIdOrKey, String worklogId, String propertyKey) Constructs a validated instance ofDeleteWorklogPropertyOperationSpec.Constructs a validated instance ofDeleteWorklogPropertyOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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 property.propertyKey(@NotNull String propertyKey) The key of the 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
-
DeleteWorklogPropertyOperationSpec
@Internal public DeleteWorklogPropertyOperationSpec(Consumer<DeleteWorklogPropertyOperationSpec> spec) Constructs a validated instance ofDeleteWorklogPropertyOperationSpec.- Parameters:
spec- the specification to process
-
DeleteWorklogPropertyOperationSpec
@Internal public DeleteWorklogPropertyOperationSpec(String issueIdOrKey, String worklogId, String propertyKey) Constructs a validated instance ofDeleteWorklogPropertyOperationSpec.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 property.
-
DeleteWorklogPropertyOperationSpec
protected DeleteWorklogPropertyOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteWorklogPropertyOperationSpec.DeleteWorklogPropertyOperationSpecBuilder builder() -
issueIdOrKey
The ID or key of the issue. -
worklogId
The ID of the worklog. -
propertyKey
The key of the property. -
issueIdOrKey
The ID or key of the issue.- Returns:
this.
-
worklogId
The ID of the worklog.- Returns:
this.
-
propertyKey
The key of the property.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-