Class AssetResponse
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetCatalogOMASAPIResponse
org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetResponse
- All Implemented Interfaces:
FFDCResponse
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 Summary
Constructors -
Method Summary
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
AssetResponse
public AssetResponse()
-
-
Method Details
-
getAsset
Returns the structure of an asset- Returns:
- the asset
-
setAsset
Setup the structure of an asset- Parameters:
asset
- the asset
-
equals
Description copied from class:FFDCResponseBase
Return comparison result based on the content of the properties.- Overrides:
equals
in classFFDCResponseBase
- Parameters:
o
- test object- Returns:
- result of comparison
-
canEqual
-
hashCode
public int hashCode()Description copied from class:FFDCResponseBase
Return hash code for this object- Overrides:
hashCode
in classFFDCResponseBase
- Returns:
- int hash code
-
toString
Description copied from class:FFDCResponseBase
JSON-like toString- Overrides:
toString
in classFFDCResponseBase
- Returns:
- string containing the property names and values
-