Record Class TopLogSettings
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.TopLogSettings
- Record Components:
enable- theEnablepropertyscanMode- theScanModepropertyscanFrequency- theScanFrequencyproperty
@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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyEnable, for queries: theEnablepropertystatic final ODataPropertyScanFrequency, for queries: theScanFrequencypropertystatic final ODataPropertyScanMode, for queries: theScanModeproperty -
Constructor Summary
ConstructorsConstructorDescriptionTopLogSettings(@Nullable Boolean enable, @Nullable String scanMode, @Nullable Duration scanFrequency) Creates an instance of aTopLogSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Booleanenable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable DurationReturns the value of thescanFrequencyrecord component.@Nullable StringscanMode()Returns the value of thescanModerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ENABLE
Enable, for queries: theEnableproperty -
SCAN_MODE
ScanMode, for queries: theScanModeproperty -
SCAN_FREQUENCY
ScanFrequency, for queries: theScanFrequencyproperty
-
-
Constructor Details
-
TopLogSettings
public TopLogSettings(@Nullable Boolean enable, @Nullable String scanMode, @Nullable Duration scanFrequency) Creates an instance of aTopLogSettingsrecord class.- Parameters:
enable- the value for theenablerecord componentscanMode- the value for thescanModerecord componentscanFrequency- the value for thescanFrequencyrecord 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). -
enable
-
scanMode
-
scanFrequency
Returns the value of thescanFrequencyrecord component.- Returns:
- the value of the
scanFrequencyrecord component
-