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-23T08:35:59.300824-05:00[America/Chicago]", 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 Details

  • Constructor Details

    • LogClient

      public LogClient()
  • Method Details

    • getDevice

      @Nullable public String getDevice()
      Type of device that the client operates from (for example, computer)
      Returns:
      device
    • geographicalContext

      public LogClient geographicalContext(LogGeographicalContext geographicalContext)
    • getGeographicalContext

      @Nullable public LogGeographicalContext getGeographicalContext()
      Get geographicalContext
      Returns:
      geographicalContext
    • setGeographicalContext

      public void setGeographicalContext(LogGeographicalContext geographicalContext)
    • getId

      @Nullable public String 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

      @Nullable public String getIpAddress()
      IP address that the client is making its request from
      Returns:
      ipAddress
    • userAgent

      public LogClient userAgent(LogUserAgent userAgent)
    • getUserAgent

      @Nullable public LogUserAgent getUserAgent()
      Get userAgent
      Returns:
      userAgent
    • setUserAgent

      public void setUserAgent(LogUserAgent userAgent)
    • getZone

      @Nullable public String 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object