@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class LocationReq extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LocationReq.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS_LINE1 |
static String |
SERIALIZED_NAME_ADDRESS_LINE2 |
static String |
SERIALIZED_NAME_CITY |
static String |
SERIALIZED_NAME_COUNTRY |
static String |
SERIALIZED_NAME_COUNTRY_CODE |
static String |
SERIALIZED_NAME_FORMATTED |
static String |
SERIALIZED_NAME_LATITUDE |
static String |
SERIALIZED_NAME_LONGITUDE |
static String |
SERIALIZED_NAME_POSTAL_CODE |
static String |
SERIALIZED_NAME_REGION |
static String |
SERIALIZED_NAME_REGION_CODE |
static String |
SERIALIZED_NAME_TIME_ZONE |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
LocationReq() |
| Modifier and Type | Method and Description |
|---|---|
LocationReq |
addressLine1(String addressLine1) |
LocationReq |
addressLine2(String addressLine2) |
LocationReq |
city(String city) |
LocationReq |
country(String country) |
LocationReq |
countryCode(String countryCode) |
boolean |
equals(Object o) |
LocationReq |
formatted(String formatted) |
static LocationReq |
fromJson(String jsonString)
Create an instance of LocationReq given an JSON string
|
String |
getAddressLine1()
Get addressLine1
|
String |
getAddressLine2()
Get addressLine2
|
String |
getCity()
Get city
|
String |
getCountry()
Get country
|
String |
getCountryCode()
Get countryCode
|
String |
getFormatted()
Get formatted
|
Double |
getLatitude()
Get latitude
|
Double |
getLongitude()
Get longitude
|
String |
getPostalCode()
Get postalCode
|
String |
getRegion()
Get region
|
String |
getRegionCode()
Get regionCode
|
String |
getTimeZone()
Get timeZone
|
LocationType |
getType()
Get type
|
int |
hashCode() |
LocationReq |
latitude(Double latitude) |
LocationReq |
longitude(Double longitude) |
LocationReq |
postalCode(String postalCode) |
LocationReq |
region(String region) |
LocationReq |
regionCode(String regionCode) |
void |
setAddressLine1(String addressLine1) |
void |
setAddressLine2(String addressLine2) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setCountryCode(String countryCode) |
void |
setFormatted(String formatted) |
void |
setLatitude(Double latitude) |
void |
setLongitude(Double longitude) |
void |
setPostalCode(String postalCode) |
void |
setRegion(String region) |
void |
setRegionCode(String regionCode) |
void |
setTimeZone(String timeZone) |
void |
setType(LocationType type) |
LocationReq |
timeZone(String timeZone) |
String |
toJson()
Convert an instance of LocationReq to an JSON string
|
String |
toString() |
LocationReq |
type(LocationType type) |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ADDRESS_LINE1
public static final String SERIALIZED_NAME_ADDRESS_LINE2
public static final String SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_REGION
public static final String SERIALIZED_NAME_REGION_CODE
public static final String SERIALIZED_NAME_POSTAL_CODE
public static final String SERIALIZED_NAME_COUNTRY
public static final String SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_LATITUDE
public static final String SERIALIZED_NAME_LONGITUDE
public static final String SERIALIZED_NAME_TIME_ZONE
public static final String SERIALIZED_NAME_FORMATTED
public static final String SERIALIZED_NAME_TYPE
public LocationReq addressLine1(String addressLine1)
public void setAddressLine1(String addressLine1)
public LocationReq addressLine2(String addressLine2)
public void setAddressLine2(String addressLine2)
public LocationReq city(String city)
public void setCity(String city)
public LocationReq region(String region)
public void setRegion(String region)
public LocationReq regionCode(String regionCode)
public void setRegionCode(String regionCode)
public LocationReq postalCode(String postalCode)
public void setPostalCode(String postalCode)
public LocationReq country(String country)
public void setCountry(String country)
public LocationReq countryCode(String countryCode)
public void setCountryCode(String countryCode)
public LocationReq latitude(Double latitude)
public void setLatitude(Double latitude)
public LocationReq longitude(Double longitude)
public void setLongitude(Double longitude)
public LocationReq timeZone(String timeZone)
public void setTimeZone(String timeZone)
public LocationReq formatted(String formatted)
public void setFormatted(String formatted)
public LocationReq type(LocationType type)
@Nullable public LocationType getType()
public void setType(LocationType type)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to LocationReqpublic static LocationReq fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to LocationReqpublic String toJson()
Copyright © 2024. All rights reserved.