Package com.okta.sdk.resource.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
If the client is a web browser, this field identifies the type of web browser (for example, CHROME, FIREFOX)getOs()
The operating system that the client runs on (for example, Windows 10)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).int
hashCode()
toString()
-
Field Details
-
Constructor Details
-
Method Details
-
getBrowser
If the client is a web browser, this field identifies the type of web browser (for example, CHROME, FIREFOX)- Returns:
- browser
-
getOs
The operating system that the client runs on (for example, Windows 10)- Returns:
- os
-
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
-
hashCode
public int hashCode() -
toString
-