Interface ChannelSetGeoLocationAction
- All Superinterfaces:
ChannelUpdateAction
,ResourceUpdateAction<ChannelUpdateAction>
ChannelSetGeoLocationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelSetGeoLocationAction channelSetGeoLocationAction = ChannelSetGeoLocationAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChannelSetGeoLocationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChannelSetGeoLocationActionbuilder
(ChannelSetGeoLocationAction template) create builder for ChannelSetGeoLocationAction instancestatic ChannelSetGeoLocationAction
deepCopy
(ChannelSetGeoLocationAction template) factory method to create a deep copy of ChannelSetGeoLocationAction@Valid GeoJson
Value to set.static ChannelSetGeoLocationAction
of()
factory methodstatic ChannelSetGeoLocationAction
of
(ChannelSetGeoLocationAction template) factory method to create a shallow copy ChannelSetGeoLocationActionstatic ChannelSetGeoLocationAction
ofUnset()
void
setGeoLocation
(GeoJson geoLocation) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ChannelSetGeoLocationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
getAction, withChannelUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_GEO_LOCATION
discriminator value for ChannelSetGeoLocationAction- See Also:
-
-
Method Details
-
getGeoLocation
Value to set.
- Returns:
- geoLocation
-
setGeoLocation
Value to set.
- Parameters:
geoLocation
- value to be set
-
of
factory method- Returns:
- instance of ChannelSetGeoLocationAction
-
of
factory method to create a shallow copy ChannelSetGeoLocationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ChannelSetGeoLocationAction deepCopy(@Nullable ChannelSetGeoLocationAction template) factory method to create a deep copy of ChannelSetGeoLocationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelSetGeoLocationAction- Returns:
- builder
-
builder
create builder for ChannelSetGeoLocationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChannelSetGeoLocationAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-