Record Class NativeView
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.NativeView
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the view.attributes- The attributes of the view.cube- The parent cube of the view. (when expanded)localizedAttributes- Translated string values for properties of the view. (when expanded)columns- The dimension elements that exist on the column axis of a view.rows- The dimension elements that exist on the row axis of a view.titles- The dimension elements that exist as title (context) elements of a view.suppressEmptyColumns- A Boolean that suppresses any columns that contain only zero values.suppressEmptyRows- A Boolean that suppresses any rows that contain only zero values.formatString- The format of the elements in the view.dynamicProperties- the properties$metadatadoesn't declare, which an open type can have, such as attribute values
- All Implemented Interfaces:
View
@Generated("io.skipcheck.tm1.codegen")
public record NativeView(@Nullable String etag, @Nullable String name, @Nullable Attributes attributes, @Nullable Cube cube, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<ViewAxisSelection> columns, @Nullable List<ViewAxisSelection> rows, @Nullable List<ViewTitle> titles, @Nullable Boolean suppressEmptyColumns, @Nullable Boolean suppressEmptyRows, @Nullable String formatString, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties)
extends Record
implements View
A native view of a cube.
A kind of View, read and sent with @odata.type #ibm.tm1.api.v1.NativeView.
Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.
-
Nested Class Summary
Nested classes/interfaces inherited from interface View
View.UnknownModifier and TypeInterfaceDescriptionstatic final recordAViewof a type this client doesn't know, such as one a newer server added: only the properties allViews have are read. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyColumns, for queries: The dimension elements that exist on the column axis of a view.static final ODataPropertyFormatString, for queries: The format of the elements in the view.static final ODataPropertyRows, for queries: The dimension elements that exist on the row axis of a view.static final ODataPropertySuppressEmptyColumns, for queries: A Boolean that suppresses any columns that contain only zero values.static final ODataPropertySuppressEmptyRows, for queries: A Boolean that suppresses any rows that contain only zero values.static final ODataPropertyTitles, for queries: The dimension elements that exist as title (context) elements of a view.Fields inherited from interface View
ATTRIBUTES, CUBE, LOCALIZED_ATTRIBUTES, NAMEModifier and TypeFieldDescriptionstatic final ODataPropertyAttributes, for queries: The attributes of the view.static final ODataPropertyCube, for queries: The parent cube of the view.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the view.static final ODataPropertyName, for queries: The name of the view. -
Constructor Summary
ConstructorsConstructorDescriptionNativeView(@Nullable String etag, @Nullable String name, @Nullable Attributes attributes, @Nullable Cube cube, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<ViewAxisSelection> columns, @Nullable List<ViewAxisSelection> rows, @Nullable List<ViewTitle> titles, @Nullable Boolean suppressEmptyColumns, @Nullable Boolean suppressEmptyRows, @Nullable String formatString, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties) Creates an instance of aNativeViewrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord component.@Nullable List<ViewAxisSelection> columns()Returns the value of thecolumnsrecord component.@Nullable Cubecube()Returns the value of thecuberecord component.Returns the value of thedynamicPropertiesrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.@Nullable StringReturns the value of theformatStringrecord component.final inthashCode()Returns a hash code value for this object.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringname()Returns the value of thenamerecord component.@Nullable List<ViewAxisSelection> rows()Returns the value of therowsrecord component.@Nullable BooleanReturns the value of thesuppressEmptyColumnsrecord component.@Nullable BooleanReturns the value of thesuppressEmptyRowsrecord component.titles()Returns the value of thetitlesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
COLUMNS
Columns, for queries: The dimension elements that exist on the column axis of a view. -
ROWS
Rows, for queries: The dimension elements that exist on the row axis of a view. -
TITLES
Titles, for queries: The dimension elements that exist as title (context) elements of a view. -
SUPPRESS_EMPTY_COLUMNS
SuppressEmptyColumns, for queries: A Boolean that suppresses any columns that contain only zero values. -
SUPPRESS_EMPTY_ROWS
SuppressEmptyRows, for queries: A Boolean that suppresses any rows that contain only zero values. -
FORMAT_STRING
FormatString, for queries: The format of the elements in the view.
-
-
Constructor Details
-
NativeView
public NativeView(@Nullable String etag, @Nullable String name, @Nullable Attributes attributes, @Nullable Cube cube, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<ViewAxisSelection> columns, @Nullable List<ViewAxisSelection> rows, @Nullable List<ViewTitle> titles, @Nullable Boolean suppressEmptyColumns, @Nullable Boolean suppressEmptyRows, @Nullable String formatString, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties) Creates an instance of aNativeViewrecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentattributes- the value for theattributesrecord componentcube- the value for thecuberecord componentlocalizedAttributes- the value for thelocalizedAttributesrecord componentcolumns- the value for thecolumnsrecord componentrows- the value for therowsrecord componenttitles- the value for thetitlesrecord componentsuppressEmptyColumns- the value for thesuppressEmptyColumnsrecord componentsuppressEmptyRows- the value for thesuppressEmptyRowsrecord componentformatString- the value for theformatStringrecord componentdynamicProperties- the value for thedynamicPropertiesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
etag
-
name
-
attributes
Returns the value of theattributesrecord component.- Specified by:
attributesin interfaceView- Returns:
- the value of the
attributesrecord component
-
cube
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Specified by:
localizedAttributesin interfaceView- Returns:
- the value of the
localizedAttributesrecord component
-
columns
-
rows
-
titles
-
suppressEmptyColumns
Returns the value of thesuppressEmptyColumnsrecord component.- Returns:
- the value of the
suppressEmptyColumnsrecord component
-
suppressEmptyRows
Returns the value of thesuppressEmptyRowsrecord component.- Returns:
- the value of the
suppressEmptyRowsrecord component
-
formatString
Returns the value of theformatStringrecord component.- Returns:
- the value of the
formatStringrecord component
-
dynamicProperties
Returns the value of thedynamicPropertiesrecord component.- Specified by:
dynamicPropertiesin interfaceView- Returns:
- the value of the
dynamicPropertiesrecord component
-