Record Class AuditLogEntry
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.AuditLogEntry
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchid- 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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyAuditDetails, for queries: The collection of audit detail entries that are contained by this audit log entry.static final ODataPropertyDescription, for queries: The description of this audit log entry.static final ODataPropertyID, for queries: The ID of audit log entry.static final ODataPropertyObjectName, for queries: The name of this audit log entry.static final ODataPropertyObjectType, for queries: The type of this audit log entry.static final ODataPropertyTimeStamp, for queries: The date and time of this audit log entry.static final ODataPropertyUserName, for queries: The user who is recorded by this audit log entry. -
Constructor Summary
ConstructorsConstructorDescriptionAuditLogEntry(@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 aAuditLogEntryrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<AuditDetail> Returns the value of theauditDetailsrecord component.@Nullable StringReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.@Nullable Longid()Returns the value of theidrecord component.@Nullable StringReturns the value of theobjectNamerecord component.@Nullable StringReturns the value of theobjectTyperecord component.@Nullable OffsetDateTimeReturns the value of thetimeStamprecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringuserName()Returns the value of theuserNamerecord component.
-
Field Details
-
ID
ID, for queries: The ID of audit log entry. -
TIME_STAMP
TimeStamp, for queries: The date and time of this audit log entry. -
USER_NAME
UserName, for queries: The user who is recorded by this audit log entry. -
DESCRIPTION
Description, for queries: The description of this audit log entry. -
OBJECT_TYPE
ObjectType, for queries: The type of this audit log entry. -
OBJECT_NAME
ObjectName, for queries: The name of this audit log entry. -
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 aAuditLogEntryrecord class.- Parameters:
etag- the value for theetagrecord componentid- the value for theidrecord componenttimeStamp- the value for thetimeStamprecord componentuserName- the value for theuserNamerecord componentdescription- the value for thedescriptionrecord componentobjectType- the value for theobjectTyperecord componentobjectName- the value for theobjectNamerecord componentauditDetails- the value for theauditDetailsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
etag
-
id
-
timeStamp
-
userName
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
objectType
Returns the value of theobjectTyperecord component.- Returns:
- the value of the
objectTyperecord component
-
objectName
Returns the value of theobjectNamerecord component.- Returns:
- the value of the
objectNamerecord component
-
auditDetails
Returns the value of theauditDetailsrecord component.- Returns:
- the value of the
auditDetailsrecord component
-