Package io.voucherify.client.model
Class LocationShapeDistance
java.lang.Object
io.voucherify.client.model.LocationShapeDistance
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LocationShapeDistance
extends Object
Defines the parameters for the circle.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LocationShapeDistanceCreate an instance of LocationShapeDistance given an JSON stringCenter of the circle identified by GPS coordinates in decimal degrees.Defines the radius of the circle.inthashCode()voidvoidtoJson()Convert an instance of LocationShapeDistance to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_CENTER
- See Also:
-
SERIALIZED_NAME_RADIUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LocationShapeDistance
public LocationShapeDistance()
-
-
Method Details
-
center
-
getCenter
Center of the circle identified by GPS coordinates in decimal degrees.- Returns:
- center
-
setCenter
-
radius
-
getRadius
Defines the radius of the circle.- Returns:
- radius
-
setRadius
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LocationShapeDistance given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LocationShapeDistance
- Throws:
IOException- if the JSON string is invalid with respect to LocationShapeDistance
-
toJson
Convert an instance of LocationShapeDistance to an JSON string- Returns:
- JSON string
-