Class Href


  • public class Href
    extends Object
    Href
    • Constructor Detail

      • Href

        public Href()
    • Method Detail

      • getHref

        public String getHref()
        Get href
        Returns:
        href
      • setHref

        public void setHref​(String href)
        href
        Parameters:
        href -
      • equals

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

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

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

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