Class EntryPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.EntryPatch.Builder
Direct Known Subclasses:
ChoreReferencePatch.Builder, CubeReferencePatch.Builder, DimensionReferencePatch.Builder, DocumentPatch.Builder, DocumentReferencePatch.Builder, FolderPatch.Builder, LinkPatch.Builder, ProcessReferencePatch.Builder, SubsetReferencePatch.Builder, ViewReferencePatch.Builder
Enclosing class:
EntryPatch

public static class EntryPatch.Builder extends Object
Builds a EntryPatch; each setter replaces what an earlier call set.
  • Method Details

    • id

      @Deprecated(since="11.5.0") public EntryPatch.Builder id(@Nullable String id)
      Deprecated.
      Deprecated in TM1 schema 11.5.0.
      Sets ID: The ID of the entry.
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • name

      public EntryPatch.Builder name(@Nullable String name)
      Sets Name: The name of the entry.
      Parameters:
      name - the value; null sends an explicit null
      Returns:
      this builder
    • attributes

      public EntryPatch.Builder attributes(@Nullable AttributesPatch attributes)
      Sets Attributes: The attributes of the entry.
      Parameters:
      attributes - the value; null sends an explicit null
      Returns:
      this builder
    • containedBy

      public EntryPatch.Builder containedBy(@Nullable FolderPatch containedBy)
      Sets ContainedBy: The folder that contains the entries. (nested, for a deep insert)
      Parameters:
      containedBy - the value; null sends an explicit null
      Returns:
      this builder
    • bindContainedBy

      public EntryPatch.Builder bindContainedBy(ODataPath target)
      Binds ContainedBy to an existing entity (ContainedBy@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • localizedAttributes

      public EntryPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes)
      Sets LocalizedAttributes: Translated string values for properties of the entry. (nested, for a deep insert)
      Parameters:
      localizedAttributes - the value; null sends an explicit null
      Returns:
      this builder
    • bindLocalizedAttributes

      public EntryPatch.Builder bindLocalizedAttributes(ODataPath... targets)
      Binds LocalizedAttributes to existing entities (LocalizedAttributes@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • build

      public EntryPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch