Class TypeImportRequestImpl
java.lang.Object
com.commercetools.importapi.models.importrequests.TypeImportRequestImpl
- All Implemented Interfaces:
ImportRequest
,TypeImportRequest
,io.vrap.rmf.base.client.ModelBase
public class TypeImportRequestImpl
extends Object
implements TypeImportRequest, io.vrap.rmf.base.client.ModelBase
The request body to import Types. Contains data for Types to be created or updated in a Project.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.importrequests.TypeImportRequest
TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The type import resources of this request.getType()
The resource types that can be imported.int
hashCode()
void
setResources
(TypeImport... resources) The type import resources of this request.void
setResources
(List<TypeImport> resources) The type import resources of this request.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.importrequests.ImportRequest
withImportRequest
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.importrequests.TypeImportRequest
withTypeImportRequest
-
Constructor Details
-
TypeImportRequestImpl
public TypeImportRequestImpl()create empty instance
-
-
Method Details
-
getType
The resource types that can be imported.
- Specified by:
getType
in interfaceImportRequest
- Returns:
- type
-
getResources
The type import resources of this request.
- Specified by:
getResources
in interfaceTypeImportRequest
- Returns:
- resources
-
setResources
Description copied from interface:TypeImportRequest
The type import resources of this request.
- Specified by:
setResources
in interfaceTypeImportRequest
- Parameters:
resources
- values to be set
-
setResources
Description copied from interface:TypeImportRequest
The type import resources of this request.
- Specified by:
setResources
in interfaceTypeImportRequest
- Parameters:
resources
- values to be set
-
equals
-
hashCode
-