Record Class Level
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Level
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchnumber- The level number.name- The name of the level.uniqueName- The unique name of the level.cardinality- The cardinality of the level, that is, the number of elements in the level.type- The type of the level.hierarchy- The hierarchy of the level. (when expanded)members- The members of the level. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
public record Level(@Nullable String etag, @Nullable Integer number, @Nullable String name, @Nullable String uniqueName, @Nullable Integer cardinality, @Nullable Integer type, @Nullable Hierarchy hierarchy, @Nullable List<Member> members)
extends Record
A level in the hierarchy of a set of cubes.
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 ODataPropertyCardinality, for queries: The cardinality of the level, that is, the number of elements in the level.static final ODataPropertyHierarchy, for queries: The hierarchy of the level.static final ODataPropertyMembers, for queries: The members of the level.static final ODataPropertyName, for queries: The name of the level.static final ODataPropertyNumber, for queries: The level number.static final ODataPropertyType, for queries: The type of the level.static final ODataPropertyUniqueName, for queries: The unique name of the level. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable IntegerReturns the value of thecardinalityrecord 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 HierarchyReturns the value of thehierarchyrecord component.members()Returns the value of themembersrecord component.@Nullable Stringname()Returns the value of thenamerecord component.@Nullable Integernumber()Returns the value of thenumberrecord component.final StringtoString()Returns a string representation of this record class.@Nullable Integertype()Returns the value of thetyperecord component.@Nullable StringReturns the value of theuniqueNamerecord component.
-
Field Details
-
NUMBER
Number, for queries: The level number. -
NAME
Name, for queries: The name of the level. -
UNIQUE_NAME
UniqueName, for queries: The unique name of the level. -
CARDINALITY
Cardinality, for queries: The cardinality of the level, that is, the number of elements in the level. -
TYPE
Type, for queries: The type of the level. -
HIERARCHY
Hierarchy, for queries: The hierarchy of the level. (a navigation property, for$expand) -
MEMBERS
Members, for queries: The members of the level. (a navigation property, for$expand)
-
-
Constructor Details
-
Level
public Level(@Nullable String etag, @Nullable Integer number, @Nullable String name, @Nullable String uniqueName, @Nullable Integer cardinality, @Nullable Integer type, @Nullable Hierarchy hierarchy, @Nullable List<Member> members) Creates an instance of aLevelrecord class.- Parameters:
etag- the value for theetagrecord componentnumber- the value for thenumberrecord componentname- the value for thenamerecord componentuniqueName- the value for theuniqueNamerecord componentcardinality- the value for thecardinalityrecord componenttype- the value for thetyperecord componenthierarchy- the value for thehierarchyrecord componentmembers- the value for themembersrecord 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
-
number
-
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
-
type
-
hierarchy
-
members
-