Record Class AuditLogEntry

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.AuditLogEntry
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - The ID of audit log entry.
timeStamp - The date and time of this audit log entry.
userName - The user who is recorded by this audit log entry.
description - The description of this audit log entry.
objectType - The type of this audit log entry.
objectName - The name of this audit log entry.
auditDetails - The collection of audit detail entries that are contained by this audit log entry. (when expanded)

@Generated("io.skipcheck.tm1.codegen") @Since("11.6.0") public record AuditLogEntry(@Nullable String etag, @Nullable Long id, @Nullable OffsetDateTime timeStamp, @Nullable String userName, @Nullable String description, @Nullable String objectType, @Nullable String objectName, @Nullable List<AuditDetail> auditDetails) extends Record
An audit log entry in the audit log.

Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.

  • Field Details

    • ID

      public static final ODataProperty ID
      ID, for queries: The ID of audit log entry.
    • TIME_STAMP

      public static final ODataProperty TIME_STAMP
      TimeStamp, for queries: The date and time of this audit log entry.
    • USER_NAME

      public static final ODataProperty USER_NAME
      UserName, for queries: The user who is recorded by this audit log entry.
    • DESCRIPTION

      public static final ODataProperty DESCRIPTION
      Description, for queries: The description of this audit log entry.
    • OBJECT_TYPE

      public static final ODataProperty OBJECT_TYPE
      ObjectType, for queries: The type of this audit log entry.
    • OBJECT_NAME

      public static final ODataProperty OBJECT_NAME
      ObjectName, for queries: The name of this audit log entry.
    • AUDIT_DETAILS

      public static final ODataProperty AUDIT_DETAILS
      AuditDetails, for queries: The collection of audit detail entries that are contained by this audit log entry. (a navigation property, for $expand)
  • Constructor Details

    • AuditLogEntry

      public AuditLogEntry(@Nullable String etag, @Nullable Long id, @Nullable OffsetDateTime timeStamp, @Nullable String userName, @Nullable String description, @Nullable String objectType, @Nullable String objectName, @Nullable List<AuditDetail> auditDetails)
      Creates an instance of a AuditLogEntry record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      timeStamp - the value for the timeStamp record component
      userName - the value for the userName record component
      description - the value for the description record component
      objectType - the value for the objectType record component
      objectName - the value for the objectName record component
      auditDetails - the value for the auditDetails record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • etag

      public @Nullable String etag()
      Returns the value of the etag record component.
      Returns:
      the value of the etag record component
    • id

      public @Nullable Long id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • timeStamp

      public @Nullable OffsetDateTime timeStamp()
      Returns the value of the timeStamp record component.
      Returns:
      the value of the timeStamp record component
    • userName

      public @Nullable String userName()
      Returns the value of the userName record component.
      Returns:
      the value of the userName record component
    • description

      public @Nullable String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • objectType

      public @Nullable String objectType()
      Returns the value of the objectType record component.
      Returns:
      the value of the objectType record component
    • objectName

      public @Nullable String objectName()
      Returns the value of the objectName record component.
      Returns:
      the value of the objectName record component
    • auditDetails

      public @Nullable List<AuditDetail> auditDetails()
      Returns the value of the auditDetails record component.
      Returns:
      the value of the auditDetails record component