Record Class ChoreTask

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.ChoreTask
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
step - A step in a task.
parameters - A collection of parameters for the task.
process - The process completed in the task. (when expanded)
chore - The Chore that the task belongs to. (when expanded). Deprecated in TM1 schema 11.4.0.

@Generated("io.skipcheck.tm1.codegen") @Since("10.2.2.1") public record ChoreTask(@Nullable String etag, @Nullable Long step, @Nullable List<ChoreTaskParameter> parameters, @Nullable Process process, @Nullable Chore chore) extends Record
A task to be completed as part of a Chore.

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

    • STEP

      public static final ODataProperty STEP
      Step, for queries: A step in a task.
    • PARAMETERS

      public static final ODataProperty PARAMETERS
      Parameters, for queries: A collection of parameters for the task.
    • PROCESS

      public static final ODataProperty PROCESS
      Process, for queries: The process completed in the task. (a navigation property, for $expand)
    • CHORE

      @Deprecated(since="11.4.0") public static final ODataProperty CHORE
      Deprecated.
      Deprecated in TM1 schema 11.4.0.
      Chore, for queries: The Chore that the task belongs to. (a navigation property, for $expand)
  • Constructor Details

    • ChoreTask

      public ChoreTask(@Nullable String etag, @Nullable Long step, @Nullable List<ChoreTaskParameter> parameters, @Nullable Process process, @Deprecated(since="11.4.0") @Nullable Chore chore)
      Creates an instance of a ChoreTask record class.
      Parameters:
      etag - the value for the etag record component
      step - the value for the step record component
      parameters - the value for the parameters record component
      process - the value for the process record component
      chore - the value for the chore 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
    • step

      public @Nullable Long step()
      Returns the value of the step record component.
      Returns:
      the value of the step record component
    • parameters

      public @Nullable List<ChoreTaskParameter> parameters()
      Returns the value of the parameters record component.
      Returns:
      the value of the parameters record component
    • process

      public @Nullable Process process()
      Returns the value of the process record component.
      Returns:
      the value of the process record component
    • chore

      @Deprecated(since="11.4.0") public @Nullable Chore chore()
      Deprecated.
      Returns the value of the chore record component.
      Returns:
      the value of the chore record component