Package com.okta.sdk.resource.model
Class LogGeographicalContext
java.lang.Object
com.okta.sdk.resource.model.LogGeographicalContext
- All Implemented Interfaces:
- Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
           comments="Generator version: 7.8.0")
public class LogGeographicalContext
extends Object
implements Serializable
Geographical context describes a set of geographic coordinates. In addition to containing latitude and longitude
 data, the `GeographicalContext` object also contains address data of postal code-level granularity. Within
 the `Client` object, the geographical context refers to the physical location of the client when it sends
 the request that triggers this event. All `Transaction` events with `type` equal to
 `WEB` have a geographical context set. `Transaction` events with `type` equal to
 `JOB` don't have a geographical context set. The geographical context data can be missing if the
 geographical data for a request can't be resolved.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangeolocation(LogGeolocation geolocation) getCity()The city that encompasses the area that contains the geolocation coordinates, if available (for example, Seattle, San Francisco)Full name of the country that encompasses the area that contains the geolocation coordinates (for example, France, Uganda)Get geolocationPostal code of the area that encompasses the geolocation coordinatesgetState()Full name of the state or province that encompasses the area that contains the geolocation coordinates (for example, Montana, Ontario)inthashCode()voidsetGeolocation(LogGeolocation geolocation) toString()
- 
Field Details- 
JSON_PROPERTY_CITY- See Also:
 
- 
JSON_PROPERTY_COUNTRY- See Also:
 
- 
JSON_PROPERTY_GEOLOCATION- See Also:
 
- 
JSON_PROPERTY_POSTAL_CODE- See Also:
 
- 
JSON_PROPERTY_STATE- See Also:
 
 
- 
- 
Constructor Details- 
LogGeographicalContextpublic LogGeographicalContext()
 
- 
- 
Method Details- 
getCityThe city that encompasses the area that contains the geolocation coordinates, if available (for example, Seattle, San Francisco)- Returns:
- city
 
- 
getCountryFull name of the country that encompasses the area that contains the geolocation coordinates (for example, France, Uganda)- Returns:
- country
 
- 
geolocation
- 
getGeolocationGet geolocation- Returns:
- geolocation
 
- 
setGeolocation
- 
getPostalCodePostal code of the area that encompasses the geolocation coordinates- Returns:
- postalCode
 
- 
getStateFull name of the state or province that encompasses the area that contains the geolocation coordinates (for example, Montana, Ontario)- Returns:
- state
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-