Interface AttributeGroupReference
- All Superinterfaces:
Identifiable<AttributeGroup>
,IdentifiableObjHolder<AttributeGroup>
,Reference
,ReferenceMixin
public interface AttributeGroupReference
extends Reference, Identifiable<AttributeGroup>, IdentifiableObjHolder<AttributeGroup>
Reference to an AttributeGroup.
Example to create an instance using the builder pattern
AttributeGroupReference attributeGroupReference = AttributeGroupReference.builder()
.id("{id}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AttributeGroupReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AttributeGroupReferencebuilder
(AttributeGroupReference template) create builder for AttributeGroupReference instancestatic AttributeGroupReference
deepCopy
(AttributeGroupReference template) factory method to create a deep copy of AttributeGroupReference@NotNull String
getId()
Platform-generated unique identifier of the referenced AttributeGroup.@Valid AttributeGroup
getObj()
Contains the representation of the expanded AttributeGroup.static AttributeGroupReference
of()
factory methodstatic AttributeGroupReference
of
(AttributeGroupReference template) factory method to create a shallow copy AttributeGroupReferencevoid
Platform-generated unique identifier of the referenced AttributeGroup.void
setObj
(AttributeGroup obj) Contains the representation of the expanded AttributeGroup.static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getTypeId, withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
ATTRIBUTE_GROUP
discriminator value for AttributeGroupReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded AttributeGroup. Only present in responses to requests with Reference Expansion for AttributeGroup.
- Specified by:
getObj
in interfaceIdentifiableObjHolder<AttributeGroup>
- Returns:
- obj
-
getId
Platform-generated unique identifier of the referenced AttributeGroup.
- Specified by:
getId
in interfaceIdentifiable<AttributeGroup>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
setObj
Contains the representation of the expanded AttributeGroup. Only present in responses to requests with Reference Expansion for AttributeGroup.
- Parameters:
obj
- value to be set
-
setId
Platform-generated unique identifier of the referenced AttributeGroup.
-
of
factory method- Returns:
- instance of AttributeGroupReference
-
of
factory method to create a shallow copy AttributeGroupReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AttributeGroupReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeGroupReference- Returns:
- builder
-
builder
create builder for AttributeGroupReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeGroupReference
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
-