Class LogUserAgent

java.lang.Object
com.okta.sdk.resource.model.LogUserAgent
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 LogUserAgent extends Object implements Serializable
\"A user agent is software (a software agent) that is acting on behalf of a user.\" ([Definition of User Agent](https://developer.mozilla.org/en-US/docs/Glossary/User_agent)) In the Okta event data object, the `UserAgent` object provides specifications about the client software that makes event-triggering HTTP requests. User agent identification is often useful for identifying interoperability problems between servers and clients, and also for browser and operating system usage analytics.
See Also:
  • Field Details

  • Constructor Details

    • LogUserAgent

      public LogUserAgent()
  • Method Details

    • getBrowser

      @Nullable public String getBrowser()
      If the client is a web browser, this field identifies the type of web browser (for example, CHROME, FIREFOX)
      Returns:
      browser
    • getOs

      @Nullable public String getOs()
      The operating system that the client runs on (for example, Windows 10)
      Returns:
      os
    • getRawUserAgent

      @Nullable public String getRawUserAgent()
      A raw string representation of the user agent that is formatted according to [section 5.5.3 of HTTP/1.1 Semantics and Content](https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.3). Both the `browser` and the `OS` fields can be derived from this field.
      Returns:
      rawUserAgent
    • 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