Package com.okta.sdk.resource.model
Class LogClient
java.lang.Object
com.okta.sdk.resource.model.LogClient
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class LogClient
extends Object
implements Serializable
When an event is triggered by an HTTP request, the `client` object describes the
[client](https://datatracker.ietf.org/doc/html/rfc2616) that issues the HTTP request. For instance, the web browser
is the client when a user accesses Okta. When this request is received and processed, a sign-in event is fired. When
the event isn't sourced to an HTTP request, such as an automatic update, the `client` object field is
blank.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
geographicalContext
(LogGeographicalContext geographicalContext) Type of device that the client operates from (for example, computer)Get geographicalContextgetId()
For OAuth requests, this is the ID of the OAuth [client](https://datatracker.ietf.org/doc/html/rfc6749#section-1.1) making the request.IP address that the client is making its request fromGet userAgentgetZone()
The `name` of the [Zone](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/NetworkZone/#tag/NetworkZone/operation/getNetworkZone) that the client's location is mapped toint
hashCode()
void
setGeographicalContext
(LogGeographicalContext geographicalContext) void
setUserAgent
(LogUserAgent userAgent) toString()
userAgent
(LogUserAgent userAgent)
-
Field Details
-
JSON_PROPERTY_DEVICE
- See Also:
-
JSON_PROPERTY_GEOGRAPHICAL_CONTEXT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IP_ADDRESS
- See Also:
-
JSON_PROPERTY_USER_AGENT
- See Also:
-
JSON_PROPERTY_ZONE
- See Also:
-
-
Constructor Details
-
LogClient
public LogClient()
-
-
Method Details
-
getDevice
Type of device that the client operates from (for example, computer)- Returns:
- device
-
geographicalContext
-
getGeographicalContext
Get geographicalContext- Returns:
- geographicalContext
-
setGeographicalContext
-
getId
For OAuth requests, this is the ID of the OAuth [client](https://datatracker.ietf.org/doc/html/rfc6749#section-1.1) making the request. For SSWS token requests, this is the ID of the agent making the request.- Returns:
- id
-
getIpAddress
IP address that the client is making its request from- Returns:
- ipAddress
-
userAgent
-
getUserAgent
Get userAgent- Returns:
- userAgent
-
setUserAgent
-
getZone
The `name` of the [Zone](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/NetworkZone/#tag/NetworkZone/operation/getNetworkZone) that the client's location is mapped to- Returns:
- zone
-
equals
-
hashCode
public int hashCode() -
toString
-