Class GetWorklogOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetWorklogOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorklogOperationSpec
extends Object
GetWorklogSpec
Specification for the GetWorklog operation.
Get worklog
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetWorklogOperationSpec
(String issueIdOrKey, String id, String expand) Constructs a validated instance ofGetWorklogOperationSpec
.Constructs a validated instance ofGetWorklogOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about work logs in the response.Use [expand](#expansion) to include additional information about work logs in the response.int
hashCode()
@NotNull String
id()
The ID of the worklog.The ID of the worklog.@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
-
GetWorklogOperationSpec
Constructs a validated instance ofGetWorklogOperationSpec
.- Parameters:
spec
- the specification to process
-
GetWorklogOperationSpec
Constructs a validated instance ofGetWorklogOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.id
- The ID of the worklog.expand
- Use [expand](#expansion) to include additional information about work logs in the response. This parameter acceptsproperties
, which returns worklog properties.
-
GetWorklogOperationSpec
protected GetWorklogOperationSpec()
-
-
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. -
id
The ID of the worklog. -
expand
Use [expand](#expansion) to include additional information about work logs in the response. This parameter acceptsproperties
, which returns worklog properties. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
id
The ID of the worklog.- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information about work logs in the response. This parameter acceptsproperties
, which returns worklog properties.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-