All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.deplant.java4ever.binding.gql.BlockValueFlow Maven / Gradle / Ivy

package tech.deplant.java4ever.binding.gql;

import java.lang.String;
import java.util.List;
import java.util.Optional;

public record BlockValueFlow(String created, List created_other, String exported,
    List exported_other, String fees_collected,
    List fees_collected_other, String fees_imported,
    List fees_imported_other, String from_prev_blk,
    List from_prev_blk_other, String imported, List imported_other,
    String minted, List minted_other, String to_next_blk,
    List to_next_blk_other) {
  public static QueryExecutorBuilder created(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("created", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder exported(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("exported", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder fees_collected(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("fees_collected", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder fees_imported(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("fees_imported", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder from_prev_blk(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("from_prev_blk", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder imported(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("imported", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder minted(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("minted", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }

  public static QueryExecutorBuilder to_next_blk(String objectFieldsTree, BigIntFormat format) {
    var builder = new QueryExecutorBuilder("to_next_blk", objectFieldsTree);
    Optional.ofNullable(format).ifPresent(ar -> builder.addToQuery("format",ar));
    return builder;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy