Klasse UpdateWebhookOperationSpec

java.lang.Object
io.github.primelib.webmethodsapigateway4j.spec.UpdateWebhookOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class UpdateWebhookOperationSpec extends Object
UpdateWebhookSpec

Specification for the UpdateWebhook operation.

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • UpdateWebhookOperationSpec

      @Internal public UpdateWebhookOperationSpec(Consumer<UpdateWebhookOperationSpec> spec)
      Constructs a validated instance of UpdateWebhookOperationSpec.
      Parameter:
      spec - the specification to process
    • UpdateWebhookOperationSpec

      @Internal public UpdateWebhookOperationSpec(String id, Webhook body)
      Constructs a validated instance of UpdateWebhookOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      id - The path parameter specifies the id of an webhook whose detail is to be updated in API Gateway.
      body - This parameter describes the request payload of webhook that is to be updated in API Gateway.
    • UpdateWebhookOperationSpec

      protected UpdateWebhookOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • id

      @NotNull public @NotNull String id()
      The path parameter specifies the id of an webhook whose detail is to be updated in API Gateway.
    • body

      @NotNull public @NotNull Webhook body()
      This parameter describes the request payload of webhook that is to be updated in API Gateway.
    • id

      public UpdateWebhookOperationSpec id(@NotNull @NotNull String id)
      The path parameter specifies the id of an webhook whose detail is to be updated in API Gateway.
      Gibt zurück:
      this.
    • body

      public UpdateWebhookOperationSpec body(@NotNull @NotNull Webhook body)
      This parameter describes the request payload of webhook that is to be updated in API Gateway.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object