Record Class Rowset

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Rowset
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - Read-only property that provides a unique identifier for the rowset for the current session.
rows - Individual row value that makes up part of the rowset. (when expanded)

@Generated("io.skipcheck.tm1.codegen") @Since("11.6.0") public record Rowset(@Nullable String etag, @Nullable String id, @Nullable List<RowsetRow> rows) extends Record
The result of an execution of a relational drillthrough.

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

    Fields
    Modifier and Type
    Field
    Description
    static final ODataProperty
    ID, for queries: Read-only property that provides a unique identifier for the rowset for the current session.
    static final ODataProperty
    Rows, for queries: Individual row value that makes up part of the rowset.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Rowset(@Nullable String etag, @Nullable String id, @Nullable List<RowsetRow> rows)
    Creates an instance of a Rowset record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    @Nullable String
    Returns the value of the etag record component.
    final int
    Returns a hash code value for this object.
    @Nullable String
    id()
    Returns the value of the id record component.
    @Nullable List<RowsetRow>
    Returns the value of the rows record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ID

      public static final ODataProperty ID
      ID, for queries: Read-only property that provides a unique identifier for the rowset for the current session.
    • ROWS

      public static final ODataProperty ROWS
      Rows, for queries: Individual row value that makes up part of the rowset. (a navigation property, for $expand)
  • Constructor Details

    • Rowset

      public Rowset(@Nullable String etag, @Nullable String id, @Nullable List<RowsetRow> rows)
      Creates an instance of a Rowset record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      rows - the value for the rows 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
    • id

      public @Nullable String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • rows

      public @Nullable List<RowsetRow> rows()
      Returns the value of the rows record component.
      Returns:
      the value of the rows record component