Class WebhookListResponse

java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookListResponse

public class WebhookListResponse extends Object
WebhookListResponse

Response message for WebhookService.ListWebhooks.

  • Constructor Details

    • WebhookListResponse

      public WebhookListResponse(@Nullable String nextPageToken, @Nullable List<Webhook> webhooks)
    • WebhookListResponse

      public WebhookListResponse()
  • Method Details

    • nextPageToken

      public Optional<String> nextPageToken()
      A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
    • webhooks

      public Optional<List<Webhook>> webhooks()
      The webhooks.
    • builder

      public static WebhookListResponse.Builder builder()
    • withNextPageToken

      public WebhookListResponse withNextPageToken(@Nullable String nextPageToken)
      A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
    • withWebhooks

      public WebhookListResponse withWebhooks(@Nullable List<Webhook> webhooks)
      The webhooks.
    • 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