Class OMAGServerConfigResponse

All Implemented Interfaces:
FFDCResponse

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

    • OMAGServerConfigResponse

      public OMAGServerConfigResponse()
      Default constructor
  • Method Details

    • getOMAGServerConfig

      public OMAGServerConfig getOMAGServerConfig()
      Return the OMAGServerConfig object.
      Returns:
      OMAGServerConfig object
    • setOMAGServerConfig

      public void setOMAGServerConfig(OMAGServerConfig serverConfig)
      Set up the OMAGServerConfig object.
      Parameters:
      serverConfig - - OMAGServerConfig 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