Class ChorePatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.ChorePatch.Builder
- Enclosing class:
ChorePatch
Builds a
ChorePatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionSetsActive: A Boolean that indicates whether the chore is active.attributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the chore.bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).BindsTasksto existing entities (Tasks@odata.bind).build()The patch, with what's been set so far.dstSensitive(@Nullable Boolean dstSensitive) SetsDSTSensitive: A Boolean that indicates whether the chore start time is sensitive to daylight saving time.executionMode(@Nullable ChoreExecutionMode executionMode) SetsExecutionMode: The execution mode of the chore, that is, single or multiple commit.SetsFrequency: The frequency of the chore.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the chore.SetsName: The name of the chore.startTime(@Nullable OffsetDateTime startTime) SetsStartTime: The UTC date-time defining the start time of the chore, independent of daylight saving time.tasks(@Nullable List<ChoreTaskPatch> tasks) SetsTasks: A collection of tasks that make up the chore.
-
Method Details
-
name
SetsName: The name of the chore.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
startTime
SetsStartTime: The UTC date-time defining the start time of the chore, independent of daylight saving time.- Parameters:
startTime- the value;nullsends an explicitnull- Returns:
- this builder
-
dstSensitive
SetsDSTSensitive: A Boolean that indicates whether the chore start time is sensitive to daylight saving time.- Parameters:
dstSensitive- the value;nullsends an explicitnull- Returns:
- this builder
-
active
SetsActive: A Boolean that indicates whether the chore is active.- Parameters:
active- the value;nullsends an explicitnull- Returns:
- this builder
-
executionMode
SetsExecutionMode: The execution mode of the chore, that is, single or multiple commit.- Parameters:
executionMode- the value;nullsends an explicitnull- Returns:
- this builder
-
frequency
SetsFrequency: The frequency of the chore.- Parameters:
frequency- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the chore.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
localizedAttributes
public ChorePatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the chore. (nested, for a deep insert)- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
tasks
SetsTasks: A collection of tasks that make up the chore. (nested, for a deep insert)- Parameters:
tasks- the value;nullsends an explicitnull- Returns:
- this builder
-
bindTasks
BindsTasksto existing entities (Tasks@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-