Record Class AuditDetail
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.AuditDetail
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchid- The ID of this audit detail entry.timeStamp- The date and time of this audit detail entry.userName- The user who is recorded by this audit detail entry.description- The description of this audit detail entry.objectType- The object type of this audit detail entry.objectName- The object name of this audit detail entry.
@Generated("io.skipcheck.tm1.codegen")
@Since("11.6.0")
public record AuditDetail(@Nullable String etag, @Nullable Long id, @Nullable OffsetDateTime timeStamp, @Nullable String userName, @Nullable String description, @Nullable String objectType, @Nullable String objectName)
extends Record
An audit detail entry contained by an expandable audit log entry.
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 ODataPropertyDescription, for queries: The description of this audit detail entry.static final ODataPropertyID, for queries: The ID of this audit detail entry.static final ODataPropertyObjectName, for queries: The object name of this audit detail entry.static final ODataPropertyObjectType, for queries: The object type of this audit detail entry.static final ODataPropertyTimeStamp, for queries: The date and time of this audit detail entry.static final ODataPropertyUserName, for queries: The user who is recorded by this audit detail entry. -
Constructor Summary
ConstructorsConstructorDescriptionAuditDetail(@Nullable String etag, @Nullable Long id, @Nullable OffsetDateTime timeStamp, @Nullable String userName, @Nullable String description, @Nullable String objectType, @Nullable String objectName) Creates an instance of aAuditDetailrecord class. -
Method Summary
Modifier and TypeMethodDescription@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 this audit detail entry. -
TIME_STAMP
TimeStamp, for queries: The date and time of this audit detail entry. -
USER_NAME
UserName, for queries: The user who is recorded by this audit detail entry. -
DESCRIPTION
Description, for queries: The description of this audit detail entry. -
OBJECT_TYPE
ObjectType, for queries: The object type of this audit detail entry. -
OBJECT_NAME
ObjectName, for queries: The object name of this audit detail entry.
-
-
Constructor Details
-
AuditDetail
public AuditDetail(@Nullable String etag, @Nullable Long id, @Nullable OffsetDateTime timeStamp, @Nullable String userName, @Nullable String description, @Nullable String objectType, @Nullable String objectName) Creates an instance of aAuditDetailrecord 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 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
-