Class GetCommentsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetCommentsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetCommentsOperationSpec
extends Object
GetCommentsSpec
Specification for the GetComments operation.
Get comments
-
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
ConstructorsModifierConstructorDescriptionprotectedGetCommentsOperationSpec(String issueIdOrKey, Long startAt, Integer maxResults, String orderBy, String expand) Constructs a validated instance ofGetCommentsOperationSpec.Constructs a validated instance ofGetCommentsOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information about comments in the response.Use [expand](#expansion) to include additional information about comments in the response.inthashCode()@NotNull StringThe ID or key of the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key of the issue.@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable StringorderBy()[Order](#ordering) the results by a field.[Order](#ordering) the results by a field.@Nullable LongstartAt()The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).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
-
GetCommentsOperationSpec
Constructs a validated instance ofGetCommentsOperationSpec.- Parameters:
spec- the specification to process
-
GetCommentsOperationSpec
@Internal public GetCommentsOperationSpec(String issueIdOrKey, Long startAt, Integer maxResults, String orderBy, String expand) Constructs a validated instance ofGetCommentsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey- The ID or key of the issue.startAt- The index of the first item to return in a page of results (page offset).maxResults- The maximum number of items to return per page.orderBy- [Order](#ordering) the results by a field. Accepts *created* to sort comments by their created date.expand- Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody, which returns the comment body rendered in HTML.
-
GetCommentsOperationSpec
protected GetCommentsOperationSpec()
-
-
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. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
orderBy
[Order](#ordering) the results by a field. Accepts *created* to sort comments by their created date. -
expand
Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody, which returns the comment body rendered in HTML. -
issueIdOrKey
The ID or key of the issue.- Returns:
this.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
orderBy
[Order](#ordering) the results by a field. Accepts *created* to sort comments by their created date.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody, which returns the comment body rendered in HTML.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-