Record Class MessageLogEntry

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.MessageLogEntry
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - 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) sends 0000-00-00T00:00Z for an entry without a time, such as the first; it's read as null
logger - 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 Details

    • ID

      public static final ODataProperty ID
      ID, for queries: The ID of the message log entry.
    • THREAD_ID

      public static final ODataProperty THREAD_ID
      ThreadID, for queries: The thread ID of the message log entry.
    • SESSION_ID

      public static final ODataProperty SESSION_ID
      SessionID, for queries: The session ID of the message log entry.
    • LEVEL

      public static final ODataProperty LEVEL
      Level, for queries: The level of the message log entry, that is, Fatal, Error, Warning, Info, Debug, Unknown, Off.
    • TIME_STAMP

      public static final ODataProperty TIME_STAMP
      TimeStamp, for queries: The date and time of the message log entry.
    • LOGGER

      public static final ODataProperty LOGGER
      Logger, for queries: The logger of the message log entry.
    • MESSAGE

      public static final ODataProperty 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 a MessageLogEntry record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      threadID - the value for the threadID record component
      sessionID - the value for the sessionID record component
      level - the value for the level record component
      timeStamp - the value for the timeStamp record component
      logger - the value for the logger record component
      message - the value for the message 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
    • threadID

      public @Nullable Long threadID()
      Returns the value of the threadID record component.
      Returns:
      the value of the threadID record component
    • sessionID

      public @Nullable Long sessionID()
      Returns the value of the sessionID record component.
      Returns:
      the value of the sessionID record component
    • level

      public @Nullable LogLevel level()
      Returns the value of the level record component.
      Returns:
      the value of the level record component
    • timeStamp

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

      public @Nullable String logger()
      Returns the value of the logger record component.
      Returns:
      the value of the logger record component
    • message

      public @Nullable String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component