Class ImportResourceImpl
java.lang.Object
com.commercetools.importapi.models.common.ImportResourceImpl
- All Implemented Interfaces:
ImportResource
,io.vrap.rmf.base.client.ModelBase
public class ImportResourceImpl
extends Object
implements ImportResource, io.vrap.rmf.base.client.ModelBase
A representation of the resource to import. Import resources are similar to draft types, but they only support key references. In general, import resources are more granular then regular resources. They are optimized for incremental updates and therefore have a slightly different structure.
-
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
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.common.ImportResource
withImportResource
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ImportResourceImpl
public ImportResourceImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier.
- Specified by:
getKey
in interfaceImportResource
- Returns:
- key
-
setKey
Description copied from interface:ImportResource
User-defined unique identifier.
- Specified by:
setKey
in interfaceImportResource
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode()
-