Class ListAssociationsResponse


  • public class ListAssociationsResponse
    extends Object
    ListAssociationsResponse
    • Constructor Detail

      • ListAssociationsResponse

        public ListAssociationsResponse()
    • Method Detail

      • links

        public ListAssociationsResponse links​(Link links)
        links
        Parameters:
        links -
        Returns:
        the current ListAssociationsResponse instance, allowing for method chaining
      • getLinks

        public Link getLinks()
        Get links
        Returns:
        links
      • setLinks

        public void setLinks​(Link links)
        links
        Parameters:
        links -
      • data

        public ListAssociationsResponse data​(List<AssociationListing> data)
        Contains a list of associations and their corresponding details.
        Parameters:
        data - Contains a list of associations and their corresponding details.
        Returns:
        the current ListAssociationsResponse instance, allowing for method chaining
      • getData

        public List<AssociationListing> getData()
        Contains a list of associations and their corresponding details.
        Returns:
        data Contains a list of associations and their corresponding details.
      • setData

        public void setData​(List<AssociationListing> data)
        Contains a list of associations and their corresponding details.
        Parameters:
        data - Contains a list of associations and their corresponding details.
      • itemsTotal

        public ListAssociationsResponse itemsTotal​(Integer itemsTotal)
        The total number of items available.
        Parameters:
        itemsTotal - The total number of items available.
        Returns:
        the current ListAssociationsResponse instance, allowing for method chaining
      • getItemsTotal

        public Integer getItemsTotal()
        The total number of items available.
        Returns:
        itemsTotal The total number of items available.
      • setItemsTotal

        public void setItemsTotal​(Integer itemsTotal)
        The total number of items available.
        Parameters:
        itemsTotal - The total number of items available.
      • pagesTotal

        public ListAssociationsResponse pagesTotal​(Integer pagesTotal)
        The total number of pages available.
        Parameters:
        pagesTotal - The total number of pages available.
        Returns:
        the current ListAssociationsResponse instance, allowing for method chaining
      • getPagesTotal

        public Integer getPagesTotal()
        The total number of pages available.
        Returns:
        pagesTotal The total number of pages available.
      • setPagesTotal

        public void setPagesTotal​(Integer pagesTotal)
        The total number of pages available.
        Parameters:
        pagesTotal - The total number of pages available.
      • includeNullValues

        public ListAssociationsResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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