Class ImportOperationImpl
- All Implemented Interfaces:
ImportOperation
,io.vrap.rmf.base.client.ModelBase
Import Operation describes the import status of a specific resource.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The time when the ImportOperation was created.Contains an error if the import of the resource was not successful.The expiration time of the ImportOperation.getId()
The ID of the ImportOperation.The key of the importContainer.The last time When the ImportOperation was modified.The key of the resource.The version of the imported resource when the import was successful.getState()
The import status of the resource.In case of unresolved status this array will show the unresolved referencesThe version of the ImportOperation.int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) The time when the ImportOperation was created.void
setErrors
(ErrorObject... errors) Contains an error if the import of the resource was not successful.void
setErrors
(List<ErrorObject> errors) Contains an error if the import of the resource was not successful.void
setExpiresAt
(ZonedDateTime expiresAt) The expiration time of the ImportOperation.void
The ID of the ImportOperation.void
setImportContainerKey
(String importContainerKey) The key of the importContainer.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) The last time When the ImportOperation was modified.void
setResourceKey
(String resourceKey) The key of the resource.void
setResourceVersion
(Long resourceVersion) The version of the imported resource when the import was successful.void
setState
(ProcessingState state) The import status of the resource.void
setUnresolvedReferences
(UnresolvedReferences... unresolvedReferences) In case of unresolved status this array will show the unresolved referencesvoid
setUnresolvedReferences
(List<UnresolvedReferences> unresolvedReferences) In case of unresolved status this array will show the unresolved referencesvoid
setVersion
(Long version) The version of the ImportOperation.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.importoperations.ImportOperation
withImportOperation
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ImportOperationImpl
public ImportOperationImpl()create empty instance
-
-
Method Details
-
getVersion
The version of the ImportOperation.
- Specified by:
getVersion
in interfaceImportOperation
- Returns:
- version
-
getImportContainerKey
The key of the importContainer.
- Specified by:
getImportContainerKey
in interfaceImportOperation
- Returns:
- importContainerKey
-
getResourceKey
The key of the resource.
- Specified by:
getResourceKey
in interfaceImportOperation
- Returns:
- resourceKey
-
getId
The ID of the ImportOperation.
- Specified by:
getId
in interfaceImportOperation
- Returns:
- id
-
getState
The import status of the resource. Set to
rejected
orvalidationFailed
if the import of the resource was not successful.- Specified by:
getState
in interfaceImportOperation
- Returns:
- state
-
getResourceVersion
The version of the imported resource when the import was successful.
- Specified by:
getResourceVersion
in interfaceImportOperation
- Returns:
- resourceVersion
-
getErrors
Contains an error if the import of the resource was not successful. See Errors.
- Specified by:
getErrors
in interfaceImportOperation
- Returns:
- errors
-
getUnresolvedReferences
In case of unresolved status this array will show the unresolved references
- Specified by:
getUnresolvedReferences
in interfaceImportOperation
- Returns:
- unresolvedReferences
-
getCreatedAt
The time when the ImportOperation was created.
- Specified by:
getCreatedAt
in interfaceImportOperation
- Returns:
- createdAt
-
getLastModifiedAt
The last time When the ImportOperation was modified.
- Specified by:
getLastModifiedAt
in interfaceImportOperation
- Returns:
- lastModifiedAt
-
getExpiresAt
The expiration time of the ImportOperation.
- Specified by:
getExpiresAt
in interfaceImportOperation
- Returns:
- expiresAt
-
setVersion
Description copied from interface:ImportOperation
The version of the ImportOperation.
- Specified by:
setVersion
in interfaceImportOperation
- Parameters:
version
- value to be set
-
setImportContainerKey
Description copied from interface:ImportOperation
The key of the importContainer.
- Specified by:
setImportContainerKey
in interfaceImportOperation
- Parameters:
importContainerKey
- value to be set
-
setResourceKey
Description copied from interface:ImportOperation
The key of the resource.
- Specified by:
setResourceKey
in interfaceImportOperation
- Parameters:
resourceKey
- value to be set
-
setId
Description copied from interface:ImportOperation
The ID of the ImportOperation.
- Specified by:
setId
in interfaceImportOperation
- Parameters:
id
- value to be set
-
setState
Description copied from interface:ImportOperation
The import status of the resource. Set to
rejected
orvalidationFailed
if the import of the resource was not successful.- Specified by:
setState
in interfaceImportOperation
- Parameters:
state
- value to be set
-
setResourceVersion
Description copied from interface:ImportOperation
The version of the imported resource when the import was successful.
- Specified by:
setResourceVersion
in interfaceImportOperation
- Parameters:
resourceVersion
- value to be set
-
setErrors
Description copied from interface:ImportOperation
Contains an error if the import of the resource was not successful. See Errors.
- Specified by:
setErrors
in interfaceImportOperation
- Parameters:
errors
- values to be set
-
setErrors
Description copied from interface:ImportOperation
Contains an error if the import of the resource was not successful. See Errors.
- Specified by:
setErrors
in interfaceImportOperation
- Parameters:
errors
- values to be set
-
setUnresolvedReferences
Description copied from interface:ImportOperation
In case of unresolved status this array will show the unresolved references
- Specified by:
setUnresolvedReferences
in interfaceImportOperation
- Parameters:
unresolvedReferences
- values to be set
-
setUnresolvedReferences
Description copied from interface:ImportOperation
In case of unresolved status this array will show the unresolved references
- Specified by:
setUnresolvedReferences
in interfaceImportOperation
- Parameters:
unresolvedReferences
- values to be set
-
setCreatedAt
Description copied from interface:ImportOperation
The time when the ImportOperation was created.
- Specified by:
setCreatedAt
in interfaceImportOperation
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:ImportOperation
The last time When the ImportOperation was modified.
- Specified by:
setLastModifiedAt
in interfaceImportOperation
- Parameters:
lastModifiedAt
- value to be set
-
setExpiresAt
Description copied from interface:ImportOperation
The expiration time of the ImportOperation.
- Specified by:
setExpiresAt
in interfaceImportOperation
- Parameters:
expiresAt
- value to be set
-
equals
-
hashCode
-