Package com.atlan.model.core
Class AssetMutationResponse
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.net.ApiResource
com.atlan.model.core.AssetMutationResponse
- All Implemented Interfaces:
AtlanResponseInterface
,Serializable
- Direct Known Subclasses:
AssetDeletionResponse
,AsyncCreationResponse
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Kind of mutation that was applied to any given asset.Nested classes/interfaces inherited from class com.atlan.net.ApiResource
ApiResource.RequestMethod
Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Modifier and TypeFieldDescriptionprotected AtlanClient
Connectivity to the Atlan tenant where the save operation was run.Fields inherited from class com.atlan.net.ApiResource
CHARSET
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getAssignedGuid
(Asset input) Retrieve the real GUID that was assigned to the asset provided in the request.Connectivity to the Atlan tenant where the save operation was run.Retrieve the list of assets that were created.getCreatedAssets
(Class<T> type) Retrieve the sublist of assets that were created, of the provided type.Retrieve the list of assets that were deleted.getDeletedAssets
(Class<T> type) Retrieve the sublist of assets that were deleted, of the provided type.Map of assigned unique identifiers for the created assets.Assets that were changed.getMutation
(Asset input) Determine the type of mutation that was applied to the asset provided in the request.Retrieve the list of assets that were partially updated.getPartiallyUpdatedAssets
(Class<T> type) Retrieve the sublist of assets that were partially updated, of the provided type.List of assets that were partially updated.<T extends Asset>
TgetResult
(T input) Retrieve the specific mutation result for the asset provided in the request.Retrieve the list of assets that were updated.getUpdatedAssets
(Class<T> type) Retrieve the sublist of assets that were updated, of the provided type.int
hashCode()
void
setClient
(AtlanClient client) Connectivity to the Atlan tenant where the save operation was run.toString()
Methods inherited from class com.atlan.net.ApiResource
checkNullTypedParams, createQueryString, createQueryString, getLastResponse, getRawJsonObject, request, request, request, request, request, request, request, requestPlainText, requestPlainText, setLastResponse, urlEncode, urlEncodeId
Methods inherited from class com.atlan.model.core.AtlanObject
setRawJsonObject, toJson
-
Field Details
-
client
Connectivity to the Atlan tenant where the save operation was run.
-
-
Constructor Details
-
AssetMutationResponse
public AssetMutationResponse()
-
-
Method Details
-
getCreatedAssets
Retrieve the list of assets that were created.- Returns:
- list of created assets, or an empty list if none were created
-
getCreatedAssets
Retrieve the sublist of assets that were created, of the provided type.- Type Parameters:
T
- the type of created assets to filter- Parameters:
type
- of assets to filter the created list by- Returns:
- list of created assets, only of the requested type, or an empty list of none of that type were created
-
getUpdatedAssets
Retrieve the list of assets that were updated.- Returns:
- list of updated assets, or an empty list of none were updated
-
getUpdatedAssets
Retrieve the sublist of assets that were updated, of the provided type.- Type Parameters:
T
- the type of updated assets to filter- Parameters:
type
- of assets to filter the updated list by- Returns:
- list of updated assets, only of the requested type, or an empty list of none of that type were updated
-
getPartiallyUpdatedAssets
Retrieve the list of assets that were partially updated. Note: this should only ever be populated by calls to the certain endpoints- Returns:
- list of partially updated assets, or an empty list of none were partially updated
-
getPartiallyUpdatedAssets
Retrieve the sublist of assets that were partially updated, of the provided type. Note: this should only ever be populated by calls to the certain endpoints- Type Parameters:
T
- the type of partially updated assets to filter- Parameters:
type
- of assets to filter the partially updated list by- Returns:
- list of partially updated assets, only of the requested type, or an empty list of none of that type were partially updated
-
getDeletedAssets
Retrieve the list of assets that were deleted.- Returns:
- list of deleted assets, or an empty list of none were deleted
-
getDeletedAssets
Retrieve the sublist of assets that were deleted, of the provided type.- Type Parameters:
T
- the type of deleted assets to filter- Parameters:
type
- of assets to filter the deleted list by- Returns:
- list of deleted assets, only of the requested type, or an empty list of none of that type were deleted
-
getAssignedGuid
Retrieve the real GUID that was assigned to the asset provided in the request.- Parameters:
input
- asset that was sent in the request that produced this mutation response- Returns:
- the GUID ultimately assigned to that asset, or null if the provided asset is not part of this response
-
getMutation
Determine the type of mutation that was applied to the asset provided in the request.- Parameters:
input
- asset that was sent in the request that produced this mutation response
-
getResult
Retrieve the specific mutation result for the asset provided in the request.- Type Parameters:
T
- the type of the asset- Parameters:
input
- asset that was sent in the request that produced this mutation response- Returns:
- the resulting asset from the request, or null if none was found (or if the asset was entirely unchanged)
-
getClient
Connectivity to the Atlan tenant where the save operation was run. -
getMutatedAssets
Assets that were changed. -
getGuidAssignments
Map of assigned unique identifiers for the created assets. -
getPartialUpdatedAssets
List of assets that were partially updated. This will only be populated by certain API calls, and actually duplicates the details you'll find inMutatedAssets.PARTIAL_UPDATE
for those same API calls. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classApiResource
-
setClient
Connectivity to the Atlan tenant where the save operation was run.
-