Record Class Hierarchy
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Hierarchy
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the hierarchy.uniqueName- The caption of the hierarchy.cardinality- The cardinality of a relationship is the number of related rows for each of the two query subjects.structure- Specifies whether the hierarchy is balanced or unbalanced.visible- Indicates if this hierarchy should be visible to consumers. (since 11.0.0)attributes- The attributes of the hierarchy.dimension- A dimension that is part of the hierarchy. (when expanded)elements- The elements of the hierarchy. (when expanded)edges- The edges of the hierarchy. (when expanded)subsets- The subsets of the hierarchy. (when expanded)privateSubsets- The private subsets of the hierarchy. (when expanded)sessionSubsets- The session-scoped subsets generated on this hierarchy. (when expanded)members- The members of the hierarchy. (when expanded)allMember- An aggregation of all of the members of the hierarchy. (when expanded)defaultMember- The default member of the hierarchy. (when expanded)levels- A collection of levels in the hierarchy. (when expanded)localizedAttributes- Translated string values for properties of the hierarchy. (when expanded)elementAttributes- The attributes of the elements of the hierarchy. (when expanded) (since 10.2.2.1)subsetAttributes- The attributes of the subsets of the hierarchy. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
public record Hierarchy(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable Integer cardinality, @Nullable Integer structure, @Since("11.0.0") @Nullable Boolean visible, @Nullable Attributes attributes, @Nullable Dimension dimension, @Nullable List<Element> elements, @Nullable List<Edge> edges, @Nullable List<Subset> subsets, @Nullable List<Subset> privateSubsets, @Nullable List<Subset> sessionSubsets, @Nullable List<Member> members, @Nullable Member allMember, @Nullable Member defaultMember, @Nullable List<Level> levels, @Nullable List<LocalizedAttributes> localizedAttributes, @Since("10.2.2.1") @Nullable List<AttributeDefinition> elementAttributes, @Nullable List<AttributeDefinition> subsetAttributes)
extends Record
A hierarchy organizes dimensions into a hierarchical structure, with each dimension representing a different level of the hierarchy.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyAllMember, for queries: An aggregation of all of the members of the hierarchy.static final ODataPropertyAttributes, for queries: The attributes of the hierarchy.static final ODataPropertyCardinality, for queries: The cardinality of a relationship is the number of related rows for each of the two query subjects.static final ODataPropertyDefaultMember, for queries: The default member of the hierarchy.static final ODataPropertyDimension, for queries: A dimension that is part of the hierarchy.static final ODataPropertyEdges, for queries: The edges of the hierarchy.static final ODataPropertyElementAttributes, for queries: The attributes of the elements of the hierarchy.static final ODataPropertyElements, for queries: The elements of the hierarchy.static final ODataPropertyLevels, for queries: A collection of levels in the hierarchy.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the hierarchy.static final ODataPropertyMembers, for queries: The members of the hierarchy.static final ODataPropertyName, for queries: The name of the hierarchy.static final ODataPropertyPrivateSubsets, for queries: The private subsets of the hierarchy.static final ODataPropertySessionSubsets, for queries: The session-scoped subsets generated on this hierarchy.static final ODataPropertyStructure, for queries: Specifies whether the hierarchy is balanced or unbalanced.static final ODataPropertySubsetAttributes, for queries: The attributes of the subsets of the hierarchy.static final ODataPropertySubsets, for queries: The subsets of the hierarchy.static final ODataPropertyUniqueName, for queries: The caption of the hierarchy.static final ODataPropertyVisible, for queries: Indicates if this hierarchy should be visible to consumers. -
Constructor Summary
ConstructorsConstructorDescriptionHierarchy(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable Integer cardinality, @Nullable Integer structure, @Nullable Boolean visible, @Nullable Attributes attributes, @Nullable Dimension dimension, @Nullable List<Element> elements, @Nullable List<Edge> edges, @Nullable List<Subset> subsets, @Nullable List<Subset> privateSubsets, @Nullable List<Subset> sessionSubsets, @Nullable List<Member> members, @Nullable Member allMember, @Nullable Member defaultMember, @Nullable List<Level> levels, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<AttributeDefinition> elementAttributes, @Nullable List<AttributeDefinition> subsetAttributes) Creates an instance of aHierarchyrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable MemberReturns the value of theallMemberrecord component.@Nullable AttributesReturns the value of theattributesrecord component.@Nullable IntegerReturns the value of thecardinalityrecord component.@Nullable MemberReturns the value of thedefaultMemberrecord component.@Nullable DimensionReturns the value of thedimensionrecord component.edges()Returns the value of theedgesrecord component.@Nullable List<AttributeDefinition> Returns the value of theelementAttributesrecord component.elements()Returns the value of theelementsrecord 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.levels()Returns the value of thelevelsrecord component.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.members()Returns the value of themembersrecord component.@Nullable Stringname()Returns the value of thenamerecord component.Returns the value of theprivateSubsetsrecord component.Returns the value of thesessionSubsetsrecord component.@Nullable IntegerReturns the value of thestructurerecord component.@Nullable List<AttributeDefinition> Returns the value of thesubsetAttributesrecord component.subsets()Returns the value of thesubsetsrecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringReturns the value of theuniqueNamerecord component.@Nullable Booleanvisible()Returns the value of thevisiblerecord component.
-
Field Details
-
NAME
Name, for queries: The name of the hierarchy. -
UNIQUE_NAME
UniqueName, for queries: The caption of the hierarchy. -
CARDINALITY
Cardinality, for queries: The cardinality of a relationship is the number of related rows for each of the two query subjects. -
STRUCTURE
Structure, for queries: Specifies whether the hierarchy is balanced or unbalanced. -
VISIBLE
Visible, for queries: Indicates if this hierarchy should be visible to consumers. -
ATTRIBUTES
Attributes, for queries: The attributes of the hierarchy. -
DIMENSION
Dimension, for queries: A dimension that is part of the hierarchy. (a navigation property, for$expand) -
ELEMENTS
Elements, for queries: The elements of the hierarchy. (a navigation property, for$expand) -
EDGES
Edges, for queries: The edges of the hierarchy. (a navigation property, for$expand) -
SUBSETS
Subsets, for queries: The subsets of the hierarchy. (a navigation property, for$expand) -
PRIVATE_SUBSETS
PrivateSubsets, for queries: The private subsets of the hierarchy. (a navigation property, for$expand) -
SESSION_SUBSETS
SessionSubsets, for queries: The session-scoped subsets generated on this hierarchy. (a navigation property, for$expand) -
MEMBERS
Members, for queries: The members of the hierarchy. (a navigation property, for$expand) -
ALL_MEMBER
AllMember, for queries: An aggregation of all of the members of the hierarchy. (a navigation property, for$expand) -
DEFAULT_MEMBER
DefaultMember, for queries: The default member of the hierarchy. (a navigation property, for$expand) -
LEVELS
Levels, for queries: A collection of levels in the hierarchy. (a navigation property, for$expand) -
LOCALIZED_ATTRIBUTES
LocalizedAttributes, for queries: Translated string values for properties of the hierarchy. (a navigation property, for$expand) -
ELEMENT_ATTRIBUTES
ElementAttributes, for queries: The attributes of the elements of the hierarchy. (a navigation property, for$expand) -
SUBSET_ATTRIBUTES
SubsetAttributes, for queries: The attributes of the subsets of the hierarchy. (a navigation property, for$expand)
-
-
Constructor Details
-
Hierarchy
public Hierarchy(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable Integer cardinality, @Nullable Integer structure, @Nullable Boolean visible, @Nullable Attributes attributes, @Nullable Dimension dimension, @Nullable List<Element> elements, @Nullable List<Edge> edges, @Nullable List<Subset> subsets, @Nullable List<Subset> privateSubsets, @Nullable List<Subset> sessionSubsets, @Nullable List<Member> members, @Nullable Member allMember, @Nullable Member defaultMember, @Nullable List<Level> levels, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<AttributeDefinition> elementAttributes, @Nullable List<AttributeDefinition> subsetAttributes) Creates an instance of aHierarchyrecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentuniqueName- the value for theuniqueNamerecord componentcardinality- the value for thecardinalityrecord componentstructure- the value for thestructurerecord componentvisible- the value for thevisiblerecord componentattributes- the value for theattributesrecord componentdimension- the value for thedimensionrecord componentelements- the value for theelementsrecord componentedges- the value for theedgesrecord componentsubsets- the value for thesubsetsrecord componentprivateSubsets- the value for theprivateSubsetsrecord componentsessionSubsets- the value for thesessionSubsetsrecord componentmembers- the value for themembersrecord componentallMember- the value for theallMemberrecord componentdefaultMember- the value for thedefaultMemberrecord componentlevels- the value for thelevelsrecord componentlocalizedAttributes- the value for thelocalizedAttributesrecord componentelementAttributes- the value for theelementAttributesrecord componentsubsetAttributes- the value for thesubsetAttributesrecord 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
-
uniqueName
Returns the value of theuniqueNamerecord component.- Returns:
- the value of the
uniqueNamerecord component
-
cardinality
Returns the value of thecardinalityrecord component.- Returns:
- the value of the
cardinalityrecord component
-
structure
-
visible
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
dimension
-
elements
-
edges
-
subsets
-
privateSubsets
Returns the value of theprivateSubsetsrecord component.- Returns:
- the value of the
privateSubsetsrecord component
-
sessionSubsets
Returns the value of thesessionSubsetsrecord component.- Returns:
- the value of the
sessionSubsetsrecord component
-
members
-
allMember
-
defaultMember
Returns the value of thedefaultMemberrecord component.- Returns:
- the value of the
defaultMemberrecord component
-
levels
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Returns:
- the value of the
localizedAttributesrecord component
-
elementAttributes
Returns the value of theelementAttributesrecord component.- Returns:
- the value of the
elementAttributesrecord component
-
subsetAttributes
Returns the value of thesubsetAttributesrecord component.- Returns:
- the value of the
subsetAttributesrecord component
-