Class LogTransaction

java.lang.Object
com.okta.sdk.resource.model.LogTransaction
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 LogTransaction extends Object implements Serializable
A `transaction` object comprises contextual information associated with its respective event. This information is useful for understanding sequences of correlated events. For example, a `transaction` object such as the following: ``` { \"id\": \"Wn4f-0RQ8D8lTSLkAmkKdQAADqo\", \"type\": \"WEB\", \"detail\": null } ``` indicates that a `WEB` request with `id` `Wn4f-0RQ8D8lTSLkAmkKdQAADqo` has created this event. A `transaction` object with a `requestApiTokenId` in the `detail` object, for example : ``` { \"id\": \"YjSlblAAqnKY7CdyCkXNBgAAAIU\", \"type\": \"WEB\", \"detail\": { \"requestApiTokenId\": \"00T94e3cn9kSEO3c51s5\" } } ``` indicates that this event was the result of an action performed through an API using the token identified by 00T94e3cn9kSEO3c51s5. The token ID is visible in the Admin Console, **Security** > **API**. See [API token management](https://help.okta.com/okta_help.htm?id=Security_API). For more information on API tokens, see [Create an API token](https://developer.okta.com/docs/guides/create-an-api-token/).
See Also:
  • Field Details

  • Constructor Details

    • LogTransaction

      public LogTransaction()
  • Method Details

    • getDetail

      @Nullable public Map<String,Object> getDetail()
      Details for this transaction.
      Returns:
      detail
    • getId

      @Nullable public String getId()
      Unique identifier for this transaction.
      Returns:
      id
    • getType

      @Nullable public String getType()
      Describes the kind of transaction. `WEB` indicates a web request. `JOB` indicates an asynchronous task.
      Returns:
      type
    • 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