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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontinentCode(String continentCode) countryCode(String countryCode) booleanstatic GeoLocationCreate an instance of GeoLocation given an JSON stringGet cityIDGet continentCodeGet countryCodeGet postalCodeGet timeZoneinthashCode()postalCode(String postalCode) voidvoidsetContinentCode(String continentCode) voidsetCountryCode(String countryCode) voidsetPostalCode(String postalCode) voidsetTimeZone(String timeZone) toJson()Convert an instance of GeoLocation to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CITY_I_D
- See Also:
-
SERIALIZED_NAME_CONTINENT_CODE
- See Also:
-
SERIALIZED_NAME_COUNTRY_CODE
- See Also:
-
SERIALIZED_NAME_POSTAL_CODE
- See Also:
-
SERIALIZED_NAME_TIME_ZONE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GeoLocation
public GeoLocation()
-
-
Method Details
-
cityID
-
getCityID
-
setCityID
-
continentCode
-
getContinentCode
-
setContinentCode
-
countryCode
-
getCountryCode
-
setCountryCode
-
postalCode
-
getPostalCode
-
setPostalCode
-
timeZone
-
getTimeZone
-
setTimeZone
-
equals
-
hashCode
-
toString
-
validateJsonElement
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
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
-