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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for AttributeGroupReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AttributeGroupReferencebuilder(AttributeGroupReference template) create builder for AttributeGroupReference instancecopyDeep()static AttributeGroupReferencedeepCopy(AttributeGroupReference template) factory method to create a deep copy of AttributeGroupReference@NotNull StringgetId()Platform-generated unique identifier of the referenced AttributeGroup.@Valid AttributeGroupgetObj()Contains the representation of the expanded AttributeGroup.static AttributeGroupReferenceof()factory methodstatic AttributeGroupReferenceof(AttributeGroupReference template) factory method to create a shallow copy AttributeGroupReferencevoidPlatform-generated unique identifier of the referenced AttributeGroup.voidsetObj(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> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getTypeId, withReferenceMethods 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:
getObjin interfaceIdentifiableObjHolder<AttributeGroup>- Returns:
- obj
-
getId
Platform-generated unique identifier of the referenced AttributeGroup.
- Specified by:
getIdin interfaceIdentifiable<AttributeGroup>- Specified by:
getIdin interfaceReference- Specified by:
getIdin 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
-
copyDeep
AttributeGroupReference copyDeep() -
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
-