Record Class RuleSyntaxError
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.RuleSyntaxError
- Record Components:
lineNumber- The number of the line containing the error.message- The error message.
@Generated("io.skipcheck.tm1.codegen")
@Since("11.1.0")
public record RuleSyntaxError(@Nullable Integer lineNumber, @Nullable String message)
extends Record
The
RuleSyntaxError 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 ODataPropertyLineNumber, for queries: The number of the line containing the error.static final ODataPropertyMessage, for queries: The error message. -
Constructor Summary
ConstructorsConstructorDescriptionRuleSyntaxError(@Nullable Integer lineNumber, @Nullable String message) Creates an instance of aRuleSyntaxErrorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable IntegerReturns the value of thelineNumberrecord component.@Nullable Stringmessage()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LINE_NUMBER
LineNumber, for queries: The number of the line containing the error. -
MESSAGE
Message, for queries: The error message.
-
-
Constructor Details
-
RuleSyntaxError
Creates an instance of aRuleSyntaxErrorrecord class.- Parameters:
lineNumber- the value for thelineNumberrecord 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). -
lineNumber
Returns the value of thelineNumberrecord component.- Returns:
- the value of the
lineNumberrecord component
-
message
-