Class ListWebhooksResponse


  • public class ListWebhooksResponse
    extends Object
    ListWebhooksResponse
    • Constructor Detail

      • ListWebhooksResponse

        public ListWebhooksResponse()
    • Method Detail

      • setLinks

        public void setLinks​(PaginationLinks links)
        links
        Parameters:
        links -
      • getAccountReference

        public String getAccountReference()
        Reference to the account.
        Returns:
        accountReference
      • setAccountReference

        public void setAccountReference​(String accountReference)
        Reference to the account.
        Parameters:
        accountReference -
      • getData

        public List<Webhook> getData()
        The list of webhooks configured for this account.
        Returns:
        data
      • setData

        public void setData​(List<Webhook> data)
        The list of webhooks configured for this account.
        Parameters:
        data -
      • getItemsTotal

        public Integer getItemsTotal()
        Total number of items.
        Returns:
        itemsTotal
      • setItemsTotal

        public void setItemsTotal​(Integer itemsTotal)
        Total number of items.
        Parameters:
        itemsTotal -
      • getPagesTotal

        public Integer getPagesTotal()
        Total number of pages.
        Returns:
        pagesTotal
      • setPagesTotal

        public void setPagesTotal​(Integer pagesTotal)
        Total number of pages.
        Parameters:
        pagesTotal -
      • equals

        public boolean equals​(Object o)
        Return true if this ListWebhooksResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static ListWebhooksResponse fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ListWebhooksResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ListWebhooksResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ListWebhooksResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ListWebhooksResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException