Interface ZoneReference
- All Superinterfaces:
Identifiable<Zone>,IdentifiableObjHolder<Zone>,Reference,ReferenceMixin
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ZoneReferenceBuilderbuilder()builder factory method for ZoneReferencestatic ZoneReferenceBuilderbuilder(ZoneReference template) create builder for ZoneReference instancecopyDeep()static ZoneReferencedeepCopy(ZoneReference template) factory method to create a deep copy of ZoneReference@NotNull StringgetId()Unique identifier of the referenced Zone.@Valid ZonegetObj()Contains the representation of the expanded Zone.static ZoneReferenceof()factory methodstatic ZoneReferenceof(ZoneReference template) factory method to create a shallow copy ZoneReferencevoidUnique identifier of the referenced Zone.voidContains the representation of the expanded Zone.static com.fasterxml.jackson.core.type.TypeReference<ZoneReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithZoneReference(Function<ZoneReference, T> helper) accessor 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
-
ZONE
discriminator value for ZoneReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded Zone. Only present in responses to requests with Reference Expansion for Zones.
- Specified by:
getObjin interfaceIdentifiableObjHolder<Zone>- Returns:
- obj
-
getId
Unique identifier of the referenced Zone.
- Specified by:
getIdin interfaceIdentifiable<Zone>- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceReferenceMixin- Returns:
- id
-
setObj
Contains the representation of the expanded Zone. Only present in responses to requests with Reference Expansion for Zones.
- Parameters:
obj- value to be set
-
setId
Unique identifier of the referenced Zone.
-
of
factory method- Returns:
- instance of ZoneReference
-
of
factory method to create a shallow copy ZoneReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ZoneReference copyDeep() -
deepCopy
factory method to create a deep copy of ZoneReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ZoneReference- Returns:
- builder
-
builder
create builder for ZoneReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withZoneReference
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
-