All Implemented Interfaces:
FFDCResponse

public class AssetResponse extends AssetCatalogOMASAPIResponse
AssetListResponse is the response structure used on the Asset Catalog OMAS REST API calls that returns a list of assets object as a response.
  • Constructor Details

    • AssetResponse

      public AssetResponse()
  • 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
    • equals

      public boolean equals(Object o)
      Description copied from class: FFDCResponseBase
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class FFDCResponseBase
      Parameters:
      o - test object
      Returns:
      result of comparison
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Description copied from class: FFDCResponseBase
      Return hash code for this object
      Overrides:
      hashCode in class FFDCResponseBase
      Returns:
      int hash code
    • toString

      public String toString()
      Description copied from class: FFDCResponseBase
      JSON-like toString
      Overrides:
      toString in class FFDCResponseBase
      Returns:
      string containing the property names and values