Class GeoLocation

java.lang.Object
sendpost_java_sdk.GeoLocation

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]", comments="Generator version: 7.13.0") public class GeoLocation extends Object
GeoLocation
  • Field Details

  • Constructor Details

    • GeoLocation

      public GeoLocation()
  • Method Details

    • cityID

      public GeoLocation cityID(@Nullable String cityID)
    • getCityID

      @Nullable public String getCityID()
      Get cityID
      Returns:
      cityID
    • setCityID

      public void setCityID(@Nullable String cityID)
    • continentCode

      public GeoLocation continentCode(@Nullable String continentCode)
    • getContinentCode

      @Nullable public String getContinentCode()
      Get continentCode
      Returns:
      continentCode
    • setContinentCode

      public void setContinentCode(@Nullable String continentCode)
    • countryCode

      public GeoLocation countryCode(@Nullable String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Get countryCode
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(@Nullable String countryCode)
    • postalCode

      public GeoLocation postalCode(@Nullable String postalCode)
    • getPostalCode

      @Nullable public String getPostalCode()
      Get postalCode
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(@Nullable String postalCode)
    • timeZone

      public GeoLocation timeZone(@Nullable String timeZone)
    • getTimeZone

      @Nullable public String getTimeZone()
      Get timeZone
      Returns:
      timeZone
    • setTimeZone

      public void setTimeZone(@Nullable String timeZone)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to GeoLocation
    • fromJson

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

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