send_transactions

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 10 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 send transactions API

func (*Client) GetSendTransactionStatus

func (a *Client) GetSendTransactionStatus(params *GetSendTransactionStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSendTransactionStatusOK, error)

GetSendTransactionStatus gets send transaction status

Get the status of a send transaction request.

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 {
	GetSendTransactionStatus(params *GetSendTransactionStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSendTransactionStatusOK, 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 send transactions API client.

type GetSendTransactionStatusOK

type GetSendTransactionStatusOK struct {
	Payload *models.GetSendTransactionStatusResponse
}

GetSendTransactionStatusOK describes a response with status code 200, with default header values.

A successful response.

func NewGetSendTransactionStatusOK

func NewGetSendTransactionStatusOK() *GetSendTransactionStatusOK

NewGetSendTransactionStatusOK creates a GetSendTransactionStatusOK with default headers values

func (*GetSendTransactionStatusOK) Code

func (o *GetSendTransactionStatusOK) Code() int

Code gets the status code for the get send transaction status o k response

func (*GetSendTransactionStatusOK) Error

func (*GetSendTransactionStatusOK) GetPayload

func (*GetSendTransactionStatusOK) IsClientError

func (o *GetSendTransactionStatusOK) IsClientError() bool

IsClientError returns true when this get send transaction status o k response has a 4xx status code

func (*GetSendTransactionStatusOK) IsCode

func (o *GetSendTransactionStatusOK) IsCode(code int) bool

IsCode returns true when this get send transaction status o k response a status code equal to that given

func (*GetSendTransactionStatusOK) IsRedirect

func (o *GetSendTransactionStatusOK) IsRedirect() bool

IsRedirect returns true when this get send transaction status o k response has a 3xx status code

func (*GetSendTransactionStatusOK) IsServerError

func (o *GetSendTransactionStatusOK) IsServerError() bool

IsServerError returns true when this get send transaction status o k response has a 5xx status code

func (*GetSendTransactionStatusOK) IsSuccess

func (o *GetSendTransactionStatusOK) IsSuccess() bool

IsSuccess returns true when this get send transaction status o k response has a 2xx status code

func (*GetSendTransactionStatusOK) String

func (o *GetSendTransactionStatusOK) String() string

type GetSendTransactionStatusParams

type GetSendTransactionStatusParams struct {

	// Body.
	Body *models.GetSendTransactionStatusRequest

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

GetSendTransactionStatusParams contains all the parameters to send to the API endpoint

for the get send transaction status operation.

Typically these are written to a http.Request.

func NewGetSendTransactionStatusParams

func NewGetSendTransactionStatusParams() *GetSendTransactionStatusParams

NewGetSendTransactionStatusParams creates a new GetSendTransactionStatusParams 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 NewGetSendTransactionStatusParamsWithContext

func NewGetSendTransactionStatusParamsWithContext(ctx context.Context) *GetSendTransactionStatusParams

NewGetSendTransactionStatusParamsWithContext creates a new GetSendTransactionStatusParams object with the ability to set a context for a request.

func NewGetSendTransactionStatusParamsWithHTTPClient

func NewGetSendTransactionStatusParamsWithHTTPClient(client *http.Client) *GetSendTransactionStatusParams

NewGetSendTransactionStatusParamsWithHTTPClient creates a new GetSendTransactionStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetSendTransactionStatusParamsWithTimeout

func NewGetSendTransactionStatusParamsWithTimeout(timeout time.Duration) *GetSendTransactionStatusParams

NewGetSendTransactionStatusParamsWithTimeout creates a new GetSendTransactionStatusParams object with the ability to set a timeout on a request.

func (*GetSendTransactionStatusParams) SetBody

SetBody adds the body to the get send transaction status params

func (*GetSendTransactionStatusParams) SetContext

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

SetContext adds the context to the get send transaction status params

func (*GetSendTransactionStatusParams) SetDefaults

func (o *GetSendTransactionStatusParams) SetDefaults()

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

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

func (*GetSendTransactionStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get send transaction status params

func (*GetSendTransactionStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get send transaction status params

func (*GetSendTransactionStatusParams) WithBody

WithBody adds the body to the get send transaction status params

func (*GetSendTransactionStatusParams) WithContext

WithContext adds the context to the get send transaction status params

func (*GetSendTransactionStatusParams) WithDefaults

WithDefaults hydrates default values in the get send transaction status params (not the query body).

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

func (*GetSendTransactionStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get send transaction status params

func (*GetSendTransactionStatusParams) WithTimeout

WithTimeout adds the timeout to the get send transaction status params

func (*GetSendTransactionStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSendTransactionStatusReader

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

GetSendTransactionStatusReader is a Reader for the GetSendTransactionStatus structure.

func (*GetSendTransactionStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL