Class GovernanceZoneListResponse

All Implemented Interfaces:
FFDCResponse

public class GovernanceZoneListResponse extends GovernanceProgramOMASAPIResponse
GovernanceZoneListResponse is the response structure used on the OMAS REST API calls that return a list of governance zones.
  • Constructor Details

    • GovernanceZoneListResponse

      public GovernanceZoneListResponse()
      Default constructor
    • GovernanceZoneListResponse

      public GovernanceZoneListResponse(GovernanceZoneListResponse template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getElementList

      public List<GovernanceZoneElement> getElementList()
      Return the resulting elements.
      Returns:
      list of elements
    • setGovernanceZone

      public void setGovernanceZone(List<GovernanceZoneElement> elements)
      Set up the resulting elements.
      Parameters:
      elements - list of results
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class GovernanceProgramOMASAPIResponse
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class FFDCResponseBase
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class FFDCResponseBase
      Returns:
      int hash code