Interface ChannelReference
- All Superinterfaces:
ChannelReferenceMixin,Identifiable<Channel>,IdentifiableObjHolder<Channel>,Reference,ReferenceMixin
public interface ChannelReference
extends Reference, Identifiable<Channel>, ChannelReferenceMixin, IdentifiableObjHolder<Channel>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelReferenceBuilderbuilder()builder factory method for ChannelReferencestatic ChannelReferenceBuilderbuilder(ChannelReference template) create builder for ChannelReference instancecopyDeep()static ChannelReferencedeepCopy(ChannelReference template) factory method to create a deep copy of ChannelReference@NotNull StringgetId()Unique identifier of the referenced Channel.@Valid ChannelgetObj()Contains the representation of the expanded Channel.static ChannelReferenceof()factory methodstatic ChannelReferenceof(ChannelReference template) factory method to create a shallow copy ChannelReferencevoidUnique identifier of the referenced Channel.voidContains the representation of the expanded Channel.static com.fasterxml.jackson.core.type.TypeReference<ChannelReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithChannelReference(Function<ChannelReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelReferenceMixin
toResourceIdentifierMethods inherited from interface com.commercetools.api.models.common.Reference
getTypeId, withReference
-
Field Details
-
CHANNEL
discriminator value for ChannelReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded Channel. Only present in responses to requests with Reference Expansion for Channels.
- Specified by:
getObjin interfaceIdentifiableObjHolder<Channel>- Returns:
- obj
-
getId
Unique identifier of the referenced Channel.
- Specified by:
getIdin interfaceChannelReferenceMixin- Specified by:
getIdin interfaceIdentifiable<Channel>- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceReferenceMixin- Returns:
- id
-
setObj
Contains the representation of the expanded Channel. Only present in responses to requests with Reference Expansion for Channels.
- Parameters:
obj- value to be set
-
setId
Unique identifier of the referenced Channel.
-
of
factory method- Returns:
- instance of ChannelReference
-
of
factory method to create a shallow copy ChannelReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ChannelReference copyDeep() -
deepCopy
factory method to create a deep copy of ChannelReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelReference- Returns:
- builder
-
builder
create builder for ChannelReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withChannelReference
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
-