Class SessionPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.SessionPatch.Builder
- Enclosing class:
SessionPatch
Builds a
SessionPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionSetsActive: A Boolean indicating that the session is still considered active vs.bindThreads(ODataPath... targets) BindsThreadsto existing entities (Threads@odata.bind).BindsUserto an existing entity (User@odata.bind).build()The patch, with what's been set so far.SetsContext: The Context specified by the client to help identifying the consumer of this session.SetsID: The ID uniquely identifying the session.threads(@Nullable List<ThreadPatch> threads) SetsThreads: The names of users in a given group.SetsUser: The user that is associated to this session.
-
Method Details
-
id
SetsID: The ID uniquely identifying the session.- Parameters:
id- the value;nullsends an explicitnull- Returns:
- this builder
-
context
SetsContext: The Context specified by the client to help identifying the consumer of this session.- Parameters:
context- the value;nullsends an explicitnull- Returns:
- this builder
-
active
SetsActive: A Boolean indicating that the session is still considered active vs.- Parameters:
active- the value;nullsends an explicitnull- Returns:
- this builder
-
user
SetsUser: The user that is associated to this session. (nested, for a deep insert)- Parameters:
user- the value;nullsends an explicitnull- Returns:
- this builder
-
bindUser
BindsUserto an existing entity (User@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
threads
SetsThreads: The names of users in a given group. (nested, for a deep insert)- Parameters:
threads- the value;nullsends an explicitnull- Returns:
- this builder
-
bindThreads
BindsThreadsto existing entities (Threads@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-