Class ViewPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.ViewPatch.Builder
- Direct Known Subclasses:
MDXViewPatch.Builder, NativeViewPatch.Builder
- Enclosing class:
ViewPatch
-
Method Summary
Modifier and TypeMethodDescriptionattributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the view.BindsCubeto an existing entity (Cube@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).build()The patch, with what's been set so far.SetsCube: The parent cube of the view.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the view.SetsName: The name of the view.Sets a property$metadatadoesn't declare, which this open type can have, such as an attribute's value.
-
Method Details
-
name
SetsName: The name of the view.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the view.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
cube
SetsCube: The parent cube of the view. (nested, for a deep insert)- Parameters:
cube- the value;nullsends an explicitnull- Returns:
- this builder
-
bindCube
BindsCubeto an existing entity (Cube@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
localizedAttributes
public ViewPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the view. (nested, for a deep insert)- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
property
Sets a property$metadatadoesn't declare, which this open type can have, such as an attribute's value.- Parameters:
name- the property's name, as TM1 writes itvalue- the value;nullsends an explicitnull- Returns:
- this builder
-
build
-