Class NameServiceApiImpl

java.lang.Object
com.kryptokrauts.aeternity.generated.api.NameServiceApiImpl
All Implemented Interfaces:
NameServiceApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class NameServiceApiImpl
extends java.lang.Object
implements NameServiceApi
  • Constructor Summary

    Constructors
    Constructor Description
    NameServiceApiImpl()  
    NameServiceApiImpl​(ApiClient apiClient)  
  • Method Summary

    Modifier and Type Method Description
    ApiClient getApiClient()  
    void getCommitmentId​(java.lang.String name, java.math.BigInteger salt, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CommitmentId>> resultHandler)
    Compute commitment ID for a given salt and name
    void getNameEntryByName​(java.lang.String name, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameEntry>> resultHandler)
    Get name entry from naming system
    void postNameClaim​(NameClaimTx nameClaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a name_claim transaction object
    void postNamePreclaim​(NamePreclaimTx namePreclaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a name_preclaim transaction object
    void postNameRevoke​(NameRevokeTx nameRevokeTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a name_revoke transaction object
    void postNameTransfer​(NameTransferTx nameTransferTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a name_transfer transaction object
    void postNameUpdate​(NameUpdateTx nameUpdateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
    Get a name_update transaction object
    void setApiClient​(ApiClient apiClient)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NameServiceApiImpl

      public NameServiceApiImpl()
    • NameServiceApiImpl

      public NameServiceApiImpl​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • getCommitmentId

      public void getCommitmentId​(java.lang.String name, java.math.BigInteger salt, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CommitmentId>> resultHandler)
      Compute commitment ID for a given salt and name
      Specified by:
      getCommitmentId in interface NameServiceApi
      Parameters:
      name - Name (required)
      salt - Salt (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getNameEntryByName

      public void getNameEntryByName​(java.lang.String name, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<NameEntry>> resultHandler)
      Get name entry from naming system
      Specified by:
      getNameEntryByName in interface NameServiceApi
      Parameters:
      name - The name key of the name entry (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • postNameClaim

      public void postNameClaim​(NameClaimTx nameClaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a name_claim transaction object
      Specified by:
      postNameClaim in interface NameServiceApi
      Parameters:
      nameClaimTx - (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • postNamePreclaim

      public void postNamePreclaim​(NamePreclaimTx namePreclaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a name_preclaim transaction object
      Specified by:
      postNamePreclaim in interface NameServiceApi
      Parameters:
      namePreclaimTx - (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • postNameRevoke

      public void postNameRevoke​(NameRevokeTx nameRevokeTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a name_revoke transaction object
      Specified by:
      postNameRevoke in interface NameServiceApi
      Parameters:
      nameRevokeTx - (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • postNameTransfer

      public void postNameTransfer​(NameTransferTx nameTransferTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a name_transfer transaction object
      Specified by:
      postNameTransfer in interface NameServiceApi
      Parameters:
      nameTransferTx - (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • postNameUpdate

      public void postNameUpdate​(NameUpdateTx nameUpdateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a name_update transaction object
      Specified by:
      postNameUpdate in interface NameServiceApi
      Parameters:
      nameUpdateTx - (required)
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler