Documentation ¶
Index ¶
- type Client
- type GetBlockOperationsInternalServerError
- type GetBlockOperationsOK
- type GetBlockOperationsParams
- func NewGetBlockOperationsParams() *GetBlockOperationsParams
- func NewGetBlockOperationsParamsWithContext(ctx context.Context) *GetBlockOperationsParams
- func NewGetBlockOperationsParamsWithHTTPClient(client *http.Client) *GetBlockOperationsParams
- func NewGetBlockOperationsParamsWithTimeout(timeout time.Duration) *GetBlockOperationsParams
- func (o *GetBlockOperationsParams) SetBlock(block string)
- func (o *GetBlockOperationsParams) SetContext(ctx context.Context)
- func (o *GetBlockOperationsParams) SetHTTPClient(client *http.Client)
- func (o *GetBlockOperationsParams) SetTimeout(timeout time.Duration)
- func (o *GetBlockOperationsParams) WithBlock(block string) *GetBlockOperationsParams
- func (o *GetBlockOperationsParams) WithContext(ctx context.Context) *GetBlockOperationsParams
- func (o *GetBlockOperationsParams) WithHTTPClient(client *http.Client) *GetBlockOperationsParams
- func (o *GetBlockOperationsParams) WithTimeout(timeout time.Duration) *GetBlockOperationsParams
- func (o *GetBlockOperationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBlockOperationsReader
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 operations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new operations API client.
func (*Client) GetBlockOperations ¶
func (a *Client) GetBlockOperations(params *GetBlockOperationsParams) (*GetBlockOperationsOK, error)
GetBlockOperations get block operations API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetBlockOperationsInternalServerError ¶
type GetBlockOperationsInternalServerError struct { }
GetBlockOperationsInternalServerError handles this case with default header values.
Internal error
func NewGetBlockOperationsInternalServerError ¶
func NewGetBlockOperationsInternalServerError() *GetBlockOperationsInternalServerError
NewGetBlockOperationsInternalServerError creates a GetBlockOperationsInternalServerError with default headers values
func (*GetBlockOperationsInternalServerError) Error ¶
func (o *GetBlockOperationsInternalServerError) Error() string
type GetBlockOperationsOK ¶
type GetBlockOperationsOK struct {
Payload [][]interface{}
}
GetBlockOperationsOK handles this case with default header values.
Endpoint for contract script
func NewGetBlockOperationsOK ¶
func NewGetBlockOperationsOK() *GetBlockOperationsOK
NewGetBlockOperationsOK creates a GetBlockOperationsOK with default headers values
func (*GetBlockOperationsOK) Error ¶
func (o *GetBlockOperationsOK) Error() string
func (*GetBlockOperationsOK) GetPayload ¶
func (o *GetBlockOperationsOK) GetPayload() [][]interface{}
type GetBlockOperationsParams ¶
type GetBlockOperationsParams struct { /*Block*/ Block string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBlockOperationsParams contains all the parameters to send to the API endpoint for the get block operations operation typically these are written to a http.Request
func NewGetBlockOperationsParams ¶
func NewGetBlockOperationsParams() *GetBlockOperationsParams
NewGetBlockOperationsParams creates a new GetBlockOperationsParams object with the default values initialized.
func NewGetBlockOperationsParamsWithContext ¶
func NewGetBlockOperationsParamsWithContext(ctx context.Context) *GetBlockOperationsParams
NewGetBlockOperationsParamsWithContext creates a new GetBlockOperationsParams object with the default values initialized, and the ability to set a context for a request
func NewGetBlockOperationsParamsWithHTTPClient ¶
func NewGetBlockOperationsParamsWithHTTPClient(client *http.Client) *GetBlockOperationsParams
NewGetBlockOperationsParamsWithHTTPClient creates a new GetBlockOperationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBlockOperationsParamsWithTimeout ¶
func NewGetBlockOperationsParamsWithTimeout(timeout time.Duration) *GetBlockOperationsParams
NewGetBlockOperationsParamsWithTimeout creates a new GetBlockOperationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBlockOperationsParams) SetBlock ¶
func (o *GetBlockOperationsParams) SetBlock(block string)
SetBlock adds the block to the get block operations params
func (*GetBlockOperationsParams) SetContext ¶
func (o *GetBlockOperationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get block operations params
func (*GetBlockOperationsParams) SetHTTPClient ¶
func (o *GetBlockOperationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get block operations params
func (*GetBlockOperationsParams) SetTimeout ¶
func (o *GetBlockOperationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get block operations params
func (*GetBlockOperationsParams) WithBlock ¶
func (o *GetBlockOperationsParams) WithBlock(block string) *GetBlockOperationsParams
WithBlock adds the block to the get block operations params
func (*GetBlockOperationsParams) WithContext ¶
func (o *GetBlockOperationsParams) WithContext(ctx context.Context) *GetBlockOperationsParams
WithContext adds the context to the get block operations params
func (*GetBlockOperationsParams) WithHTTPClient ¶
func (o *GetBlockOperationsParams) WithHTTPClient(client *http.Client) *GetBlockOperationsParams
WithHTTPClient adds the HTTPClient to the get block operations params
func (*GetBlockOperationsParams) WithTimeout ¶
func (o *GetBlockOperationsParams) WithTimeout(timeout time.Duration) *GetBlockOperationsParams
WithTimeout adds the timeout to the get block operations params
func (*GetBlockOperationsParams) WriteToRequest ¶
func (o *GetBlockOperationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBlockOperationsReader ¶
type GetBlockOperationsReader struct {
// contains filtered or unexported fields
}
GetBlockOperationsReader is a Reader for the GetBlockOperations structure.
func (*GetBlockOperationsReader) ReadResponse ¶
func (o *GetBlockOperationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.