All Implemented Interfaces:
FFDCResponse

public class AssetResponse extends AssetCatalogOMASAPIResponse
AssetResponse is the response structure used on the Asset Catalog OMVS REST API calls that returns an asset object as a response.
  • Constructor Details

    • AssetResponse

      public AssetResponse()
      Default constructor.
  • Method Details

    • getAsset

      public Elements getAsset()
      Returns the structure of an asset.
      Returns:
      the asset
    • setAsset

      public void setAsset(Elements asset)
      Setup the structure of an asset.
      Parameters:
      asset - the asset
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class FFDCResponseBase
      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()
      Return hash code based on properties.
      Overrides:
      hashCode in class FFDCResponseBase
      Returns:
      int