Class UpsertWebhookRequest

java.lang.Object
travel.wink.sdk.user.settings.model.UpsertWebhookRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:22:15.850489898+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class UpsertWebhookRequest extends Object
UpsertWebhookRequest
  • Field Details

  • Constructor Details

    • UpsertWebhookRequest

      public UpsertWebhookRequest()
  • Method Details

    • name

      public UpsertWebhookRequest name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Descriptive name of webhook.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • entity

      public UpsertWebhookRequest entity(@Nonnull ManagingEntity entity)
    • getEntity

      @Nonnull @NotNull @Valid public @NotNull @Valid ManagingEntity getEntity()
      Name of the application.
      Returns:
      entity
    • setEntity

      public void setEntity(@Nonnull ManagingEntity entity)
    • enabled

      public UpsertWebhookRequest enabled(@Nonnull Boolean enabled)
    • getEnabled

      @Nonnull @NotNull public @NotNull Boolean getEnabled()
      Whether this webhook is enabled.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(@Nonnull Boolean enabled)
    • eventUrl

      public UpsertWebhookRequest eventUrl(@Nonnull String eventUrl)
    • getEventUrl

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getEventUrl()
      The url to POST event to.
      Returns:
      eventUrl
    • setEventUrl

      public void setEventUrl(@Nonnull String eventUrl)
    • eventList

      public UpsertWebhookRequest eventList(@Nonnull List<Object> eventList)
    • addEventListItem

      public UpsertWebhookRequest addEventListItem(Object eventListItem)
    • getEventList

      @Nonnull @NotNull public @NotNull List<Object> getEventList()
      Get eventList
      Returns:
      eventList
    • setEventList

      public void setEventList(@Nonnull List<Object> eventList)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object