Class LocalRepositoryConfigResponse

All Implemented Interfaces:
FFDCResponse

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

    • LocalRepositoryConfigResponse

      public LocalRepositoryConfigResponse()
      Default constructor
  • Method Details

    • getConfig

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

      public void setConfig(LocalRepositoryConfig config)
      Set up the config object.
      Parameters:
      config - - LocalRepositoryConfig 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