Class RowsetPatch.Builder

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

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

    • id

      public RowsetPatch.Builder id(@Nullable String id)
      Sets ID: Read-only property that provides a unique identifier for the rowset for the current session.
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • rows

      public RowsetPatch.Builder rows(@Nullable List<RowsetRowPatch> rows)
      Sets Rows: Individual row value that makes up part of the rowset. (nested, for a deep insert)
      Parameters:
      rows - the value; null sends an explicit null
      Returns:
      this builder
    • bindRows

      public RowsetPatch.Builder bindRows(ODataPath... targets)
      Binds Rows to existing entities (Rows@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • build

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