Interface View

All Known Implementing Classes:
MDXView, NativeView, View.Unknown

@Generated("io.skipcheck.tm1.codegen") public sealed interface View permits MDXView, NativeView, View.Unknown
A view of data in a cube.

One of MDXView or NativeView, chosen by @odata.type; View.Unknown when this client doesn't know the type. Generated from $metadata.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    A View of a type this client doesn't know, such as one a newer server added: only the properties all Views have are read.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ODataProperty
    Attributes, for queries: The attributes of the view.
    static final ODataProperty
    Cube, for queries: The parent cube of the view.
    static final ODataProperty
    LocalizedAttributes, for queries: Translated string values for properties of the view.
    static final ODataProperty
    Name, for queries: The name of the view.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Attributes
    The attributes of the view.
    @Nullable Cube
    The parent cube of the view.
    @Nullable Map<String, tools.jackson.databind.JsonNode>
    The properties $metadata doesn't declare, which an open type can have, such as attribute values.
    @Nullable String
    The entity's ETag (@odata.etag), for If-Match.
    Translated string values for properties of the view.
    @Nullable String
    The name of the view.
  • Field Details

    • NAME

      static final ODataProperty NAME
      Name, for queries: The name of the view.
    • ATTRIBUTES

      static final ODataProperty ATTRIBUTES
      Attributes, for queries: The attributes of the view.
    • CUBE

      static final ODataProperty CUBE
      Cube, for queries: The parent cube of the view. (a navigation property, for $expand)
    • LOCALIZED_ATTRIBUTES

      static final ODataProperty LOCALIZED_ATTRIBUTES
      LocalizedAttributes, for queries: Translated string values for properties of the view. (a navigation property, for $expand)
  • Method Details

    • etag

      @Nullable String etag()
      The entity's ETag (@odata.etag), for If-Match.
      Returns:
      the entity's ETag (@odata.etag), for If-Match
    • name

      @Nullable String name()
      The name of the view.
      Returns:
      The name of the view.
    • attributes

      @Nullable Attributes attributes()
      The attributes of the view.
      Returns:
      The attributes of the view.
    • cube

      @Nullable Cube cube()
      The parent cube of the view. (when expanded).
      Returns:
      The parent cube of the view. (when expanded)
    • localizedAttributes

      @Nullable List<LocalizedAttributes> localizedAttributes()
      Translated string values for properties of the view. (when expanded).
      Returns:
      Translated string values for properties of the view. (when expanded)
    • dynamicProperties

      @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties()
      The properties $metadata doesn't declare, which an open type can have, such as attribute values.
      Returns:
      the properties $metadata doesn't declare, which an open type can have, such as attribute values