Documentation ¶
Index ¶
- type Client
- func (a *Client) ExplorerServiceGetRound(params *ExplorerServiceGetRoundParams, opts ...ClientOption) (*ExplorerServiceGetRoundOK, error)
- func (a *Client) ExplorerServiceGetRoundByID(params *ExplorerServiceGetRoundByIDParams, opts ...ClientOption) (*ExplorerServiceGetRoundByIDOK, error)
- func (a *Client) ExplorerServiceListVtxos(params *ExplorerServiceListVtxosParams, opts ...ClientOption) (*ExplorerServiceListVtxosOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ExplorerServiceGetRoundByIDDefault
- func (o *ExplorerServiceGetRoundByIDDefault) Code() int
- func (o *ExplorerServiceGetRoundByIDDefault) Error() string
- func (o *ExplorerServiceGetRoundByIDDefault) GetPayload() *models.RPCStatus
- func (o *ExplorerServiceGetRoundByIDDefault) IsClientError() bool
- func (o *ExplorerServiceGetRoundByIDDefault) IsCode(code int) bool
- func (o *ExplorerServiceGetRoundByIDDefault) IsRedirect() bool
- func (o *ExplorerServiceGetRoundByIDDefault) IsServerError() bool
- func (o *ExplorerServiceGetRoundByIDDefault) IsSuccess() bool
- func (o *ExplorerServiceGetRoundByIDDefault) String() string
- type ExplorerServiceGetRoundByIDOK
- func (o *ExplorerServiceGetRoundByIDOK) Code() int
- func (o *ExplorerServiceGetRoundByIDOK) Error() string
- func (o *ExplorerServiceGetRoundByIDOK) GetPayload() *models.V1GetRoundByIDResponse
- func (o *ExplorerServiceGetRoundByIDOK) IsClientError() bool
- func (o *ExplorerServiceGetRoundByIDOK) IsCode(code int) bool
- func (o *ExplorerServiceGetRoundByIDOK) IsRedirect() bool
- func (o *ExplorerServiceGetRoundByIDOK) IsServerError() bool
- func (o *ExplorerServiceGetRoundByIDOK) IsSuccess() bool
- func (o *ExplorerServiceGetRoundByIDOK) String() string
- type ExplorerServiceGetRoundByIDParams
- func NewExplorerServiceGetRoundByIDParams() *ExplorerServiceGetRoundByIDParams
- func NewExplorerServiceGetRoundByIDParamsWithContext(ctx context.Context) *ExplorerServiceGetRoundByIDParams
- func NewExplorerServiceGetRoundByIDParamsWithHTTPClient(client *http.Client) *ExplorerServiceGetRoundByIDParams
- func NewExplorerServiceGetRoundByIDParamsWithTimeout(timeout time.Duration) *ExplorerServiceGetRoundByIDParams
- func (o *ExplorerServiceGetRoundByIDParams) SetContext(ctx context.Context)
- func (o *ExplorerServiceGetRoundByIDParams) SetDefaults()
- func (o *ExplorerServiceGetRoundByIDParams) SetHTTPClient(client *http.Client)
- func (o *ExplorerServiceGetRoundByIDParams) SetID(id string)
- func (o *ExplorerServiceGetRoundByIDParams) SetTimeout(timeout time.Duration)
- func (o *ExplorerServiceGetRoundByIDParams) WithContext(ctx context.Context) *ExplorerServiceGetRoundByIDParams
- func (o *ExplorerServiceGetRoundByIDParams) WithDefaults() *ExplorerServiceGetRoundByIDParams
- func (o *ExplorerServiceGetRoundByIDParams) WithHTTPClient(client *http.Client) *ExplorerServiceGetRoundByIDParams
- func (o *ExplorerServiceGetRoundByIDParams) WithID(id string) *ExplorerServiceGetRoundByIDParams
- func (o *ExplorerServiceGetRoundByIDParams) WithTimeout(timeout time.Duration) *ExplorerServiceGetRoundByIDParams
- func (o *ExplorerServiceGetRoundByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExplorerServiceGetRoundByIDReader
- type ExplorerServiceGetRoundDefault
- func (o *ExplorerServiceGetRoundDefault) Code() int
- func (o *ExplorerServiceGetRoundDefault) Error() string
- func (o *ExplorerServiceGetRoundDefault) GetPayload() *models.RPCStatus
- func (o *ExplorerServiceGetRoundDefault) IsClientError() bool
- func (o *ExplorerServiceGetRoundDefault) IsCode(code int) bool
- func (o *ExplorerServiceGetRoundDefault) IsRedirect() bool
- func (o *ExplorerServiceGetRoundDefault) IsServerError() bool
- func (o *ExplorerServiceGetRoundDefault) IsSuccess() bool
- func (o *ExplorerServiceGetRoundDefault) String() string
- type ExplorerServiceGetRoundOK
- func (o *ExplorerServiceGetRoundOK) Code() int
- func (o *ExplorerServiceGetRoundOK) Error() string
- func (o *ExplorerServiceGetRoundOK) GetPayload() *models.V1GetRoundResponse
- func (o *ExplorerServiceGetRoundOK) IsClientError() bool
- func (o *ExplorerServiceGetRoundOK) IsCode(code int) bool
- func (o *ExplorerServiceGetRoundOK) IsRedirect() bool
- func (o *ExplorerServiceGetRoundOK) IsServerError() bool
- func (o *ExplorerServiceGetRoundOK) IsSuccess() bool
- func (o *ExplorerServiceGetRoundOK) String() string
- type ExplorerServiceGetRoundParams
- func NewExplorerServiceGetRoundParams() *ExplorerServiceGetRoundParams
- func NewExplorerServiceGetRoundParamsWithContext(ctx context.Context) *ExplorerServiceGetRoundParams
- func NewExplorerServiceGetRoundParamsWithHTTPClient(client *http.Client) *ExplorerServiceGetRoundParams
- func NewExplorerServiceGetRoundParamsWithTimeout(timeout time.Duration) *ExplorerServiceGetRoundParams
- func (o *ExplorerServiceGetRoundParams) SetContext(ctx context.Context)
- func (o *ExplorerServiceGetRoundParams) SetDefaults()
- func (o *ExplorerServiceGetRoundParams) SetHTTPClient(client *http.Client)
- func (o *ExplorerServiceGetRoundParams) SetTimeout(timeout time.Duration)
- func (o *ExplorerServiceGetRoundParams) SetTxid(txid string)
- func (o *ExplorerServiceGetRoundParams) WithContext(ctx context.Context) *ExplorerServiceGetRoundParams
- func (o *ExplorerServiceGetRoundParams) WithDefaults() *ExplorerServiceGetRoundParams
- func (o *ExplorerServiceGetRoundParams) WithHTTPClient(client *http.Client) *ExplorerServiceGetRoundParams
- func (o *ExplorerServiceGetRoundParams) WithTimeout(timeout time.Duration) *ExplorerServiceGetRoundParams
- func (o *ExplorerServiceGetRoundParams) WithTxid(txid string) *ExplorerServiceGetRoundParams
- func (o *ExplorerServiceGetRoundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExplorerServiceGetRoundReader
- type ExplorerServiceListVtxosDefault
- func (o *ExplorerServiceListVtxosDefault) Code() int
- func (o *ExplorerServiceListVtxosDefault) Error() string
- func (o *ExplorerServiceListVtxosDefault) GetPayload() *models.RPCStatus
- func (o *ExplorerServiceListVtxosDefault) IsClientError() bool
- func (o *ExplorerServiceListVtxosDefault) IsCode(code int) bool
- func (o *ExplorerServiceListVtxosDefault) IsRedirect() bool
- func (o *ExplorerServiceListVtxosDefault) IsServerError() bool
- func (o *ExplorerServiceListVtxosDefault) IsSuccess() bool
- func (o *ExplorerServiceListVtxosDefault) String() string
- type ExplorerServiceListVtxosOK
- func (o *ExplorerServiceListVtxosOK) Code() int
- func (o *ExplorerServiceListVtxosOK) Error() string
- func (o *ExplorerServiceListVtxosOK) GetPayload() *models.V1ListVtxosResponse
- func (o *ExplorerServiceListVtxosOK) IsClientError() bool
- func (o *ExplorerServiceListVtxosOK) IsCode(code int) bool
- func (o *ExplorerServiceListVtxosOK) IsRedirect() bool
- func (o *ExplorerServiceListVtxosOK) IsServerError() bool
- func (o *ExplorerServiceListVtxosOK) IsSuccess() bool
- func (o *ExplorerServiceListVtxosOK) String() string
- type ExplorerServiceListVtxosParams
- func NewExplorerServiceListVtxosParams() *ExplorerServiceListVtxosParams
- func NewExplorerServiceListVtxosParamsWithContext(ctx context.Context) *ExplorerServiceListVtxosParams
- func NewExplorerServiceListVtxosParamsWithHTTPClient(client *http.Client) *ExplorerServiceListVtxosParams
- func NewExplorerServiceListVtxosParamsWithTimeout(timeout time.Duration) *ExplorerServiceListVtxosParams
- func (o *ExplorerServiceListVtxosParams) SetAddress(address string)
- func (o *ExplorerServiceListVtxosParams) SetContext(ctx context.Context)
- func (o *ExplorerServiceListVtxosParams) SetDefaults()
- func (o *ExplorerServiceListVtxosParams) SetHTTPClient(client *http.Client)
- func (o *ExplorerServiceListVtxosParams) SetTimeout(timeout time.Duration)
- func (o *ExplorerServiceListVtxosParams) WithAddress(address string) *ExplorerServiceListVtxosParams
- func (o *ExplorerServiceListVtxosParams) WithContext(ctx context.Context) *ExplorerServiceListVtxosParams
- func (o *ExplorerServiceListVtxosParams) WithDefaults() *ExplorerServiceListVtxosParams
- func (o *ExplorerServiceListVtxosParams) WithHTTPClient(client *http.Client) *ExplorerServiceListVtxosParams
- func (o *ExplorerServiceListVtxosParams) WithTimeout(timeout time.Duration) *ExplorerServiceListVtxosParams
- func (o *ExplorerServiceListVtxosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExplorerServiceListVtxosReader
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 explorer service API
func (*Client) ExplorerServiceGetRound ¶
func (a *Client) ExplorerServiceGetRound(params *ExplorerServiceGetRoundParams, opts ...ClientOption) (*ExplorerServiceGetRoundOK, error)
ExplorerServiceGetRound explorer service get round API
func (*Client) ExplorerServiceGetRoundByID ¶
func (a *Client) ExplorerServiceGetRoundByID(params *ExplorerServiceGetRoundByIDParams, opts ...ClientOption) (*ExplorerServiceGetRoundByIDOK, error)
ExplorerServiceGetRoundByID explorer service get round by Id API
func (*Client) ExplorerServiceListVtxos ¶
func (a *Client) ExplorerServiceListVtxos(params *ExplorerServiceListVtxosParams, opts ...ClientOption) (*ExplorerServiceListVtxosOK, error)
ExplorerServiceListVtxos explorer service list vtxos API
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { ExplorerServiceGetRound(params *ExplorerServiceGetRoundParams, opts ...ClientOption) (*ExplorerServiceGetRoundOK, error) ExplorerServiceGetRoundByID(params *ExplorerServiceGetRoundByIDParams, opts ...ClientOption) (*ExplorerServiceGetRoundByIDOK, error) ExplorerServiceListVtxos(params *ExplorerServiceListVtxosParams, opts ...ClientOption) (*ExplorerServiceListVtxosOK, 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 explorer service API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new explorer service API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new explorer service API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type ExplorerServiceGetRoundByIDDefault ¶
type ExplorerServiceGetRoundByIDDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
ExplorerServiceGetRoundByIDDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewExplorerServiceGetRoundByIDDefault ¶
func NewExplorerServiceGetRoundByIDDefault(code int) *ExplorerServiceGetRoundByIDDefault
NewExplorerServiceGetRoundByIDDefault creates a ExplorerServiceGetRoundByIDDefault with default headers values
func (*ExplorerServiceGetRoundByIDDefault) Code ¶
func (o *ExplorerServiceGetRoundByIDDefault) Code() int
Code gets the status code for the explorer service get round by Id default response
func (*ExplorerServiceGetRoundByIDDefault) Error ¶
func (o *ExplorerServiceGetRoundByIDDefault) Error() string
func (*ExplorerServiceGetRoundByIDDefault) GetPayload ¶
func (o *ExplorerServiceGetRoundByIDDefault) GetPayload() *models.RPCStatus
func (*ExplorerServiceGetRoundByIDDefault) IsClientError ¶
func (o *ExplorerServiceGetRoundByIDDefault) IsClientError() bool
IsClientError returns true when this explorer service get round by Id default response has a 4xx status code
func (*ExplorerServiceGetRoundByIDDefault) IsCode ¶
func (o *ExplorerServiceGetRoundByIDDefault) IsCode(code int) bool
IsCode returns true when this explorer service get round by Id default response a status code equal to that given
func (*ExplorerServiceGetRoundByIDDefault) IsRedirect ¶
func (o *ExplorerServiceGetRoundByIDDefault) IsRedirect() bool
IsRedirect returns true when this explorer service get round by Id default response has a 3xx status code
func (*ExplorerServiceGetRoundByIDDefault) IsServerError ¶
func (o *ExplorerServiceGetRoundByIDDefault) IsServerError() bool
IsServerError returns true when this explorer service get round by Id default response has a 5xx status code
func (*ExplorerServiceGetRoundByIDDefault) IsSuccess ¶
func (o *ExplorerServiceGetRoundByIDDefault) IsSuccess() bool
IsSuccess returns true when this explorer service get round by Id default response has a 2xx status code
func (*ExplorerServiceGetRoundByIDDefault) String ¶
func (o *ExplorerServiceGetRoundByIDDefault) String() string
type ExplorerServiceGetRoundByIDOK ¶
type ExplorerServiceGetRoundByIDOK struct {
Payload *models.V1GetRoundByIDResponse
}
ExplorerServiceGetRoundByIDOK describes a response with status code 200, with default header values.
A successful response.
func NewExplorerServiceGetRoundByIDOK ¶
func NewExplorerServiceGetRoundByIDOK() *ExplorerServiceGetRoundByIDOK
NewExplorerServiceGetRoundByIDOK creates a ExplorerServiceGetRoundByIDOK with default headers values
func (*ExplorerServiceGetRoundByIDOK) Code ¶
func (o *ExplorerServiceGetRoundByIDOK) Code() int
Code gets the status code for the explorer service get round by Id o k response
func (*ExplorerServiceGetRoundByIDOK) Error ¶
func (o *ExplorerServiceGetRoundByIDOK) Error() string
func (*ExplorerServiceGetRoundByIDOK) GetPayload ¶
func (o *ExplorerServiceGetRoundByIDOK) GetPayload() *models.V1GetRoundByIDResponse
func (*ExplorerServiceGetRoundByIDOK) IsClientError ¶
func (o *ExplorerServiceGetRoundByIDOK) IsClientError() bool
IsClientError returns true when this explorer service get round by Id o k response has a 4xx status code
func (*ExplorerServiceGetRoundByIDOK) IsCode ¶
func (o *ExplorerServiceGetRoundByIDOK) IsCode(code int) bool
IsCode returns true when this explorer service get round by Id o k response a status code equal to that given
func (*ExplorerServiceGetRoundByIDOK) IsRedirect ¶
func (o *ExplorerServiceGetRoundByIDOK) IsRedirect() bool
IsRedirect returns true when this explorer service get round by Id o k response has a 3xx status code
func (*ExplorerServiceGetRoundByIDOK) IsServerError ¶
func (o *ExplorerServiceGetRoundByIDOK) IsServerError() bool
IsServerError returns true when this explorer service get round by Id o k response has a 5xx status code
func (*ExplorerServiceGetRoundByIDOK) IsSuccess ¶
func (o *ExplorerServiceGetRoundByIDOK) IsSuccess() bool
IsSuccess returns true when this explorer service get round by Id o k response has a 2xx status code
func (*ExplorerServiceGetRoundByIDOK) String ¶
func (o *ExplorerServiceGetRoundByIDOK) String() string
type ExplorerServiceGetRoundByIDParams ¶
type ExplorerServiceGetRoundByIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExplorerServiceGetRoundByIDParams contains all the parameters to send to the API endpoint
for the explorer service get round by Id operation. Typically these are written to a http.Request.
func NewExplorerServiceGetRoundByIDParams ¶
func NewExplorerServiceGetRoundByIDParams() *ExplorerServiceGetRoundByIDParams
NewExplorerServiceGetRoundByIDParams creates a new ExplorerServiceGetRoundByIDParams 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 NewExplorerServiceGetRoundByIDParamsWithContext ¶
func NewExplorerServiceGetRoundByIDParamsWithContext(ctx context.Context) *ExplorerServiceGetRoundByIDParams
NewExplorerServiceGetRoundByIDParamsWithContext creates a new ExplorerServiceGetRoundByIDParams object with the ability to set a context for a request.
func NewExplorerServiceGetRoundByIDParamsWithHTTPClient ¶
func NewExplorerServiceGetRoundByIDParamsWithHTTPClient(client *http.Client) *ExplorerServiceGetRoundByIDParams
NewExplorerServiceGetRoundByIDParamsWithHTTPClient creates a new ExplorerServiceGetRoundByIDParams object with the ability to set a custom HTTPClient for a request.
func NewExplorerServiceGetRoundByIDParamsWithTimeout ¶
func NewExplorerServiceGetRoundByIDParamsWithTimeout(timeout time.Duration) *ExplorerServiceGetRoundByIDParams
NewExplorerServiceGetRoundByIDParamsWithTimeout creates a new ExplorerServiceGetRoundByIDParams object with the ability to set a timeout on a request.
func (*ExplorerServiceGetRoundByIDParams) SetContext ¶
func (o *ExplorerServiceGetRoundByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) SetDefaults ¶
func (o *ExplorerServiceGetRoundByIDParams) SetDefaults()
SetDefaults hydrates default values in the explorer service get round by Id params (not the query body).
All values with no default are reset to their zero value.
func (*ExplorerServiceGetRoundByIDParams) SetHTTPClient ¶
func (o *ExplorerServiceGetRoundByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) SetID ¶
func (o *ExplorerServiceGetRoundByIDParams) SetID(id string)
SetID adds the id to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) SetTimeout ¶
func (o *ExplorerServiceGetRoundByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) WithContext ¶
func (o *ExplorerServiceGetRoundByIDParams) WithContext(ctx context.Context) *ExplorerServiceGetRoundByIDParams
WithContext adds the context to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) WithDefaults ¶
func (o *ExplorerServiceGetRoundByIDParams) WithDefaults() *ExplorerServiceGetRoundByIDParams
WithDefaults hydrates default values in the explorer service get round by Id params (not the query body).
All values with no default are reset to their zero value.
func (*ExplorerServiceGetRoundByIDParams) WithHTTPClient ¶
func (o *ExplorerServiceGetRoundByIDParams) WithHTTPClient(client *http.Client) *ExplorerServiceGetRoundByIDParams
WithHTTPClient adds the HTTPClient to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) WithID ¶
func (o *ExplorerServiceGetRoundByIDParams) WithID(id string) *ExplorerServiceGetRoundByIDParams
WithID adds the id to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) WithTimeout ¶
func (o *ExplorerServiceGetRoundByIDParams) WithTimeout(timeout time.Duration) *ExplorerServiceGetRoundByIDParams
WithTimeout adds the timeout to the explorer service get round by Id params
func (*ExplorerServiceGetRoundByIDParams) WriteToRequest ¶
func (o *ExplorerServiceGetRoundByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExplorerServiceGetRoundByIDReader ¶
type ExplorerServiceGetRoundByIDReader struct {
// contains filtered or unexported fields
}
ExplorerServiceGetRoundByIDReader is a Reader for the ExplorerServiceGetRoundByID structure.
func (*ExplorerServiceGetRoundByIDReader) ReadResponse ¶
func (o *ExplorerServiceGetRoundByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExplorerServiceGetRoundDefault ¶
type ExplorerServiceGetRoundDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
ExplorerServiceGetRoundDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewExplorerServiceGetRoundDefault ¶
func NewExplorerServiceGetRoundDefault(code int) *ExplorerServiceGetRoundDefault
NewExplorerServiceGetRoundDefault creates a ExplorerServiceGetRoundDefault with default headers values
func (*ExplorerServiceGetRoundDefault) Code ¶
func (o *ExplorerServiceGetRoundDefault) Code() int
Code gets the status code for the explorer service get round default response
func (*ExplorerServiceGetRoundDefault) Error ¶
func (o *ExplorerServiceGetRoundDefault) Error() string
func (*ExplorerServiceGetRoundDefault) GetPayload ¶
func (o *ExplorerServiceGetRoundDefault) GetPayload() *models.RPCStatus
func (*ExplorerServiceGetRoundDefault) IsClientError ¶
func (o *ExplorerServiceGetRoundDefault) IsClientError() bool
IsClientError returns true when this explorer service get round default response has a 4xx status code
func (*ExplorerServiceGetRoundDefault) IsCode ¶
func (o *ExplorerServiceGetRoundDefault) IsCode(code int) bool
IsCode returns true when this explorer service get round default response a status code equal to that given
func (*ExplorerServiceGetRoundDefault) IsRedirect ¶
func (o *ExplorerServiceGetRoundDefault) IsRedirect() bool
IsRedirect returns true when this explorer service get round default response has a 3xx status code
func (*ExplorerServiceGetRoundDefault) IsServerError ¶
func (o *ExplorerServiceGetRoundDefault) IsServerError() bool
IsServerError returns true when this explorer service get round default response has a 5xx status code
func (*ExplorerServiceGetRoundDefault) IsSuccess ¶
func (o *ExplorerServiceGetRoundDefault) IsSuccess() bool
IsSuccess returns true when this explorer service get round default response has a 2xx status code
func (*ExplorerServiceGetRoundDefault) String ¶
func (o *ExplorerServiceGetRoundDefault) String() string
type ExplorerServiceGetRoundOK ¶
type ExplorerServiceGetRoundOK struct {
Payload *models.V1GetRoundResponse
}
ExplorerServiceGetRoundOK describes a response with status code 200, with default header values.
A successful response.
func NewExplorerServiceGetRoundOK ¶
func NewExplorerServiceGetRoundOK() *ExplorerServiceGetRoundOK
NewExplorerServiceGetRoundOK creates a ExplorerServiceGetRoundOK with default headers values
func (*ExplorerServiceGetRoundOK) Code ¶
func (o *ExplorerServiceGetRoundOK) Code() int
Code gets the status code for the explorer service get round o k response
func (*ExplorerServiceGetRoundOK) Error ¶
func (o *ExplorerServiceGetRoundOK) Error() string
func (*ExplorerServiceGetRoundOK) GetPayload ¶
func (o *ExplorerServiceGetRoundOK) GetPayload() *models.V1GetRoundResponse
func (*ExplorerServiceGetRoundOK) IsClientError ¶
func (o *ExplorerServiceGetRoundOK) IsClientError() bool
IsClientError returns true when this explorer service get round o k response has a 4xx status code
func (*ExplorerServiceGetRoundOK) IsCode ¶
func (o *ExplorerServiceGetRoundOK) IsCode(code int) bool
IsCode returns true when this explorer service get round o k response a status code equal to that given
func (*ExplorerServiceGetRoundOK) IsRedirect ¶
func (o *ExplorerServiceGetRoundOK) IsRedirect() bool
IsRedirect returns true when this explorer service get round o k response has a 3xx status code
func (*ExplorerServiceGetRoundOK) IsServerError ¶
func (o *ExplorerServiceGetRoundOK) IsServerError() bool
IsServerError returns true when this explorer service get round o k response has a 5xx status code
func (*ExplorerServiceGetRoundOK) IsSuccess ¶
func (o *ExplorerServiceGetRoundOK) IsSuccess() bool
IsSuccess returns true when this explorer service get round o k response has a 2xx status code
func (*ExplorerServiceGetRoundOK) String ¶
func (o *ExplorerServiceGetRoundOK) String() string
type ExplorerServiceGetRoundParams ¶
type ExplorerServiceGetRoundParams struct { // Txid. Txid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExplorerServiceGetRoundParams contains all the parameters to send to the API endpoint
for the explorer service get round operation. Typically these are written to a http.Request.
func NewExplorerServiceGetRoundParams ¶
func NewExplorerServiceGetRoundParams() *ExplorerServiceGetRoundParams
NewExplorerServiceGetRoundParams creates a new ExplorerServiceGetRoundParams 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 NewExplorerServiceGetRoundParamsWithContext ¶
func NewExplorerServiceGetRoundParamsWithContext(ctx context.Context) *ExplorerServiceGetRoundParams
NewExplorerServiceGetRoundParamsWithContext creates a new ExplorerServiceGetRoundParams object with the ability to set a context for a request.
func NewExplorerServiceGetRoundParamsWithHTTPClient ¶
func NewExplorerServiceGetRoundParamsWithHTTPClient(client *http.Client) *ExplorerServiceGetRoundParams
NewExplorerServiceGetRoundParamsWithHTTPClient creates a new ExplorerServiceGetRoundParams object with the ability to set a custom HTTPClient for a request.
func NewExplorerServiceGetRoundParamsWithTimeout ¶
func NewExplorerServiceGetRoundParamsWithTimeout(timeout time.Duration) *ExplorerServiceGetRoundParams
NewExplorerServiceGetRoundParamsWithTimeout creates a new ExplorerServiceGetRoundParams object with the ability to set a timeout on a request.
func (*ExplorerServiceGetRoundParams) SetContext ¶
func (o *ExplorerServiceGetRoundParams) SetContext(ctx context.Context)
SetContext adds the context to the explorer service get round params
func (*ExplorerServiceGetRoundParams) SetDefaults ¶
func (o *ExplorerServiceGetRoundParams) SetDefaults()
SetDefaults hydrates default values in the explorer service get round params (not the query body).
All values with no default are reset to their zero value.
func (*ExplorerServiceGetRoundParams) SetHTTPClient ¶
func (o *ExplorerServiceGetRoundParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the explorer service get round params
func (*ExplorerServiceGetRoundParams) SetTimeout ¶
func (o *ExplorerServiceGetRoundParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the explorer service get round params
func (*ExplorerServiceGetRoundParams) SetTxid ¶
func (o *ExplorerServiceGetRoundParams) SetTxid(txid string)
SetTxid adds the txid to the explorer service get round params
func (*ExplorerServiceGetRoundParams) WithContext ¶
func (o *ExplorerServiceGetRoundParams) WithContext(ctx context.Context) *ExplorerServiceGetRoundParams
WithContext adds the context to the explorer service get round params
func (*ExplorerServiceGetRoundParams) WithDefaults ¶
func (o *ExplorerServiceGetRoundParams) WithDefaults() *ExplorerServiceGetRoundParams
WithDefaults hydrates default values in the explorer service get round params (not the query body).
All values with no default are reset to their zero value.
func (*ExplorerServiceGetRoundParams) WithHTTPClient ¶
func (o *ExplorerServiceGetRoundParams) WithHTTPClient(client *http.Client) *ExplorerServiceGetRoundParams
WithHTTPClient adds the HTTPClient to the explorer service get round params
func (*ExplorerServiceGetRoundParams) WithTimeout ¶
func (o *ExplorerServiceGetRoundParams) WithTimeout(timeout time.Duration) *ExplorerServiceGetRoundParams
WithTimeout adds the timeout to the explorer service get round params
func (*ExplorerServiceGetRoundParams) WithTxid ¶
func (o *ExplorerServiceGetRoundParams) WithTxid(txid string) *ExplorerServiceGetRoundParams
WithTxid adds the txid to the explorer service get round params
func (*ExplorerServiceGetRoundParams) WriteToRequest ¶
func (o *ExplorerServiceGetRoundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExplorerServiceGetRoundReader ¶
type ExplorerServiceGetRoundReader struct {
// contains filtered or unexported fields
}
ExplorerServiceGetRoundReader is a Reader for the ExplorerServiceGetRound structure.
func (*ExplorerServiceGetRoundReader) ReadResponse ¶
func (o *ExplorerServiceGetRoundReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExplorerServiceListVtxosDefault ¶
type ExplorerServiceListVtxosDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
ExplorerServiceListVtxosDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewExplorerServiceListVtxosDefault ¶
func NewExplorerServiceListVtxosDefault(code int) *ExplorerServiceListVtxosDefault
NewExplorerServiceListVtxosDefault creates a ExplorerServiceListVtxosDefault with default headers values
func (*ExplorerServiceListVtxosDefault) Code ¶
func (o *ExplorerServiceListVtxosDefault) Code() int
Code gets the status code for the explorer service list vtxos default response
func (*ExplorerServiceListVtxosDefault) Error ¶
func (o *ExplorerServiceListVtxosDefault) Error() string
func (*ExplorerServiceListVtxosDefault) GetPayload ¶
func (o *ExplorerServiceListVtxosDefault) GetPayload() *models.RPCStatus
func (*ExplorerServiceListVtxosDefault) IsClientError ¶
func (o *ExplorerServiceListVtxosDefault) IsClientError() bool
IsClientError returns true when this explorer service list vtxos default response has a 4xx status code
func (*ExplorerServiceListVtxosDefault) IsCode ¶
func (o *ExplorerServiceListVtxosDefault) IsCode(code int) bool
IsCode returns true when this explorer service list vtxos default response a status code equal to that given
func (*ExplorerServiceListVtxosDefault) IsRedirect ¶
func (o *ExplorerServiceListVtxosDefault) IsRedirect() bool
IsRedirect returns true when this explorer service list vtxos default response has a 3xx status code
func (*ExplorerServiceListVtxosDefault) IsServerError ¶
func (o *ExplorerServiceListVtxosDefault) IsServerError() bool
IsServerError returns true when this explorer service list vtxos default response has a 5xx status code
func (*ExplorerServiceListVtxosDefault) IsSuccess ¶
func (o *ExplorerServiceListVtxosDefault) IsSuccess() bool
IsSuccess returns true when this explorer service list vtxos default response has a 2xx status code
func (*ExplorerServiceListVtxosDefault) String ¶
func (o *ExplorerServiceListVtxosDefault) String() string
type ExplorerServiceListVtxosOK ¶
type ExplorerServiceListVtxosOK struct {
Payload *models.V1ListVtxosResponse
}
ExplorerServiceListVtxosOK describes a response with status code 200, with default header values.
A successful response.
func NewExplorerServiceListVtxosOK ¶
func NewExplorerServiceListVtxosOK() *ExplorerServiceListVtxosOK
NewExplorerServiceListVtxosOK creates a ExplorerServiceListVtxosOK with default headers values
func (*ExplorerServiceListVtxosOK) Code ¶
func (o *ExplorerServiceListVtxosOK) Code() int
Code gets the status code for the explorer service list vtxos o k response
func (*ExplorerServiceListVtxosOK) Error ¶
func (o *ExplorerServiceListVtxosOK) Error() string
func (*ExplorerServiceListVtxosOK) GetPayload ¶
func (o *ExplorerServiceListVtxosOK) GetPayload() *models.V1ListVtxosResponse
func (*ExplorerServiceListVtxosOK) IsClientError ¶
func (o *ExplorerServiceListVtxosOK) IsClientError() bool
IsClientError returns true when this explorer service list vtxos o k response has a 4xx status code
func (*ExplorerServiceListVtxosOK) IsCode ¶
func (o *ExplorerServiceListVtxosOK) IsCode(code int) bool
IsCode returns true when this explorer service list vtxos o k response a status code equal to that given
func (*ExplorerServiceListVtxosOK) IsRedirect ¶
func (o *ExplorerServiceListVtxosOK) IsRedirect() bool
IsRedirect returns true when this explorer service list vtxos o k response has a 3xx status code
func (*ExplorerServiceListVtxosOK) IsServerError ¶
func (o *ExplorerServiceListVtxosOK) IsServerError() bool
IsServerError returns true when this explorer service list vtxos o k response has a 5xx status code
func (*ExplorerServiceListVtxosOK) IsSuccess ¶
func (o *ExplorerServiceListVtxosOK) IsSuccess() bool
IsSuccess returns true when this explorer service list vtxos o k response has a 2xx status code
func (*ExplorerServiceListVtxosOK) String ¶
func (o *ExplorerServiceListVtxosOK) String() string
type ExplorerServiceListVtxosParams ¶
type ExplorerServiceListVtxosParams struct { // Address. Address string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExplorerServiceListVtxosParams contains all the parameters to send to the API endpoint
for the explorer service list vtxos operation. Typically these are written to a http.Request.
func NewExplorerServiceListVtxosParams ¶
func NewExplorerServiceListVtxosParams() *ExplorerServiceListVtxosParams
NewExplorerServiceListVtxosParams creates a new ExplorerServiceListVtxosParams 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 NewExplorerServiceListVtxosParamsWithContext ¶
func NewExplorerServiceListVtxosParamsWithContext(ctx context.Context) *ExplorerServiceListVtxosParams
NewExplorerServiceListVtxosParamsWithContext creates a new ExplorerServiceListVtxosParams object with the ability to set a context for a request.
func NewExplorerServiceListVtxosParamsWithHTTPClient ¶
func NewExplorerServiceListVtxosParamsWithHTTPClient(client *http.Client) *ExplorerServiceListVtxosParams
NewExplorerServiceListVtxosParamsWithHTTPClient creates a new ExplorerServiceListVtxosParams object with the ability to set a custom HTTPClient for a request.
func NewExplorerServiceListVtxosParamsWithTimeout ¶
func NewExplorerServiceListVtxosParamsWithTimeout(timeout time.Duration) *ExplorerServiceListVtxosParams
NewExplorerServiceListVtxosParamsWithTimeout creates a new ExplorerServiceListVtxosParams object with the ability to set a timeout on a request.
func (*ExplorerServiceListVtxosParams) SetAddress ¶
func (o *ExplorerServiceListVtxosParams) SetAddress(address string)
SetAddress adds the address to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) SetContext ¶
func (o *ExplorerServiceListVtxosParams) SetContext(ctx context.Context)
SetContext adds the context to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) SetDefaults ¶
func (o *ExplorerServiceListVtxosParams) SetDefaults()
SetDefaults hydrates default values in the explorer service list vtxos params (not the query body).
All values with no default are reset to their zero value.
func (*ExplorerServiceListVtxosParams) SetHTTPClient ¶
func (o *ExplorerServiceListVtxosParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) SetTimeout ¶
func (o *ExplorerServiceListVtxosParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) WithAddress ¶
func (o *ExplorerServiceListVtxosParams) WithAddress(address string) *ExplorerServiceListVtxosParams
WithAddress adds the address to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) WithContext ¶
func (o *ExplorerServiceListVtxosParams) WithContext(ctx context.Context) *ExplorerServiceListVtxosParams
WithContext adds the context to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) WithDefaults ¶
func (o *ExplorerServiceListVtxosParams) WithDefaults() *ExplorerServiceListVtxosParams
WithDefaults hydrates default values in the explorer service list vtxos params (not the query body).
All values with no default are reset to their zero value.
func (*ExplorerServiceListVtxosParams) WithHTTPClient ¶
func (o *ExplorerServiceListVtxosParams) WithHTTPClient(client *http.Client) *ExplorerServiceListVtxosParams
WithHTTPClient adds the HTTPClient to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) WithTimeout ¶
func (o *ExplorerServiceListVtxosParams) WithTimeout(timeout time.Duration) *ExplorerServiceListVtxosParams
WithTimeout adds the timeout to the explorer service list vtxos params
func (*ExplorerServiceListVtxosParams) WriteToRequest ¶
func (o *ExplorerServiceListVtxosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExplorerServiceListVtxosReader ¶
type ExplorerServiceListVtxosReader struct {
// contains filtered or unexported fields
}
ExplorerServiceListVtxosReader is a Reader for the ExplorerServiceListVtxos structure.
func (*ExplorerServiceListVtxosReader) ReadResponse ¶
func (o *ExplorerServiceListVtxosReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.