Class GroupPatch.Builder

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

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

    • name

      public GroupPatch.Builder name(@Nullable String name)
      Sets Name: The name of a user group on the TM1 server.
      Parameters:
      name - the value; null sends an explicit null
      Returns:
      this builder
    • users

      public GroupPatch.Builder users(@Nullable List<UserPatch> users)
      Sets Users: The names of users in a given group. (nested, for a deep insert)
      Parameters:
      users - the value; null sends an explicit null
      Returns:
      this builder
    • bindUsers

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

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