@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IoCGeoLocation extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CITY |
static String |
JSON_PROPERTY_COUNTRY_CODE |
static String |
JSON_PROPERTY_COUNTRY_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
IoCGeoLocation() |
| Modifier and Type | Method and Description |
|---|---|
IoCGeoLocation |
city(String city) |
IoCGeoLocation |
countryCode(String countryCode) |
IoCGeoLocation |
countryName(String countryName) |
boolean |
equals(Object o)
Return true if this IoCGeoLocation object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCity()
City name.
|
String |
getCountryCode()
ISO country code.
|
String |
getCountryName()
Full country name.
|
int |
hashCode() |
IoCGeoLocation |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCity(String city) |
void |
setCountryCode(String countryCode) |
void |
setCountryName(String countryName) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CITY
public static final String JSON_PROPERTY_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_NAME
public IoCGeoLocation city(String city)
@Nullable public String getCity()
public void setCity(String city)
public IoCGeoLocation countryCode(String countryCode)
@Nullable public String getCountryCode()
public void setCountryCode(String countryCode)
public IoCGeoLocation countryName(String countryName)
@Nullable public String getCountryName()
public void setCountryName(String countryName)
public IoCGeoLocation putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.