Record Class Edge
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Edge
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-MatchparentName- The name of the parent of the component in the hierarchy.componentName- The name of the component in the hierarchy.weight- The weight of the component in the edge.hierarchy- The hierarchy of the component in the edge. (when expanded)parent- The parent of the component. (when expanded)component- The component. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
public record Edge(@Nullable String etag, @Nullable String parentName, @Nullable String componentName, @Nullable Double weight, @Nullable Hierarchy hierarchy, @Nullable Element parent, @Nullable Element component)
extends Record
Represents the relationship between two or more hierarchies and their weight.
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 ODataPropertyComponent, for queries: The component.static final ODataPropertyComponentName, for queries: The name of the component in the hierarchy.static final ODataPropertyHierarchy, for queries: The hierarchy of the component in the edge.static final ODataPropertyParent, for queries: The parent of the component.static final ODataPropertyParentName, for queries: The name of the parent of the component in the hierarchy.static final ODataPropertyWeight, for queries: The weight of the component in the edge. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ElementReturns the value of thecomponentrecord component.@Nullable StringReturns the value of thecomponentNamerecord 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.@Nullable Elementparent()Returns the value of theparentrecord component.@Nullable StringReturns the value of theparentNamerecord component.final StringtoString()Returns a string representation of this record class.@Nullable Doubleweight()Returns the value of theweightrecord component.
-
Field Details
-
PARENT_NAME
ParentName, for queries: The name of the parent of the component in the hierarchy. -
COMPONENT_NAME
ComponentName, for queries: The name of the component in the hierarchy. -
WEIGHT
Weight, for queries: The weight of the component in the edge. -
HIERARCHY
Hierarchy, for queries: The hierarchy of the component in the edge. (a navigation property, for$expand) -
PARENT
Parent, for queries: The parent of the component. (a navigation property, for$expand) -
COMPONENT
Component, for queries: The component. (a navigation property, for$expand)
-
-
Constructor Details
-
Edge
public Edge(@Nullable String etag, @Nullable String parentName, @Nullable String componentName, @Nullable Double weight, @Nullable Hierarchy hierarchy, @Nullable Element parent, @Nullable Element component) Creates an instance of aEdgerecord class.- Parameters:
etag- the value for theetagrecord componentparentName- the value for theparentNamerecord componentcomponentName- the value for thecomponentNamerecord componentweight- the value for theweightrecord componenthierarchy- the value for thehierarchyrecord componentparent- the value for theparentrecord componentcomponent- the value for thecomponentrecord 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
-
parentName
Returns the value of theparentNamerecord component.- Returns:
- the value of the
parentNamerecord component
-
componentName
Returns the value of thecomponentNamerecord component.- Returns:
- the value of the
componentNamerecord component
-
weight
-
hierarchy
-
parent
-
component
-