Class ImportContainerDraftImpl
java.lang.Object
com.commercetools.importapi.models.importcontainers.ImportContainerDraftImpl
- All Implemented Interfaces:
ImportContainerDraft
,io.vrap.rmf.base.client.Draft<ImportContainerDraft>
,io.vrap.rmf.base.client.ModelBase
public class ImportContainerDraftImpl
extends Object
implements ImportContainerDraft, io.vrap.rmf.base.client.ModelBase
The representation sent to the server when creating an ImportContainer.
-
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
getKey()
User-defined unique identifier of the ImportContainer.The resource type to be imported.int
hashCode()
void
User-defined unique identifier of the ImportContainer.void
setResourceType
(ImportResourceType resourceType) The resource type to be imported.toString()
Methods inherited from interface com.commercetools.importapi.models.importcontainers.ImportContainerDraft
withImportContainerDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ImportContainerDraftImpl
public ImportContainerDraftImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier of the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
- Specified by:
getKey
in interfaceImportContainerDraft
- Returns:
- key
-
getResourceType
The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.
- Specified by:
getResourceType
in interfaceImportContainerDraft
- Returns:
- resourceType
-
setKey
Description copied from interface:ImportContainerDraft
User-defined unique identifier of the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
- Specified by:
setKey
in interfaceImportContainerDraft
- Parameters:
key
- value to be set
-
setResourceType
Description copied from interface:ImportContainerDraft
The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.
- Specified by:
setResourceType
in interfaceImportContainerDraft
- Parameters:
resourceType
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-