v1operation

package
v1.999.999-b10 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0, BSD-2-Clause 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 v1operation API

func New

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

New creates a new v1operation API client.

func (*Client) GetOperationStatusV1

func (a *Client) GetOperationStatusV1(params *GetOperationStatusV1Params) (*GetOperationStatusV1OK, error)

GetOperationStatusV1 gets the status of an operation

Operation management endpoint

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetOperationStatusV1OK

type GetOperationStatusV1OK struct {
	Payload *model.OperationV1Status
}

GetOperationStatusV1OK handles this case with default header values.

successful operation

func NewGetOperationStatusV1OK

func NewGetOperationStatusV1OK() *GetOperationStatusV1OK

NewGetOperationStatusV1OK creates a GetOperationStatusV1OK with default headers values

func (*GetOperationStatusV1OK) Error

func (o *GetOperationStatusV1OK) Error() string

type GetOperationStatusV1Params

type GetOperationStatusV1Params struct {

	/*OperationID*/
	OperationID string

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

GetOperationStatusV1Params contains all the parameters to send to the API endpoint for the get operation status v1 operation typically these are written to a http.Request

func NewGetOperationStatusV1Params

func NewGetOperationStatusV1Params() *GetOperationStatusV1Params

NewGetOperationStatusV1Params creates a new GetOperationStatusV1Params object with the default values initialized.

func NewGetOperationStatusV1ParamsWithContext

func NewGetOperationStatusV1ParamsWithContext(ctx context.Context) *GetOperationStatusV1Params

NewGetOperationStatusV1ParamsWithContext creates a new GetOperationStatusV1Params object with the default values initialized, and the ability to set a context for a request

func NewGetOperationStatusV1ParamsWithHTTPClient

func NewGetOperationStatusV1ParamsWithHTTPClient(client *http.Client) *GetOperationStatusV1Params

NewGetOperationStatusV1ParamsWithHTTPClient creates a new GetOperationStatusV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOperationStatusV1ParamsWithTimeout

func NewGetOperationStatusV1ParamsWithTimeout(timeout time.Duration) *GetOperationStatusV1Params

NewGetOperationStatusV1ParamsWithTimeout creates a new GetOperationStatusV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*GetOperationStatusV1Params) SetContext

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

SetContext adds the context to the get operation status v1 params

func (*GetOperationStatusV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get operation status v1 params

func (*GetOperationStatusV1Params) SetOperationID

func (o *GetOperationStatusV1Params) SetOperationID(operationID string)

SetOperationID adds the operationId to the get operation status v1 params

func (*GetOperationStatusV1Params) SetTimeout

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

SetTimeout adds the timeout to the get operation status v1 params

func (*GetOperationStatusV1Params) WithContext

WithContext adds the context to the get operation status v1 params

func (*GetOperationStatusV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get operation status v1 params

func (*GetOperationStatusV1Params) WithOperationID

func (o *GetOperationStatusV1Params) WithOperationID(operationID string) *GetOperationStatusV1Params

WithOperationID adds the operationID to the get operation status v1 params

func (*GetOperationStatusV1Params) WithTimeout

WithTimeout adds the timeout to the get operation status v1 params

func (*GetOperationStatusV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOperationStatusV1Reader

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

GetOperationStatusV1Reader is a Reader for the GetOperationStatusV1 structure.

func (*GetOperationStatusV1Reader) ReadResponse

func (o *GetOperationStatusV1Reader) 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