snapshot_plan_task

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC 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 *models.ErrorBody
}
GetSnapshotPlanTasksBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetSnapshotPlanTasksBadRequest

func NewGetSnapshotPlanTasksBadRequest() *GetSnapshotPlanTasksBadRequest

NewGetSnapshotPlanTasksBadRequest creates a GetSnapshotPlanTasksBadRequest with default headers values

func (*GetSnapshotPlanTasksBadRequest) Error

func (*GetSnapshotPlanTasksBadRequest) GetPayload

type GetSnapshotPlanTasksConnectionBadRequest

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

Bad request

func NewGetSnapshotPlanTasksConnectionBadRequest

func NewGetSnapshotPlanTasksConnectionBadRequest() *GetSnapshotPlanTasksConnectionBadRequest

NewGetSnapshotPlanTasksConnectionBadRequest creates a GetSnapshotPlanTasksConnectionBadRequest with default headers values

func (*GetSnapshotPlanTasksConnectionBadRequest) Error

func (*GetSnapshotPlanTasksConnectionBadRequest) GetPayload

type GetSnapshotPlanTasksConnectionInternalServerError added in v1.10.0

type GetSnapshotPlanTasksConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetSnapshotPlanTasksConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetSnapshotPlanTasksConnectionInternalServerError added in v1.10.0

func NewGetSnapshotPlanTasksConnectionInternalServerError() *GetSnapshotPlanTasksConnectionInternalServerError

NewGetSnapshotPlanTasksConnectionInternalServerError creates a GetSnapshotPlanTasksConnectionInternalServerError with default headers values

func (*GetSnapshotPlanTasksConnectionInternalServerError) Error added in v1.10.0

func (*GetSnapshotPlanTasksConnectionInternalServerError) GetPayload added in v1.10.0

type GetSnapshotPlanTasksConnectionNotFound added in v1.10.0

type GetSnapshotPlanTasksConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetSnapshotPlanTasksConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSnapshotPlanTasksConnectionNotFound added in v1.10.0

func NewGetSnapshotPlanTasksConnectionNotFound() *GetSnapshotPlanTasksConnectionNotFound

NewGetSnapshotPlanTasksConnectionNotFound creates a GetSnapshotPlanTasksConnectionNotFound with default headers values

func (*GetSnapshotPlanTasksConnectionNotFound) Error added in v1.10.0

func (*GetSnapshotPlanTasksConnectionNotFound) GetPayload added in v1.10.0

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 GetSnapshotPlanTasksInternalServerError added in v1.10.0

type GetSnapshotPlanTasksInternalServerError struct {
	Payload *models.ErrorBody
}
GetSnapshotPlanTasksInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetSnapshotPlanTasksInternalServerError added in v1.10.0

func NewGetSnapshotPlanTasksInternalServerError() *GetSnapshotPlanTasksInternalServerError

NewGetSnapshotPlanTasksInternalServerError creates a GetSnapshotPlanTasksInternalServerError with default headers values

func (*GetSnapshotPlanTasksInternalServerError) Error added in v1.10.0

func (*GetSnapshotPlanTasksInternalServerError) GetPayload added in v1.10.0

type GetSnapshotPlanTasksNotFound added in v1.10.0

type GetSnapshotPlanTasksNotFound struct {
	Payload *models.ErrorBody
}
GetSnapshotPlanTasksNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSnapshotPlanTasksNotFound added in v1.10.0

func NewGetSnapshotPlanTasksNotFound() *GetSnapshotPlanTasksNotFound

NewGetSnapshotPlanTasksNotFound creates a GetSnapshotPlanTasksNotFound with default headers values

func (*GetSnapshotPlanTasksNotFound) Error added in v1.10.0

func (*GetSnapshotPlanTasksNotFound) GetPayload added in v1.10.0

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