Class GetWorklogPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetWorklogPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorklogPropertyOperationSpec
extends Object
GetWorklogPropertySpec
Specification for the GetWorklogProperty operation.
Get 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
ConstructorsModifierConstructorDescriptionprotectedGetWorklogPropertyOperationSpec(String issueIdOrKey, String worklogId, String propertyKey) Constructs a validated instance ofGetWorklogPropertyOperationSpec.Constructs a validated instance ofGetWorklogPropertyOperationSpec. -
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
-
GetWorklogPropertyOperationSpec
Constructs a validated instance ofGetWorklogPropertyOperationSpec.- Parameters:
spec- the specification to process
-
GetWorklogPropertyOperationSpec
@Internal public GetWorklogPropertyOperationSpec(String issueIdOrKey, String worklogId, String propertyKey) Constructs a validated instance ofGetWorklogPropertyOperationSpec.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.
-
GetWorklogPropertyOperationSpec
protected GetWorklogPropertyOperationSpec()
-
-
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 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
-