Package io.voucherify.client.model
Class LocationsGetResponseBodyShapeDistance
java.lang.Object
io.voucherify.client.model.LocationsGetResponseBodyShapeDistance
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LocationsGetResponseBodyShapeDistance
extends Object
Defines the parameters for the circle.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of LocationsGetResponseBodyShapeDistance 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 LocationsGetResponseBodyShapeDistance to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_CENTER
- See Also:
-
SERIALIZED_NAME_RADIUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LocationsGetResponseBodyShapeDistance
public LocationsGetResponseBodyShapeDistance()
-
-
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 LocationsGetResponseBodyShapeDistance given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LocationsGetResponseBodyShapeDistance
- Throws:
IOException- if the JSON string is invalid with respect to LocationsGetResponseBodyShapeDistance
-
toJson
Convert an instance of LocationsGetResponseBodyShapeDistance to an JSON string- Returns:
- JSON string
-