Record Class MDXView
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.MDXView
- 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)mdx- An MDX expression that defines a cube 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 MDXView(@Nullable String etag, @Nullable String name, @Nullable Attributes attributes, @Nullable Cube cube, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable String mdx, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties)
extends Record
implements View
A view of a cube that is defined by an MDX expression.
A kind of View, read and sent with @odata.type #ibm.tm1.api.v1.MDXView.
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 ODataPropertyMDX, for queries: An MDX expression that defines a cube 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
ConstructorsConstructorDescriptionMDXView(@Nullable String etag, @Nullable String name, @Nullable Attributes attributes, @Nullable Cube cube, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable String mdx, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties) Creates an instance of aMDXViewrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord 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.final inthashCode()Returns a hash code value for this object.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringmdx()Returns the value of themdxrecord component.@Nullable Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
MDX
MDX, for queries: An MDX expression that defines a cube view.
-
-
Constructor Details
-
MDXView
public MDXView(@Nullable String etag, @Nullable String name, @Nullable Attributes attributes, @Nullable Cube cube, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable String mdx, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties) Creates an instance of aMDXViewrecord 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 componentmdx- the value for themdxrecord 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
-
mdx
-
dynamicProperties
Returns the value of thedynamicPropertiesrecord component.- Specified by:
dynamicPropertiesin interfaceView- Returns:
- the value of the
dynamicPropertiesrecord component
-