Record Class Edge

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Edge
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
parentName - 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 Details

    • PARENT_NAME

      public static final ODataProperty PARENT_NAME
      ParentName, for queries: The name of the parent of the component in the hierarchy.
    • COMPONENT_NAME

      public static final ODataProperty COMPONENT_NAME
      ComponentName, for queries: The name of the component in the hierarchy.
    • WEIGHT

      public static final ODataProperty WEIGHT
      Weight, for queries: The weight of the component in the edge.
    • HIERARCHY

      public static final ODataProperty HIERARCHY
      Hierarchy, for queries: The hierarchy of the component in the edge. (a navigation property, for $expand)
    • PARENT

      public static final ODataProperty PARENT
      Parent, for queries: The parent of the component. (a navigation property, for $expand)
    • COMPONENT

      public static final ODataProperty 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 a Edge record class.
      Parameters:
      etag - the value for the etag record component
      parentName - the value for the parentName record component
      componentName - the value for the componentName record component
      weight - the value for the weight record component
      hierarchy - the value for the hierarchy record component
      parent - the value for the parent record component
      component - the value for the component record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • etag

      public @Nullable String etag()
      Returns the value of the etag record component.
      Returns:
      the value of the etag record component
    • parentName

      public @Nullable String parentName()
      Returns the value of the parentName record component.
      Returns:
      the value of the parentName record component
    • componentName

      public @Nullable String componentName()
      Returns the value of the componentName record component.
      Returns:
      the value of the componentName record component
    • weight

      public @Nullable Double weight()
      Returns the value of the weight record component.
      Returns:
      the value of the weight record component
    • hierarchy

      public @Nullable Hierarchy hierarchy()
      Returns the value of the hierarchy record component.
      Returns:
      the value of the hierarchy record component
    • parent

      public @Nullable Element parent()
      Returns the value of the parent record component.
      Returns:
      the value of the parent record component
    • component

      public @Nullable Element component()
      Returns the value of the component record component.
      Returns:
      the value of the component record component