Class Geo


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class Geo
    extends Object
    Geo
    • Constructor Detail

      • Geo

        public Geo()
    • Method Detail

      • addBboxItem

        public Geo addBboxItem​(Double bboxItem)
      • setBbox

        public void setBbox​(List<Double> bbox)
      • geometry

        public Geo geometry​(Point geometry)
      • getGeometry

        @Nullable
        public Point getGeometry()
        Get geometry
        Returns:
        geometry
      • setGeometry

        public void setGeometry​(Point geometry)
      • properties

        public Geo properties​(Object properties)
      • getProperties

        @Nonnull
        public Object getProperties()
        Get properties
        Returns:
        properties
      • setProperties

        public void setProperties​(Object properties)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to Geo
      • fromJson

        public static Geo fromJson​(String jsonString)
                            throws IOException
        Create an instance of Geo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Geo
        Throws:
        IOException - if the JSON string is invalid with respect to Geo
      • toJson

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