Module java4ever.binding
Package tech.deplant.java4ever.binding
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
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfCreateBlockIterator(Long startTime, Long endTime, String[] shardFilter, String result) Creates an instance of aParamsOfCreateBlockIteratorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.String[]Returns the value of theshardFilterrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfCreateBlockIterator
public ParamsOfCreateBlockIterator(Long startTime, Long endTime, String[] shardFilter, String result) Creates an instance of aParamsOfCreateBlockIteratorrecord class.- Parameters:
startTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentshardFilter- the value for theshardFilterrecord componentresult- the value for theresultrecord component
-
-
Method Details
-
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. -
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. -
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). -
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
shardFilter
Returns the value of theshardFilterrecord component.- Returns:
- the value of the
shardFilterrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-