Record Class MessageLogEntry
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.MessageLogEntry
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchid- The ID of the message log entry.threadID- The thread ID of the message log entry.sessionID- The session ID of the message log entry.level- The level of the message log entry, that is, Fatal, Error, Warning, Info, Debug, Unknown, Off.timeStamp- The date and time of the message log entry.. TM1 (11.8) sends0000-00-00T00:00Zfor an entry without a time, such as the first; it's read as nulllogger- The logger of the message log entry.message- The message in the message log entry.
@Generated("io.skipcheck.tm1.codegen")
@Since("10.2.2.1")
public record MessageLogEntry(@Nullable String etag, @Nullable Long id, @Nullable Long threadID, @Nullable Long sessionID, @Nullable LogLevel level, @Nullable OffsetDateTime timeStamp, @Nullable String logger, @Nullable String message)
extends Record
An entry in the message 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 ODataPropertyID, for queries: The ID of the message log entry.static final ODataPropertyLevel, for queries: The level of the message log entry, that is, Fatal, Error, Warning, Info, Debug, Unknown, Off.static final ODataPropertyLogger, for queries: The logger of the message log entry.static final ODataPropertyMessage, for queries: The message in the message log entry.static final ODataPropertySessionID, for queries: The session ID of the message log entry.static final ODataPropertyThreadID, for queries: The thread ID of the message log entry.static final ODataPropertyTimeStamp, for queries: The date and time of the message log entry. -
Constructor Summary
ConstructorsConstructorDescriptionMessageLogEntry(@Nullable String etag, @Nullable Long id, @Nullable Long threadID, @Nullable Long sessionID, @Nullable LogLevel level, @Nullable OffsetDateTime timeStamp, @Nullable String logger, @Nullable String message) Creates an instance of aMessageLogEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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 LogLevellevel()Returns the value of thelevelrecord component.@Nullable Stringlogger()Returns the value of theloggerrecord component.@Nullable Stringmessage()Returns the value of themessagerecord component.@Nullable LongReturns the value of thesessionIDrecord component.@Nullable LongthreadID()Returns the value of thethreadIDrecord component.@Nullable OffsetDateTimeReturns the value of thetimeStamprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ID
ID, for queries: The ID of the message log entry. -
THREAD_ID
ThreadID, for queries: The thread ID of the message log entry. -
SESSION_ID
SessionID, for queries: The session ID of the message log entry. -
LEVEL
Level, for queries: The level of the message log entry, that is, Fatal, Error, Warning, Info, Debug, Unknown, Off. -
TIME_STAMP
TimeStamp, for queries: The date and time of the message log entry. -
LOGGER
Logger, for queries: The logger of the message log entry. -
MESSAGE
Message, for queries: The message in the message log entry.
-
-
Constructor Details
-
MessageLogEntry
public MessageLogEntry(@Nullable String etag, @Nullable Long id, @Nullable Long threadID, @Nullable Long sessionID, @Nullable LogLevel level, @Nullable OffsetDateTime timeStamp, @Nullable String logger, @Nullable String message) Creates an instance of aMessageLogEntryrecord class.- Parameters:
etag- the value for theetagrecord componentid- the value for theidrecord componentthreadID- the value for thethreadIDrecord componentsessionID- the value for thesessionIDrecord componentlevel- the value for thelevelrecord componenttimeStamp- the value for thetimeStamprecord componentlogger- the value for theloggerrecord componentmessage- the value for themessagerecord 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
-
threadID
-
sessionID
-
level
-
timeStamp
-
logger
-
message
-