Class ReadAccessLogResponse

java.lang.Object
ai.vectros.types.ReadAccessLogResponse

public final class ReadAccessLogResponse extends Object
  • Method Details

    • getId

      public Optional<String> getId()
      Returns:
      Unique identifier for this read-access row.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      The app context the read occurred in (the data-partition axis).
    • getSubjectType

      public Optional<String> getSubjectType()
      Returns:
      The kind of subject whose PHI was read: user, or an ownership namespace such as org or client.
    • getSubjectId

      public Optional<String> getSubjectId()
      Returns:
      Identifier of the data subject whose PHI was read.
    • getCallerKeyId

      public Optional<String> getCallerKeyId()
      Returns:
      The credential (API key / scoped token key id) that performed the read — the actor.
    • getAction

      Returns:
      What the caller did: read (single fetch), list, lookup, search, or rag.
    • getResourceType

      public Optional<String> getResourceType()
      Returns:
      The accessed resource's type: a record schema type name, or one of document, search, or rag.
    • getResourceId

      public Optional<String> getResourceId()
      Returns:
      The accessed record/document id (opaque). Never the payload or looked-up value.
    • getRevealedSensitive

      public Optional<Boolean> getRevealedSensitive()
      Returns:
      True only if at least one sensitive field was actually returned unmasked in this read — not merely that the caller's token carried scope to read sensitive fields. The revealed value itself is never recorded.
    • getAuditDisposition

      public Optional<String> getAuditDisposition()
      Returns:
      The retention disposition this row was recorded under: retain, retain-redacted, or delete.
    • getRetainUntil

      public Optional<String> getRetainUntil()
      Returns:
      The earliest this row may be disposed of, recorded at write time (ISO-8601 UTC). Advisory only — it is not an automatic expiry. Null when no retention floor applies.
    • getRecipientRef

      public Optional<String> getRecipientRef()
      Returns:
      Reserved for future use — not yet populated, so this is currently always null. When implemented, it will record the basis for the access (e.g. treatment, payment, operations, or an external disclosure) to support a §164.528 accounting.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      When the read occurred / the row was recorded (ISO-8601 UTC).
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ReadAccessLogResponse.Builder builder()