Record Class Chore

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Chore
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
name - The name of the chore.
startTime - The UTC date-time defining the start time of the chore, independent of daylight saving time.
dstSensitive - A Boolean that indicates whether the chore start time is sensitive to daylight saving time.
active - A Boolean that indicates whether the chore is active.
executionMode - The execution mode of the chore, that is, single or multiple commit.
frequency - The frequency of the chore.
attributes - The attributes of the chore.
localizedAttributes - Translated string values for properties of the chore. (when expanded)
tasks - A collection of tasks that make up the chore. (when expanded)

@Generated("io.skipcheck.tm1.codegen") @Since("10.2.2.1") public record Chore(@Nullable String etag, @Nullable String name, @Nullable OffsetDateTime startTime, @Nullable Boolean dstSensitive, @Nullable Boolean active, @Nullable ChoreExecutionMode executionMode, @Nullable Duration frequency, @Nullable Attributes attributes, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<ChoreTask> tasks) extends Record
Objects that execute one or more processes of TM1 at a user-defined frequency.

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

    • NAME

      public static final ODataProperty NAME
      Name, for queries: The name of the chore.
    • START_TIME

      public static final ODataProperty START_TIME
      StartTime, for queries: The UTC date-time defining the start time of the chore, independent of daylight saving time.
    • DST_SENSITIVE

      public static final ODataProperty DST_SENSITIVE
      DSTSensitive, for queries: A Boolean that indicates whether the chore start time is sensitive to daylight saving time.
    • ACTIVE

      public static final ODataProperty ACTIVE
      Active, for queries: A Boolean that indicates whether the chore is active.
    • EXECUTION_MODE

      public static final ODataProperty EXECUTION_MODE
      ExecutionMode, for queries: The execution mode of the chore, that is, single or multiple commit.
    • FREQUENCY

      public static final ODataProperty FREQUENCY
      Frequency, for queries: The frequency of the chore.
    • ATTRIBUTES

      public static final ODataProperty ATTRIBUTES
      Attributes, for queries: The attributes of the chore.
    • LOCALIZED_ATTRIBUTES

      public static final ODataProperty LOCALIZED_ATTRIBUTES
      LocalizedAttributes, for queries: Translated string values for properties of the chore. (a navigation property, for $expand)
    • TASKS

      public static final ODataProperty TASKS
      Tasks, for queries: A collection of tasks that make up the chore. (a navigation property, for $expand)
  • Constructor Details

  • 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
    • name

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

      public @Nullable OffsetDateTime startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • dstSensitive

      public @Nullable Boolean dstSensitive()
      Returns the value of the dstSensitive record component.
      Returns:
      the value of the dstSensitive record component
    • active

      public @Nullable Boolean active()
      Returns the value of the active record component.
      Returns:
      the value of the active record component
    • executionMode

      public @Nullable ChoreExecutionMode executionMode()
      Returns the value of the executionMode record component.
      Returns:
      the value of the executionMode record component
    • frequency

      public @Nullable Duration frequency()
      Returns the value of the frequency record component.
      Returns:
      the value of the frequency record component
    • attributes

      public @Nullable Attributes attributes()
      Returns the value of the attributes record component.
      Returns:
      the value of the attributes record component
    • localizedAttributes

      public @Nullable List<LocalizedAttributes> localizedAttributes()
      Returns the value of the localizedAttributes record component.
      Returns:
      the value of the localizedAttributes record component
    • tasks

      public @Nullable List<ChoreTask> tasks()
      Returns the value of the tasks record component.
      Returns:
      the value of the tasks record component