Record Class TopLogSettings

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.TopLogSettings
Record Components:
enable - the Enable property
scanMode - the ScanMode property
scanFrequency - the ScanFrequency property

@Generated("io.skipcheck.tm1.codegen") @Since("11.5.0") public record TopLogSettings(@Nullable Boolean enable, @Nullable String scanMode, @Nullable Duration scanFrequency) extends Record
The TopLogSettings complex type of the TM1 REST API.

Generated from $metadata. Every component is nullable: $select can leave any property out. Null components aren't sent.

  • Field Details

    • ENABLE

      public static final ODataProperty ENABLE
      Enable, for queries: the Enable property
    • SCAN_MODE

      public static final ODataProperty SCAN_MODE
      ScanMode, for queries: the ScanMode property
    • SCAN_FREQUENCY

      public static final ODataProperty SCAN_FREQUENCY
      ScanFrequency, for queries: the ScanFrequency property
  • Constructor Details

    • TopLogSettings

      public TopLogSettings(@Nullable Boolean enable, @Nullable String scanMode, @Nullable Duration scanFrequency)
      Creates an instance of a TopLogSettings record class.
      Parameters:
      enable - the value for the enable record component
      scanMode - the value for the scanMode record component
      scanFrequency - the value for the scanFrequency 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.
    • enable

      public @Nullable Boolean enable()
      Returns the value of the enable record component.
      Returns:
      the value of the enable record component
    • scanMode

      public @Nullable String scanMode()
      Returns the value of the scanMode record component.
      Returns:
      the value of the scanMode record component
    • scanFrequency

      public @Nullable Duration scanFrequency()
      Returns the value of the scanFrequency record component.
      Returns:
      the value of the scanFrequency record component