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-09-08T16:31:43.015348+07:00[Asia/Bangkok]")
public class AdvancedMapConfiguration
extends Object
Advanced map configuration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicate which initial values to display first on the front-facing cardstatic 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 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) displayType(AdvancedMapConfiguration.DisplayTypeEnum displayType) boolean@NotNull @Valid HotelOnMapLocationGet center@Valid List<ConfigurableGeoJsonCircle>Get circlesIndicate which initial values to display first on the front-facing card@NotNull BooleanUser can move around / pan the map@Valid UUIDUnique 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 map@Valid UUIDMap owner identifier@Valid List<ConfigurableGeoJsonPolygon>Get polygons@Valid List<ConfigurableGeoJsonRectangle>Get rectangles@NotNull AdvancedMapConfiguration.TypeEnumgetType()Type of inventory@NotNull @Valid UUIDInventory type identifier.@NotNull BooleanUser can zoom in/out of the mapinthashCode()identifier(UUID identifier) initialZoomLevel(Integer initialZoomLevel) mapMarkerColor(AdvancedMapConfiguration.MapMarkerColorEnum mapMarkerColor) markers(List<ConfigurableGeoJsonPoint> markers) ownerIdentifier(UUID ownerIdentifier) polygons(List<ConfigurableGeoJsonPolygon> polygons) rectangles(List<ConfigurableGeoJsonRectangle> rectangles) voidsetCenter(HotelOnMapLocation center) voidsetCircles(List<ConfigurableGeoJsonCircle> circles) voidsetDisplayType(AdvancedMapConfiguration.DisplayTypeEnum displayType) voidsetDraggable(Boolean draggable) voidsetIdentifier(UUID identifier) voidsetInitialZoomLevel(Integer initialZoomLevel) voidsetMapHeight(Integer mapHeight) voidsetMapMarkerColor(AdvancedMapConfiguration.MapMarkerColorEnum mapMarkerColor) voidvoidsetMarkers(List<ConfigurableGeoJsonPoint> markers) voidvoidsetOwnerIdentifier(UUID ownerIdentifier) voidsetPolygons(List<ConfigurableGeoJsonPolygon> polygons) voidsetRectangles(List<ConfigurableGeoJsonRectangle> rectangles) voidvoidsetTypeIdentifier(UUID typeIdentifier) voidsetZoomable(Boolean zoomable) toString()typeIdentifier(UUID 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_DISPLAY_TYPE
- 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
-
displayType
-
getDisplayType
Indicate which initial values to display first on the front-facing card- Returns:
- displayType
-
setDisplayType
-
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
-