Package io.voucherify.client.model
Class LocationShape
java.lang.Object
io.voucherify.client.model.LocationShape
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LocationShape
extends Object
LocationShape
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets formatstatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondistance(LocationShapeDistance distance) booleanformat(LocationShape.FormatEnum format) static LocationShapeCreate an instance of LocationShape given an JSON stringgeojson(LocationShapeGeojson geojson) Get distanceGet formatGet geojsongetType()Get typeinthashCode()voidsetDistance(LocationShapeDistance distance) voidsetFormat(LocationShape.FormatEnum format) voidsetGeojson(LocationShapeGeojson geojson) voidtoJson()Convert an instance of LocationShape to an JSON stringtoString()type(LocationShape.TypeEnum type)
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_FORMAT
- See Also:
-
SERIALIZED_NAME_DISTANCE
- See Also:
-
SERIALIZED_NAME_GEOJSON
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LocationShape
public LocationShape()
-
-
Method Details
-
type
-
getType
Get type- Returns:
- type
-
setType
-
format
-
getFormat
Get format- Returns:
- format
-
setFormat
-
distance
-
getDistance
Get distance- Returns:
- distance
-
setDistance
-
geojson
-
getGeojson
Get geojson- Returns:
- geojson
-
setGeojson
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LocationShape given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LocationShape
- Throws:
IOException- if the JSON string is invalid with respect to LocationShape
-
toJson
Convert an instance of LocationShape to an JSON string- Returns:
- JSON string
-