Package travel.wink.sdk.affiliate.model
Class AdvancedMapConfiguration
java.lang.Object
travel.wink.sdk.affiliate.model.AdvancedMapConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:47:12.254493+07:00[Asia/Bangkok]")
public class AdvancedMapConfiguration
extends Object
Advanced map configuration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMap marker colorstatic enumMap stylestatic enumType of inventory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCirclesItem(ConfigurableGeoJsonCircle circlesItem) addMarkersItem(ConfigurableGeoJsonPoint markersItem) addPolygonsItem(ConfigurableGeoJsonPolygon polygonsItem) addRectanglesItem(ConfigurableGeoJsonRectangle rectanglesItem) center(HotelOnMapLocation center) circles(List<ConfigurableGeoJsonCircle> circles) boolean@NotNull @Valid HotelOnMapLocationGet center@Valid List<ConfigurableGeoJsonCircle>Get circles@NotNull BooleanUser can move around / pan the mapUnique map identifier@NotNull @Min(0L) @Max(21L) IntegerValid Google maps zoom level minimum: 0 maximum: 21@NotNull IntegerMap height in pixelsMap marker colorMap style@Valid List<ConfigurableGeoJsonPoint>Get markers@NotNull StringgetName()Name of mapMap owner identifier@Valid List<ConfigurableGeoJsonPolygon>Get polygons@Valid List<ConfigurableGeoJsonRectangle>Get rectangles@NotNull AdvancedMapConfiguration.TypeEnumgetType()Type of inventory@NotNull StringInventory type identifier.@NotNull BooleanUser can zoom in/out of the mapinthashCode()identifier(String identifier) initialZoomLevel(Integer initialZoomLevel) mapMarkerColor(AdvancedMapConfiguration.MapMarkerColorEnum mapMarkerColor) markers(List<ConfigurableGeoJsonPoint> markers) ownerIdentifier(String ownerIdentifier) polygons(List<ConfigurableGeoJsonPolygon> polygons) rectangles(List<ConfigurableGeoJsonRectangle> rectangles) voidsetCenter(HotelOnMapLocation center) voidsetCircles(List<ConfigurableGeoJsonCircle> circles) voidsetDraggable(Boolean draggable) voidsetIdentifier(String identifier) voidsetInitialZoomLevel(Integer initialZoomLevel) voidsetMapHeight(Integer mapHeight) voidsetMapMarkerColor(AdvancedMapConfiguration.MapMarkerColorEnum mapMarkerColor) voidvoidsetMarkers(List<ConfigurableGeoJsonPoint> markers) voidvoidsetOwnerIdentifier(String ownerIdentifier) voidsetPolygons(List<ConfigurableGeoJsonPolygon> polygons) voidsetRectangles(List<ConfigurableGeoJsonRectangle> rectangles) voidvoidsetTypeIdentifier(String typeIdentifier) voidsetZoomable(Boolean zoomable) toString()typeIdentifier(String typeIdentifier)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_CENTER
- See Also:
-
JSON_PROPERTY_DRAGGABLE
- See Also:
-
JSON_PROPERTY_ZOOMABLE
- See Also:
-
JSON_PROPERTY_INITIAL_ZOOM_LEVEL
- See Also:
-
JSON_PROPERTY_MAP_STYLE
- See Also:
-
JSON_PROPERTY_MAP_MARKER_COLOR
- See Also:
-
JSON_PROPERTY_MAP_HEIGHT
- See Also:
-
JSON_PROPERTY_CIRCLES
- See Also:
-
JSON_PROPERTY_RECTANGLES
- See Also:
-
JSON_PROPERTY_MARKERS
- See Also:
-
JSON_PROPERTY_POLYGONS
- See Also:
-
-
Constructor Details
-
AdvancedMapConfiguration
public AdvancedMapConfiguration()
-
-
Method Details
-
identifier
-
getIdentifier
Unique map identifier- Returns:
- identifier
-
setIdentifier
-
ownerIdentifier
-
getOwnerIdentifier
Map owner identifier- Returns:
- ownerIdentifier
-
setOwnerIdentifier
-
name
-
getName
Name of map- Returns:
- name
-
setName
-
typeIdentifier
-
getTypeIdentifier
Inventory type identifier. Either a single channel inventory identifier, a list identifier or a dynamic search identifier.- Returns:
- typeIdentifier
-
setTypeIdentifier
-
type
-
getType
Type of inventory- Returns:
- type
-
setType
-
center
-
getCenter
Get center- Returns:
- center
-
setCenter
-
draggable
-
getDraggable
User can move around / pan the map- Returns:
- draggable
-
setDraggable
-
zoomable
-
getZoomable
User can zoom in/out of the map- Returns:
- zoomable
-
setZoomable
-
initialZoomLevel
-
getInitialZoomLevel
@Nonnull @NotNull @Min(0L) @Max(21L) public @NotNull @Min(0L) @Max(21L) Integer getInitialZoomLevel()Valid Google maps zoom level minimum: 0 maximum: 21- Returns:
- initialZoomLevel
-
setInitialZoomLevel
-
mapStyle
-
getMapStyle
Map style- Returns:
- mapStyle
-
setMapStyle
-
mapMarkerColor
public AdvancedMapConfiguration mapMarkerColor(AdvancedMapConfiguration.MapMarkerColorEnum mapMarkerColor) -
getMapMarkerColor
Map marker color- Returns:
- mapMarkerColor
-
setMapMarkerColor
-
mapHeight
-
getMapHeight
Map height in pixels- Returns:
- mapHeight
-
setMapHeight
-
circles
-
addCirclesItem
-
getCircles
Get circles- Returns:
- circles
-
setCircles
-
rectangles
-
addRectanglesItem
-
getRectangles
Get rectangles- Returns:
- rectangles
-
setRectangles
-
markers
-
addMarkersItem
-
getMarkers
Get markers- Returns:
- markers
-
setMarkers
-
polygons
-
addPolygonsItem
-
getPolygons
Get polygons- Returns:
- polygons
-
setPolygons
-
equals
-
hashCode
public int hashCode() -
toString
-