Class UserPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.UserPatch.Builder
- Enclosing class:
UserPatch
-
Method Summary
Modifier and TypeMethodDescriptionbindGroups(ODataPath... targets) BindsGroupsto existing entities (Groups@odata.bind).bindSessions(ODataPath... targets) BindsSessionsto existing entities (Sessions@odata.bind).build()The patch, with what's been set so far.SetsEnabled: A Boolean that indicates whether the user is enabled.friendlyName(@Nullable String friendlyName) SetsFriendlyName: The friendly name, also known as the display name, of the user.groups(@Nullable List<GroupPatch> groups) SetsGroups: The defined groups that the user belongs to.SetsIsActive: A Boolean that indicates whether the user is currently logged in to the TM1 server.SetsName: The unique name of the user.SetsPassword: The password for the user.sessions(@Nullable List<SessionPatch> sessions) SetsSessions: The set of currently active sessions of this user.SetsType: The type of the user.
-
Method Details
-
name
SetsName: The unique name of the user.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
friendlyName
SetsFriendlyName: The friendly name, also known as the display name, of the user.- Parameters:
friendlyName- the value;nullsends an explicitnull- Returns:
- this builder
-
password
SetsPassword: The password for the user.- Parameters:
password- the value;nullsends an explicitnull- Returns:
- this builder
-
type
SetsType: The type of the user.- Parameters:
type- the value;nullsends an explicitnull- Returns:
- this builder
-
isActive
SetsIsActive: A Boolean that indicates whether the user is currently logged in to the TM1 server.- Parameters:
isActive- the value;nullsends an explicitnull- Returns:
- this builder
-
enabled
SetsEnabled: A Boolean that indicates whether the user is enabled.- Parameters:
enabled- the value;nullsends an explicitnull- Returns:
- this builder
-
groups
SetsGroups: The defined groups that the user belongs to. (nested, for a deep insert)- Parameters:
groups- the value;nullsends an explicitnull- Returns:
- this builder
-
bindGroups
BindsGroupsto existing entities (Groups@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
sessions
SetsSessions: The set of currently active sessions of this user. (nested, for a deep insert)- Parameters:
sessions- the value;nullsends an explicitnull- Returns:
- this builder
-
bindSessions
BindsSessionsto existing entities (Sessions@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-