Class CategoryImportRequestImpl
java.lang.Object
com.commercetools.importapi.models.importrequests.CategoryImportRequestImpl
- All Implemented Interfaces:
CategoryImportRequest
,ImportRequest
,io.vrap.rmf.base.client.ModelBase
public class CategoryImportRequestImpl
extends Object
implements CategoryImportRequest, io.vrap.rmf.base.client.ModelBase
The request body to import Categories. Contains data for Categories 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.CategoryImportRequest
CATEGORY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The category import resources of this request.getType()
The resource types that can be imported.int
hashCode()
void
setResources
(CategoryImport... resources) The category import resources of this request.void
setResources
(List<CategoryImport> resources) The category import resources of this request.toString()
Methods inherited from interface com.commercetools.importapi.models.importrequests.CategoryImportRequest
withCategoryImportRequest
Methods inherited from interface com.commercetools.importapi.models.importrequests.ImportRequest
withImportRequest
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CategoryImportRequestImpl
public CategoryImportRequestImpl()create empty instance
-
-
Method Details
-
getType
The resource types that can be imported.
- Specified by:
getType
in interfaceImportRequest
- Returns:
- type
-
getResources
The category import resources of this request.
- Specified by:
getResources
in interfaceCategoryImportRequest
- Returns:
- resources
-
setResources
Description copied from interface:CategoryImportRequest
The category import resources of this request.
- Specified by:
setResources
in interfaceCategoryImportRequest
- Parameters:
resources
- values to be set
-
setResources
Description copied from interface:CategoryImportRequest
The category import resources of this request.
- Specified by:
setResources
in interfaceCategoryImportRequest
- Parameters:
resources
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-