Package com.ibm.cloud.cloudant.v1.model
Class GeoJsonFeature
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
-
- com.ibm.cloud.cloudant.v1.model.GeoJsonFeature
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GeoJsonFeature extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
Schema for a GeoJSON feature object. Note that the content of the feature objects varies depending on the response format chosen and whether the `include_docs` parameter is `true`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GeoJsonFeature.Type
Declaration of the GeoJSON type: Feature Object.
-
Constructor Summary
Constructors Constructor Description GeoJsonFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>
getBbox()
Gets the bbox.GeoJsonGeometryObject
getGeometry()
Gets the geometry.String
getId()
Gets the id.String
getRev()
Gets the rev.String
getType()
Gets the type.Map<String,Object>
getXProperties()
Gets the xProperties.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Schema for a document ID.- Returns:
- the id
-
getRev
public String getRev()
Gets the rev. Schema for a document revision identifier.- Returns:
- the rev
-
getBbox
public List<Double> getBbox()
Gets the bbox. Schema for a GeoJSON bounding box.- Returns:
- the bbox
-
getGeometry
public GeoJsonGeometryObject getGeometry()
Gets the geometry. Schema for a GeoJSON geometry object.- Returns:
- the geometry
-
getXProperties
public Map<String,Object> getXProperties()
Gets the xProperties. Schema for the properties of a GeoJSON feature object.- Returns:
- the xProperties
-
getType
public String getType()
Gets the type. Declaration of the GeoJSON type: Feature Object.- Returns:
- the type
-
-