Record Class ProcessVariable

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.ProcessVariable
Record Components:
name - the Name property
type - the Type property
position - the Position property
startByte - the StartByte property
endByte - the EndByte property

@Generated("io.skipcheck.tm1.codegen") public record ProcessVariable(@Nullable String name, @Nullable ProcessVariableType type, @Nullable Integer position, @Nullable Integer startByte, @Nullable Integer endByte) extends Record
The ProcessVariable 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

    • NAME

      public static final ODataProperty NAME
      Name, for queries: the Name property
    • TYPE

      public static final ODataProperty TYPE
      Type, for queries: the Type property
    • POSITION

      public static final ODataProperty POSITION
      Position, for queries: the Position property
    • START_BYTE

      public static final ODataProperty START_BYTE
      StartByte, for queries: the StartByte property
    • END_BYTE

      public static final ODataProperty END_BYTE
      EndByte, for queries: the EndByte property
  • Constructor Details

    • ProcessVariable

      public ProcessVariable(@Nullable String name, @Nullable ProcessVariableType type, @Nullable Integer position, @Nullable Integer startByte, @Nullable Integer endByte)
      Creates an instance of a ProcessVariable record class.
      Parameters:
      name - the value for the name record component
      type - the value for the type record component
      position - the value for the position record component
      startByte - the value for the startByte record component
      endByte - the value for the endByte 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.
    • name

      public @Nullable String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • type

      public @Nullable ProcessVariableType type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • position

      public @Nullable Integer position()
      Returns the value of the position record component.
      Returns:
      the value of the position record component
    • startByte

      public @Nullable Integer startByte()
      Returns the value of the startByte record component.
      Returns:
      the value of the startByte record component
    • endByte

      public @Nullable Integer endByte()
      Returns the value of the endByte record component.
      Returns:
      the value of the endByte record component