Class ViewServiceConfigResponse

All Implemented Interfaces:
FFDCResponse

public class ViewServiceConfigResponse extends AdminServicesAPIResponse
ViewServiceConfigResponse is the response structure used on the OMAG REST API calls that returns a ViewServiceConfig object as a response.
  • Constructor Details

    • ViewServiceConfigResponse

      public ViewServiceConfigResponse()
      Default constructor
  • Method Details

    • getConfig

      public ViewServiceConfig getConfig()
      Return the config object.
      Returns:
      ViewServiceConfig object
    • setConfig

      public void setConfig(ViewServiceConfig config)
      Set up the config object.
      Parameters:
      config - - ViewServiceConfig object
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class AdminServicesAPIResponse
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class FFDCResponseBase
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class FFDCResponseBase
      Returns:
      int hash code