Package model

Class ListLinks


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class ListLinks
    extends Object
    For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
    • Constructor Detail

      • ListLinks

        public ListLinks()
    • Method Detail

      • putAdditionalProperty

        public ListLinks putAdditionalProperty​(String key,
                                               Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Return the additional (undeclared) property.
      • getAdditionalProperty

        public Object getAdditionalProperty​(String key)
        Return the additional (undeclared) property with the specified name.
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to ListLinks
      • fromJson

        public static ListLinks fromJson​(String jsonString)
                                  throws IOException
        Create an instance of ListLinks given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ListLinks
        Throws:
        IOException - if the JSON string is invalid with respect to ListLinks
      • toJson

        public String toJson()
        Convert an instance of ListLinks to an JSON string
        Returns:
        JSON string