Record Class Chore
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Chore
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- 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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyActive, for queries: A Boolean that indicates whether the chore is active.static final ODataPropertyAttributes, for queries: The attributes of the chore.static final ODataPropertyDSTSensitive, for queries: A Boolean that indicates whether the chore start time is sensitive to daylight saving time.static final ODataPropertyExecutionMode, for queries: The execution mode of the chore, that is, single or multiple commit.static final ODataPropertyFrequency, for queries: The frequency of the chore.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the chore.static final ODataPropertyName, for queries: The name of the chore.static final ODataPropertyStartTime, for queries: The UTC date-time defining the start time of the chore, independent of daylight saving time.static final ODataPropertyTasks, for queries: A collection of tasks that make up the chore. -
Constructor Summary
ConstructorsConstructorDescriptionChore(@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) Creates an instance of aChorerecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Booleanactive()Returns the value of theactiverecord component.@Nullable AttributesReturns the value of theattributesrecord component.@Nullable BooleanReturns the value of thedstSensitiverecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.@Nullable ChoreExecutionModeReturns the value of theexecutionModerecord component.@Nullable DurationReturns the value of thefrequencyrecord component.final inthashCode()Returns a hash code value for this object.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringname()Returns the value of thenamerecord component.@Nullable OffsetDateTimeReturns the value of thestartTimerecord component.tasks()Returns the value of thetasksrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NAME
Name, for queries: The name of the chore. -
START_TIME
StartTime, for queries: The UTC date-time defining the start time of the chore, independent of daylight saving time. -
DST_SENSITIVE
DSTSensitive, for queries: A Boolean that indicates whether the chore start time is sensitive to daylight saving time. -
ACTIVE
Active, for queries: A Boolean that indicates whether the chore is active. -
EXECUTION_MODE
ExecutionMode, for queries: The execution mode of the chore, that is, single or multiple commit. -
FREQUENCY
Frequency, for queries: The frequency of the chore. -
ATTRIBUTES
Attributes, for queries: The attributes of the chore. -
LOCALIZED_ATTRIBUTES
LocalizedAttributes, for queries: Translated string values for properties of the chore. (a navigation property, for$expand) -
TASKS
Tasks, for queries: A collection of tasks that make up the chore. (a navigation property, for$expand)
-
-
Constructor Details
-
Chore
public 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) Creates an instance of aChorerecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentstartTime- the value for thestartTimerecord componentdstSensitive- the value for thedstSensitiverecord componentactive- the value for theactiverecord componentexecutionMode- the value for theexecutionModerecord componentfrequency- the value for thefrequencyrecord componentattributes- the value for theattributesrecord componentlocalizedAttributes- the value for thelocalizedAttributesrecord componenttasks- the value for thetasksrecord 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). -
etag
-
name
-
startTime
-
dstSensitive
Returns the value of thedstSensitiverecord component.- Returns:
- the value of the
dstSensitiverecord component
-
active
-
executionMode
Returns the value of theexecutionModerecord component.- Returns:
- the value of the
executionModerecord component
-
frequency
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Returns:
- the value of the
localizedAttributesrecord component
-
tasks
-