Class UtilityResponse


  • public class UtilityResponse
    extends Object
    UtilityResponse
    • Constructor Detail

      • UtilityResponse

        public UtilityResponse()
    • Method Detail

      • getOriginKeys

        public Map<String,​String> getOriginKeys()
        The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key.
        Returns:
        originKeys
      • setOriginKeys

        public void setOriginKeys​(Map<String,​String> originKeys)
        The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key.
        Parameters:
        originKeys -
      • equals

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

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

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

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