Package com.datadog.api.client.v2.model
Class IoCGeoLocation
java.lang.Object
com.datadog.api.client.v2.model.IoCGeoLocation
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IoCGeoLocation
extends Object
Geographic location information for an IP indicator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) countryName(String countryName) booleanReturn true if this IoCGeoLocation object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCity()City name.ISO country code.Full country name.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetCountryCode(String countryCode) voidsetCountryName(String countryName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_COUNTRY_NAME
- See Also:
-
-
Constructor Details
-
IoCGeoLocation
public IoCGeoLocation()
-
-
Method Details
-
city
-
getCity
City name.- Returns:
- city
-
setCity
-
countryCode
-
getCountryCode
ISO country code.- Returns:
- countryCode
-
setCountryCode
-
countryName
-
getCountryName
Full country name.- Returns:
- countryName
-
setCountryName
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- IoCGeoLocation
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this IoCGeoLocation object is equal to o. -
hashCode
public int hashCode() -
toString
-