Class ChoreTaskPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.ChoreTaskPatch.Builder
Enclosing class:
ChoreTaskPatch

public static final class ChoreTaskPatch.Builder extends Object
Builds a ChoreTaskPatch; each setter replaces what an earlier call set.
  • Method Details

    • step

      public ChoreTaskPatch.Builder step(@Nullable Long step)
      Sets Step: A step in a task.
      Parameters:
      step - the value; null sends an explicit null
      Returns:
      this builder
    • parameters

      public ChoreTaskPatch.Builder parameters(@Nullable List<ChoreTaskParameterPatch> parameters)
      Sets Parameters: A collection of parameters for the task.
      Parameters:
      parameters - the value; null sends an explicit null
      Returns:
      this builder
    • process

      public ChoreTaskPatch.Builder process(@Nullable ProcessPatch process)
      Sets Process: The process completed in the task. (nested, for a deep insert)
      Parameters:
      process - the value; null sends an explicit null
      Returns:
      this builder
    • bindProcess

      public ChoreTaskPatch.Builder bindProcess(ODataPath target)
      Binds Process to an existing entity (Process@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • chore

      @Deprecated(since="11.4.0") public ChoreTaskPatch.Builder chore(@Nullable ChorePatch chore)
      Deprecated.
      Deprecated in TM1 schema 11.4.0.
      Sets Chore: The Chore that the task belongs to. (nested, for a deep insert)
      Parameters:
      chore - the value; null sends an explicit null
      Returns:
      this builder
    • bindChore

      @Deprecated(since="11.4.0") public ChoreTaskPatch.Builder bindChore(ODataPath target)
      Deprecated.
      Deprecated in TM1 schema 11.4.0.
      Binds Chore to an existing entity (Chore@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • build

      public ChoreTaskPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch