Class BasicServerPropertiesResponse

All Implemented Interfaces:
FFDCResponse

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

    • BasicServerPropertiesResponse

      public BasicServerPropertiesResponse()
      Default constructor
  • Method Details

    • getBasicServerProperties

      public BasicServerProperties getBasicServerProperties()
      Return the properties object.
      Returns:
      BasicServerProperties object
    • setBasicServerProperties

      public void setBasicServerProperties(BasicServerProperties basicServerProperties)
      Set up the properties object.
      Parameters:
      basicServerProperties - - properties
    • 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