vm_export_file

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 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 vm export file API

func (*Client) GetVMExportFiles

func (a *Client) GetVMExportFiles(params *GetVMExportFilesParams, opts ...ClientOption) (*GetVMExportFilesOK, error)

GetVMExportFiles get Vm export files API

func (*Client) GetVMExportFilesConnection

func (a *Client) GetVMExportFilesConnection(params *GetVMExportFilesConnectionParams, opts ...ClientOption) (*GetVMExportFilesConnectionOK, error)

GetVMExportFilesConnection get Vm export files 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 {
	GetVMExportFiles(params *GetVMExportFilesParams, opts ...ClientOption) (*GetVMExportFilesOK, error)

	GetVMExportFilesConnection(params *GetVMExportFilesConnectionParams, opts ...ClientOption) (*GetVMExportFilesConnectionOK, 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 vm export file API client.

type GetVMExportFilesBadRequest

type GetVMExportFilesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMExportFilesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVMExportFilesBadRequest

func NewGetVMExportFilesBadRequest() *GetVMExportFilesBadRequest

NewGetVMExportFilesBadRequest creates a GetVMExportFilesBadRequest with default headers values

func (*GetVMExportFilesBadRequest) Error

func (*GetVMExportFilesBadRequest) GetPayload

func (o *GetVMExportFilesBadRequest) GetPayload() *models.ErrorBody

type GetVMExportFilesConnectionBadRequest

type GetVMExportFilesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMExportFilesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVMExportFilesConnectionBadRequest

func NewGetVMExportFilesConnectionBadRequest() *GetVMExportFilesConnectionBadRequest

NewGetVMExportFilesConnectionBadRequest creates a GetVMExportFilesConnectionBadRequest with default headers values

func (*GetVMExportFilesConnectionBadRequest) Error

func (*GetVMExportFilesConnectionBadRequest) GetPayload

type GetVMExportFilesConnectionInternalServerError

type GetVMExportFilesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMExportFilesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMExportFilesConnectionInternalServerError

func NewGetVMExportFilesConnectionInternalServerError() *GetVMExportFilesConnectionInternalServerError

NewGetVMExportFilesConnectionInternalServerError creates a GetVMExportFilesConnectionInternalServerError with default headers values

func (*GetVMExportFilesConnectionInternalServerError) Error

func (*GetVMExportFilesConnectionInternalServerError) GetPayload

type GetVMExportFilesConnectionNotFound

type GetVMExportFilesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMExportFilesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMExportFilesConnectionNotFound

func NewGetVMExportFilesConnectionNotFound() *GetVMExportFilesConnectionNotFound

NewGetVMExportFilesConnectionNotFound creates a GetVMExportFilesConnectionNotFound with default headers values

func (*GetVMExportFilesConnectionNotFound) Error

func (*GetVMExportFilesConnectionNotFound) GetPayload

type GetVMExportFilesConnectionOK

type GetVMExportFilesConnectionOK struct {
	XTowerRequestID string

	Payload *models.VMExportFileConnection
}
GetVMExportFilesConnectionOK describes a response with status code 200, with default header values.

GetVMExportFilesConnectionOK get Vm export files connection o k

func NewGetVMExportFilesConnectionOK

func NewGetVMExportFilesConnectionOK() *GetVMExportFilesConnectionOK

NewGetVMExportFilesConnectionOK creates a GetVMExportFilesConnectionOK with default headers values

func (*GetVMExportFilesConnectionOK) Error

func (*GetVMExportFilesConnectionOK) GetPayload

type GetVMExportFilesConnectionParams

type GetVMExportFilesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMExportFilesConnectionRequestBody

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

GetVMExportFilesConnectionParams contains all the parameters to send to the API endpoint

for the get Vm export files connection operation.

Typically these are written to a http.Request.

func NewGetVMExportFilesConnectionParams

func NewGetVMExportFilesConnectionParams() *GetVMExportFilesConnectionParams

NewGetVMExportFilesConnectionParams creates a new GetVMExportFilesConnectionParams 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 NewGetVMExportFilesConnectionParamsWithContext

func NewGetVMExportFilesConnectionParamsWithContext(ctx context.Context) *GetVMExportFilesConnectionParams

NewGetVMExportFilesConnectionParamsWithContext creates a new GetVMExportFilesConnectionParams object with the ability to set a context for a request.

func NewGetVMExportFilesConnectionParamsWithHTTPClient

func NewGetVMExportFilesConnectionParamsWithHTTPClient(client *http.Client) *GetVMExportFilesConnectionParams

NewGetVMExportFilesConnectionParamsWithHTTPClient creates a new GetVMExportFilesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMExportFilesConnectionParamsWithTimeout

func NewGetVMExportFilesConnectionParamsWithTimeout(timeout time.Duration) *GetVMExportFilesConnectionParams

NewGetVMExportFilesConnectionParamsWithTimeout creates a new GetVMExportFilesConnectionParams object with the ability to set a timeout on a request.

func (*GetVMExportFilesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) SetContext

SetContext adds the context to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) SetDefaults

func (o *GetVMExportFilesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get Vm export files connection params (not the query body).

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

func (*GetVMExportFilesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) WithContext

WithContext adds the context to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get Vm export files connection params (not the query body).

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

func (*GetVMExportFilesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm export files connection params

func (*GetVMExportFilesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMExportFilesConnectionReader

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

GetVMExportFilesConnectionReader is a Reader for the GetVMExportFilesConnection structure.

func (*GetVMExportFilesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMExportFilesInternalServerError

type GetVMExportFilesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMExportFilesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMExportFilesInternalServerError

func NewGetVMExportFilesInternalServerError() *GetVMExportFilesInternalServerError

NewGetVMExportFilesInternalServerError creates a GetVMExportFilesInternalServerError with default headers values

func (*GetVMExportFilesInternalServerError) Error

func (*GetVMExportFilesInternalServerError) GetPayload

type GetVMExportFilesNotFound

type GetVMExportFilesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMExportFilesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMExportFilesNotFound

func NewGetVMExportFilesNotFound() *GetVMExportFilesNotFound

NewGetVMExportFilesNotFound creates a GetVMExportFilesNotFound with default headers values

func (*GetVMExportFilesNotFound) Error

func (o *GetVMExportFilesNotFound) Error() string

func (*GetVMExportFilesNotFound) GetPayload

func (o *GetVMExportFilesNotFound) GetPayload() *models.ErrorBody

type GetVMExportFilesOK

type GetVMExportFilesOK struct {
	XTowerRequestID string

	Payload []*models.VMExportFile
}
GetVMExportFilesOK describes a response with status code 200, with default header values.

GetVMExportFilesOK get Vm export files o k

func NewGetVMExportFilesOK

func NewGetVMExportFilesOK() *GetVMExportFilesOK

NewGetVMExportFilesOK creates a GetVMExportFilesOK with default headers values

func (*GetVMExportFilesOK) Error

func (o *GetVMExportFilesOK) Error() string

func (*GetVMExportFilesOK) GetPayload

func (o *GetVMExportFilesOK) GetPayload() []*models.VMExportFile

type GetVMExportFilesParams

type GetVMExportFilesParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMExportFilesRequestBody

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

GetVMExportFilesParams contains all the parameters to send to the API endpoint

for the get Vm export files operation.

Typically these are written to a http.Request.

func NewGetVMExportFilesParams

func NewGetVMExportFilesParams() *GetVMExportFilesParams

NewGetVMExportFilesParams creates a new GetVMExportFilesParams 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 NewGetVMExportFilesParamsWithContext

func NewGetVMExportFilesParamsWithContext(ctx context.Context) *GetVMExportFilesParams

NewGetVMExportFilesParamsWithContext creates a new GetVMExportFilesParams object with the ability to set a context for a request.

func NewGetVMExportFilesParamsWithHTTPClient

func NewGetVMExportFilesParamsWithHTTPClient(client *http.Client) *GetVMExportFilesParams

NewGetVMExportFilesParamsWithHTTPClient creates a new GetVMExportFilesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMExportFilesParamsWithTimeout

func NewGetVMExportFilesParamsWithTimeout(timeout time.Duration) *GetVMExportFilesParams

NewGetVMExportFilesParamsWithTimeout creates a new GetVMExportFilesParams object with the ability to set a timeout on a request.

func (*GetVMExportFilesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm export files params

func (*GetVMExportFilesParams) SetContext

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

SetContext adds the context to the get Vm export files params

func (*GetVMExportFilesParams) SetDefaults

func (o *GetVMExportFilesParams) SetDefaults()

SetDefaults hydrates default values in the get Vm export files params (not the query body).

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

func (*GetVMExportFilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm export files params

func (*GetVMExportFilesParams) SetRequestBody

func (o *GetVMExportFilesParams) SetRequestBody(requestBody *models.GetVMExportFilesRequestBody)

SetRequestBody adds the requestBody to the get Vm export files params

func (*GetVMExportFilesParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm export files params

func (*GetVMExportFilesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm export files params

func (*GetVMExportFilesParams) WithContext

WithContext adds the context to the get Vm export files params

func (*GetVMExportFilesParams) WithDefaults

WithDefaults hydrates default values in the get Vm export files params (not the query body).

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

func (*GetVMExportFilesParams) WithHTTPClient

func (o *GetVMExportFilesParams) WithHTTPClient(client *http.Client) *GetVMExportFilesParams

WithHTTPClient adds the HTTPClient to the get Vm export files params

func (*GetVMExportFilesParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm export files params

func (*GetVMExportFilesParams) WithTimeout

WithTimeout adds the timeout to the get Vm export files params

func (*GetVMExportFilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMExportFilesReader

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

GetVMExportFilesReader is a Reader for the GetVMExportFiles structure.

func (*GetVMExportFilesReader) ReadResponse

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