external

package
v9.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2021 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for external API

func (*Client) GetAccountByPubkey

func (a *Client) GetAccountByPubkey(params *GetAccountByPubkeyParams, opts ...ClientOption) (*GetAccountByPubkeyOK, error)

GetAccountByPubkey Get an account by public key

func (*Client) GetAccountByPubkeyAndHash

func (a *Client) GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams, opts ...ClientOption) (*GetAccountByPubkeyAndHashOK, error)

GetAccountByPubkeyAndHash Get an account by public key after the block indicated by hash

func (*Client) GetAccountByPubkeyAndHeight

func (a *Client) GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams, opts ...ClientOption) (*GetAccountByPubkeyAndHeightOK, error)

GetAccountByPubkeyAndHeight Get an account by public key after the opening key block of the generation at height

func (*Client) GetChainEnds

func (a *Client) GetChainEnds(params *GetChainEndsParams, opts ...ClientOption) (*GetChainEndsOK, error)

GetChainEnds Get oldest keyblock hashes counting from genesis including orphans

func (*Client) GetChannelByPubkey

func (a *Client) GetChannelByPubkey(params *GetChannelByPubkeyParams, opts ...ClientOption) (*GetChannelByPubkeyOK, error)

GetChannelByPubkey Get channel by public key

func (*Client) GetContract

func (a *Client) GetContract(params *GetContractParams, opts ...ClientOption) (*GetContractOK, error)

GetContract Get a contract by pubkey

func (*Client) GetContractCode

func (a *Client) GetContractCode(params *GetContractCodeParams, opts ...ClientOption) (*GetContractCodeOK, error)

GetContractCode Get contract code by pubkey

func (*Client) GetContractPoI

func (a *Client) GetContractPoI(params *GetContractPoIParams, opts ...ClientOption) (*GetContractPoIOK, error)

GetContractPoI Get a proof of inclusion for a contract

func (*Client) GetCurrentGeneration

func (a *Client) GetCurrentGeneration(params *GetCurrentGenerationParams, opts ...ClientOption) (*GetCurrentGenerationOK, error)

GetCurrentGeneration Get the current generation

func (*Client) GetCurrentKeyBlock

func (a *Client) GetCurrentKeyBlock(params *GetCurrentKeyBlockParams, opts ...ClientOption) (*GetCurrentKeyBlockOK, error)

GetCurrentKeyBlock Get the current key block

func (*Client) GetCurrentKeyBlockHash

func (a *Client) GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams, opts ...ClientOption) (*GetCurrentKeyBlockHashOK, error)

GetCurrentKeyBlockHash Get the hash of the current key block

func (*Client) GetCurrentKeyBlockHeight

func (a *Client) GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams, opts ...ClientOption) (*GetCurrentKeyBlockHeightOK, error)

GetCurrentKeyBlockHeight Get the height of the current key block

func (*Client) GetGenerationByHash

func (a *Client) GetGenerationByHash(params *GetGenerationByHashParams, opts ...ClientOption) (*GetGenerationByHashOK, error)

GetGenerationByHash Get a generation by hash

func (*Client) GetGenerationByHeight

func (a *Client) GetGenerationByHeight(params *GetGenerationByHeightParams, opts ...ClientOption) (*GetGenerationByHeightOK, error)

GetGenerationByHeight Get a generation by height

func (*Client) GetKeyBlockByHash

func (a *Client) GetKeyBlockByHash(params *GetKeyBlockByHashParams, opts ...ClientOption) (*GetKeyBlockByHashOK, error)

GetKeyBlockByHash Get a key block by hash

func (*Client) GetKeyBlockByHeight

func (a *Client) GetKeyBlockByHeight(params *GetKeyBlockByHeightParams, opts ...ClientOption) (*GetKeyBlockByHeightOK, error)

GetKeyBlockByHeight Get a key block by height

func (*Client) GetMicroBlockHeaderByHash

func (a *Client) GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams, opts ...ClientOption) (*GetMicroBlockHeaderByHashOK, error)

GetMicroBlockHeaderByHash Get a micro block header by hash

func (*Client) GetMicroBlockTransactionByHashAndIndex

func (a *Client) GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams, opts ...ClientOption) (*GetMicroBlockTransactionByHashAndIndexOK, error)

GetMicroBlockTransactionByHashAndIndex Get a micro block transaction by hash and index

func (*Client) GetMicroBlockTransactionsByHash

func (a *Client) GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsByHashOK, error)

GetMicroBlockTransactionsByHash Get micro block transactions by hash

func (*Client) GetMicroBlockTransactionsCountByHash

func (a *Client) GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsCountByHashOK, error)

GetMicroBlockTransactionsCountByHash Get micro block transaction count by hash

func (*Client) GetNameEntryByName

func (a *Client) GetNameEntryByName(params *GetNameEntryByNameParams, opts ...ClientOption) (*GetNameEntryByNameOK, error)

GetNameEntryByName Get name entry from naming system

func (*Client) GetOracleByPubkey

func (a *Client) GetOracleByPubkey(params *GetOracleByPubkeyParams, opts ...ClientOption) (*GetOracleByPubkeyOK, error)

GetOracleByPubkey Get an oracle by public key

func (*Client) GetOracleQueriesByPubkey

func (a *Client) GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams, opts ...ClientOption) (*GetOracleQueriesByPubkeyOK, error)

GetOracleQueriesByPubkey Get oracle queries by public key

func (*Client) GetOracleQueryByPubkeyAndQueryID

func (a *Client) GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams, opts ...ClientOption) (*GetOracleQueryByPubkeyAndQueryIDOK, error)

GetOracleQueryByPubkeyAndQueryID Get an oracle query by public key and query ID

func (*Client) GetPeerPubkey

func (a *Client) GetPeerPubkey(params *GetPeerPubkeyParams, opts ...ClientOption) (*GetPeerPubkeyOK, error)

GetPeerPubkey Get peer public key

func (*Client) GetPendingAccountTransactionsByPubkey

func (a *Client) GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams, opts ...ClientOption) (*GetPendingAccountTransactionsByPubkeyOK, error)

GetPendingAccountTransactionsByPubkey Get pending account transactions by public key

func (*Client) GetPendingKeyBlock

func (a *Client) GetPendingKeyBlock(params *GetPendingKeyBlockParams, opts ...ClientOption) (*GetPendingKeyBlockOK, error)

GetPendingKeyBlock Get the pending key block

func (*Client) GetStatus

func (a *Client) GetStatus(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error)

GetStatus Get the status of a node

func (*Client) GetTopBlock

func (a *Client) GetTopBlock(params *GetTopBlockParams, opts ...ClientOption) (*GetTopBlockOK, error)

GetTopBlock Get the top block (either key or micro block)

func (*Client) GetTransactionByHash

func (a *Client) GetTransactionByHash(params *GetTransactionByHashParams, opts ...ClientOption) (*GetTransactionByHashOK, error)

GetTransactionByHash Get a transaction by hash

func (*Client) GetTransactionInfoByHash

func (a *Client) GetTransactionInfoByHash(params *GetTransactionInfoByHashParams, opts ...ClientOption) (*GetTransactionInfoByHashOK, error)

GetTransactionInfoByHash get transaction info by hash API

func (*Client) PostTransaction

func (a *Client) PostTransaction(params *PostTransactionParams, opts ...ClientOption) (*PostTransactionOK, error)

PostTransaction Post a new transaction

func (*Client) ProtectedDryRunTxs

func (a *Client) ProtectedDryRunTxs(params *ProtectedDryRunTxsParams, opts ...ClientOption) (*ProtectedDryRunTxsOK, error)

ProtectedDryRunTxs Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAccountByPubkey(params *GetAccountByPubkeyParams, opts ...ClientOption) (*GetAccountByPubkeyOK, error)

	GetAccountByPubkeyAndHash(params *GetAccountByPubkeyAndHashParams, opts ...ClientOption) (*GetAccountByPubkeyAndHashOK, error)

	GetAccountByPubkeyAndHeight(params *GetAccountByPubkeyAndHeightParams, opts ...ClientOption) (*GetAccountByPubkeyAndHeightOK, error)

	GetChainEnds(params *GetChainEndsParams, opts ...ClientOption) (*GetChainEndsOK, error)

	GetChannelByPubkey(params *GetChannelByPubkeyParams, opts ...ClientOption) (*GetChannelByPubkeyOK, error)

	GetContract(params *GetContractParams, opts ...ClientOption) (*GetContractOK, error)

	GetContractCode(params *GetContractCodeParams, opts ...ClientOption) (*GetContractCodeOK, error)

	GetContractPoI(params *GetContractPoIParams, opts ...ClientOption) (*GetContractPoIOK, error)

	GetCurrentGeneration(params *GetCurrentGenerationParams, opts ...ClientOption) (*GetCurrentGenerationOK, error)

	GetCurrentKeyBlock(params *GetCurrentKeyBlockParams, opts ...ClientOption) (*GetCurrentKeyBlockOK, error)

	GetCurrentKeyBlockHash(params *GetCurrentKeyBlockHashParams, opts ...ClientOption) (*GetCurrentKeyBlockHashOK, error)

	GetCurrentKeyBlockHeight(params *GetCurrentKeyBlockHeightParams, opts ...ClientOption) (*GetCurrentKeyBlockHeightOK, error)

	GetGenerationByHash(params *GetGenerationByHashParams, opts ...ClientOption) (*GetGenerationByHashOK, error)

	GetGenerationByHeight(params *GetGenerationByHeightParams, opts ...ClientOption) (*GetGenerationByHeightOK, error)

	GetKeyBlockByHash(params *GetKeyBlockByHashParams, opts ...ClientOption) (*GetKeyBlockByHashOK, error)

	GetKeyBlockByHeight(params *GetKeyBlockByHeightParams, opts ...ClientOption) (*GetKeyBlockByHeightOK, error)

	GetMicroBlockHeaderByHash(params *GetMicroBlockHeaderByHashParams, opts ...ClientOption) (*GetMicroBlockHeaderByHashOK, error)

	GetMicroBlockTransactionByHashAndIndex(params *GetMicroBlockTransactionByHashAndIndexParams, opts ...ClientOption) (*GetMicroBlockTransactionByHashAndIndexOK, error)

	GetMicroBlockTransactionsByHash(params *GetMicroBlockTransactionsByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsByHashOK, error)

	GetMicroBlockTransactionsCountByHash(params *GetMicroBlockTransactionsCountByHashParams, opts ...ClientOption) (*GetMicroBlockTransactionsCountByHashOK, error)

	GetNameEntryByName(params *GetNameEntryByNameParams, opts ...ClientOption) (*GetNameEntryByNameOK, error)

	GetOracleByPubkey(params *GetOracleByPubkeyParams, opts ...ClientOption) (*GetOracleByPubkeyOK, error)

	GetOracleQueriesByPubkey(params *GetOracleQueriesByPubkeyParams, opts ...ClientOption) (*GetOracleQueriesByPubkeyOK, error)

	GetOracleQueryByPubkeyAndQueryID(params *GetOracleQueryByPubkeyAndQueryIDParams, opts ...ClientOption) (*GetOracleQueryByPubkeyAndQueryIDOK, error)

	GetPeerPubkey(params *GetPeerPubkeyParams, opts ...ClientOption) (*GetPeerPubkeyOK, error)

	GetPendingAccountTransactionsByPubkey(params *GetPendingAccountTransactionsByPubkeyParams, opts ...ClientOption) (*GetPendingAccountTransactionsByPubkeyOK, error)

	GetPendingKeyBlock(params *GetPendingKeyBlockParams, opts ...ClientOption) (*GetPendingKeyBlockOK, error)

	GetStatus(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error)

	GetTopBlock(params *GetTopBlockParams, opts ...ClientOption) (*GetTopBlockOK, error)

	GetTransactionByHash(params *GetTransactionByHashParams, opts ...ClientOption) (*GetTransactionByHashOK, error)

	GetTransactionInfoByHash(params *GetTransactionInfoByHashParams, opts ...ClientOption) (*GetTransactionInfoByHashOK, error)

	PostTransaction(params *PostTransactionParams, opts ...ClientOption) (*PostTransactionOK, error)

	ProtectedDryRunTxs(params *ProtectedDryRunTxsParams, opts ...ClientOption) (*ProtectedDryRunTxsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new external API client.

type GetAccountByPubkeyAndHashBadRequest

type GetAccountByPubkeyAndHashBadRequest struct {
	Payload *models.Error
}
GetAccountByPubkeyAndHashBadRequest describes a response with status code 400, with default header values.

Invalid public key or invalid hash

func NewGetAccountByPubkeyAndHashBadRequest

func NewGetAccountByPubkeyAndHashBadRequest() *GetAccountByPubkeyAndHashBadRequest

NewGetAccountByPubkeyAndHashBadRequest creates a GetAccountByPubkeyAndHashBadRequest with default headers values

func (*GetAccountByPubkeyAndHashBadRequest) Error

func (*GetAccountByPubkeyAndHashBadRequest) GetPayload

type GetAccountByPubkeyAndHashNotFound

type GetAccountByPubkeyAndHashNotFound struct {
	Payload *models.Error
}
GetAccountByPubkeyAndHashNotFound describes a response with status code 404, with default header values.

Account not found or hash not available

func NewGetAccountByPubkeyAndHashNotFound

func NewGetAccountByPubkeyAndHashNotFound() *GetAccountByPubkeyAndHashNotFound

NewGetAccountByPubkeyAndHashNotFound creates a GetAccountByPubkeyAndHashNotFound with default headers values

func (*GetAccountByPubkeyAndHashNotFound) Error

func (*GetAccountByPubkeyAndHashNotFound) GetPayload

type GetAccountByPubkeyAndHashOK

type GetAccountByPubkeyAndHashOK struct {
	Payload *models.Account
}
GetAccountByPubkeyAndHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetAccountByPubkeyAndHashOK

func NewGetAccountByPubkeyAndHashOK() *GetAccountByPubkeyAndHashOK

NewGetAccountByPubkeyAndHashOK creates a GetAccountByPubkeyAndHashOK with default headers values

func (*GetAccountByPubkeyAndHashOK) Error

func (*GetAccountByPubkeyAndHashOK) GetPayload

func (o *GetAccountByPubkeyAndHashOK) GetPayload() *models.Account

type GetAccountByPubkeyAndHashParams

type GetAccountByPubkeyAndHashParams struct {

	/* Hash.

	   The hash of the block
	*/
	Hash string

	/* Pubkey.

	   The public key of the account
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountByPubkeyAndHashParams contains all the parameters to send to the API endpoint

for the get account by pubkey and hash operation.

Typically these are written to a http.Request.

func NewGetAccountByPubkeyAndHashParams

func NewGetAccountByPubkeyAndHashParams() *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParams creates a new GetAccountByPubkeyAndHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountByPubkeyAndHashParamsWithContext

func NewGetAccountByPubkeyAndHashParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParamsWithContext creates a new GetAccountByPubkeyAndHashParams object with the ability to set a context for a request.

func NewGetAccountByPubkeyAndHashParamsWithHTTPClient

func NewGetAccountByPubkeyAndHashParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParamsWithHTTPClient creates a new GetAccountByPubkeyAndHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountByPubkeyAndHashParamsWithTimeout

func NewGetAccountByPubkeyAndHashParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHashParams

NewGetAccountByPubkeyAndHashParamsWithTimeout creates a new GetAccountByPubkeyAndHashParams object with the ability to set a timeout on a request.

func (*GetAccountByPubkeyAndHashParams) SetContext

func (o *GetAccountByPubkeyAndHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetDefaults

func (o *GetAccountByPubkeyAndHashParams) SetDefaults()

SetDefaults hydrates default values in the get account by pubkey and hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountByPubkeyAndHashParams) SetHTTPClient

func (o *GetAccountByPubkeyAndHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetHash

func (o *GetAccountByPubkeyAndHashParams) SetHash(hash string)

SetHash adds the hash to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetPubkey

func (o *GetAccountByPubkeyAndHashParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) SetTimeout

func (o *GetAccountByPubkeyAndHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithContext

WithContext adds the context to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithDefaults

WithDefaults hydrates default values in the get account by pubkey and hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountByPubkeyAndHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithHash

WithHash adds the hash to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithPubkey

WithPubkey adds the pubkey to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WithTimeout

WithTimeout adds the timeout to the get account by pubkey and hash params

func (*GetAccountByPubkeyAndHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountByPubkeyAndHashReader

type GetAccountByPubkeyAndHashReader struct {
	// contains filtered or unexported fields
}

GetAccountByPubkeyAndHashReader is a Reader for the GetAccountByPubkeyAndHash structure.

func (*GetAccountByPubkeyAndHashReader) ReadResponse

func (o *GetAccountByPubkeyAndHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountByPubkeyAndHeightBadRequest

type GetAccountByPubkeyAndHeightBadRequest struct {
	Payload *models.Error
}
GetAccountByPubkeyAndHeightBadRequest describes a response with status code 400, with default header values.

Invalid public key or invalid height

func NewGetAccountByPubkeyAndHeightBadRequest

func NewGetAccountByPubkeyAndHeightBadRequest() *GetAccountByPubkeyAndHeightBadRequest

NewGetAccountByPubkeyAndHeightBadRequest creates a GetAccountByPubkeyAndHeightBadRequest with default headers values

func (*GetAccountByPubkeyAndHeightBadRequest) Error

func (*GetAccountByPubkeyAndHeightBadRequest) GetPayload

type GetAccountByPubkeyAndHeightNotFound

type GetAccountByPubkeyAndHeightNotFound struct {
	Payload *models.Error
}
GetAccountByPubkeyAndHeightNotFound describes a response with status code 404, with default header values.

Account not found or height not available

func NewGetAccountByPubkeyAndHeightNotFound

func NewGetAccountByPubkeyAndHeightNotFound() *GetAccountByPubkeyAndHeightNotFound

NewGetAccountByPubkeyAndHeightNotFound creates a GetAccountByPubkeyAndHeightNotFound with default headers values

func (*GetAccountByPubkeyAndHeightNotFound) Error

func (*GetAccountByPubkeyAndHeightNotFound) GetPayload

type GetAccountByPubkeyAndHeightOK

type GetAccountByPubkeyAndHeightOK struct {
	Payload *models.Account
}
GetAccountByPubkeyAndHeightOK describes a response with status code 200, with default header values.

Successful operation

func NewGetAccountByPubkeyAndHeightOK

func NewGetAccountByPubkeyAndHeightOK() *GetAccountByPubkeyAndHeightOK

NewGetAccountByPubkeyAndHeightOK creates a GetAccountByPubkeyAndHeightOK with default headers values

func (*GetAccountByPubkeyAndHeightOK) Error

func (*GetAccountByPubkeyAndHeightOK) GetPayload

func (o *GetAccountByPubkeyAndHeightOK) GetPayload() *models.Account

type GetAccountByPubkeyAndHeightParams

type GetAccountByPubkeyAndHeightParams struct {

	/* Height.

	   The height

	   Format: uint64
	*/
	Height uint64

	/* Pubkey.

	   The public key of the account
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountByPubkeyAndHeightParams contains all the parameters to send to the API endpoint

for the get account by pubkey and height operation.

Typically these are written to a http.Request.

func NewGetAccountByPubkeyAndHeightParams

func NewGetAccountByPubkeyAndHeightParams() *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParams creates a new GetAccountByPubkeyAndHeightParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountByPubkeyAndHeightParamsWithContext

func NewGetAccountByPubkeyAndHeightParamsWithContext(ctx context.Context) *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParamsWithContext creates a new GetAccountByPubkeyAndHeightParams object with the ability to set a context for a request.

func NewGetAccountByPubkeyAndHeightParamsWithHTTPClient

func NewGetAccountByPubkeyAndHeightParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParamsWithHTTPClient creates a new GetAccountByPubkeyAndHeightParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountByPubkeyAndHeightParamsWithTimeout

func NewGetAccountByPubkeyAndHeightParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyAndHeightParams

NewGetAccountByPubkeyAndHeightParamsWithTimeout creates a new GetAccountByPubkeyAndHeightParams object with the ability to set a timeout on a request.

func (*GetAccountByPubkeyAndHeightParams) SetContext

SetContext adds the context to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetDefaults

func (o *GetAccountByPubkeyAndHeightParams) SetDefaults()

SetDefaults hydrates default values in the get account by pubkey and height params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountByPubkeyAndHeightParams) SetHTTPClient

func (o *GetAccountByPubkeyAndHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetHeight

func (o *GetAccountByPubkeyAndHeightParams) SetHeight(height uint64)

SetHeight adds the height to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetPubkey

func (o *GetAccountByPubkeyAndHeightParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) SetTimeout

func (o *GetAccountByPubkeyAndHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithContext

WithContext adds the context to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithDefaults

WithDefaults hydrates default values in the get account by pubkey and height params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountByPubkeyAndHeightParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithHeight

WithHeight adds the height to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithPubkey

WithPubkey adds the pubkey to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WithTimeout

WithTimeout adds the timeout to the get account by pubkey and height params

func (*GetAccountByPubkeyAndHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountByPubkeyAndHeightReader

type GetAccountByPubkeyAndHeightReader struct {
	// contains filtered or unexported fields
}

GetAccountByPubkeyAndHeightReader is a Reader for the GetAccountByPubkeyAndHeight structure.

func (*GetAccountByPubkeyAndHeightReader) ReadResponse

func (o *GetAccountByPubkeyAndHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountByPubkeyBadRequest

type GetAccountByPubkeyBadRequest struct {
	Payload *models.Error
}
GetAccountByPubkeyBadRequest describes a response with status code 400, with default header values.

Invalid public key

func NewGetAccountByPubkeyBadRequest

func NewGetAccountByPubkeyBadRequest() *GetAccountByPubkeyBadRequest

NewGetAccountByPubkeyBadRequest creates a GetAccountByPubkeyBadRequest with default headers values

func (*GetAccountByPubkeyBadRequest) Error

func (*GetAccountByPubkeyBadRequest) GetPayload

func (o *GetAccountByPubkeyBadRequest) GetPayload() *models.Error

type GetAccountByPubkeyNotFound

type GetAccountByPubkeyNotFound struct {
	Payload *models.Error
}
GetAccountByPubkeyNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetAccountByPubkeyNotFound

func NewGetAccountByPubkeyNotFound() *GetAccountByPubkeyNotFound

NewGetAccountByPubkeyNotFound creates a GetAccountByPubkeyNotFound with default headers values

func (*GetAccountByPubkeyNotFound) Error

func (*GetAccountByPubkeyNotFound) GetPayload

func (o *GetAccountByPubkeyNotFound) GetPayload() *models.Error

type GetAccountByPubkeyOK

type GetAccountByPubkeyOK struct {
	Payload *models.Account
}
GetAccountByPubkeyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetAccountByPubkeyOK

func NewGetAccountByPubkeyOK() *GetAccountByPubkeyOK

NewGetAccountByPubkeyOK creates a GetAccountByPubkeyOK with default headers values

func (*GetAccountByPubkeyOK) Error

func (o *GetAccountByPubkeyOK) Error() string

func (*GetAccountByPubkeyOK) GetPayload

func (o *GetAccountByPubkeyOK) GetPayload() *models.Account

type GetAccountByPubkeyParams

type GetAccountByPubkeyParams struct {

	/* Pubkey.

	   The public key of the account
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountByPubkeyParams contains all the parameters to send to the API endpoint

for the get account by pubkey operation.

Typically these are written to a http.Request.

func NewGetAccountByPubkeyParams

func NewGetAccountByPubkeyParams() *GetAccountByPubkeyParams

NewGetAccountByPubkeyParams creates a new GetAccountByPubkeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountByPubkeyParamsWithContext

func NewGetAccountByPubkeyParamsWithContext(ctx context.Context) *GetAccountByPubkeyParams

NewGetAccountByPubkeyParamsWithContext creates a new GetAccountByPubkeyParams object with the ability to set a context for a request.

func NewGetAccountByPubkeyParamsWithHTTPClient

func NewGetAccountByPubkeyParamsWithHTTPClient(client *http.Client) *GetAccountByPubkeyParams

NewGetAccountByPubkeyParamsWithHTTPClient creates a new GetAccountByPubkeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountByPubkeyParamsWithTimeout

func NewGetAccountByPubkeyParamsWithTimeout(timeout time.Duration) *GetAccountByPubkeyParams

NewGetAccountByPubkeyParamsWithTimeout creates a new GetAccountByPubkeyParams object with the ability to set a timeout on a request.

func (*GetAccountByPubkeyParams) SetContext

func (o *GetAccountByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get account by pubkey params

func (*GetAccountByPubkeyParams) SetDefaults

func (o *GetAccountByPubkeyParams) SetDefaults()

SetDefaults hydrates default values in the get account by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountByPubkeyParams) SetHTTPClient

func (o *GetAccountByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account by pubkey params

func (*GetAccountByPubkeyParams) SetPubkey

func (o *GetAccountByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get account by pubkey params

func (*GetAccountByPubkeyParams) SetTimeout

func (o *GetAccountByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithContext

WithContext adds the context to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithDefaults

WithDefaults hydrates default values in the get account by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountByPubkeyParams) WithHTTPClient

func (o *GetAccountByPubkeyParams) WithHTTPClient(client *http.Client) *GetAccountByPubkeyParams

WithHTTPClient adds the HTTPClient to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get account by pubkey params

func (*GetAccountByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get account by pubkey params

func (*GetAccountByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountByPubkeyReader

type GetAccountByPubkeyReader struct {
	// contains filtered or unexported fields
}

GetAccountByPubkeyReader is a Reader for the GetAccountByPubkey structure.

func (*GetAccountByPubkeyReader) ReadResponse

func (o *GetAccountByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetChainEndsOK

type GetChainEndsOK struct {
	Payload []string
}
GetChainEndsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetChainEndsOK

func NewGetChainEndsOK() *GetChainEndsOK

NewGetChainEndsOK creates a GetChainEndsOK with default headers values

func (*GetChainEndsOK) Error

func (o *GetChainEndsOK) Error() string

func (*GetChainEndsOK) GetPayload

func (o *GetChainEndsOK) GetPayload() []string

type GetChainEndsParams

type GetChainEndsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetChainEndsParams contains all the parameters to send to the API endpoint

for the get chain ends operation.

Typically these are written to a http.Request.

func NewGetChainEndsParams

func NewGetChainEndsParams() *GetChainEndsParams

NewGetChainEndsParams creates a new GetChainEndsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetChainEndsParamsWithContext

func NewGetChainEndsParamsWithContext(ctx context.Context) *GetChainEndsParams

NewGetChainEndsParamsWithContext creates a new GetChainEndsParams object with the ability to set a context for a request.

func NewGetChainEndsParamsWithHTTPClient

func NewGetChainEndsParamsWithHTTPClient(client *http.Client) *GetChainEndsParams

NewGetChainEndsParamsWithHTTPClient creates a new GetChainEndsParams object with the ability to set a custom HTTPClient for a request.

func NewGetChainEndsParamsWithTimeout

func NewGetChainEndsParamsWithTimeout(timeout time.Duration) *GetChainEndsParams

NewGetChainEndsParamsWithTimeout creates a new GetChainEndsParams object with the ability to set a timeout on a request.

func (*GetChainEndsParams) SetContext

func (o *GetChainEndsParams) SetContext(ctx context.Context)

SetContext adds the context to the get chain ends params

func (*GetChainEndsParams) SetDefaults

func (o *GetChainEndsParams) SetDefaults()

SetDefaults hydrates default values in the get chain ends params (not the query body).

All values with no default are reset to their zero value.

func (*GetChainEndsParams) SetHTTPClient

func (o *GetChainEndsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get chain ends params

func (*GetChainEndsParams) SetTimeout

func (o *GetChainEndsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get chain ends params

func (*GetChainEndsParams) WithContext

WithContext adds the context to the get chain ends params

func (*GetChainEndsParams) WithDefaults

func (o *GetChainEndsParams) WithDefaults() *GetChainEndsParams

WithDefaults hydrates default values in the get chain ends params (not the query body).

All values with no default are reset to their zero value.

func (*GetChainEndsParams) WithHTTPClient

func (o *GetChainEndsParams) WithHTTPClient(client *http.Client) *GetChainEndsParams

WithHTTPClient adds the HTTPClient to the get chain ends params

func (*GetChainEndsParams) WithTimeout

func (o *GetChainEndsParams) WithTimeout(timeout time.Duration) *GetChainEndsParams

WithTimeout adds the timeout to the get chain ends params

func (*GetChainEndsParams) WriteToRequest

func (o *GetChainEndsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetChainEndsReader

type GetChainEndsReader struct {
	// contains filtered or unexported fields
}

GetChainEndsReader is a Reader for the GetChainEnds structure.

func (*GetChainEndsReader) ReadResponse

func (o *GetChainEndsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetChannelByPubkeyBadRequest

type GetChannelByPubkeyBadRequest struct {
	Payload *models.Error
}
GetChannelByPubkeyBadRequest describes a response with status code 400, with default header values.

Invalid public key

func NewGetChannelByPubkeyBadRequest

func NewGetChannelByPubkeyBadRequest() *GetChannelByPubkeyBadRequest

NewGetChannelByPubkeyBadRequest creates a GetChannelByPubkeyBadRequest with default headers values

func (*GetChannelByPubkeyBadRequest) Error

func (*GetChannelByPubkeyBadRequest) GetPayload

func (o *GetChannelByPubkeyBadRequest) GetPayload() *models.Error

type GetChannelByPubkeyNotFound

type GetChannelByPubkeyNotFound struct {
	Payload *models.Error
}
GetChannelByPubkeyNotFound describes a response with status code 404, with default header values.

Channel not found

func NewGetChannelByPubkeyNotFound

func NewGetChannelByPubkeyNotFound() *GetChannelByPubkeyNotFound

NewGetChannelByPubkeyNotFound creates a GetChannelByPubkeyNotFound with default headers values

func (*GetChannelByPubkeyNotFound) Error

func (*GetChannelByPubkeyNotFound) GetPayload

func (o *GetChannelByPubkeyNotFound) GetPayload() *models.Error

type GetChannelByPubkeyOK

type GetChannelByPubkeyOK struct {
	Payload *models.Channel
}
GetChannelByPubkeyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetChannelByPubkeyOK

func NewGetChannelByPubkeyOK() *GetChannelByPubkeyOK

NewGetChannelByPubkeyOK creates a GetChannelByPubkeyOK with default headers values

func (*GetChannelByPubkeyOK) Error

func (o *GetChannelByPubkeyOK) Error() string

func (*GetChannelByPubkeyOK) GetPayload

func (o *GetChannelByPubkeyOK) GetPayload() *models.Channel

type GetChannelByPubkeyParams

type GetChannelByPubkeyParams struct {

	/* Pubkey.

	   The pubkey of the channel
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetChannelByPubkeyParams contains all the parameters to send to the API endpoint

for the get channel by pubkey operation.

Typically these are written to a http.Request.

func NewGetChannelByPubkeyParams

func NewGetChannelByPubkeyParams() *GetChannelByPubkeyParams

NewGetChannelByPubkeyParams creates a new GetChannelByPubkeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetChannelByPubkeyParamsWithContext

func NewGetChannelByPubkeyParamsWithContext(ctx context.Context) *GetChannelByPubkeyParams

NewGetChannelByPubkeyParamsWithContext creates a new GetChannelByPubkeyParams object with the ability to set a context for a request.

func NewGetChannelByPubkeyParamsWithHTTPClient

func NewGetChannelByPubkeyParamsWithHTTPClient(client *http.Client) *GetChannelByPubkeyParams

NewGetChannelByPubkeyParamsWithHTTPClient creates a new GetChannelByPubkeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetChannelByPubkeyParamsWithTimeout

func NewGetChannelByPubkeyParamsWithTimeout(timeout time.Duration) *GetChannelByPubkeyParams

NewGetChannelByPubkeyParamsWithTimeout creates a new GetChannelByPubkeyParams object with the ability to set a timeout on a request.

func (*GetChannelByPubkeyParams) SetContext

func (o *GetChannelByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get channel by pubkey params

func (*GetChannelByPubkeyParams) SetDefaults

func (o *GetChannelByPubkeyParams) SetDefaults()

SetDefaults hydrates default values in the get channel by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetChannelByPubkeyParams) SetHTTPClient

func (o *GetChannelByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get channel by pubkey params

func (*GetChannelByPubkeyParams) SetPubkey

func (o *GetChannelByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get channel by pubkey params

func (*GetChannelByPubkeyParams) SetTimeout

func (o *GetChannelByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithContext

WithContext adds the context to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithDefaults

WithDefaults hydrates default values in the get channel by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetChannelByPubkeyParams) WithHTTPClient

func (o *GetChannelByPubkeyParams) WithHTTPClient(client *http.Client) *GetChannelByPubkeyParams

WithHTTPClient adds the HTTPClient to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get channel by pubkey params

func (*GetChannelByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetChannelByPubkeyReader

type GetChannelByPubkeyReader struct {
	// contains filtered or unexported fields
}

GetChannelByPubkeyReader is a Reader for the GetChannelByPubkey structure.

func (*GetChannelByPubkeyReader) ReadResponse

func (o *GetChannelByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractBadRequest

type GetContractBadRequest struct {
	Payload *models.Error
}
GetContractBadRequest describes a response with status code 400, with default header values.

Invalid pubkey

func NewGetContractBadRequest

func NewGetContractBadRequest() *GetContractBadRequest

NewGetContractBadRequest creates a GetContractBadRequest with default headers values

func (*GetContractBadRequest) Error

func (o *GetContractBadRequest) Error() string

func (*GetContractBadRequest) GetPayload

func (o *GetContractBadRequest) GetPayload() *models.Error

type GetContractCodeBadRequest

type GetContractCodeBadRequest struct {
	Payload *models.Error
}
GetContractCodeBadRequest describes a response with status code 400, with default header values.

Invalid pubkey

func NewGetContractCodeBadRequest

func NewGetContractCodeBadRequest() *GetContractCodeBadRequest

NewGetContractCodeBadRequest creates a GetContractCodeBadRequest with default headers values

func (*GetContractCodeBadRequest) Error

func (o *GetContractCodeBadRequest) Error() string

func (*GetContractCodeBadRequest) GetPayload

func (o *GetContractCodeBadRequest) GetPayload() *models.Error

type GetContractCodeNotFound

type GetContractCodeNotFound struct {
	Payload *models.Error
}
GetContractCodeNotFound describes a response with status code 404, with default header values.

Contract not found

func NewGetContractCodeNotFound

func NewGetContractCodeNotFound() *GetContractCodeNotFound

NewGetContractCodeNotFound creates a GetContractCodeNotFound with default headers values

func (*GetContractCodeNotFound) Error

func (o *GetContractCodeNotFound) Error() string

func (*GetContractCodeNotFound) GetPayload

func (o *GetContractCodeNotFound) GetPayload() *models.Error

type GetContractCodeOK

type GetContractCodeOK struct {
	Payload *models.ByteCode
}
GetContractCodeOK describes a response with status code 200, with default header values.

Contract code

func NewGetContractCodeOK

func NewGetContractCodeOK() *GetContractCodeOK

NewGetContractCodeOK creates a GetContractCodeOK with default headers values

func (*GetContractCodeOK) Error

func (o *GetContractCodeOK) Error() string

func (*GetContractCodeOK) GetPayload

func (o *GetContractCodeOK) GetPayload() *models.ByteCode

type GetContractCodeParams

type GetContractCodeParams struct {

	/* Pubkey.

	   The pubkey of the contract
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractCodeParams contains all the parameters to send to the API endpoint

for the get contract code operation.

Typically these are written to a http.Request.

func NewGetContractCodeParams

func NewGetContractCodeParams() *GetContractCodeParams

NewGetContractCodeParams creates a new GetContractCodeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetContractCodeParamsWithContext

func NewGetContractCodeParamsWithContext(ctx context.Context) *GetContractCodeParams

NewGetContractCodeParamsWithContext creates a new GetContractCodeParams object with the ability to set a context for a request.

func NewGetContractCodeParamsWithHTTPClient

func NewGetContractCodeParamsWithHTTPClient(client *http.Client) *GetContractCodeParams

NewGetContractCodeParamsWithHTTPClient creates a new GetContractCodeParams object with the ability to set a custom HTTPClient for a request.

func NewGetContractCodeParamsWithTimeout

func NewGetContractCodeParamsWithTimeout(timeout time.Duration) *GetContractCodeParams

NewGetContractCodeParamsWithTimeout creates a new GetContractCodeParams object with the ability to set a timeout on a request.

func (*GetContractCodeParams) SetContext

func (o *GetContractCodeParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract code params

func (*GetContractCodeParams) SetDefaults

func (o *GetContractCodeParams) SetDefaults()

SetDefaults hydrates default values in the get contract code params (not the query body).

All values with no default are reset to their zero value.

func (*GetContractCodeParams) SetHTTPClient

func (o *GetContractCodeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract code params

func (*GetContractCodeParams) SetPubkey

func (o *GetContractCodeParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract code params

func (*GetContractCodeParams) SetTimeout

func (o *GetContractCodeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract code params

func (*GetContractCodeParams) WithContext

WithContext adds the context to the get contract code params

func (*GetContractCodeParams) WithDefaults

func (o *GetContractCodeParams) WithDefaults() *GetContractCodeParams

WithDefaults hydrates default values in the get contract code params (not the query body).

All values with no default are reset to their zero value.

func (*GetContractCodeParams) WithHTTPClient

func (o *GetContractCodeParams) WithHTTPClient(client *http.Client) *GetContractCodeParams

WithHTTPClient adds the HTTPClient to the get contract code params

func (*GetContractCodeParams) WithPubkey

func (o *GetContractCodeParams) WithPubkey(pubkey string) *GetContractCodeParams

WithPubkey adds the pubkey to the get contract code params

func (*GetContractCodeParams) WithTimeout

func (o *GetContractCodeParams) WithTimeout(timeout time.Duration) *GetContractCodeParams

WithTimeout adds the timeout to the get contract code params

func (*GetContractCodeParams) WriteToRequest

func (o *GetContractCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContractCodeReader

type GetContractCodeReader struct {
	// contains filtered or unexported fields
}

GetContractCodeReader is a Reader for the GetContractCode structure.

func (*GetContractCodeReader) ReadResponse

func (o *GetContractCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractNotFound

type GetContractNotFound struct {
}
GetContractNotFound describes a response with status code 404, with default header values.

Contract not found

func NewGetContractNotFound

func NewGetContractNotFound() *GetContractNotFound

NewGetContractNotFound creates a GetContractNotFound with default headers values

func (*GetContractNotFound) Error

func (o *GetContractNotFound) Error() string

type GetContractOK

type GetContractOK struct {
	Payload *models.ContractObject
}
GetContractOK describes a response with status code 200, with default header values.

Successful operation

func NewGetContractOK

func NewGetContractOK() *GetContractOK

NewGetContractOK creates a GetContractOK with default headers values

func (*GetContractOK) Error

func (o *GetContractOK) Error() string

func (*GetContractOK) GetPayload

func (o *GetContractOK) GetPayload() *models.ContractObject

type GetContractParams

type GetContractParams struct {

	/* Pubkey.

	   The pubkey of the contract
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractParams contains all the parameters to send to the API endpoint

for the get contract operation.

Typically these are written to a http.Request.

func NewGetContractParams

func NewGetContractParams() *GetContractParams

NewGetContractParams creates a new GetContractParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetContractParamsWithContext

func NewGetContractParamsWithContext(ctx context.Context) *GetContractParams

NewGetContractParamsWithContext creates a new GetContractParams object with the ability to set a context for a request.

func NewGetContractParamsWithHTTPClient

func NewGetContractParamsWithHTTPClient(client *http.Client) *GetContractParams

NewGetContractParamsWithHTTPClient creates a new GetContractParams object with the ability to set a custom HTTPClient for a request.

func NewGetContractParamsWithTimeout

func NewGetContractParamsWithTimeout(timeout time.Duration) *GetContractParams

NewGetContractParamsWithTimeout creates a new GetContractParams object with the ability to set a timeout on a request.

func (*GetContractParams) SetContext

func (o *GetContractParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract params

func (*GetContractParams) SetDefaults

func (o *GetContractParams) SetDefaults()

SetDefaults hydrates default values in the get contract params (not the query body).

All values with no default are reset to their zero value.

func (*GetContractParams) SetHTTPClient

func (o *GetContractParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract params

func (*GetContractParams) SetPubkey

func (o *GetContractParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract params

func (*GetContractParams) SetTimeout

func (o *GetContractParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract params

func (*GetContractParams) WithContext

func (o *GetContractParams) WithContext(ctx context.Context) *GetContractParams

WithContext adds the context to the get contract params

func (*GetContractParams) WithDefaults

func (o *GetContractParams) WithDefaults() *GetContractParams

WithDefaults hydrates default values in the get contract params (not the query body).

All values with no default are reset to their zero value.

func (*GetContractParams) WithHTTPClient

func (o *GetContractParams) WithHTTPClient(client *http.Client) *GetContractParams

WithHTTPClient adds the HTTPClient to the get contract params

func (*GetContractParams) WithPubkey

func (o *GetContractParams) WithPubkey(pubkey string) *GetContractParams

WithPubkey adds the pubkey to the get contract params

func (*GetContractParams) WithTimeout

func (o *GetContractParams) WithTimeout(timeout time.Duration) *GetContractParams

WithTimeout adds the timeout to the get contract params

func (*GetContractParams) WriteToRequest

func (o *GetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContractPoIBadRequest

type GetContractPoIBadRequest struct {
	Payload *models.Error
}
GetContractPoIBadRequest describes a response with status code 400, with default header values.

Invalid contract key

func NewGetContractPoIBadRequest

func NewGetContractPoIBadRequest() *GetContractPoIBadRequest

NewGetContractPoIBadRequest creates a GetContractPoIBadRequest with default headers values

func (*GetContractPoIBadRequest) Error

func (o *GetContractPoIBadRequest) Error() string

func (*GetContractPoIBadRequest) GetPayload

func (o *GetContractPoIBadRequest) GetPayload() *models.Error

type GetContractPoINotFound

type GetContractPoINotFound struct {
	Payload *models.Error
}
GetContractPoINotFound describes a response with status code 404, with default header values.

Contract not found

func NewGetContractPoINotFound

func NewGetContractPoINotFound() *GetContractPoINotFound

NewGetContractPoINotFound creates a GetContractPoINotFound with default headers values

func (*GetContractPoINotFound) Error

func (o *GetContractPoINotFound) Error() string

func (*GetContractPoINotFound) GetPayload

func (o *GetContractPoINotFound) GetPayload() *models.Error

type GetContractPoIOK

type GetContractPoIOK struct {
	Payload *models.PoI
}
GetContractPoIOK describes a response with status code 200, with default header values.

Successful operation

func NewGetContractPoIOK

func NewGetContractPoIOK() *GetContractPoIOK

NewGetContractPoIOK creates a GetContractPoIOK with default headers values

func (*GetContractPoIOK) Error

func (o *GetContractPoIOK) Error() string

func (*GetContractPoIOK) GetPayload

func (o *GetContractPoIOK) GetPayload() *models.PoI

type GetContractPoIParams

type GetContractPoIParams struct {

	/* Pubkey.

	   Contract pubkey to get proof for
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractPoIParams contains all the parameters to send to the API endpoint

for the get contract po i operation.

Typically these are written to a http.Request.

func NewGetContractPoIParams

func NewGetContractPoIParams() *GetContractPoIParams

NewGetContractPoIParams creates a new GetContractPoIParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetContractPoIParamsWithContext

func NewGetContractPoIParamsWithContext(ctx context.Context) *GetContractPoIParams

NewGetContractPoIParamsWithContext creates a new GetContractPoIParams object with the ability to set a context for a request.

func NewGetContractPoIParamsWithHTTPClient

func NewGetContractPoIParamsWithHTTPClient(client *http.Client) *GetContractPoIParams

NewGetContractPoIParamsWithHTTPClient creates a new GetContractPoIParams object with the ability to set a custom HTTPClient for a request.

func NewGetContractPoIParamsWithTimeout

func NewGetContractPoIParamsWithTimeout(timeout time.Duration) *GetContractPoIParams

NewGetContractPoIParamsWithTimeout creates a new GetContractPoIParams object with the ability to set a timeout on a request.

func (*GetContractPoIParams) SetContext

func (o *GetContractPoIParams) SetContext(ctx context.Context)

SetContext adds the context to the get contract po i params

func (*GetContractPoIParams) SetDefaults

func (o *GetContractPoIParams) SetDefaults()

SetDefaults hydrates default values in the get contract po i params (not the query body).

All values with no default are reset to their zero value.

func (*GetContractPoIParams) SetHTTPClient

func (o *GetContractPoIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contract po i params

func (*GetContractPoIParams) SetPubkey

func (o *GetContractPoIParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get contract po i params

func (*GetContractPoIParams) SetTimeout

func (o *GetContractPoIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contract po i params

func (*GetContractPoIParams) WithContext

WithContext adds the context to the get contract po i params

func (*GetContractPoIParams) WithDefaults

func (o *GetContractPoIParams) WithDefaults() *GetContractPoIParams

WithDefaults hydrates default values in the get contract po i params (not the query body).

All values with no default are reset to their zero value.

func (*GetContractPoIParams) WithHTTPClient

func (o *GetContractPoIParams) WithHTTPClient(client *http.Client) *GetContractPoIParams

WithHTTPClient adds the HTTPClient to the get contract po i params

func (*GetContractPoIParams) WithPubkey

func (o *GetContractPoIParams) WithPubkey(pubkey string) *GetContractPoIParams

WithPubkey adds the pubkey to the get contract po i params

func (*GetContractPoIParams) WithTimeout

func (o *GetContractPoIParams) WithTimeout(timeout time.Duration) *GetContractPoIParams

WithTimeout adds the timeout to the get contract po i params

func (*GetContractPoIParams) WriteToRequest

func (o *GetContractPoIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContractPoIReader

type GetContractPoIReader struct {
	// contains filtered or unexported fields
}

GetContractPoIReader is a Reader for the GetContractPoI structure.

func (*GetContractPoIReader) ReadResponse

func (o *GetContractPoIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContractReader

type GetContractReader struct {
	// contains filtered or unexported fields
}

GetContractReader is a Reader for the GetContract structure.

func (*GetContractReader) ReadResponse

func (o *GetContractReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentGenerationNotFound

type GetCurrentGenerationNotFound struct {
	Payload *models.Error
}
GetCurrentGenerationNotFound describes a response with status code 404, with default header values.

Generation not found

func NewGetCurrentGenerationNotFound

func NewGetCurrentGenerationNotFound() *GetCurrentGenerationNotFound

NewGetCurrentGenerationNotFound creates a GetCurrentGenerationNotFound with default headers values

func (*GetCurrentGenerationNotFound) Error

func (*GetCurrentGenerationNotFound) GetPayload

func (o *GetCurrentGenerationNotFound) GetPayload() *models.Error

type GetCurrentGenerationOK

type GetCurrentGenerationOK struct {
	Payload *models.Generation
}
GetCurrentGenerationOK describes a response with status code 200, with default header values.

Successful operation

func NewGetCurrentGenerationOK

func NewGetCurrentGenerationOK() *GetCurrentGenerationOK

NewGetCurrentGenerationOK creates a GetCurrentGenerationOK with default headers values

func (*GetCurrentGenerationOK) Error

func (o *GetCurrentGenerationOK) Error() string

func (*GetCurrentGenerationOK) GetPayload

func (o *GetCurrentGenerationOK) GetPayload() *models.Generation

type GetCurrentGenerationParams

type GetCurrentGenerationParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentGenerationParams contains all the parameters to send to the API endpoint

for the get current generation operation.

Typically these are written to a http.Request.

func NewGetCurrentGenerationParams

func NewGetCurrentGenerationParams() *GetCurrentGenerationParams

NewGetCurrentGenerationParams creates a new GetCurrentGenerationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCurrentGenerationParamsWithContext

func NewGetCurrentGenerationParamsWithContext(ctx context.Context) *GetCurrentGenerationParams

NewGetCurrentGenerationParamsWithContext creates a new GetCurrentGenerationParams object with the ability to set a context for a request.

func NewGetCurrentGenerationParamsWithHTTPClient

func NewGetCurrentGenerationParamsWithHTTPClient(client *http.Client) *GetCurrentGenerationParams

NewGetCurrentGenerationParamsWithHTTPClient creates a new GetCurrentGenerationParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentGenerationParamsWithTimeout

func NewGetCurrentGenerationParamsWithTimeout(timeout time.Duration) *GetCurrentGenerationParams

NewGetCurrentGenerationParamsWithTimeout creates a new GetCurrentGenerationParams object with the ability to set a timeout on a request.

func (*GetCurrentGenerationParams) SetContext

func (o *GetCurrentGenerationParams) SetContext(ctx context.Context)

SetContext adds the context to the get current generation params

func (*GetCurrentGenerationParams) SetDefaults

func (o *GetCurrentGenerationParams) SetDefaults()

SetDefaults hydrates default values in the get current generation params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentGenerationParams) SetHTTPClient

func (o *GetCurrentGenerationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current generation params

func (*GetCurrentGenerationParams) SetTimeout

func (o *GetCurrentGenerationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current generation params

func (*GetCurrentGenerationParams) WithContext

WithContext adds the context to the get current generation params

func (*GetCurrentGenerationParams) WithDefaults

WithDefaults hydrates default values in the get current generation params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentGenerationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current generation params

func (*GetCurrentGenerationParams) WithTimeout

WithTimeout adds the timeout to the get current generation params

func (*GetCurrentGenerationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentGenerationReader

type GetCurrentGenerationReader struct {
	// contains filtered or unexported fields
}

GetCurrentGenerationReader is a Reader for the GetCurrentGeneration structure.

func (*GetCurrentGenerationReader) ReadResponse

func (o *GetCurrentGenerationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentKeyBlockHashNotFound

type GetCurrentKeyBlockHashNotFound struct {
	Payload *models.Error
}
GetCurrentKeyBlockHashNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetCurrentKeyBlockHashNotFound

func NewGetCurrentKeyBlockHashNotFound() *GetCurrentKeyBlockHashNotFound

NewGetCurrentKeyBlockHashNotFound creates a GetCurrentKeyBlockHashNotFound with default headers values

func (*GetCurrentKeyBlockHashNotFound) Error

func (*GetCurrentKeyBlockHashNotFound) GetPayload

func (o *GetCurrentKeyBlockHashNotFound) GetPayload() *models.Error

type GetCurrentKeyBlockHashOK

type GetCurrentKeyBlockHashOK struct {
	Payload *GetCurrentKeyBlockHashOKBody
}
GetCurrentKeyBlockHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetCurrentKeyBlockHashOK

func NewGetCurrentKeyBlockHashOK() *GetCurrentKeyBlockHashOK

NewGetCurrentKeyBlockHashOK creates a GetCurrentKeyBlockHashOK with default headers values

func (*GetCurrentKeyBlockHashOK) Error

func (o *GetCurrentKeyBlockHashOK) Error() string

func (*GetCurrentKeyBlockHashOK) GetPayload

type GetCurrentKeyBlockHashOKBody

type GetCurrentKeyBlockHashOKBody struct {

	// hash
	Hash string `json:"hash,omitempty"`
}

GetCurrentKeyBlockHashOKBody get current key block hash o k body swagger:model GetCurrentKeyBlockHashOKBody

func (*GetCurrentKeyBlockHashOKBody) ContextValidate

func (o *GetCurrentKeyBlockHashOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get current key block hash o k body based on context it is used

func (*GetCurrentKeyBlockHashOKBody) MarshalBinary

func (o *GetCurrentKeyBlockHashOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCurrentKeyBlockHashOKBody) UnmarshalBinary

func (o *GetCurrentKeyBlockHashOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCurrentKeyBlockHashOKBody) Validate

func (o *GetCurrentKeyBlockHashOKBody) Validate(formats strfmt.Registry) error

Validate validates this get current key block hash o k body

type GetCurrentKeyBlockHashParams

type GetCurrentKeyBlockHashParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentKeyBlockHashParams contains all the parameters to send to the API endpoint

for the get current key block hash operation.

Typically these are written to a http.Request.

func NewGetCurrentKeyBlockHashParams

func NewGetCurrentKeyBlockHashParams() *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParams creates a new GetCurrentKeyBlockHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCurrentKeyBlockHashParamsWithContext

func NewGetCurrentKeyBlockHashParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParamsWithContext creates a new GetCurrentKeyBlockHashParams object with the ability to set a context for a request.

func NewGetCurrentKeyBlockHashParamsWithHTTPClient

func NewGetCurrentKeyBlockHashParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParamsWithHTTPClient creates a new GetCurrentKeyBlockHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentKeyBlockHashParamsWithTimeout

func NewGetCurrentKeyBlockHashParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockHashParams

NewGetCurrentKeyBlockHashParamsWithTimeout creates a new GetCurrentKeyBlockHashParams object with the ability to set a timeout on a request.

func (*GetCurrentKeyBlockHashParams) SetContext

func (o *GetCurrentKeyBlockHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) SetDefaults

func (o *GetCurrentKeyBlockHashParams) SetDefaults()

SetDefaults hydrates default values in the get current key block hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentKeyBlockHashParams) SetHTTPClient

func (o *GetCurrentKeyBlockHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) SetTimeout

func (o *GetCurrentKeyBlockHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WithContext

WithContext adds the context to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WithDefaults

WithDefaults hydrates default values in the get current key block hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentKeyBlockHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WithTimeout

WithTimeout adds the timeout to the get current key block hash params

func (*GetCurrentKeyBlockHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentKeyBlockHashReader

type GetCurrentKeyBlockHashReader struct {
	// contains filtered or unexported fields
}

GetCurrentKeyBlockHashReader is a Reader for the GetCurrentKeyBlockHash structure.

func (*GetCurrentKeyBlockHashReader) ReadResponse

func (o *GetCurrentKeyBlockHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentKeyBlockHeightNotFound

type GetCurrentKeyBlockHeightNotFound struct {
	Payload *models.Error
}
GetCurrentKeyBlockHeightNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetCurrentKeyBlockHeightNotFound

func NewGetCurrentKeyBlockHeightNotFound() *GetCurrentKeyBlockHeightNotFound

NewGetCurrentKeyBlockHeightNotFound creates a GetCurrentKeyBlockHeightNotFound with default headers values

func (*GetCurrentKeyBlockHeightNotFound) Error

func (*GetCurrentKeyBlockHeightNotFound) GetPayload

type GetCurrentKeyBlockHeightOK

type GetCurrentKeyBlockHeightOK struct {
	Payload *GetCurrentKeyBlockHeightOKBody
}
GetCurrentKeyBlockHeightOK describes a response with status code 200, with default header values.

Successful operation

func NewGetCurrentKeyBlockHeightOK

func NewGetCurrentKeyBlockHeightOK() *GetCurrentKeyBlockHeightOK

NewGetCurrentKeyBlockHeightOK creates a GetCurrentKeyBlockHeightOK with default headers values

func (*GetCurrentKeyBlockHeightOK) Error

func (*GetCurrentKeyBlockHeightOK) GetPayload

type GetCurrentKeyBlockHeightOKBody

type GetCurrentKeyBlockHeightOKBody struct {

	// height
	Height uint64 `json:"height,omitempty"`
}

GetCurrentKeyBlockHeightOKBody get current key block height o k body swagger:model GetCurrentKeyBlockHeightOKBody

func (*GetCurrentKeyBlockHeightOKBody) ContextValidate

func (o *GetCurrentKeyBlockHeightOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get current key block height o k body based on context it is used

func (*GetCurrentKeyBlockHeightOKBody) MarshalBinary

func (o *GetCurrentKeyBlockHeightOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCurrentKeyBlockHeightOKBody) UnmarshalBinary

func (o *GetCurrentKeyBlockHeightOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCurrentKeyBlockHeightOKBody) Validate

func (o *GetCurrentKeyBlockHeightOKBody) Validate(formats strfmt.Registry) error

Validate validates this get current key block height o k body

type GetCurrentKeyBlockHeightParams

type GetCurrentKeyBlockHeightParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentKeyBlockHeightParams contains all the parameters to send to the API endpoint

for the get current key block height operation.

Typically these are written to a http.Request.

func NewGetCurrentKeyBlockHeightParams

func NewGetCurrentKeyBlockHeightParams() *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParams creates a new GetCurrentKeyBlockHeightParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCurrentKeyBlockHeightParamsWithContext

func NewGetCurrentKeyBlockHeightParamsWithContext(ctx context.Context) *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParamsWithContext creates a new GetCurrentKeyBlockHeightParams object with the ability to set a context for a request.

func NewGetCurrentKeyBlockHeightParamsWithHTTPClient

func NewGetCurrentKeyBlockHeightParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParamsWithHTTPClient creates a new GetCurrentKeyBlockHeightParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentKeyBlockHeightParamsWithTimeout

func NewGetCurrentKeyBlockHeightParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockHeightParams

NewGetCurrentKeyBlockHeightParamsWithTimeout creates a new GetCurrentKeyBlockHeightParams object with the ability to set a timeout on a request.

func (*GetCurrentKeyBlockHeightParams) SetContext

func (o *GetCurrentKeyBlockHeightParams) SetContext(ctx context.Context)

SetContext adds the context to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) SetDefaults

func (o *GetCurrentKeyBlockHeightParams) SetDefaults()

SetDefaults hydrates default values in the get current key block height params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentKeyBlockHeightParams) SetHTTPClient

func (o *GetCurrentKeyBlockHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) SetTimeout

func (o *GetCurrentKeyBlockHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WithContext

WithContext adds the context to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WithDefaults

WithDefaults hydrates default values in the get current key block height params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentKeyBlockHeightParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WithTimeout

WithTimeout adds the timeout to the get current key block height params

func (*GetCurrentKeyBlockHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentKeyBlockHeightReader

type GetCurrentKeyBlockHeightReader struct {
	// contains filtered or unexported fields
}

GetCurrentKeyBlockHeightReader is a Reader for the GetCurrentKeyBlockHeight structure.

func (*GetCurrentKeyBlockHeightReader) ReadResponse

func (o *GetCurrentKeyBlockHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentKeyBlockNotFound

type GetCurrentKeyBlockNotFound struct {
	Payload *models.Error
}
GetCurrentKeyBlockNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetCurrentKeyBlockNotFound

func NewGetCurrentKeyBlockNotFound() *GetCurrentKeyBlockNotFound

NewGetCurrentKeyBlockNotFound creates a GetCurrentKeyBlockNotFound with default headers values

func (*GetCurrentKeyBlockNotFound) Error

func (*GetCurrentKeyBlockNotFound) GetPayload

func (o *GetCurrentKeyBlockNotFound) GetPayload() *models.Error

type GetCurrentKeyBlockOK

type GetCurrentKeyBlockOK struct {
	Payload *models.KeyBlock
}
GetCurrentKeyBlockOK describes a response with status code 200, with default header values.

Successful operation

func NewGetCurrentKeyBlockOK

func NewGetCurrentKeyBlockOK() *GetCurrentKeyBlockOK

NewGetCurrentKeyBlockOK creates a GetCurrentKeyBlockOK with default headers values

func (*GetCurrentKeyBlockOK) Error

func (o *GetCurrentKeyBlockOK) Error() string

func (*GetCurrentKeyBlockOK) GetPayload

func (o *GetCurrentKeyBlockOK) GetPayload() *models.KeyBlock

type GetCurrentKeyBlockParams

type GetCurrentKeyBlockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentKeyBlockParams contains all the parameters to send to the API endpoint

for the get current key block operation.

Typically these are written to a http.Request.

func NewGetCurrentKeyBlockParams

func NewGetCurrentKeyBlockParams() *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParams creates a new GetCurrentKeyBlockParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCurrentKeyBlockParamsWithContext

func NewGetCurrentKeyBlockParamsWithContext(ctx context.Context) *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParamsWithContext creates a new GetCurrentKeyBlockParams object with the ability to set a context for a request.

func NewGetCurrentKeyBlockParamsWithHTTPClient

func NewGetCurrentKeyBlockParamsWithHTTPClient(client *http.Client) *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParamsWithHTTPClient creates a new GetCurrentKeyBlockParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentKeyBlockParamsWithTimeout

func NewGetCurrentKeyBlockParamsWithTimeout(timeout time.Duration) *GetCurrentKeyBlockParams

NewGetCurrentKeyBlockParamsWithTimeout creates a new GetCurrentKeyBlockParams object with the ability to set a timeout on a request.

func (*GetCurrentKeyBlockParams) SetContext

func (o *GetCurrentKeyBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the get current key block params

func (*GetCurrentKeyBlockParams) SetDefaults

func (o *GetCurrentKeyBlockParams) SetDefaults()

SetDefaults hydrates default values in the get current key block params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentKeyBlockParams) SetHTTPClient

func (o *GetCurrentKeyBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current key block params

func (*GetCurrentKeyBlockParams) SetTimeout

func (o *GetCurrentKeyBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current key block params

func (*GetCurrentKeyBlockParams) WithContext

WithContext adds the context to the get current key block params

func (*GetCurrentKeyBlockParams) WithDefaults

WithDefaults hydrates default values in the get current key block params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentKeyBlockParams) WithHTTPClient

func (o *GetCurrentKeyBlockParams) WithHTTPClient(client *http.Client) *GetCurrentKeyBlockParams

WithHTTPClient adds the HTTPClient to the get current key block params

func (*GetCurrentKeyBlockParams) WithTimeout

WithTimeout adds the timeout to the get current key block params

func (*GetCurrentKeyBlockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentKeyBlockReader

type GetCurrentKeyBlockReader struct {
	// contains filtered or unexported fields
}

GetCurrentKeyBlockReader is a Reader for the GetCurrentKeyBlock structure.

func (*GetCurrentKeyBlockReader) ReadResponse

func (o *GetCurrentKeyBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGenerationByHashBadRequest

type GetGenerationByHashBadRequest struct {
	Payload *models.Error
}
GetGenerationByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetGenerationByHashBadRequest

func NewGetGenerationByHashBadRequest() *GetGenerationByHashBadRequest

NewGetGenerationByHashBadRequest creates a GetGenerationByHashBadRequest with default headers values

func (*GetGenerationByHashBadRequest) Error

func (*GetGenerationByHashBadRequest) GetPayload

func (o *GetGenerationByHashBadRequest) GetPayload() *models.Error

type GetGenerationByHashNotFound

type GetGenerationByHashNotFound struct {
	Payload *models.Error
}
GetGenerationByHashNotFound describes a response with status code 404, with default header values.

Generation not found

func NewGetGenerationByHashNotFound

func NewGetGenerationByHashNotFound() *GetGenerationByHashNotFound

NewGetGenerationByHashNotFound creates a GetGenerationByHashNotFound with default headers values

func (*GetGenerationByHashNotFound) Error

func (*GetGenerationByHashNotFound) GetPayload

func (o *GetGenerationByHashNotFound) GetPayload() *models.Error

type GetGenerationByHashOK

type GetGenerationByHashOK struct {
	Payload *models.Generation
}
GetGenerationByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetGenerationByHashOK

func NewGetGenerationByHashOK() *GetGenerationByHashOK

NewGetGenerationByHashOK creates a GetGenerationByHashOK with default headers values

func (*GetGenerationByHashOK) Error

func (o *GetGenerationByHashOK) Error() string

func (*GetGenerationByHashOK) GetPayload

func (o *GetGenerationByHashOK) GetPayload() *models.Generation

type GetGenerationByHashParams

type GetGenerationByHashParams struct {

	/* Hash.

	   The hash of the generation
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGenerationByHashParams contains all the parameters to send to the API endpoint

for the get generation by hash operation.

Typically these are written to a http.Request.

func NewGetGenerationByHashParams

func NewGetGenerationByHashParams() *GetGenerationByHashParams

NewGetGenerationByHashParams creates a new GetGenerationByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetGenerationByHashParamsWithContext

func NewGetGenerationByHashParamsWithContext(ctx context.Context) *GetGenerationByHashParams

NewGetGenerationByHashParamsWithContext creates a new GetGenerationByHashParams object with the ability to set a context for a request.

func NewGetGenerationByHashParamsWithHTTPClient

func NewGetGenerationByHashParamsWithHTTPClient(client *http.Client) *GetGenerationByHashParams

NewGetGenerationByHashParamsWithHTTPClient creates a new GetGenerationByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetGenerationByHashParamsWithTimeout

func NewGetGenerationByHashParamsWithTimeout(timeout time.Duration) *GetGenerationByHashParams

NewGetGenerationByHashParamsWithTimeout creates a new GetGenerationByHashParams object with the ability to set a timeout on a request.

func (*GetGenerationByHashParams) SetContext

func (o *GetGenerationByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get generation by hash params

func (*GetGenerationByHashParams) SetDefaults

func (o *GetGenerationByHashParams) SetDefaults()

SetDefaults hydrates default values in the get generation by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetGenerationByHashParams) SetHTTPClient

func (o *GetGenerationByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get generation by hash params

func (*GetGenerationByHashParams) SetHash

func (o *GetGenerationByHashParams) SetHash(hash string)

SetHash adds the hash to the get generation by hash params

func (*GetGenerationByHashParams) SetTimeout

func (o *GetGenerationByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get generation by hash params

func (*GetGenerationByHashParams) WithContext

WithContext adds the context to the get generation by hash params

func (*GetGenerationByHashParams) WithDefaults

WithDefaults hydrates default values in the get generation by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetGenerationByHashParams) WithHTTPClient

func (o *GetGenerationByHashParams) WithHTTPClient(client *http.Client) *GetGenerationByHashParams

WithHTTPClient adds the HTTPClient to the get generation by hash params

func (*GetGenerationByHashParams) WithHash

WithHash adds the hash to the get generation by hash params

func (*GetGenerationByHashParams) WithTimeout

WithTimeout adds the timeout to the get generation by hash params

func (*GetGenerationByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGenerationByHashReader

type GetGenerationByHashReader struct {
	// contains filtered or unexported fields
}

GetGenerationByHashReader is a Reader for the GetGenerationByHash structure.

func (*GetGenerationByHashReader) ReadResponse

func (o *GetGenerationByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGenerationByHeightNotFound

type GetGenerationByHeightNotFound struct {
	Payload *models.Error
}
GetGenerationByHeightNotFound describes a response with status code 404, with default header values.

Generation not found

func NewGetGenerationByHeightNotFound

func NewGetGenerationByHeightNotFound() *GetGenerationByHeightNotFound

NewGetGenerationByHeightNotFound creates a GetGenerationByHeightNotFound with default headers values

func (*GetGenerationByHeightNotFound) Error

func (*GetGenerationByHeightNotFound) GetPayload

func (o *GetGenerationByHeightNotFound) GetPayload() *models.Error

type GetGenerationByHeightOK

type GetGenerationByHeightOK struct {
	Payload *models.Generation
}
GetGenerationByHeightOK describes a response with status code 200, with default header values.

Successful operation

func NewGetGenerationByHeightOK

func NewGetGenerationByHeightOK() *GetGenerationByHeightOK

NewGetGenerationByHeightOK creates a GetGenerationByHeightOK with default headers values

func (*GetGenerationByHeightOK) Error

func (o *GetGenerationByHeightOK) Error() string

func (*GetGenerationByHeightOK) GetPayload

func (o *GetGenerationByHeightOK) GetPayload() *models.Generation

type GetGenerationByHeightParams

type GetGenerationByHeightParams struct {

	/* Height.

	   The height

	   Format: uint64
	*/
	Height uint64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGenerationByHeightParams contains all the parameters to send to the API endpoint

for the get generation by height operation.

Typically these are written to a http.Request.

func NewGetGenerationByHeightParams

func NewGetGenerationByHeightParams() *GetGenerationByHeightParams

NewGetGenerationByHeightParams creates a new GetGenerationByHeightParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetGenerationByHeightParamsWithContext

func NewGetGenerationByHeightParamsWithContext(ctx context.Context) *GetGenerationByHeightParams

NewGetGenerationByHeightParamsWithContext creates a new GetGenerationByHeightParams object with the ability to set a context for a request.

func NewGetGenerationByHeightParamsWithHTTPClient

func NewGetGenerationByHeightParamsWithHTTPClient(client *http.Client) *GetGenerationByHeightParams

NewGetGenerationByHeightParamsWithHTTPClient creates a new GetGenerationByHeightParams object with the ability to set a custom HTTPClient for a request.

func NewGetGenerationByHeightParamsWithTimeout

func NewGetGenerationByHeightParamsWithTimeout(timeout time.Duration) *GetGenerationByHeightParams

NewGetGenerationByHeightParamsWithTimeout creates a new GetGenerationByHeightParams object with the ability to set a timeout on a request.

func (*GetGenerationByHeightParams) SetContext

func (o *GetGenerationByHeightParams) SetContext(ctx context.Context)

SetContext adds the context to the get generation by height params

func (*GetGenerationByHeightParams) SetDefaults

func (o *GetGenerationByHeightParams) SetDefaults()

SetDefaults hydrates default values in the get generation by height params (not the query body).

All values with no default are reset to their zero value.

func (*GetGenerationByHeightParams) SetHTTPClient

func (o *GetGenerationByHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get generation by height params

func (*GetGenerationByHeightParams) SetHeight

func (o *GetGenerationByHeightParams) SetHeight(height uint64)

SetHeight adds the height to the get generation by height params

func (*GetGenerationByHeightParams) SetTimeout

func (o *GetGenerationByHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get generation by height params

func (*GetGenerationByHeightParams) WithContext

WithContext adds the context to the get generation by height params

func (*GetGenerationByHeightParams) WithDefaults

WithDefaults hydrates default values in the get generation by height params (not the query body).

All values with no default are reset to their zero value.

func (*GetGenerationByHeightParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get generation by height params

func (*GetGenerationByHeightParams) WithHeight

WithHeight adds the height to the get generation by height params

func (*GetGenerationByHeightParams) WithTimeout

WithTimeout adds the timeout to the get generation by height params

func (*GetGenerationByHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGenerationByHeightReader

type GetGenerationByHeightReader struct {
	// contains filtered or unexported fields
}

GetGenerationByHeightReader is a Reader for the GetGenerationByHeight structure.

func (*GetGenerationByHeightReader) ReadResponse

func (o *GetGenerationByHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetKeyBlockByHashBadRequest

type GetKeyBlockByHashBadRequest struct {
	Payload *models.Error
}
GetKeyBlockByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetKeyBlockByHashBadRequest

func NewGetKeyBlockByHashBadRequest() *GetKeyBlockByHashBadRequest

NewGetKeyBlockByHashBadRequest creates a GetKeyBlockByHashBadRequest with default headers values

func (*GetKeyBlockByHashBadRequest) Error

func (*GetKeyBlockByHashBadRequest) GetPayload

func (o *GetKeyBlockByHashBadRequest) GetPayload() *models.Error

type GetKeyBlockByHashNotFound

type GetKeyBlockByHashNotFound struct {
	Payload *models.Error
}
GetKeyBlockByHashNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetKeyBlockByHashNotFound

func NewGetKeyBlockByHashNotFound() *GetKeyBlockByHashNotFound

NewGetKeyBlockByHashNotFound creates a GetKeyBlockByHashNotFound with default headers values

func (*GetKeyBlockByHashNotFound) Error

func (o *GetKeyBlockByHashNotFound) Error() string

func (*GetKeyBlockByHashNotFound) GetPayload

func (o *GetKeyBlockByHashNotFound) GetPayload() *models.Error

type GetKeyBlockByHashOK

type GetKeyBlockByHashOK struct {
	Payload *models.KeyBlock
}
GetKeyBlockByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetKeyBlockByHashOK

func NewGetKeyBlockByHashOK() *GetKeyBlockByHashOK

NewGetKeyBlockByHashOK creates a GetKeyBlockByHashOK with default headers values

func (*GetKeyBlockByHashOK) Error

func (o *GetKeyBlockByHashOK) Error() string

func (*GetKeyBlockByHashOK) GetPayload

func (o *GetKeyBlockByHashOK) GetPayload() *models.KeyBlock

type GetKeyBlockByHashParams

type GetKeyBlockByHashParams struct {

	/* Hash.

	   The hash of the block
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetKeyBlockByHashParams contains all the parameters to send to the API endpoint

for the get key block by hash operation.

Typically these are written to a http.Request.

func NewGetKeyBlockByHashParams

func NewGetKeyBlockByHashParams() *GetKeyBlockByHashParams

NewGetKeyBlockByHashParams creates a new GetKeyBlockByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetKeyBlockByHashParamsWithContext

func NewGetKeyBlockByHashParamsWithContext(ctx context.Context) *GetKeyBlockByHashParams

NewGetKeyBlockByHashParamsWithContext creates a new GetKeyBlockByHashParams object with the ability to set a context for a request.

func NewGetKeyBlockByHashParamsWithHTTPClient

func NewGetKeyBlockByHashParamsWithHTTPClient(client *http.Client) *GetKeyBlockByHashParams

NewGetKeyBlockByHashParamsWithHTTPClient creates a new GetKeyBlockByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetKeyBlockByHashParamsWithTimeout

func NewGetKeyBlockByHashParamsWithTimeout(timeout time.Duration) *GetKeyBlockByHashParams

NewGetKeyBlockByHashParamsWithTimeout creates a new GetKeyBlockByHashParams object with the ability to set a timeout on a request.

func (*GetKeyBlockByHashParams) SetContext

func (o *GetKeyBlockByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get key block by hash params

func (*GetKeyBlockByHashParams) SetDefaults

func (o *GetKeyBlockByHashParams) SetDefaults()

SetDefaults hydrates default values in the get key block by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetKeyBlockByHashParams) SetHTTPClient

func (o *GetKeyBlockByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get key block by hash params

func (*GetKeyBlockByHashParams) SetHash

func (o *GetKeyBlockByHashParams) SetHash(hash string)

SetHash adds the hash to the get key block by hash params

func (*GetKeyBlockByHashParams) SetTimeout

func (o *GetKeyBlockByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get key block by hash params

func (*GetKeyBlockByHashParams) WithContext

WithContext adds the context to the get key block by hash params

func (*GetKeyBlockByHashParams) WithDefaults

WithDefaults hydrates default values in the get key block by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetKeyBlockByHashParams) WithHTTPClient

func (o *GetKeyBlockByHashParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHashParams

WithHTTPClient adds the HTTPClient to the get key block by hash params

func (*GetKeyBlockByHashParams) WithHash

WithHash adds the hash to the get key block by hash params

func (*GetKeyBlockByHashParams) WithTimeout

WithTimeout adds the timeout to the get key block by hash params

func (*GetKeyBlockByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeyBlockByHashReader

type GetKeyBlockByHashReader struct {
	// contains filtered or unexported fields
}

GetKeyBlockByHashReader is a Reader for the GetKeyBlockByHash structure.

func (*GetKeyBlockByHashReader) ReadResponse

func (o *GetKeyBlockByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetKeyBlockByHeightNotFound

type GetKeyBlockByHeightNotFound struct {
	Payload *models.Error
}
GetKeyBlockByHeightNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetKeyBlockByHeightNotFound

func NewGetKeyBlockByHeightNotFound() *GetKeyBlockByHeightNotFound

NewGetKeyBlockByHeightNotFound creates a GetKeyBlockByHeightNotFound with default headers values

func (*GetKeyBlockByHeightNotFound) Error

func (*GetKeyBlockByHeightNotFound) GetPayload

func (o *GetKeyBlockByHeightNotFound) GetPayload() *models.Error

type GetKeyBlockByHeightOK

type GetKeyBlockByHeightOK struct {
	Payload *models.KeyBlock
}
GetKeyBlockByHeightOK describes a response with status code 200, with default header values.

Successful operation

func NewGetKeyBlockByHeightOK

func NewGetKeyBlockByHeightOK() *GetKeyBlockByHeightOK

NewGetKeyBlockByHeightOK creates a GetKeyBlockByHeightOK with default headers values

func (*GetKeyBlockByHeightOK) Error

func (o *GetKeyBlockByHeightOK) Error() string

func (*GetKeyBlockByHeightOK) GetPayload

func (o *GetKeyBlockByHeightOK) GetPayload() *models.KeyBlock

type GetKeyBlockByHeightParams

type GetKeyBlockByHeightParams struct {

	/* Height.

	   The height

	   Format: uint64
	*/
	Height uint64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetKeyBlockByHeightParams contains all the parameters to send to the API endpoint

for the get key block by height operation.

Typically these are written to a http.Request.

func NewGetKeyBlockByHeightParams

func NewGetKeyBlockByHeightParams() *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParams creates a new GetKeyBlockByHeightParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetKeyBlockByHeightParamsWithContext

func NewGetKeyBlockByHeightParamsWithContext(ctx context.Context) *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParamsWithContext creates a new GetKeyBlockByHeightParams object with the ability to set a context for a request.

func NewGetKeyBlockByHeightParamsWithHTTPClient

func NewGetKeyBlockByHeightParamsWithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParamsWithHTTPClient creates a new GetKeyBlockByHeightParams object with the ability to set a custom HTTPClient for a request.

func NewGetKeyBlockByHeightParamsWithTimeout

func NewGetKeyBlockByHeightParamsWithTimeout(timeout time.Duration) *GetKeyBlockByHeightParams

NewGetKeyBlockByHeightParamsWithTimeout creates a new GetKeyBlockByHeightParams object with the ability to set a timeout on a request.

func (*GetKeyBlockByHeightParams) SetContext

func (o *GetKeyBlockByHeightParams) SetContext(ctx context.Context)

SetContext adds the context to the get key block by height params

func (*GetKeyBlockByHeightParams) SetDefaults

func (o *GetKeyBlockByHeightParams) SetDefaults()

SetDefaults hydrates default values in the get key block by height params (not the query body).

All values with no default are reset to their zero value.

func (*GetKeyBlockByHeightParams) SetHTTPClient

func (o *GetKeyBlockByHeightParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get key block by height params

func (*GetKeyBlockByHeightParams) SetHeight

func (o *GetKeyBlockByHeightParams) SetHeight(height uint64)

SetHeight adds the height to the get key block by height params

func (*GetKeyBlockByHeightParams) SetTimeout

func (o *GetKeyBlockByHeightParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get key block by height params

func (*GetKeyBlockByHeightParams) WithContext

WithContext adds the context to the get key block by height params

func (*GetKeyBlockByHeightParams) WithDefaults

WithDefaults hydrates default values in the get key block by height params (not the query body).

All values with no default are reset to their zero value.

func (*GetKeyBlockByHeightParams) WithHTTPClient

func (o *GetKeyBlockByHeightParams) WithHTTPClient(client *http.Client) *GetKeyBlockByHeightParams

WithHTTPClient adds the HTTPClient to the get key block by height params

func (*GetKeyBlockByHeightParams) WithHeight

WithHeight adds the height to the get key block by height params

func (*GetKeyBlockByHeightParams) WithTimeout

WithTimeout adds the timeout to the get key block by height params

func (*GetKeyBlockByHeightParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeyBlockByHeightReader

type GetKeyBlockByHeightReader struct {
	// contains filtered or unexported fields
}

GetKeyBlockByHeightReader is a Reader for the GetKeyBlockByHeight structure.

func (*GetKeyBlockByHeightReader) ReadResponse

func (o *GetKeyBlockByHeightReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockHeaderByHashBadRequest

type GetMicroBlockHeaderByHashBadRequest struct {
	Payload *models.Error
}
GetMicroBlockHeaderByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetMicroBlockHeaderByHashBadRequest

func NewGetMicroBlockHeaderByHashBadRequest() *GetMicroBlockHeaderByHashBadRequest

NewGetMicroBlockHeaderByHashBadRequest creates a GetMicroBlockHeaderByHashBadRequest with default headers values

func (*GetMicroBlockHeaderByHashBadRequest) Error

func (*GetMicroBlockHeaderByHashBadRequest) GetPayload

type GetMicroBlockHeaderByHashNotFound

type GetMicroBlockHeaderByHashNotFound struct {
	Payload *models.Error
}
GetMicroBlockHeaderByHashNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetMicroBlockHeaderByHashNotFound

func NewGetMicroBlockHeaderByHashNotFound() *GetMicroBlockHeaderByHashNotFound

NewGetMicroBlockHeaderByHashNotFound creates a GetMicroBlockHeaderByHashNotFound with default headers values

func (*GetMicroBlockHeaderByHashNotFound) Error

func (*GetMicroBlockHeaderByHashNotFound) GetPayload

type GetMicroBlockHeaderByHashOK

type GetMicroBlockHeaderByHashOK struct {
	Payload *models.MicroBlockHeader
}
GetMicroBlockHeaderByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetMicroBlockHeaderByHashOK

func NewGetMicroBlockHeaderByHashOK() *GetMicroBlockHeaderByHashOK

NewGetMicroBlockHeaderByHashOK creates a GetMicroBlockHeaderByHashOK with default headers values

func (*GetMicroBlockHeaderByHashOK) Error

func (*GetMicroBlockHeaderByHashOK) GetPayload

type GetMicroBlockHeaderByHashParams

type GetMicroBlockHeaderByHashParams struct {

	/* Hash.

	   The hash of the block
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockHeaderByHashParams contains all the parameters to send to the API endpoint

for the get micro block header by hash operation.

Typically these are written to a http.Request.

func NewGetMicroBlockHeaderByHashParams

func NewGetMicroBlockHeaderByHashParams() *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParams creates a new GetMicroBlockHeaderByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMicroBlockHeaderByHashParamsWithContext

func NewGetMicroBlockHeaderByHashParamsWithContext(ctx context.Context) *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParamsWithContext creates a new GetMicroBlockHeaderByHashParams object with the ability to set a context for a request.

func NewGetMicroBlockHeaderByHashParamsWithHTTPClient

func NewGetMicroBlockHeaderByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParamsWithHTTPClient creates a new GetMicroBlockHeaderByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetMicroBlockHeaderByHashParamsWithTimeout

func NewGetMicroBlockHeaderByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockHeaderByHashParams

NewGetMicroBlockHeaderByHashParamsWithTimeout creates a new GetMicroBlockHeaderByHashParams object with the ability to set a timeout on a request.

func (*GetMicroBlockHeaderByHashParams) SetContext

func (o *GetMicroBlockHeaderByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) SetDefaults

func (o *GetMicroBlockHeaderByHashParams) SetDefaults()

SetDefaults hydrates default values in the get micro block header by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockHeaderByHashParams) SetHTTPClient

func (o *GetMicroBlockHeaderByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) SetHash

func (o *GetMicroBlockHeaderByHashParams) SetHash(hash string)

SetHash adds the hash to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) SetTimeout

func (o *GetMicroBlockHeaderByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithContext

WithContext adds the context to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithDefaults

WithDefaults hydrates default values in the get micro block header by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockHeaderByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithHash

WithHash adds the hash to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WithTimeout

WithTimeout adds the timeout to the get micro block header by hash params

func (*GetMicroBlockHeaderByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockHeaderByHashReader

type GetMicroBlockHeaderByHashReader struct {
	// contains filtered or unexported fields
}

GetMicroBlockHeaderByHashReader is a Reader for the GetMicroBlockHeaderByHash structure.

func (*GetMicroBlockHeaderByHashReader) ReadResponse

func (o *GetMicroBlockHeaderByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockTransactionByHashAndIndexBadRequest

type GetMicroBlockTransactionByHashAndIndexBadRequest struct {
	Payload *models.Error
}
GetMicroBlockTransactionByHashAndIndexBadRequest describes a response with status code 400, with default header values.

Invalid hash or index

func NewGetMicroBlockTransactionByHashAndIndexBadRequest

func NewGetMicroBlockTransactionByHashAndIndexBadRequest() *GetMicroBlockTransactionByHashAndIndexBadRequest

NewGetMicroBlockTransactionByHashAndIndexBadRequest creates a GetMicroBlockTransactionByHashAndIndexBadRequest with default headers values

func (*GetMicroBlockTransactionByHashAndIndexBadRequest) Error

func (*GetMicroBlockTransactionByHashAndIndexBadRequest) GetPayload

type GetMicroBlockTransactionByHashAndIndexNotFound

type GetMicroBlockTransactionByHashAndIndexNotFound struct {
	Payload *models.Error
}
GetMicroBlockTransactionByHashAndIndexNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetMicroBlockTransactionByHashAndIndexNotFound

func NewGetMicroBlockTransactionByHashAndIndexNotFound() *GetMicroBlockTransactionByHashAndIndexNotFound

NewGetMicroBlockTransactionByHashAndIndexNotFound creates a GetMicroBlockTransactionByHashAndIndexNotFound with default headers values

func (*GetMicroBlockTransactionByHashAndIndexNotFound) Error

func (*GetMicroBlockTransactionByHashAndIndexNotFound) GetPayload

type GetMicroBlockTransactionByHashAndIndexOK

type GetMicroBlockTransactionByHashAndIndexOK struct {
	Payload *models.GenericSignedTx
}
GetMicroBlockTransactionByHashAndIndexOK describes a response with status code 200, with default header values.

Successful operation

func NewGetMicroBlockTransactionByHashAndIndexOK

func NewGetMicroBlockTransactionByHashAndIndexOK() *GetMicroBlockTransactionByHashAndIndexOK

NewGetMicroBlockTransactionByHashAndIndexOK creates a GetMicroBlockTransactionByHashAndIndexOK with default headers values

func (*GetMicroBlockTransactionByHashAndIndexOK) Error

func (*GetMicroBlockTransactionByHashAndIndexOK) GetPayload

type GetMicroBlockTransactionByHashAndIndexParams

type GetMicroBlockTransactionByHashAndIndexParams struct {

	/* Hash.

	   The hash of the block
	*/
	Hash string

	/* Index.

	   The index of the transaction in a block

	   Format: uint64
	*/
	Index uint64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockTransactionByHashAndIndexParams contains all the parameters to send to the API endpoint

for the get micro block transaction by hash and index operation.

Typically these are written to a http.Request.

func NewGetMicroBlockTransactionByHashAndIndexParams

func NewGetMicroBlockTransactionByHashAndIndexParams() *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParams creates a new GetMicroBlockTransactionByHashAndIndexParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext

func NewGetMicroBlockTransactionByHashAndIndexParamsWithContext(ctx context.Context) *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParamsWithContext creates a new GetMicroBlockTransactionByHashAndIndexParams object with the ability to set a context for a request.

func NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient

func NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParamsWithHTTPClient creates a new GetMicroBlockTransactionByHashAndIndexParams object with the ability to set a custom HTTPClient for a request.

func NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout

func NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionByHashAndIndexParams

NewGetMicroBlockTransactionByHashAndIndexParamsWithTimeout creates a new GetMicroBlockTransactionByHashAndIndexParams object with the ability to set a timeout on a request.

func (*GetMicroBlockTransactionByHashAndIndexParams) SetContext

SetContext adds the context to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetDefaults

SetDefaults hydrates default values in the get micro block transaction by hash and index params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockTransactionByHashAndIndexParams) SetHTTPClient

func (o *GetMicroBlockTransactionByHashAndIndexParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetHash

SetHash adds the hash to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetIndex

SetIndex adds the index to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) SetTimeout

SetTimeout adds the timeout to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithContext

WithContext adds the context to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithDefaults

WithDefaults hydrates default values in the get micro block transaction by hash and index params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockTransactionByHashAndIndexParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithHash

WithHash adds the hash to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithIndex

WithIndex adds the index to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WithTimeout

WithTimeout adds the timeout to the get micro block transaction by hash and index params

func (*GetMicroBlockTransactionByHashAndIndexParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockTransactionByHashAndIndexReader

type GetMicroBlockTransactionByHashAndIndexReader struct {
	// contains filtered or unexported fields
}

GetMicroBlockTransactionByHashAndIndexReader is a Reader for the GetMicroBlockTransactionByHashAndIndex structure.

func (*GetMicroBlockTransactionByHashAndIndexReader) ReadResponse

func (o *GetMicroBlockTransactionByHashAndIndexReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockTransactionsByHashBadRequest

type GetMicroBlockTransactionsByHashBadRequest struct {
	Payload *models.Error
}
GetMicroBlockTransactionsByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetMicroBlockTransactionsByHashBadRequest

func NewGetMicroBlockTransactionsByHashBadRequest() *GetMicroBlockTransactionsByHashBadRequest

NewGetMicroBlockTransactionsByHashBadRequest creates a GetMicroBlockTransactionsByHashBadRequest with default headers values

func (*GetMicroBlockTransactionsByHashBadRequest) Error

func (*GetMicroBlockTransactionsByHashBadRequest) GetPayload

type GetMicroBlockTransactionsByHashNotFound

type GetMicroBlockTransactionsByHashNotFound struct {
	Payload *models.Error
}
GetMicroBlockTransactionsByHashNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetMicroBlockTransactionsByHashNotFound

func NewGetMicroBlockTransactionsByHashNotFound() *GetMicroBlockTransactionsByHashNotFound

NewGetMicroBlockTransactionsByHashNotFound creates a GetMicroBlockTransactionsByHashNotFound with default headers values

func (*GetMicroBlockTransactionsByHashNotFound) Error

func (*GetMicroBlockTransactionsByHashNotFound) GetPayload

type GetMicroBlockTransactionsByHashOK

type GetMicroBlockTransactionsByHashOK struct {
	Payload *models.GenericTxs
}
GetMicroBlockTransactionsByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetMicroBlockTransactionsByHashOK

func NewGetMicroBlockTransactionsByHashOK() *GetMicroBlockTransactionsByHashOK

NewGetMicroBlockTransactionsByHashOK creates a GetMicroBlockTransactionsByHashOK with default headers values

func (*GetMicroBlockTransactionsByHashOK) Error

func (*GetMicroBlockTransactionsByHashOK) GetPayload

type GetMicroBlockTransactionsByHashParams

type GetMicroBlockTransactionsByHashParams struct {

	/* Hash.

	   The hash of the block
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockTransactionsByHashParams contains all the parameters to send to the API endpoint

for the get micro block transactions by hash operation.

Typically these are written to a http.Request.

func NewGetMicroBlockTransactionsByHashParams

func NewGetMicroBlockTransactionsByHashParams() *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParams creates a new GetMicroBlockTransactionsByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMicroBlockTransactionsByHashParamsWithContext

func NewGetMicroBlockTransactionsByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParamsWithContext creates a new GetMicroBlockTransactionsByHashParams object with the ability to set a context for a request.

func NewGetMicroBlockTransactionsByHashParamsWithHTTPClient

func NewGetMicroBlockTransactionsByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParamsWithHTTPClient creates a new GetMicroBlockTransactionsByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetMicroBlockTransactionsByHashParamsWithTimeout

func NewGetMicroBlockTransactionsByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionsByHashParams

NewGetMicroBlockTransactionsByHashParamsWithTimeout creates a new GetMicroBlockTransactionsByHashParams object with the ability to set a timeout on a request.

func (*GetMicroBlockTransactionsByHashParams) SetContext

SetContext adds the context to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) SetDefaults

func (o *GetMicroBlockTransactionsByHashParams) SetDefaults()

SetDefaults hydrates default values in the get micro block transactions by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockTransactionsByHashParams) SetHTTPClient

func (o *GetMicroBlockTransactionsByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) SetHash

SetHash adds the hash to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) SetTimeout

func (o *GetMicroBlockTransactionsByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithContext

WithContext adds the context to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithDefaults

WithDefaults hydrates default values in the get micro block transactions by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockTransactionsByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithHash

WithHash adds the hash to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WithTimeout

WithTimeout adds the timeout to the get micro block transactions by hash params

func (*GetMicroBlockTransactionsByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockTransactionsByHashReader

type GetMicroBlockTransactionsByHashReader struct {
	// contains filtered or unexported fields
}

GetMicroBlockTransactionsByHashReader is a Reader for the GetMicroBlockTransactionsByHash structure.

func (*GetMicroBlockTransactionsByHashReader) ReadResponse

func (o *GetMicroBlockTransactionsByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMicroBlockTransactionsCountByHashBadRequest

type GetMicroBlockTransactionsCountByHashBadRequest struct {
	Payload *models.Error
}
GetMicroBlockTransactionsCountByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetMicroBlockTransactionsCountByHashBadRequest

func NewGetMicroBlockTransactionsCountByHashBadRequest() *GetMicroBlockTransactionsCountByHashBadRequest

NewGetMicroBlockTransactionsCountByHashBadRequest creates a GetMicroBlockTransactionsCountByHashBadRequest with default headers values

func (*GetMicroBlockTransactionsCountByHashBadRequest) Error

func (*GetMicroBlockTransactionsCountByHashBadRequest) GetPayload

type GetMicroBlockTransactionsCountByHashNotFound

type GetMicroBlockTransactionsCountByHashNotFound struct {
	Payload *models.Error
}
GetMicroBlockTransactionsCountByHashNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetMicroBlockTransactionsCountByHashNotFound

func NewGetMicroBlockTransactionsCountByHashNotFound() *GetMicroBlockTransactionsCountByHashNotFound

NewGetMicroBlockTransactionsCountByHashNotFound creates a GetMicroBlockTransactionsCountByHashNotFound with default headers values

func (*GetMicroBlockTransactionsCountByHashNotFound) Error

func (*GetMicroBlockTransactionsCountByHashNotFound) GetPayload

type GetMicroBlockTransactionsCountByHashOK

type GetMicroBlockTransactionsCountByHashOK struct {
	Payload *GetMicroBlockTransactionsCountByHashOKBody
}
GetMicroBlockTransactionsCountByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetMicroBlockTransactionsCountByHashOK

func NewGetMicroBlockTransactionsCountByHashOK() *GetMicroBlockTransactionsCountByHashOK

NewGetMicroBlockTransactionsCountByHashOK creates a GetMicroBlockTransactionsCountByHashOK with default headers values

func (*GetMicroBlockTransactionsCountByHashOK) Error

func (*GetMicroBlockTransactionsCountByHashOK) GetPayload

type GetMicroBlockTransactionsCountByHashOKBody

type GetMicroBlockTransactionsCountByHashOKBody struct {

	// Count
	Count uint32 `json:"count,omitempty"`
}

GetMicroBlockTransactionsCountByHashOKBody get micro block transactions count by hash o k body swagger:model GetMicroBlockTransactionsCountByHashOKBody

func (*GetMicroBlockTransactionsCountByHashOKBody) ContextValidate

ContextValidate validates this get micro block transactions count by hash o k body based on context it is used

func (*GetMicroBlockTransactionsCountByHashOKBody) MarshalBinary

func (o *GetMicroBlockTransactionsCountByHashOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetMicroBlockTransactionsCountByHashOKBody) UnmarshalBinary

func (o *GetMicroBlockTransactionsCountByHashOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetMicroBlockTransactionsCountByHashOKBody) Validate

Validate validates this get micro block transactions count by hash o k body

type GetMicroBlockTransactionsCountByHashParams

type GetMicroBlockTransactionsCountByHashParams struct {

	/* Hash.

	   The hash of the block
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMicroBlockTransactionsCountByHashParams contains all the parameters to send to the API endpoint

for the get micro block transactions count by hash operation.

Typically these are written to a http.Request.

func NewGetMicroBlockTransactionsCountByHashParams

func NewGetMicroBlockTransactionsCountByHashParams() *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParams creates a new GetMicroBlockTransactionsCountByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMicroBlockTransactionsCountByHashParamsWithContext

func NewGetMicroBlockTransactionsCountByHashParamsWithContext(ctx context.Context) *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParamsWithContext creates a new GetMicroBlockTransactionsCountByHashParams object with the ability to set a context for a request.

func NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient

func NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient(client *http.Client) *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParamsWithHTTPClient creates a new GetMicroBlockTransactionsCountByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetMicroBlockTransactionsCountByHashParamsWithTimeout

func NewGetMicroBlockTransactionsCountByHashParamsWithTimeout(timeout time.Duration) *GetMicroBlockTransactionsCountByHashParams

NewGetMicroBlockTransactionsCountByHashParamsWithTimeout creates a new GetMicroBlockTransactionsCountByHashParams object with the ability to set a timeout on a request.

func (*GetMicroBlockTransactionsCountByHashParams) SetContext

SetContext adds the context to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) SetDefaults

SetDefaults hydrates default values in the get micro block transactions count by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockTransactionsCountByHashParams) SetHTTPClient

func (o *GetMicroBlockTransactionsCountByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) SetHash

SetHash adds the hash to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) SetTimeout

SetTimeout adds the timeout to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithContext

WithContext adds the context to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithDefaults

WithDefaults hydrates default values in the get micro block transactions count by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetMicroBlockTransactionsCountByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithHash

WithHash adds the hash to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WithTimeout

WithTimeout adds the timeout to the get micro block transactions count by hash params

func (*GetMicroBlockTransactionsCountByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMicroBlockTransactionsCountByHashReader

type GetMicroBlockTransactionsCountByHashReader struct {
	// contains filtered or unexported fields
}

GetMicroBlockTransactionsCountByHashReader is a Reader for the GetMicroBlockTransactionsCountByHash structure.

func (*GetMicroBlockTransactionsCountByHashReader) ReadResponse

func (o *GetMicroBlockTransactionsCountByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNameEntryByNameBadRequest

type GetNameEntryByNameBadRequest struct {
	Payload *models.Error
}
GetNameEntryByNameBadRequest describes a response with status code 400, with default header values.

Invalid name

func NewGetNameEntryByNameBadRequest

func NewGetNameEntryByNameBadRequest() *GetNameEntryByNameBadRequest

NewGetNameEntryByNameBadRequest creates a GetNameEntryByNameBadRequest with default headers values

func (*GetNameEntryByNameBadRequest) Error

func (*GetNameEntryByNameBadRequest) GetPayload

func (o *GetNameEntryByNameBadRequest) GetPayload() *models.Error

type GetNameEntryByNameNotFound

type GetNameEntryByNameNotFound struct {
	Payload *models.Error
}
GetNameEntryByNameNotFound describes a response with status code 404, with default header values.

Name not found

func NewGetNameEntryByNameNotFound

func NewGetNameEntryByNameNotFound() *GetNameEntryByNameNotFound

NewGetNameEntryByNameNotFound creates a GetNameEntryByNameNotFound with default headers values

func (*GetNameEntryByNameNotFound) Error

func (*GetNameEntryByNameNotFound) GetPayload

func (o *GetNameEntryByNameNotFound) GetPayload() *models.Error

type GetNameEntryByNameOK

type GetNameEntryByNameOK struct {
	Payload *models.NameEntry
}
GetNameEntryByNameOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNameEntryByNameOK

func NewGetNameEntryByNameOK() *GetNameEntryByNameOK

NewGetNameEntryByNameOK creates a GetNameEntryByNameOK with default headers values

func (*GetNameEntryByNameOK) Error

func (o *GetNameEntryByNameOK) Error() string

func (*GetNameEntryByNameOK) GetPayload

func (o *GetNameEntryByNameOK) GetPayload() *models.NameEntry

type GetNameEntryByNameParams

type GetNameEntryByNameParams struct {

	/* Name.

	   The name key of the name entry
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNameEntryByNameParams contains all the parameters to send to the API endpoint

for the get name entry by name operation.

Typically these are written to a http.Request.

func NewGetNameEntryByNameParams

func NewGetNameEntryByNameParams() *GetNameEntryByNameParams

NewGetNameEntryByNameParams creates a new GetNameEntryByNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNameEntryByNameParamsWithContext

func NewGetNameEntryByNameParamsWithContext(ctx context.Context) *GetNameEntryByNameParams

NewGetNameEntryByNameParamsWithContext creates a new GetNameEntryByNameParams object with the ability to set a context for a request.

func NewGetNameEntryByNameParamsWithHTTPClient

func NewGetNameEntryByNameParamsWithHTTPClient(client *http.Client) *GetNameEntryByNameParams

NewGetNameEntryByNameParamsWithHTTPClient creates a new GetNameEntryByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetNameEntryByNameParamsWithTimeout

func NewGetNameEntryByNameParamsWithTimeout(timeout time.Duration) *GetNameEntryByNameParams

NewGetNameEntryByNameParamsWithTimeout creates a new GetNameEntryByNameParams object with the ability to set a timeout on a request.

func (*GetNameEntryByNameParams) SetContext

func (o *GetNameEntryByNameParams) SetContext(ctx context.Context)

SetContext adds the context to the get name entry by name params

func (*GetNameEntryByNameParams) SetDefaults

func (o *GetNameEntryByNameParams) SetDefaults()

SetDefaults hydrates default values in the get name entry by name params (not the query body).

All values with no default are reset to their zero value.

func (*GetNameEntryByNameParams) SetHTTPClient

func (o *GetNameEntryByNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get name entry by name params

func (*GetNameEntryByNameParams) SetName

func (o *GetNameEntryByNameParams) SetName(name string)

SetName adds the name to the get name entry by name params

func (*GetNameEntryByNameParams) SetTimeout

func (o *GetNameEntryByNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get name entry by name params

func (*GetNameEntryByNameParams) WithContext

WithContext adds the context to the get name entry by name params

func (*GetNameEntryByNameParams) WithDefaults

WithDefaults hydrates default values in the get name entry by name params (not the query body).

All values with no default are reset to their zero value.

func (*GetNameEntryByNameParams) WithHTTPClient

func (o *GetNameEntryByNameParams) WithHTTPClient(client *http.Client) *GetNameEntryByNameParams

WithHTTPClient adds the HTTPClient to the get name entry by name params

func (*GetNameEntryByNameParams) WithName

WithName adds the name to the get name entry by name params

func (*GetNameEntryByNameParams) WithTimeout

WithTimeout adds the timeout to the get name entry by name params

func (*GetNameEntryByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNameEntryByNameReader

type GetNameEntryByNameReader struct {
	// contains filtered or unexported fields
}

GetNameEntryByNameReader is a Reader for the GetNameEntryByName structure.

func (*GetNameEntryByNameReader) ReadResponse

func (o *GetNameEntryByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOracleByPubkeyBadRequest

type GetOracleByPubkeyBadRequest struct {
	Payload *models.Error
}
GetOracleByPubkeyBadRequest describes a response with status code 400, with default header values.

Invalid public key

func NewGetOracleByPubkeyBadRequest

func NewGetOracleByPubkeyBadRequest() *GetOracleByPubkeyBadRequest

NewGetOracleByPubkeyBadRequest creates a GetOracleByPubkeyBadRequest with default headers values

func (*GetOracleByPubkeyBadRequest) Error

func (*GetOracleByPubkeyBadRequest) GetPayload

func (o *GetOracleByPubkeyBadRequest) GetPayload() *models.Error

type GetOracleByPubkeyNotFound

type GetOracleByPubkeyNotFound struct {
	Payload *models.Error
}
GetOracleByPubkeyNotFound describes a response with status code 404, with default header values.

Oracle not found

func NewGetOracleByPubkeyNotFound

func NewGetOracleByPubkeyNotFound() *GetOracleByPubkeyNotFound

NewGetOracleByPubkeyNotFound creates a GetOracleByPubkeyNotFound with default headers values

func (*GetOracleByPubkeyNotFound) Error

func (o *GetOracleByPubkeyNotFound) Error() string

func (*GetOracleByPubkeyNotFound) GetPayload

func (o *GetOracleByPubkeyNotFound) GetPayload() *models.Error

type GetOracleByPubkeyOK

type GetOracleByPubkeyOK struct {
	Payload *models.RegisteredOracle
}
GetOracleByPubkeyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOracleByPubkeyOK

func NewGetOracleByPubkeyOK() *GetOracleByPubkeyOK

NewGetOracleByPubkeyOK creates a GetOracleByPubkeyOK with default headers values

func (*GetOracleByPubkeyOK) Error

func (o *GetOracleByPubkeyOK) Error() string

func (*GetOracleByPubkeyOK) GetPayload

func (o *GetOracleByPubkeyOK) GetPayload() *models.RegisteredOracle

type GetOracleByPubkeyParams

type GetOracleByPubkeyParams struct {

	/* Pubkey.

	   The public key of the oracle
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOracleByPubkeyParams contains all the parameters to send to the API endpoint

for the get oracle by pubkey operation.

Typically these are written to a http.Request.

func NewGetOracleByPubkeyParams

func NewGetOracleByPubkeyParams() *GetOracleByPubkeyParams

NewGetOracleByPubkeyParams creates a new GetOracleByPubkeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOracleByPubkeyParamsWithContext

func NewGetOracleByPubkeyParamsWithContext(ctx context.Context) *GetOracleByPubkeyParams

NewGetOracleByPubkeyParamsWithContext creates a new GetOracleByPubkeyParams object with the ability to set a context for a request.

func NewGetOracleByPubkeyParamsWithHTTPClient

func NewGetOracleByPubkeyParamsWithHTTPClient(client *http.Client) *GetOracleByPubkeyParams

NewGetOracleByPubkeyParamsWithHTTPClient creates a new GetOracleByPubkeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetOracleByPubkeyParamsWithTimeout

func NewGetOracleByPubkeyParamsWithTimeout(timeout time.Duration) *GetOracleByPubkeyParams

NewGetOracleByPubkeyParamsWithTimeout creates a new GetOracleByPubkeyParams object with the ability to set a timeout on a request.

func (*GetOracleByPubkeyParams) SetContext

func (o *GetOracleByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) SetDefaults

func (o *GetOracleByPubkeyParams) SetDefaults()

SetDefaults hydrates default values in the get oracle by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetOracleByPubkeyParams) SetHTTPClient

func (o *GetOracleByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) SetPubkey

func (o *GetOracleByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) SetTimeout

func (o *GetOracleByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithContext

WithContext adds the context to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithDefaults

WithDefaults hydrates default values in the get oracle by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetOracleByPubkeyParams) WithHTTPClient

func (o *GetOracleByPubkeyParams) WithHTTPClient(client *http.Client) *GetOracleByPubkeyParams

WithHTTPClient adds the HTTPClient to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get oracle by pubkey params

func (*GetOracleByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOracleByPubkeyReader

type GetOracleByPubkeyReader struct {
	// contains filtered or unexported fields
}

GetOracleByPubkeyReader is a Reader for the GetOracleByPubkey structure.

func (*GetOracleByPubkeyReader) ReadResponse

func (o *GetOracleByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOracleQueriesByPubkeyBadRequest

type GetOracleQueriesByPubkeyBadRequest struct {
	Payload *models.Error
}
GetOracleQueriesByPubkeyBadRequest describes a response with status code 400, with default header values.

Invalid public key

func NewGetOracleQueriesByPubkeyBadRequest

func NewGetOracleQueriesByPubkeyBadRequest() *GetOracleQueriesByPubkeyBadRequest

NewGetOracleQueriesByPubkeyBadRequest creates a GetOracleQueriesByPubkeyBadRequest with default headers values

func (*GetOracleQueriesByPubkeyBadRequest) Error

func (*GetOracleQueriesByPubkeyBadRequest) GetPayload

type GetOracleQueriesByPubkeyNotFound

type GetOracleQueriesByPubkeyNotFound struct {
	Payload *models.Error
}
GetOracleQueriesByPubkeyNotFound describes a response with status code 404, with default header values.

Oracle not found

func NewGetOracleQueriesByPubkeyNotFound

func NewGetOracleQueriesByPubkeyNotFound() *GetOracleQueriesByPubkeyNotFound

NewGetOracleQueriesByPubkeyNotFound creates a GetOracleQueriesByPubkeyNotFound with default headers values

func (*GetOracleQueriesByPubkeyNotFound) Error

func (*GetOracleQueriesByPubkeyNotFound) GetPayload

type GetOracleQueriesByPubkeyOK

type GetOracleQueriesByPubkeyOK struct {
	Payload *models.OracleQueries
}
GetOracleQueriesByPubkeyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOracleQueriesByPubkeyOK

func NewGetOracleQueriesByPubkeyOK() *GetOracleQueriesByPubkeyOK

NewGetOracleQueriesByPubkeyOK creates a GetOracleQueriesByPubkeyOK with default headers values

func (*GetOracleQueriesByPubkeyOK) Error

func (*GetOracleQueriesByPubkeyOK) GetPayload

type GetOracleQueriesByPubkeyParams

type GetOracleQueriesByPubkeyParams struct {

	/* From.

	   Last query id in previous page
	*/
	From *string

	/* Limit.

	   Max number of oracle queries

	   Format: uint64
	   Default: 20
	*/
	Limit *uint64

	/* Pubkey.

	   The public key of the oracle
	*/
	Pubkey string

	/* Type.

	   The type of a query: open, closed or all

	   Default: "all"
	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOracleQueriesByPubkeyParams contains all the parameters to send to the API endpoint

for the get oracle queries by pubkey operation.

Typically these are written to a http.Request.

func NewGetOracleQueriesByPubkeyParams

func NewGetOracleQueriesByPubkeyParams() *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParams creates a new GetOracleQueriesByPubkeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOracleQueriesByPubkeyParamsWithContext

func NewGetOracleQueriesByPubkeyParamsWithContext(ctx context.Context) *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParamsWithContext creates a new GetOracleQueriesByPubkeyParams object with the ability to set a context for a request.

func NewGetOracleQueriesByPubkeyParamsWithHTTPClient

func NewGetOracleQueriesByPubkeyParamsWithHTTPClient(client *http.Client) *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParamsWithHTTPClient creates a new GetOracleQueriesByPubkeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetOracleQueriesByPubkeyParamsWithTimeout

func NewGetOracleQueriesByPubkeyParamsWithTimeout(timeout time.Duration) *GetOracleQueriesByPubkeyParams

NewGetOracleQueriesByPubkeyParamsWithTimeout creates a new GetOracleQueriesByPubkeyParams object with the ability to set a timeout on a request.

func (*GetOracleQueriesByPubkeyParams) SetContext

func (o *GetOracleQueriesByPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetDefaults

func (o *GetOracleQueriesByPubkeyParams) SetDefaults()

SetDefaults hydrates default values in the get oracle queries by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetOracleQueriesByPubkeyParams) SetFrom

func (o *GetOracleQueriesByPubkeyParams) SetFrom(from *string)

SetFrom adds the from to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetHTTPClient

func (o *GetOracleQueriesByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetLimit

func (o *GetOracleQueriesByPubkeyParams) SetLimit(limit *uint64)

SetLimit adds the limit to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetPubkey

func (o *GetOracleQueriesByPubkeyParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetTimeout

func (o *GetOracleQueriesByPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) SetType

func (o *GetOracleQueriesByPubkeyParams) SetType(typeVar *string)

SetType adds the type to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithContext

WithContext adds the context to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithDefaults

WithDefaults hydrates default values in the get oracle queries by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetOracleQueriesByPubkeyParams) WithFrom

WithFrom adds the from to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithLimit

WithLimit adds the limit to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WithType

WithType adds the typeVar to the get oracle queries by pubkey params

func (*GetOracleQueriesByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOracleQueriesByPubkeyReader

type GetOracleQueriesByPubkeyReader struct {
	// contains filtered or unexported fields
}

GetOracleQueriesByPubkeyReader is a Reader for the GetOracleQueriesByPubkey structure.

func (*GetOracleQueriesByPubkeyReader) ReadResponse

func (o *GetOracleQueriesByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOracleQueryByPubkeyAndQueryIDBadRequest

type GetOracleQueryByPubkeyAndQueryIDBadRequest struct {
	Payload *models.Error
}
GetOracleQueryByPubkeyAndQueryIDBadRequest describes a response with status code 400, with default header values.

Invalid public key or query ID

func NewGetOracleQueryByPubkeyAndQueryIDBadRequest

func NewGetOracleQueryByPubkeyAndQueryIDBadRequest() *GetOracleQueryByPubkeyAndQueryIDBadRequest

NewGetOracleQueryByPubkeyAndQueryIDBadRequest creates a GetOracleQueryByPubkeyAndQueryIDBadRequest with default headers values

func (*GetOracleQueryByPubkeyAndQueryIDBadRequest) Error

func (*GetOracleQueryByPubkeyAndQueryIDBadRequest) GetPayload

type GetOracleQueryByPubkeyAndQueryIDNotFound

type GetOracleQueryByPubkeyAndQueryIDNotFound struct {
	Payload *models.Error
}
GetOracleQueryByPubkeyAndQueryIDNotFound describes a response with status code 404, with default header values.

Oracle query not found

func NewGetOracleQueryByPubkeyAndQueryIDNotFound

func NewGetOracleQueryByPubkeyAndQueryIDNotFound() *GetOracleQueryByPubkeyAndQueryIDNotFound

NewGetOracleQueryByPubkeyAndQueryIDNotFound creates a GetOracleQueryByPubkeyAndQueryIDNotFound with default headers values

func (*GetOracleQueryByPubkeyAndQueryIDNotFound) Error

func (*GetOracleQueryByPubkeyAndQueryIDNotFound) GetPayload

type GetOracleQueryByPubkeyAndQueryIDOK

type GetOracleQueryByPubkeyAndQueryIDOK struct {
	Payload *models.OracleQuery
}
GetOracleQueryByPubkeyAndQueryIDOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOracleQueryByPubkeyAndQueryIDOK

func NewGetOracleQueryByPubkeyAndQueryIDOK() *GetOracleQueryByPubkeyAndQueryIDOK

NewGetOracleQueryByPubkeyAndQueryIDOK creates a GetOracleQueryByPubkeyAndQueryIDOK with default headers values

func (*GetOracleQueryByPubkeyAndQueryIDOK) Error

func (*GetOracleQueryByPubkeyAndQueryIDOK) GetPayload

type GetOracleQueryByPubkeyAndQueryIDParams

type GetOracleQueryByPubkeyAndQueryIDParams struct {

	/* Pubkey.

	   The public key of the oracle
	*/
	Pubkey string

	/* QueryID.

	   The ID of the query
	*/
	QueryID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOracleQueryByPubkeyAndQueryIDParams contains all the parameters to send to the API endpoint

for the get oracle query by pubkey and query Id operation.

Typically these are written to a http.Request.

func NewGetOracleQueryByPubkeyAndQueryIDParams

func NewGetOracleQueryByPubkeyAndQueryIDParams() *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParams creates a new GetOracleQueryByPubkeyAndQueryIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext(ctx context.Context) *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParamsWithContext creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the ability to set a context for a request.

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient(client *http.Client) *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParamsWithHTTPClient creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout

func NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout(timeout time.Duration) *GetOracleQueryByPubkeyAndQueryIDParams

NewGetOracleQueryByPubkeyAndQueryIDParamsWithTimeout creates a new GetOracleQueryByPubkeyAndQueryIDParams object with the ability to set a timeout on a request.

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetContext

SetContext adds the context to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetDefaults

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetDefaults()

SetDefaults hydrates default values in the get oracle query by pubkey and query Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetHTTPClient

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetPubkey

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetPubkey(pubkey string)

SetPubkey adds the pubkey to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetQueryID

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetQueryID(queryID string)

SetQueryID adds the queryId to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) SetTimeout

func (o *GetOracleQueryByPubkeyAndQueryIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithContext

WithContext adds the context to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithDefaults

WithDefaults hydrates default values in the get oracle query by pubkey and query Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithPubkey

WithPubkey adds the pubkey to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithQueryID

WithQueryID adds the queryID to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WithTimeout

WithTimeout adds the timeout to the get oracle query by pubkey and query Id params

func (*GetOracleQueryByPubkeyAndQueryIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOracleQueryByPubkeyAndQueryIDReader

type GetOracleQueryByPubkeyAndQueryIDReader struct {
	// contains filtered or unexported fields
}

GetOracleQueryByPubkeyAndQueryIDReader is a Reader for the GetOracleQueryByPubkeyAndQueryID structure.

func (*GetOracleQueryByPubkeyAndQueryIDReader) ReadResponse

func (o *GetOracleQueryByPubkeyAndQueryIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPeerPubkeyOK

type GetPeerPubkeyOK struct {
	Payload *models.PeerPubKey
}
GetPeerPubkeyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetPeerPubkeyOK

func NewGetPeerPubkeyOK() *GetPeerPubkeyOK

NewGetPeerPubkeyOK creates a GetPeerPubkeyOK with default headers values

func (*GetPeerPubkeyOK) Error

func (o *GetPeerPubkeyOK) Error() string

func (*GetPeerPubkeyOK) GetPayload

func (o *GetPeerPubkeyOK) GetPayload() *models.PeerPubKey

type GetPeerPubkeyParams

type GetPeerPubkeyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPeerPubkeyParams contains all the parameters to send to the API endpoint

for the get peer pubkey operation.

Typically these are written to a http.Request.

func NewGetPeerPubkeyParams

func NewGetPeerPubkeyParams() *GetPeerPubkeyParams

NewGetPeerPubkeyParams creates a new GetPeerPubkeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPeerPubkeyParamsWithContext

func NewGetPeerPubkeyParamsWithContext(ctx context.Context) *GetPeerPubkeyParams

NewGetPeerPubkeyParamsWithContext creates a new GetPeerPubkeyParams object with the ability to set a context for a request.

func NewGetPeerPubkeyParamsWithHTTPClient

func NewGetPeerPubkeyParamsWithHTTPClient(client *http.Client) *GetPeerPubkeyParams

NewGetPeerPubkeyParamsWithHTTPClient creates a new GetPeerPubkeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPeerPubkeyParamsWithTimeout

func NewGetPeerPubkeyParamsWithTimeout(timeout time.Duration) *GetPeerPubkeyParams

NewGetPeerPubkeyParamsWithTimeout creates a new GetPeerPubkeyParams object with the ability to set a timeout on a request.

func (*GetPeerPubkeyParams) SetContext

func (o *GetPeerPubkeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get peer pubkey params

func (*GetPeerPubkeyParams) SetDefaults

func (o *GetPeerPubkeyParams) SetDefaults()

SetDefaults hydrates default values in the get peer pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetPeerPubkeyParams) SetHTTPClient

func (o *GetPeerPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get peer pubkey params

func (*GetPeerPubkeyParams) SetTimeout

func (o *GetPeerPubkeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get peer pubkey params

func (*GetPeerPubkeyParams) WithContext

WithContext adds the context to the get peer pubkey params

func (*GetPeerPubkeyParams) WithDefaults

func (o *GetPeerPubkeyParams) WithDefaults() *GetPeerPubkeyParams

WithDefaults hydrates default values in the get peer pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetPeerPubkeyParams) WithHTTPClient

func (o *GetPeerPubkeyParams) WithHTTPClient(client *http.Client) *GetPeerPubkeyParams

WithHTTPClient adds the HTTPClient to the get peer pubkey params

func (*GetPeerPubkeyParams) WithTimeout

func (o *GetPeerPubkeyParams) WithTimeout(timeout time.Duration) *GetPeerPubkeyParams

WithTimeout adds the timeout to the get peer pubkey params

func (*GetPeerPubkeyParams) WriteToRequest

func (o *GetPeerPubkeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPeerPubkeyReader

type GetPeerPubkeyReader struct {
	// contains filtered or unexported fields
}

GetPeerPubkeyReader is a Reader for the GetPeerPubkey structure.

func (*GetPeerPubkeyReader) ReadResponse

func (o *GetPeerPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPendingAccountTransactionsByPubkeyBadRequest

type GetPendingAccountTransactionsByPubkeyBadRequest struct {
	Payload *models.Error
}
GetPendingAccountTransactionsByPubkeyBadRequest describes a response with status code 400, with default header values.

Invalid public key

func NewGetPendingAccountTransactionsByPubkeyBadRequest

func NewGetPendingAccountTransactionsByPubkeyBadRequest() *GetPendingAccountTransactionsByPubkeyBadRequest

NewGetPendingAccountTransactionsByPubkeyBadRequest creates a GetPendingAccountTransactionsByPubkeyBadRequest with default headers values

func (*GetPendingAccountTransactionsByPubkeyBadRequest) Error

func (*GetPendingAccountTransactionsByPubkeyBadRequest) GetPayload

type GetPendingAccountTransactionsByPubkeyNotFound

type GetPendingAccountTransactionsByPubkeyNotFound struct {
	Payload *models.Error
}
GetPendingAccountTransactionsByPubkeyNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetPendingAccountTransactionsByPubkeyNotFound

func NewGetPendingAccountTransactionsByPubkeyNotFound() *GetPendingAccountTransactionsByPubkeyNotFound

NewGetPendingAccountTransactionsByPubkeyNotFound creates a GetPendingAccountTransactionsByPubkeyNotFound with default headers values

func (*GetPendingAccountTransactionsByPubkeyNotFound) Error

func (*GetPendingAccountTransactionsByPubkeyNotFound) GetPayload

type GetPendingAccountTransactionsByPubkeyOK

type GetPendingAccountTransactionsByPubkeyOK struct {
	Payload *models.GenericTxs
}
GetPendingAccountTransactionsByPubkeyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetPendingAccountTransactionsByPubkeyOK

func NewGetPendingAccountTransactionsByPubkeyOK() *GetPendingAccountTransactionsByPubkeyOK

NewGetPendingAccountTransactionsByPubkeyOK creates a GetPendingAccountTransactionsByPubkeyOK with default headers values

func (*GetPendingAccountTransactionsByPubkeyOK) Error

func (*GetPendingAccountTransactionsByPubkeyOK) GetPayload

type GetPendingAccountTransactionsByPubkeyParams

type GetPendingAccountTransactionsByPubkeyParams struct {

	/* Pubkey.

	   The public key of the account
	*/
	Pubkey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPendingAccountTransactionsByPubkeyParams contains all the parameters to send to the API endpoint

for the get pending account transactions by pubkey operation.

Typically these are written to a http.Request.

func NewGetPendingAccountTransactionsByPubkeyParams

func NewGetPendingAccountTransactionsByPubkeyParams() *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParams creates a new GetPendingAccountTransactionsByPubkeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPendingAccountTransactionsByPubkeyParamsWithContext

func NewGetPendingAccountTransactionsByPubkeyParamsWithContext(ctx context.Context) *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParamsWithContext creates a new GetPendingAccountTransactionsByPubkeyParams object with the ability to set a context for a request.

func NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient

func NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient(client *http.Client) *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParamsWithHTTPClient creates a new GetPendingAccountTransactionsByPubkeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout

func NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout(timeout time.Duration) *GetPendingAccountTransactionsByPubkeyParams

NewGetPendingAccountTransactionsByPubkeyParamsWithTimeout creates a new GetPendingAccountTransactionsByPubkeyParams object with the ability to set a timeout on a request.

func (*GetPendingAccountTransactionsByPubkeyParams) SetContext

SetContext adds the context to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) SetDefaults

SetDefaults hydrates default values in the get pending account transactions by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetPendingAccountTransactionsByPubkeyParams) SetHTTPClient

func (o *GetPendingAccountTransactionsByPubkeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) SetPubkey

SetPubkey adds the pubkey to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) SetTimeout

SetTimeout adds the timeout to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithContext

WithContext adds the context to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithDefaults

WithDefaults hydrates default values in the get pending account transactions by pubkey params (not the query body).

All values with no default are reset to their zero value.

func (*GetPendingAccountTransactionsByPubkeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithPubkey

WithPubkey adds the pubkey to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WithTimeout

WithTimeout adds the timeout to the get pending account transactions by pubkey params

func (*GetPendingAccountTransactionsByPubkeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPendingAccountTransactionsByPubkeyReader

type GetPendingAccountTransactionsByPubkeyReader struct {
	// contains filtered or unexported fields
}

GetPendingAccountTransactionsByPubkeyReader is a Reader for the GetPendingAccountTransactionsByPubkey structure.

func (*GetPendingAccountTransactionsByPubkeyReader) ReadResponse

func (o *GetPendingAccountTransactionsByPubkeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPendingKeyBlockBadRequest

type GetPendingKeyBlockBadRequest struct {
	Payload *models.Error
}
GetPendingKeyBlockBadRequest describes a response with status code 400, with default header values.

Beneficiary not configured

func NewGetPendingKeyBlockBadRequest

func NewGetPendingKeyBlockBadRequest() *GetPendingKeyBlockBadRequest

NewGetPendingKeyBlockBadRequest creates a GetPendingKeyBlockBadRequest with default headers values

func (*GetPendingKeyBlockBadRequest) Error

func (*GetPendingKeyBlockBadRequest) GetPayload

func (o *GetPendingKeyBlockBadRequest) GetPayload() *models.Error

type GetPendingKeyBlockNotFound

type GetPendingKeyBlockNotFound struct {
	Payload *models.Error
}
GetPendingKeyBlockNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetPendingKeyBlockNotFound

func NewGetPendingKeyBlockNotFound() *GetPendingKeyBlockNotFound

NewGetPendingKeyBlockNotFound creates a GetPendingKeyBlockNotFound with default headers values

func (*GetPendingKeyBlockNotFound) Error

func (*GetPendingKeyBlockNotFound) GetPayload

func (o *GetPendingKeyBlockNotFound) GetPayload() *models.Error

type GetPendingKeyBlockOK

type GetPendingKeyBlockOK struct {
	Payload *models.KeyBlock
}
GetPendingKeyBlockOK describes a response with status code 200, with default header values.

Successful operation

func NewGetPendingKeyBlockOK

func NewGetPendingKeyBlockOK() *GetPendingKeyBlockOK

NewGetPendingKeyBlockOK creates a GetPendingKeyBlockOK with default headers values

func (*GetPendingKeyBlockOK) Error

func (o *GetPendingKeyBlockOK) Error() string

func (*GetPendingKeyBlockOK) GetPayload

func (o *GetPendingKeyBlockOK) GetPayload() *models.KeyBlock

type GetPendingKeyBlockParams

type GetPendingKeyBlockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPendingKeyBlockParams contains all the parameters to send to the API endpoint

for the get pending key block operation.

Typically these are written to a http.Request.

func NewGetPendingKeyBlockParams

func NewGetPendingKeyBlockParams() *GetPendingKeyBlockParams

NewGetPendingKeyBlockParams creates a new GetPendingKeyBlockParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPendingKeyBlockParamsWithContext

func NewGetPendingKeyBlockParamsWithContext(ctx context.Context) *GetPendingKeyBlockParams

NewGetPendingKeyBlockParamsWithContext creates a new GetPendingKeyBlockParams object with the ability to set a context for a request.

func NewGetPendingKeyBlockParamsWithHTTPClient

func NewGetPendingKeyBlockParamsWithHTTPClient(client *http.Client) *GetPendingKeyBlockParams

NewGetPendingKeyBlockParamsWithHTTPClient creates a new GetPendingKeyBlockParams object with the ability to set a custom HTTPClient for a request.

func NewGetPendingKeyBlockParamsWithTimeout

func NewGetPendingKeyBlockParamsWithTimeout(timeout time.Duration) *GetPendingKeyBlockParams

NewGetPendingKeyBlockParamsWithTimeout creates a new GetPendingKeyBlockParams object with the ability to set a timeout on a request.

func (*GetPendingKeyBlockParams) SetContext

func (o *GetPendingKeyBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the get pending key block params

func (*GetPendingKeyBlockParams) SetDefaults

func (o *GetPendingKeyBlockParams) SetDefaults()

SetDefaults hydrates default values in the get pending key block params (not the query body).

All values with no default are reset to their zero value.

func (*GetPendingKeyBlockParams) SetHTTPClient

func (o *GetPendingKeyBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get pending key block params

func (*GetPendingKeyBlockParams) SetTimeout

func (o *GetPendingKeyBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get pending key block params

func (*GetPendingKeyBlockParams) WithContext

WithContext adds the context to the get pending key block params

func (*GetPendingKeyBlockParams) WithDefaults

WithDefaults hydrates default values in the get pending key block params (not the query body).

All values with no default are reset to their zero value.

func (*GetPendingKeyBlockParams) WithHTTPClient

func (o *GetPendingKeyBlockParams) WithHTTPClient(client *http.Client) *GetPendingKeyBlockParams

WithHTTPClient adds the HTTPClient to the get pending key block params

func (*GetPendingKeyBlockParams) WithTimeout

WithTimeout adds the timeout to the get pending key block params

func (*GetPendingKeyBlockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPendingKeyBlockReader

type GetPendingKeyBlockReader struct {
	// contains filtered or unexported fields
}

GetPendingKeyBlockReader is a Reader for the GetPendingKeyBlock structure.

func (*GetPendingKeyBlockReader) ReadResponse

func (o *GetPendingKeyBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStatusOK

type GetStatusOK struct {
	Payload *models.Status
}
GetStatusOK describes a response with status code 200, with default header values.

Successful operation

func NewGetStatusOK

func NewGetStatusOK() *GetStatusOK

NewGetStatusOK creates a GetStatusOK with default headers values

func (*GetStatusOK) Error

func (o *GetStatusOK) Error() string

func (*GetStatusOK) GetPayload

func (o *GetStatusOK) GetPayload() *models.Status

type GetStatusParams

type GetStatusParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStatusParams contains all the parameters to send to the API endpoint

for the get status operation.

Typically these are written to a http.Request.

func NewGetStatusParams

func NewGetStatusParams() *GetStatusParams

NewGetStatusParams creates a new GetStatusParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStatusParamsWithContext

func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams

NewGetStatusParamsWithContext creates a new GetStatusParams object with the ability to set a context for a request.

func NewGetStatusParamsWithHTTPClient

func NewGetStatusParamsWithHTTPClient(client *http.Client) *GetStatusParams

NewGetStatusParamsWithHTTPClient creates a new GetStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetStatusParamsWithTimeout

func NewGetStatusParamsWithTimeout(timeout time.Duration) *GetStatusParams

NewGetStatusParamsWithTimeout creates a new GetStatusParams object with the ability to set a timeout on a request.

func (*GetStatusParams) SetContext

func (o *GetStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get status params

func (*GetStatusParams) SetDefaults

func (o *GetStatusParams) SetDefaults()

SetDefaults hydrates default values in the get status params (not the query body).

All values with no default are reset to their zero value.

func (*GetStatusParams) SetHTTPClient

func (o *GetStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) SetTimeout

func (o *GetStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get status params

func (*GetStatusParams) WithContext

func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams

WithContext adds the context to the get status params

func (*GetStatusParams) WithDefaults

func (o *GetStatusParams) WithDefaults() *GetStatusParams

WithDefaults hydrates default values in the get status params (not the query body).

All values with no default are reset to their zero value.

func (*GetStatusParams) WithHTTPClient

func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams

WithHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) WithTimeout

func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams

WithTimeout adds the timeout to the get status params

func (*GetStatusParams) WriteToRequest

func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatusReader

type GetStatusReader struct {
	// contains filtered or unexported fields
}

GetStatusReader is a Reader for the GetStatus structure.

func (*GetStatusReader) ReadResponse

func (o *GetStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTopBlockNotFound

type GetTopBlockNotFound struct {
	Payload *models.Error
}
GetTopBlockNotFound describes a response with status code 404, with default header values.

Block not found

func NewGetTopBlockNotFound

func NewGetTopBlockNotFound() *GetTopBlockNotFound

NewGetTopBlockNotFound creates a GetTopBlockNotFound with default headers values

func (*GetTopBlockNotFound) Error

func (o *GetTopBlockNotFound) Error() string

func (*GetTopBlockNotFound) GetPayload

func (o *GetTopBlockNotFound) GetPayload() *models.Error

type GetTopBlockOK

type GetTopBlockOK struct {
	Payload *models.KeyBlockOrMicroBlockHeader
}
GetTopBlockOK describes a response with status code 200, with default header values.

Successful operation

func NewGetTopBlockOK

func NewGetTopBlockOK() *GetTopBlockOK

NewGetTopBlockOK creates a GetTopBlockOK with default headers values

func (*GetTopBlockOK) Error

func (o *GetTopBlockOK) Error() string

func (*GetTopBlockOK) GetPayload

type GetTopBlockParams

type GetTopBlockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTopBlockParams contains all the parameters to send to the API endpoint

for the get top block operation.

Typically these are written to a http.Request.

func NewGetTopBlockParams

func NewGetTopBlockParams() *GetTopBlockParams

NewGetTopBlockParams creates a new GetTopBlockParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTopBlockParamsWithContext

func NewGetTopBlockParamsWithContext(ctx context.Context) *GetTopBlockParams

NewGetTopBlockParamsWithContext creates a new GetTopBlockParams object with the ability to set a context for a request.

func NewGetTopBlockParamsWithHTTPClient

func NewGetTopBlockParamsWithHTTPClient(client *http.Client) *GetTopBlockParams

NewGetTopBlockParamsWithHTTPClient creates a new GetTopBlockParams object with the ability to set a custom HTTPClient for a request.

func NewGetTopBlockParamsWithTimeout

func NewGetTopBlockParamsWithTimeout(timeout time.Duration) *GetTopBlockParams

NewGetTopBlockParamsWithTimeout creates a new GetTopBlockParams object with the ability to set a timeout on a request.

func (*GetTopBlockParams) SetContext

func (o *GetTopBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the get top block params

func (*GetTopBlockParams) SetDefaults

func (o *GetTopBlockParams) SetDefaults()

SetDefaults hydrates default values in the get top block params (not the query body).

All values with no default are reset to their zero value.

func (*GetTopBlockParams) SetHTTPClient

func (o *GetTopBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get top block params

func (*GetTopBlockParams) SetTimeout

func (o *GetTopBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get top block params

func (*GetTopBlockParams) WithContext

func (o *GetTopBlockParams) WithContext(ctx context.Context) *GetTopBlockParams

WithContext adds the context to the get top block params

func (*GetTopBlockParams) WithDefaults

func (o *GetTopBlockParams) WithDefaults() *GetTopBlockParams

WithDefaults hydrates default values in the get top block params (not the query body).

All values with no default are reset to their zero value.

func (*GetTopBlockParams) WithHTTPClient

func (o *GetTopBlockParams) WithHTTPClient(client *http.Client) *GetTopBlockParams

WithHTTPClient adds the HTTPClient to the get top block params

func (*GetTopBlockParams) WithTimeout

func (o *GetTopBlockParams) WithTimeout(timeout time.Duration) *GetTopBlockParams

WithTimeout adds the timeout to the get top block params

func (*GetTopBlockParams) WriteToRequest

func (o *GetTopBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTopBlockReader

type GetTopBlockReader struct {
	// contains filtered or unexported fields
}

GetTopBlockReader is a Reader for the GetTopBlock structure.

func (*GetTopBlockReader) ReadResponse

func (o *GetTopBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTransactionByHashBadRequest

type GetTransactionByHashBadRequest struct {
	Payload *models.Error
}
GetTransactionByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetTransactionByHashBadRequest

func NewGetTransactionByHashBadRequest() *GetTransactionByHashBadRequest

NewGetTransactionByHashBadRequest creates a GetTransactionByHashBadRequest with default headers values

func (*GetTransactionByHashBadRequest) Error

func (*GetTransactionByHashBadRequest) GetPayload

func (o *GetTransactionByHashBadRequest) GetPayload() *models.Error

type GetTransactionByHashNotFound

type GetTransactionByHashNotFound struct {
	Payload *models.Error
}
GetTransactionByHashNotFound describes a response with status code 404, with default header values.

Transaction not found

func NewGetTransactionByHashNotFound

func NewGetTransactionByHashNotFound() *GetTransactionByHashNotFound

NewGetTransactionByHashNotFound creates a GetTransactionByHashNotFound with default headers values

func (*GetTransactionByHashNotFound) Error

func (*GetTransactionByHashNotFound) GetPayload

func (o *GetTransactionByHashNotFound) GetPayload() *models.Error

type GetTransactionByHashOK

type GetTransactionByHashOK struct {
	Payload *models.GenericSignedTx
}
GetTransactionByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetTransactionByHashOK

func NewGetTransactionByHashOK() *GetTransactionByHashOK

NewGetTransactionByHashOK creates a GetTransactionByHashOK with default headers values

func (*GetTransactionByHashOK) Error

func (o *GetTransactionByHashOK) Error() string

func (*GetTransactionByHashOK) GetPayload

type GetTransactionByHashParams

type GetTransactionByHashParams struct {

	/* Hash.

	   The hash of the transaction
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTransactionByHashParams contains all the parameters to send to the API endpoint

for the get transaction by hash operation.

Typically these are written to a http.Request.

func NewGetTransactionByHashParams

func NewGetTransactionByHashParams() *GetTransactionByHashParams

NewGetTransactionByHashParams creates a new GetTransactionByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTransactionByHashParamsWithContext

func NewGetTransactionByHashParamsWithContext(ctx context.Context) *GetTransactionByHashParams

NewGetTransactionByHashParamsWithContext creates a new GetTransactionByHashParams object with the ability to set a context for a request.

func NewGetTransactionByHashParamsWithHTTPClient

func NewGetTransactionByHashParamsWithHTTPClient(client *http.Client) *GetTransactionByHashParams

NewGetTransactionByHashParamsWithHTTPClient creates a new GetTransactionByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetTransactionByHashParamsWithTimeout

func NewGetTransactionByHashParamsWithTimeout(timeout time.Duration) *GetTransactionByHashParams

NewGetTransactionByHashParamsWithTimeout creates a new GetTransactionByHashParams object with the ability to set a timeout on a request.

func (*GetTransactionByHashParams) SetContext

func (o *GetTransactionByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get transaction by hash params

func (*GetTransactionByHashParams) SetDefaults

func (o *GetTransactionByHashParams) SetDefaults()

SetDefaults hydrates default values in the get transaction by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetTransactionByHashParams) SetHTTPClient

func (o *GetTransactionByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get transaction by hash params

func (*GetTransactionByHashParams) SetHash

func (o *GetTransactionByHashParams) SetHash(hash string)

SetHash adds the hash to the get transaction by hash params

func (*GetTransactionByHashParams) SetTimeout

func (o *GetTransactionByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get transaction by hash params

func (*GetTransactionByHashParams) WithContext

WithContext adds the context to the get transaction by hash params

func (*GetTransactionByHashParams) WithDefaults

WithDefaults hydrates default values in the get transaction by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetTransactionByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transaction by hash params

func (*GetTransactionByHashParams) WithHash

WithHash adds the hash to the get transaction by hash params

func (*GetTransactionByHashParams) WithTimeout

WithTimeout adds the timeout to the get transaction by hash params

func (*GetTransactionByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionByHashReader

type GetTransactionByHashReader struct {
	// contains filtered or unexported fields
}

GetTransactionByHashReader is a Reader for the GetTransactionByHash structure.

func (*GetTransactionByHashReader) ReadResponse

func (o *GetTransactionByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTransactionInfoByHashBadRequest

type GetTransactionInfoByHashBadRequest struct {
	Payload *models.Error
}
GetTransactionInfoByHashBadRequest describes a response with status code 400, with default header values.

Invalid hash

func NewGetTransactionInfoByHashBadRequest

func NewGetTransactionInfoByHashBadRequest() *GetTransactionInfoByHashBadRequest

NewGetTransactionInfoByHashBadRequest creates a GetTransactionInfoByHashBadRequest with default headers values

func (*GetTransactionInfoByHashBadRequest) Error

func (*GetTransactionInfoByHashBadRequest) GetPayload

type GetTransactionInfoByHashNotFound

type GetTransactionInfoByHashNotFound struct {
	Payload *models.Error
}
GetTransactionInfoByHashNotFound describes a response with status code 404, with default header values.

Transaction not found

func NewGetTransactionInfoByHashNotFound

func NewGetTransactionInfoByHashNotFound() *GetTransactionInfoByHashNotFound

NewGetTransactionInfoByHashNotFound creates a GetTransactionInfoByHashNotFound with default headers values

func (*GetTransactionInfoByHashNotFound) Error

func (*GetTransactionInfoByHashNotFound) GetPayload

type GetTransactionInfoByHashOK

type GetTransactionInfoByHashOK struct {
	Payload *models.TxInfoObject
}
GetTransactionInfoByHashOK describes a response with status code 200, with default header values.

Successful operation

func NewGetTransactionInfoByHashOK

func NewGetTransactionInfoByHashOK() *GetTransactionInfoByHashOK

NewGetTransactionInfoByHashOK creates a GetTransactionInfoByHashOK with default headers values

func (*GetTransactionInfoByHashOK) Error

func (*GetTransactionInfoByHashOK) GetPayload

type GetTransactionInfoByHashParams

type GetTransactionInfoByHashParams struct {

	/* Hash.

	   The hash of the transaction
	*/
	Hash string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTransactionInfoByHashParams contains all the parameters to send to the API endpoint

for the get transaction info by hash operation.

Typically these are written to a http.Request.

func NewGetTransactionInfoByHashParams

func NewGetTransactionInfoByHashParams() *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParams creates a new GetTransactionInfoByHashParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTransactionInfoByHashParamsWithContext

func NewGetTransactionInfoByHashParamsWithContext(ctx context.Context) *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParamsWithContext creates a new GetTransactionInfoByHashParams object with the ability to set a context for a request.

func NewGetTransactionInfoByHashParamsWithHTTPClient

func NewGetTransactionInfoByHashParamsWithHTTPClient(client *http.Client) *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParamsWithHTTPClient creates a new GetTransactionInfoByHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetTransactionInfoByHashParamsWithTimeout

func NewGetTransactionInfoByHashParamsWithTimeout(timeout time.Duration) *GetTransactionInfoByHashParams

NewGetTransactionInfoByHashParamsWithTimeout creates a new GetTransactionInfoByHashParams object with the ability to set a timeout on a request.

func (*GetTransactionInfoByHashParams) SetContext

func (o *GetTransactionInfoByHashParams) SetContext(ctx context.Context)

SetContext adds the context to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) SetDefaults

func (o *GetTransactionInfoByHashParams) SetDefaults()

SetDefaults hydrates default values in the get transaction info by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetTransactionInfoByHashParams) SetHTTPClient

func (o *GetTransactionInfoByHashParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) SetHash

func (o *GetTransactionInfoByHashParams) SetHash(hash string)

SetHash adds the hash to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) SetTimeout

func (o *GetTransactionInfoByHashParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithContext

WithContext adds the context to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithDefaults

WithDefaults hydrates default values in the get transaction info by hash params (not the query body).

All values with no default are reset to their zero value.

func (*GetTransactionInfoByHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithHash

WithHash adds the hash to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WithTimeout

WithTimeout adds the timeout to the get transaction info by hash params

func (*GetTransactionInfoByHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransactionInfoByHashReader

type GetTransactionInfoByHashReader struct {
	// contains filtered or unexported fields
}

GetTransactionInfoByHashReader is a Reader for the GetTransactionInfoByHash structure.

func (*GetTransactionInfoByHashReader) ReadResponse

func (o *GetTransactionInfoByHashReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostTransactionBadRequest

type PostTransactionBadRequest struct {
	Payload *models.Error
}
PostTransactionBadRequest describes a response with status code 400, with default header values.

Invalid transaction

func NewPostTransactionBadRequest

func NewPostTransactionBadRequest() *PostTransactionBadRequest

NewPostTransactionBadRequest creates a PostTransactionBadRequest with default headers values

func (*PostTransactionBadRequest) Error

func (o *PostTransactionBadRequest) Error() string

func (*PostTransactionBadRequest) GetPayload

func (o *PostTransactionBadRequest) GetPayload() *models.Error

type PostTransactionOK

type PostTransactionOK struct {
	Payload *models.PostTxResponse
}
PostTransactionOK describes a response with status code 200, with default header values.

Successful operation

func NewPostTransactionOK

func NewPostTransactionOK() *PostTransactionOK

NewPostTransactionOK creates a PostTransactionOK with default headers values

func (*PostTransactionOK) Error

func (o *PostTransactionOK) Error() string

func (*PostTransactionOK) GetPayload

func (o *PostTransactionOK) GetPayload() *models.PostTxResponse

type PostTransactionParams

type PostTransactionParams struct {

	/* Body.

	   The new transaction
	*/
	Body *models.Tx

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostTransactionParams contains all the parameters to send to the API endpoint

for the post transaction operation.

Typically these are written to a http.Request.

func NewPostTransactionParams

func NewPostTransactionParams() *PostTransactionParams

NewPostTransactionParams creates a new PostTransactionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostTransactionParamsWithContext

func NewPostTransactionParamsWithContext(ctx context.Context) *PostTransactionParams

NewPostTransactionParamsWithContext creates a new PostTransactionParams object with the ability to set a context for a request.

func NewPostTransactionParamsWithHTTPClient

func NewPostTransactionParamsWithHTTPClient(client *http.Client) *PostTransactionParams

NewPostTransactionParamsWithHTTPClient creates a new PostTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewPostTransactionParamsWithTimeout

func NewPostTransactionParamsWithTimeout(timeout time.Duration) *PostTransactionParams

NewPostTransactionParamsWithTimeout creates a new PostTransactionParams object with the ability to set a timeout on a request.

func (*PostTransactionParams) SetBody

func (o *PostTransactionParams) SetBody(body *models.Tx)

SetBody adds the body to the post transaction params

func (*PostTransactionParams) SetContext

func (o *PostTransactionParams) SetContext(ctx context.Context)

SetContext adds the context to the post transaction params

func (*PostTransactionParams) SetDefaults

func (o *PostTransactionParams) SetDefaults()

SetDefaults hydrates default values in the post transaction params (not the query body).

All values with no default are reset to their zero value.

func (*PostTransactionParams) SetHTTPClient

func (o *PostTransactionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post transaction params

func (*PostTransactionParams) SetTimeout

func (o *PostTransactionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post transaction params

func (*PostTransactionParams) WithBody

WithBody adds the body to the post transaction params

func (*PostTransactionParams) WithContext

WithContext adds the context to the post transaction params

func (*PostTransactionParams) WithDefaults

func (o *PostTransactionParams) WithDefaults() *PostTransactionParams

WithDefaults hydrates default values in the post transaction params (not the query body).

All values with no default are reset to their zero value.

func (*PostTransactionParams) WithHTTPClient

func (o *PostTransactionParams) WithHTTPClient(client *http.Client) *PostTransactionParams

WithHTTPClient adds the HTTPClient to the post transaction params

func (*PostTransactionParams) WithTimeout

func (o *PostTransactionParams) WithTimeout(timeout time.Duration) *PostTransactionParams

WithTimeout adds the timeout to the post transaction params

func (*PostTransactionParams) WriteToRequest

func (o *PostTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostTransactionReader

type PostTransactionReader struct {
	// contains filtered or unexported fields
}

PostTransactionReader is a Reader for the PostTransaction structure.

func (*PostTransactionReader) ReadResponse

func (o *PostTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProtectedDryRunTxsForbidden

type ProtectedDryRunTxsForbidden struct {
	Payload *models.Error
}
ProtectedDryRunTxsForbidden describes a response with status code 403, with default header values.

Invalid input

func NewProtectedDryRunTxsForbidden

func NewProtectedDryRunTxsForbidden() *ProtectedDryRunTxsForbidden

NewProtectedDryRunTxsForbidden creates a ProtectedDryRunTxsForbidden with default headers values

func (*ProtectedDryRunTxsForbidden) Error

func (*ProtectedDryRunTxsForbidden) GetPayload

func (o *ProtectedDryRunTxsForbidden) GetPayload() *models.Error

type ProtectedDryRunTxsOK

type ProtectedDryRunTxsOK struct {
	Payload *models.DryRunResults
}
ProtectedDryRunTxsOK describes a response with status code 200, with default header values.

Dry-run result

func NewProtectedDryRunTxsOK

func NewProtectedDryRunTxsOK() *ProtectedDryRunTxsOK

NewProtectedDryRunTxsOK creates a ProtectedDryRunTxsOK with default headers values

func (*ProtectedDryRunTxsOK) Error

func (o *ProtectedDryRunTxsOK) Error() string

func (*ProtectedDryRunTxsOK) GetPayload

func (o *ProtectedDryRunTxsOK) GetPayload() *models.DryRunResults

type ProtectedDryRunTxsParams

type ProtectedDryRunTxsParams struct {

	/* Body.

	   transactions
	*/
	Body *models.DryRunInput

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProtectedDryRunTxsParams contains all the parameters to send to the API endpoint

for the protected dry run txs operation.

Typically these are written to a http.Request.

func NewProtectedDryRunTxsParams

func NewProtectedDryRunTxsParams() *ProtectedDryRunTxsParams

NewProtectedDryRunTxsParams creates a new ProtectedDryRunTxsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProtectedDryRunTxsParamsWithContext

func NewProtectedDryRunTxsParamsWithContext(ctx context.Context) *ProtectedDryRunTxsParams

NewProtectedDryRunTxsParamsWithContext creates a new ProtectedDryRunTxsParams object with the ability to set a context for a request.

func NewProtectedDryRunTxsParamsWithHTTPClient

func NewProtectedDryRunTxsParamsWithHTTPClient(client *http.Client) *ProtectedDryRunTxsParams

NewProtectedDryRunTxsParamsWithHTTPClient creates a new ProtectedDryRunTxsParams object with the ability to set a custom HTTPClient for a request.

func NewProtectedDryRunTxsParamsWithTimeout

func NewProtectedDryRunTxsParamsWithTimeout(timeout time.Duration) *ProtectedDryRunTxsParams

NewProtectedDryRunTxsParamsWithTimeout creates a new ProtectedDryRunTxsParams object with the ability to set a timeout on a request.

func (*ProtectedDryRunTxsParams) SetBody

func (o *ProtectedDryRunTxsParams) SetBody(body *models.DryRunInput)

SetBody adds the body to the protected dry run txs params

func (*ProtectedDryRunTxsParams) SetContext

func (o *ProtectedDryRunTxsParams) SetContext(ctx context.Context)

SetContext adds the context to the protected dry run txs params

func (*ProtectedDryRunTxsParams) SetDefaults

func (o *ProtectedDryRunTxsParams) SetDefaults()

SetDefaults hydrates default values in the protected dry run txs params (not the query body).

All values with no default are reset to their zero value.

func (*ProtectedDryRunTxsParams) SetHTTPClient

func (o *ProtectedDryRunTxsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the protected dry run txs params

func (*ProtectedDryRunTxsParams) SetTimeout

func (o *ProtectedDryRunTxsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the protected dry run txs params

func (*ProtectedDryRunTxsParams) WithBody

WithBody adds the body to the protected dry run txs params

func (*ProtectedDryRunTxsParams) WithContext

WithContext adds the context to the protected dry run txs params

func (*ProtectedDryRunTxsParams) WithDefaults

WithDefaults hydrates default values in the protected dry run txs params (not the query body).

All values with no default are reset to their zero value.

func (*ProtectedDryRunTxsParams) WithHTTPClient

func (o *ProtectedDryRunTxsParams) WithHTTPClient(client *http.Client) *ProtectedDryRunTxsParams

WithHTTPClient adds the HTTPClient to the protected dry run txs params

func (*ProtectedDryRunTxsParams) WithTimeout

WithTimeout adds the timeout to the protected dry run txs params

func (*ProtectedDryRunTxsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProtectedDryRunTxsReader

type ProtectedDryRunTxsReader struct {
	// contains filtered or unexported fields
}

ProtectedDryRunTxsReader is a Reader for the ProtectedDryRunTxs structure.

func (*ProtectedDryRunTxsReader) ReadResponse

func (o *ProtectedDryRunTxsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳