Interface AttributeTimeType
- All Superinterfaces:
AttributeType
AttributeTimeType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeTimeType attributeTimeType = AttributeTimeType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTimeTypeBuilder
builder()
builder factory method for AttributeTimeTypestatic AttributeTimeTypeBuilder
builder
(AttributeTimeType template) create builder for AttributeTimeType instancestatic AttributeTimeType
deepCopy
(AttributeTimeType template) factory method to create a deep copy of AttributeTimeTypestatic AttributeTimeType
of()
factory methodstatic AttributeTimeType
of
(AttributeTimeType template) factory method to create a shallow copy AttributeTimeTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeTimeType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAttributeTimeType
(Function<AttributeTimeType, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
TIME
discriminator value for AttributeTimeType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeTimeType
-
of
factory method to create a shallow copy AttributeTimeType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AttributeTimeType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeTimeType- Returns:
- builder
-
builder
create builder for AttributeTimeType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeTimeType
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-