Class FolderPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.EntryPatch.Builder
io.skipcheck.tm1.client.model.FolderPatch.Builder
- Enclosing class:
FolderPatch
Builds a
FolderPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionattributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the entry.bindContainedBy(ODataPath target) BindsContainedByto an existing entity (ContainedBy@odata.bind).bindContents(ODataPath... targets) BindsContentsto existing entities (Contents@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).bindPrivateContents(ODataPath... targets) BindsPrivateContentsto existing entities (PrivateContents@odata.bind).build()The patch, with what's been set so far.containedBy(@Nullable FolderPatch containedBy) SetsContainedBy: The folder that contains the entries.contents(@Nullable List<? extends EntryPatch> contents) SetsContents: A collection of entries that are in the folder.Deprecated.Deprecated in TM1 schema 11.5.0.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the entry.SetsName: The name of the entry.privateContents(@Nullable List<? extends EntryPatch> privateContents) SetsPrivateContents: A collection of private entries that are in the folder.
-
Method Details
-
id
Deprecated.Deprecated in TM1 schema 11.5.0.SetsID: The ID of the entry.- Overrides:
idin classEntryPatch.Builder- Parameters:
id- the value;nullsends an explicitnull- Returns:
- this builder
-
name
SetsName: The name of the entry.- Overrides:
namein classEntryPatch.Builder- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the entry.- Overrides:
attributesin classEntryPatch.Builder- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
containedBy
SetsContainedBy: The folder that contains the entries. (nested, for a deep insert)- Overrides:
containedByin classEntryPatch.Builder- Parameters:
containedBy- the value;nullsends an explicitnull- Returns:
- this builder
-
bindContainedBy
BindsContainedByto an existing entity (ContainedBy@odata.bind).- Overrides:
bindContainedByin classEntryPatch.Builder- Parameters:
target- the entity's path- Returns:
- this builder
-
localizedAttributes
public FolderPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the entry. (nested, for a deep insert)- Overrides:
localizedAttributesin classEntryPatch.Builder- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Overrides:
bindLocalizedAttributesin classEntryPatch.Builder- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
contents
SetsContents: A collection of entries that are in the folder. (nested, for a deep insert)- Parameters:
contents- the value;nullsends an explicitnull- Returns:
- this builder
-
bindContents
BindsContentsto existing entities (Contents@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
privateContents
SetsPrivateContents: A collection of private entries that are in the folder. (nested, for a deep insert)- Parameters:
privateContents- the value;nullsends an explicitnull- Returns:
- this builder
-
bindPrivateContents
BindsPrivateContentsto existing entities (PrivateContents@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
The patch, with what's been set so far.- Overrides:
buildin classEntryPatch.Builder- Returns:
- the patch
-