Class APIRequest

java.lang.Object
com.sanctionco.opconnect.model.apiactivity.APIRequest

public class APIRequest extends Object
Represents an APIRequest made to 1Password.
  • Method Details

    • getRequestId

      public String getRequestId()
      Get the id associated with this request.
      Returns:
      the id for the request
    • getTimestamp

      public Instant getTimestamp()
      Get the time this request was made.
      Returns:
      the time the request was made
    • getAction

      public APIRequestAction getAction()
      Get the action requested.
      Returns:
      the type of action requested
    • getResult

      public APIRequestResult getResult()
      Get the result of the request.
      Returns:
      the result of the request
    • getActor

      public Actor getActor()
      Get the actor who made the request.
      Returns:
      the Actor that made the request
    • getResource

      public Resource getResource()
      Get the resource requested.
      Returns:
      the requested
    • 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