Class RegisteredWebhook
java.lang.Object
io.github.primelib.jira4j.restv3.model.RegisteredWebhook
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RegisteredWebhook
extends Object
RegisteredWebhook
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Long
The ID of the webhook.Error messages specifying why the webhook creation failed. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RegisteredWebhook
(Long createdWebhookId, List<String> errors) Constructs a validated instance ofRegisteredWebhook
.Constructs a validated instance ofRegisteredWebhook
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The ID of the webhook.createdWebhookId
(Long createdWebhookId) The ID of the webhook.boolean
errors()
Error messages specifying why the webhook creation failed.Error messages specifying why the webhook creation failed.int
hashCode()
toString()
-
Field Details
-
createdWebhookId
The ID of the webhook. Returned if the webhook is created. -
errors
Error messages specifying why the webhook creation failed.
-
-
Constructor Details
-
RegisteredWebhook
Constructs a validated instance ofRegisteredWebhook
.- Parameters:
spec
- the specification to process
-
RegisteredWebhook
Constructs a validated instance ofRegisteredWebhook
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
RegisteredWebhook(Consumer)
instead.- Parameters:
createdWebhookId
- The ID of the webhook. Returned if the webhook is created.errors
- Error messages specifying why the webhook creation failed.
-
RegisteredWebhook
protected RegisteredWebhook()
-
-
Method Details
-
builder
-
createdWebhookId
The ID of the webhook. Returned if the webhook is created. -
errors
Error messages specifying why the webhook creation failed. -
createdWebhookId
The ID of the webhook. Returned if the webhook is created.- Returns:
this
.
-
errors
Error messages specifying why the webhook creation failed.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-