Class LevelPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.LevelPatch.Builder
- Enclosing class:
LevelPatch
Builds a
LevelPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionbindHierarchy(ODataPath target) BindsHierarchyto an existing entity (Hierarchy@odata.bind).bindMembers(ODataPath... targets) BindsMembersto existing entities (Members@odata.bind).build()The patch, with what's been set so far.cardinality(@Nullable Integer cardinality) SetsCardinality: The cardinality of the level, that is, the number of elements in the level.hierarchy(@Nullable HierarchyPatch hierarchy) SetsHierarchy: The hierarchy of the level.members(@Nullable List<? extends MemberPatch> members) SetsMembers: The members of the level.SetsName: The name of the level.SetsNumber: The level number.SetsType: The type of the level.uniqueName(@Nullable String uniqueName) SetsUniqueName: The unique name of the level.
-
Method Details
-
number
SetsNumber: The level number.- Parameters:
number- the value;nullsends an explicitnull- Returns:
- this builder
-
name
SetsName: The name of the level.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
uniqueName
SetsUniqueName: The unique name of the level.- Parameters:
uniqueName- the value;nullsends an explicitnull- Returns:
- this builder
-
cardinality
SetsCardinality: The cardinality of the level, that is, the number of elements in the level.- Parameters:
cardinality- the value;nullsends an explicitnull- Returns:
- this builder
-
type
SetsType: The type of the level.- Parameters:
type- the value;nullsends an explicitnull- Returns:
- this builder
-
hierarchy
SetsHierarchy: The hierarchy of the level. (nested, for a deep insert)- Parameters:
hierarchy- the value;nullsends an explicitnull- Returns:
- this builder
-
bindHierarchy
BindsHierarchyto an existing entity (Hierarchy@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
members
SetsMembers: The members of the level. (nested, for a deep insert)- Parameters:
members- the value;nullsends an explicitnull- Returns:
- this builder
-
bindMembers
BindsMembersto existing entities (Members@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-