Class DocumentPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.EntryPatch.Builder
io.skipcheck.tm1.client.model.DocumentPatch.Builder
- Enclosing class:
DocumentPatch
Builds a
DocumentPatch; 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).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).build()The patch, with what's been set so far.containedBy(@Nullable FolderPatch containedBy) SetsContainedBy: The folder that contains the entries.Deprecated.Deprecated in TM1 schema 11.5.0.lastUpdated(@Nullable OffsetDateTime lastUpdated) SetsLastUpdated: The date and time value of the last update of this document, with a time zone offset.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the entry.SetsName: The name of the entry.SetsSize: The size of the document.
-
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 DocumentPatch.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
-
size
SetsSize: The size of the document.- Parameters:
size- the value;nullsends an explicitnull- Returns:
- this builder
-
lastUpdated
SetsLastUpdated: The date and time value of the last update of this document, with a time zone offset.- Parameters:
lastUpdated- the value;nullsends an explicitnull- Returns:
- this builder
-
build
The patch, with what's been set so far.- Overrides:
buildin classEntryPatch.Builder- Returns:
- the patch
-