Record Class Net.ParamsOfCreateBlockIterator

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.ParamsOfCreateBlockIterator
Record Components:
startTime - If the application specifies this parameter then the iteration includes blocks with `gen_utime` >= `start_time`. Otherwise the iteration starts from zero state. Must be specified in seconds. Starting time to iterate from.
endTime - If the application specifies this parameter then the iteration includes blocks with `gen_utime` invalid input: '<' `end_time`. Otherwise the iteration never stops. Must be specified in seconds. Optional end time to iterate for.
shardFilter - If the application specifies this parameter and it is not the empty array then the iteration will include items related to accounts that belongs to the specified shard prefixes. Shard prefix must be represented as a string "workchain:prefix". Where `workchain` is a signed integer and the `prefix` if a hexadecimal representation if the 64-bit unsigned integer with tagged shard prefix. For example: "0:3800000000000000". Shard prefix filter.
result - List of the fields that must be returned for iterated items. This field is the same as the `result` parameter of the `query_collection` function. Note that iterated items can contains additional fields that are not requested in the `result`. Projection (result) string.
Enclosing class:
Net

public static record Net.ParamsOfCreateBlockIterator(Integer startTime, Integer endTime, String[] shardFilter, String result) extends Record
  • Constructor Details

    • ParamsOfCreateBlockIterator

      public ParamsOfCreateBlockIterator(Integer startTime, Integer endTime, String[] shardFilter, String result)
      Creates an instance of a ParamsOfCreateBlockIterator record class.
      Parameters:
      startTime - the value for the startTime record component
      endTime - the value for the endTime record component
      shardFilter - the value for the shardFilter record component
      result - the value for the result 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.
    • startTime

      public Integer startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • endTime

      public Integer endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component
    • shardFilter

      public String[] shardFilter()
      Returns the value of the shardFilter record component.
      Returns:
      the value of the shardFilter record component
    • result

      public String result()
      Returns the value of the result record component.
      Returns:
      the value of the result record component