Class GetFailedWebhooksOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetFailedWebhooksOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetFailedWebhooksOperationSpec
extends Object
GetFailedWebhooksSpec
Specification for the GetFailedWebhooks operation.
Get failed webhooks
-
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
GetFailedWebhooksOperationSpec
(Integer maxResults, Long after) Constructs a validated instance ofGetFailedWebhooksOperationSpec
.Constructs a validated instance ofGetFailedWebhooksOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@Nullable Long
after()
The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.builder()
protected boolean
boolean
int
hashCode()
@Nullable Integer
The maximum number of webhooks to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of webhooks to return per page.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
-
GetFailedWebhooksOperationSpec
Constructs a validated instance ofGetFailedWebhooksOperationSpec
.- Parameters:
spec
- the specification to process
-
GetFailedWebhooksOperationSpec
Constructs a validated instance ofGetFailedWebhooksOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
maxResults
- The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page.after
- The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.
-
GetFailedWebhooksOperationSpec
protected GetFailedWebhooksOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
maxResults
The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page. -
after
The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch. -
maxResults
The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page.- Returns:
this
.
-
after
The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-