Klasse UpdateWebhookSubscriptionOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateWebhookSubscriptionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateWebhookSubscriptionOperationSpec
extends Object
UpdateWebhookSubscriptionSpec
Specification for the UpdateWebhookSubscription operation.
Update a webhook subscription
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateWebhookSubscriptionOperationSpec(String id, WebhookSubscriptionUpdate webhookSubscriptionUpdate) Constructs a validated instance ofUpdateWebhookSubscriptionOperationSpec.Constructs a validated instance ofUpdateWebhookSubscriptionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable WebhookSubscriptionUpdatewebhookSubscriptionUpdate(@Nullable WebhookSubscriptionUpdate webhookSubscriptionUpdate)
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
UpdateWebhookSubscriptionOperationSpec
@Internal public UpdateWebhookSubscriptionOperationSpec(Consumer<UpdateWebhookSubscriptionOperationSpec> spec) Constructs a validated instance ofUpdateWebhookSubscriptionOperationSpec.- Parameter:
spec- the specification to process
-
UpdateWebhookSubscriptionOperationSpec
@Internal public UpdateWebhookSubscriptionOperationSpec(String id, WebhookSubscriptionUpdate webhookSubscriptionUpdate) Constructs a validated instance ofUpdateWebhookSubscriptionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.webhookSubscriptionUpdate-
-
UpdateWebhookSubscriptionOperationSpec
protected UpdateWebhookSubscriptionOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static UpdateWebhookSubscriptionOperationSpec.UpdateWebhookSubscriptionOperationSpecBuilder builder() -
id
The ID of the resource. -
webhookSubscriptionUpdate
-
id
The ID of the resource.- Gibt zurück:
this.
-
webhookSubscriptionUpdate
public UpdateWebhookSubscriptionOperationSpec webhookSubscriptionUpdate(@Nullable @Nullable WebhookSubscriptionUpdate webhookSubscriptionUpdate) - Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-