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.
  • Field Details

  • Constructor Details

    • LocationsGetResponseBodyShapeDistance

      public LocationsGetResponseBodyShapeDistance()
  • Method Details

    • center

    • getCenter

      @Nullable public String getCenter()
      Center of the circle identified by GPS coordinates in decimal degrees.
      Returns:
      center
    • setCenter

      public void setCenter(String center)
    • radius

    • getRadius

      @Nullable public String getRadius()
      Defines the radius of the circle.
      Returns:
      radius
    • setRadius

      public void setRadius(String radius)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromJson

      public static LocationsGetResponseBodyShapeDistance fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of LocationsGetResponseBodyShapeDistance to an JSON string
      Returns:
      JSON string