Record Class Subset
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Subset
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the subset.uniqueName- The name of the subset, preceded by the parent dimension and separated by a colon, for example, [dimension_name]:[subset_name].expression- An MDX expression that defines the subset.attributes- The attributes of the subset.hierarchy- The hierarchies that are included in the subset. (when expanded)elements- The elements that are included in the subset. (when expanded)localizedAttributes- Translated string values for properties of the subset. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
public record Subset(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable String expression, @Nullable Attributes attributes, @Nullable Hierarchy hierarchy, @Nullable List<Element> elements, @Nullable List<LocalizedAttributes> localizedAttributes)
extends Record
The
Subset entity type of the TM1 REST API.
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 ODataPropertyAttributes, for queries: The attributes of the subset.static final ODataPropertyElements, for queries: The elements that are included in the subset.static final ODataPropertyExpression, for queries: An MDX expression that defines the subset.static final ODataPropertyHierarchy, for queries: The hierarchies that are included in the subset.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the subset.static final ODataPropertyName, for queries: The name of the subset.static final ODataPropertyUniqueName, for queries: The name of the subset, preceded by the parent dimension and separated by a colon, for example, [dimension_name]:[subset_name]. -
Constructor Summary
ConstructorsConstructorDescriptionSubset(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable String expression, @Nullable Attributes attributes, @Nullable Hierarchy hierarchy, @Nullable List<Element> elements, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aSubsetrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord 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.@Nullable StringReturns the value of theexpressionrecord component.final inthashCode()Returns a hash code value for this object.@Nullable HierarchyReturns the value of thehierarchyrecord component.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringReturns the value of theuniqueNamerecord component.
-
Field Details
-
NAME
Name, for queries: The name of the subset. -
UNIQUE_NAME
UniqueName, for queries: The name of the subset, preceded by the parent dimension and separated by a colon, for example, [dimension_name]:[subset_name]. -
EXPRESSION
Expression, for queries: An MDX expression that defines the subset. -
ATTRIBUTES
Attributes, for queries: The attributes of the subset. -
HIERARCHY
Hierarchy, for queries: The hierarchies that are included in the subset. (a navigation property, for$expand) -
ELEMENTS
Elements, for queries: The elements that are included in the subset. (a navigation property, for$expand) -
LOCALIZED_ATTRIBUTES
LocalizedAttributes, for queries: Translated string values for properties of the subset. (a navigation property, for$expand)
-
-
Constructor Details
-
Subset
public Subset(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable String expression, @Nullable Attributes attributes, @Nullable Hierarchy hierarchy, @Nullable List<Element> elements, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aSubsetrecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentuniqueName- the value for theuniqueNamerecord componentexpression- the value for theexpressionrecord componentattributes- the value for theattributesrecord componenthierarchy- the value for thehierarchyrecord componentelements- the value for theelementsrecord componentlocalizedAttributes- the value for thelocalizedAttributesrecord 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
-
expression
Returns the value of theexpressionrecord component.- Returns:
- the value of the
expressionrecord component
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
hierarchy
-
elements
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Returns:
- the value of the
localizedAttributesrecord component
-