snapshot_plan_task

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 snapshot plan task API

func (*Client) GetSnapshotPlanTasks

func (a *Client) GetSnapshotPlanTasks(params *GetSnapshotPlanTasksParams, opts ...ClientOption) (*GetSnapshotPlanTasksOK, error)

GetSnapshotPlanTasks get snapshot plan tasks API

func (*Client) GetSnapshotPlanTasksConnection

func (a *Client) GetSnapshotPlanTasksConnection(params *GetSnapshotPlanTasksConnectionParams, opts ...ClientOption) (*GetSnapshotPlanTasksConnectionOK, error)

GetSnapshotPlanTasksConnection get snapshot plan tasks connection 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 is the option for Client methods

type ClientService

type ClientService interface {
	GetSnapshotPlanTasks(params *GetSnapshotPlanTasksParams, opts ...ClientOption) (*GetSnapshotPlanTasksOK, error)

	GetSnapshotPlanTasksConnection(params *GetSnapshotPlanTasksConnectionParams, opts ...ClientOption) (*GetSnapshotPlanTasksConnectionOK, 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 snapshot plan task API client.

type GetSnapshotPlanTasksBadRequest

type GetSnapshotPlanTasksBadRequest struct {
	Payload string
}
GetSnapshotPlanTasksBadRequest describes a response with status code 400, with default header values.

GetSnapshotPlanTasksBadRequest get snapshot plan tasks bad request

func NewGetSnapshotPlanTasksBadRequest

func NewGetSnapshotPlanTasksBadRequest() *GetSnapshotPlanTasksBadRequest

NewGetSnapshotPlanTasksBadRequest creates a GetSnapshotPlanTasksBadRequest with default headers values

func (*GetSnapshotPlanTasksBadRequest) Error

func (*GetSnapshotPlanTasksBadRequest) GetPayload

func (o *GetSnapshotPlanTasksBadRequest) GetPayload() string

type GetSnapshotPlanTasksConnectionBadRequest

type GetSnapshotPlanTasksConnectionBadRequest struct {
	Payload string
}
GetSnapshotPlanTasksConnectionBadRequest describes a response with status code 400, with default header values.

GetSnapshotPlanTasksConnectionBadRequest get snapshot plan tasks connection bad request

func NewGetSnapshotPlanTasksConnectionBadRequest

func NewGetSnapshotPlanTasksConnectionBadRequest() *GetSnapshotPlanTasksConnectionBadRequest

NewGetSnapshotPlanTasksConnectionBadRequest creates a GetSnapshotPlanTasksConnectionBadRequest with default headers values

func (*GetSnapshotPlanTasksConnectionBadRequest) Error

func (*GetSnapshotPlanTasksConnectionBadRequest) GetPayload

type GetSnapshotPlanTasksConnectionOK

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

Ok

func NewGetSnapshotPlanTasksConnectionOK

func NewGetSnapshotPlanTasksConnectionOK() *GetSnapshotPlanTasksConnectionOK

NewGetSnapshotPlanTasksConnectionOK creates a GetSnapshotPlanTasksConnectionOK with default headers values

func (*GetSnapshotPlanTasksConnectionOK) Error

func (*GetSnapshotPlanTasksConnectionOK) GetPayload

type GetSnapshotPlanTasksConnectionParams

type GetSnapshotPlanTasksConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetSnapshotPlanTasksConnectionRequestBody

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

GetSnapshotPlanTasksConnectionParams contains all the parameters to send to the API endpoint

for the get snapshot plan tasks connection operation.

Typically these are written to a http.Request.

func NewGetSnapshotPlanTasksConnectionParams

func NewGetSnapshotPlanTasksConnectionParams() *GetSnapshotPlanTasksConnectionParams

NewGetSnapshotPlanTasksConnectionParams creates a new GetSnapshotPlanTasksConnectionParams 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 NewGetSnapshotPlanTasksConnectionParamsWithContext

func NewGetSnapshotPlanTasksConnectionParamsWithContext(ctx context.Context) *GetSnapshotPlanTasksConnectionParams

NewGetSnapshotPlanTasksConnectionParamsWithContext creates a new GetSnapshotPlanTasksConnectionParams object with the ability to set a context for a request.

func NewGetSnapshotPlanTasksConnectionParamsWithHTTPClient

func NewGetSnapshotPlanTasksConnectionParamsWithHTTPClient(client *http.Client) *GetSnapshotPlanTasksConnectionParams

NewGetSnapshotPlanTasksConnectionParamsWithHTTPClient creates a new GetSnapshotPlanTasksConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSnapshotPlanTasksConnectionParamsWithTimeout

func NewGetSnapshotPlanTasksConnectionParamsWithTimeout(timeout time.Duration) *GetSnapshotPlanTasksConnectionParams

NewGetSnapshotPlanTasksConnectionParamsWithTimeout creates a new GetSnapshotPlanTasksConnectionParams object with the ability to set a timeout on a request.

func (*GetSnapshotPlanTasksConnectionParams) SetContentLanguage

func (o *GetSnapshotPlanTasksConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) SetContext

SetContext adds the context to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) SetDefaults

func (o *GetSnapshotPlanTasksConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get snapshot plan tasks connection params (not the query body).

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

func (*GetSnapshotPlanTasksConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) WithContentLanguage

func (o *GetSnapshotPlanTasksConnectionParams) WithContentLanguage(contentLanguage *string) *GetSnapshotPlanTasksConnectionParams

WithContentLanguage adds the contentLanguage to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) WithContext

WithContext adds the context to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) WithDefaults

WithDefaults hydrates default values in the get snapshot plan tasks connection params (not the query body).

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

func (*GetSnapshotPlanTasksConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) WithTimeout

WithTimeout adds the timeout to the get snapshot plan tasks connection params

func (*GetSnapshotPlanTasksConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSnapshotPlanTasksConnectionReader

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

GetSnapshotPlanTasksConnectionReader is a Reader for the GetSnapshotPlanTasksConnection structure.

func (*GetSnapshotPlanTasksConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSnapshotPlanTasksOK

type GetSnapshotPlanTasksOK struct {
	Payload []*models.SnapshotPlanTask
}
GetSnapshotPlanTasksOK describes a response with status code 200, with default header values.

Ok

func NewGetSnapshotPlanTasksOK

func NewGetSnapshotPlanTasksOK() *GetSnapshotPlanTasksOK

NewGetSnapshotPlanTasksOK creates a GetSnapshotPlanTasksOK with default headers values

func (*GetSnapshotPlanTasksOK) Error

func (o *GetSnapshotPlanTasksOK) Error() string

func (*GetSnapshotPlanTasksOK) GetPayload

func (o *GetSnapshotPlanTasksOK) GetPayload() []*models.SnapshotPlanTask

type GetSnapshotPlanTasksParams

type GetSnapshotPlanTasksParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetSnapshotPlanTasksRequestBody

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

GetSnapshotPlanTasksParams contains all the parameters to send to the API endpoint

for the get snapshot plan tasks operation.

Typically these are written to a http.Request.

func NewGetSnapshotPlanTasksParams

func NewGetSnapshotPlanTasksParams() *GetSnapshotPlanTasksParams

NewGetSnapshotPlanTasksParams creates a new GetSnapshotPlanTasksParams 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 NewGetSnapshotPlanTasksParamsWithContext

func NewGetSnapshotPlanTasksParamsWithContext(ctx context.Context) *GetSnapshotPlanTasksParams

NewGetSnapshotPlanTasksParamsWithContext creates a new GetSnapshotPlanTasksParams object with the ability to set a context for a request.

func NewGetSnapshotPlanTasksParamsWithHTTPClient

func NewGetSnapshotPlanTasksParamsWithHTTPClient(client *http.Client) *GetSnapshotPlanTasksParams

NewGetSnapshotPlanTasksParamsWithHTTPClient creates a new GetSnapshotPlanTasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetSnapshotPlanTasksParamsWithTimeout

func NewGetSnapshotPlanTasksParamsWithTimeout(timeout time.Duration) *GetSnapshotPlanTasksParams

NewGetSnapshotPlanTasksParamsWithTimeout creates a new GetSnapshotPlanTasksParams object with the ability to set a timeout on a request.

func (*GetSnapshotPlanTasksParams) SetContentLanguage

func (o *GetSnapshotPlanTasksParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) SetContext

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

SetContext adds the context to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) SetDefaults

func (o *GetSnapshotPlanTasksParams) SetDefaults()

SetDefaults hydrates default values in the get snapshot plan tasks params (not the query body).

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

func (*GetSnapshotPlanTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) SetRequestBody

func (o *GetSnapshotPlanTasksParams) SetRequestBody(requestBody *models.GetSnapshotPlanTasksRequestBody)

SetRequestBody adds the requestBody to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) SetTimeout

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

SetTimeout adds the timeout to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) WithContentLanguage

func (o *GetSnapshotPlanTasksParams) WithContentLanguage(contentLanguage *string) *GetSnapshotPlanTasksParams

WithContentLanguage adds the contentLanguage to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) WithContext

WithContext adds the context to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) WithDefaults

WithDefaults hydrates default values in the get snapshot plan tasks params (not the query body).

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

func (*GetSnapshotPlanTasksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) WithRequestBody

WithRequestBody adds the requestBody to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) WithTimeout

WithTimeout adds the timeout to the get snapshot plan tasks params

func (*GetSnapshotPlanTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSnapshotPlanTasksReader

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

GetSnapshotPlanTasksReader is a Reader for the GetSnapshotPlanTasks structure.

func (*GetSnapshotPlanTasksReader) ReadResponse

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