Documentation ¶
Index ¶
- type Client
- func (a *Client) GetVMExportFiles(params *GetVMExportFilesParams, opts ...ClientOption) (*GetVMExportFilesOK, error)
- func (a *Client) GetVMExportFilesConnection(params *GetVMExportFilesConnectionParams, opts ...ClientOption) (*GetVMExportFilesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetVMExportFilesBadRequest
- type GetVMExportFilesConnectionBadRequest
- type GetVMExportFilesConnectionInternalServerError
- type GetVMExportFilesConnectionNotFound
- type GetVMExportFilesConnectionOK
- type GetVMExportFilesConnectionParams
- func NewGetVMExportFilesConnectionParams() *GetVMExportFilesConnectionParams
- func NewGetVMExportFilesConnectionParamsWithContext(ctx context.Context) *GetVMExportFilesConnectionParams
- func NewGetVMExportFilesConnectionParamsWithHTTPClient(client *http.Client) *GetVMExportFilesConnectionParams
- func NewGetVMExportFilesConnectionParamsWithTimeout(timeout time.Duration) *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMExportFilesConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMExportFilesConnectionParams) SetDefaults()
- func (o *GetVMExportFilesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMExportFilesConnectionParams) SetRequestBody(requestBody *models.GetVMExportFilesConnectionRequestBody)
- func (o *GetVMExportFilesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMExportFilesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) WithContext(ctx context.Context) *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) WithDefaults() *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) WithHTTPClient(client *http.Client) *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) WithRequestBody(requestBody *models.GetVMExportFilesConnectionRequestBody) *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) WithTimeout(timeout time.Duration) *GetVMExportFilesConnectionParams
- func (o *GetVMExportFilesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMExportFilesConnectionReader
- type GetVMExportFilesInternalServerError
- type GetVMExportFilesNotFound
- type GetVMExportFilesOK
- type GetVMExportFilesParams
- func NewGetVMExportFilesParams() *GetVMExportFilesParams
- func NewGetVMExportFilesParamsWithContext(ctx context.Context) *GetVMExportFilesParams
- func NewGetVMExportFilesParamsWithHTTPClient(client *http.Client) *GetVMExportFilesParams
- func NewGetVMExportFilesParamsWithTimeout(timeout time.Duration) *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMExportFilesParams) SetContext(ctx context.Context)
- func (o *GetVMExportFilesParams) SetDefaults()
- func (o *GetVMExportFilesParams) SetHTTPClient(client *http.Client)
- func (o *GetVMExportFilesParams) SetRequestBody(requestBody *models.GetVMExportFilesRequestBody)
- func (o *GetVMExportFilesParams) SetTimeout(timeout time.Duration)
- func (o *GetVMExportFilesParams) WithContentLanguage(contentLanguage *string) *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) WithContext(ctx context.Context) *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) WithDefaults() *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) WithHTTPClient(client *http.Client) *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) WithRequestBody(requestBody *models.GetVMExportFilesRequestBody) *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) WithTimeout(timeout time.Duration) *GetVMExportFilesParams
- func (o *GetVMExportFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMExportFilesReader
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 ¶
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 (o *GetVMExportFilesBadRequest) Error() string
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 (o *GetVMExportFilesConnectionBadRequest) Error() string
func (*GetVMExportFilesConnectionBadRequest) GetPayload ¶
func (o *GetVMExportFilesConnectionBadRequest) GetPayload() *models.ErrorBody
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 (o *GetVMExportFilesConnectionInternalServerError) Error() string
func (*GetVMExportFilesConnectionInternalServerError) GetPayload ¶
func (o *GetVMExportFilesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVMExportFilesConnectionNotFound ¶
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 (o *GetVMExportFilesConnectionNotFound) Error() string
func (*GetVMExportFilesConnectionNotFound) GetPayload ¶
func (o *GetVMExportFilesConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetVMExportFilesConnectionOK) Error() string
func (*GetVMExportFilesConnectionOK) GetPayload ¶
func (o *GetVMExportFilesConnectionOK) GetPayload() *models.VMExportFileConnection
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 ¶
func (o *GetVMExportFilesConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetVMExportFilesConnectionParams) SetRequestBody(requestBody *models.GetVMExportFilesConnectionRequestBody)
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 ¶
func (o *GetVMExportFilesConnectionParams) WithContext(ctx context.Context) *GetVMExportFilesConnectionParams
WithContext adds the context to the get Vm export files connection params
func (*GetVMExportFilesConnectionParams) WithDefaults ¶
func (o *GetVMExportFilesConnectionParams) WithDefaults() *GetVMExportFilesConnectionParams
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 ¶
func (o *GetVMExportFilesConnectionParams) WithHTTPClient(client *http.Client) *GetVMExportFilesConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm export files connection params
func (*GetVMExportFilesConnectionParams) WithRequestBody ¶
func (o *GetVMExportFilesConnectionParams) WithRequestBody(requestBody *models.GetVMExportFilesConnectionRequestBody) *GetVMExportFilesConnectionParams
WithRequestBody adds the requestBody to the get Vm export files connection params
func (*GetVMExportFilesConnectionParams) WithTimeout ¶
func (o *GetVMExportFilesConnectionParams) WithTimeout(timeout time.Duration) *GetVMExportFilesConnectionParams
WithTimeout adds the timeout to the get Vm export files connection params
func (*GetVMExportFilesConnectionParams) WriteToRequest ¶
func (o *GetVMExportFilesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetVMExportFilesInternalServerError) Error() string
func (*GetVMExportFilesInternalServerError) GetPayload ¶
func (o *GetVMExportFilesInternalServerError) GetPayload() *models.ErrorBody
type GetVMExportFilesNotFound ¶
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 ¶
func (o *GetVMExportFilesParams) WithContext(ctx context.Context) *GetVMExportFilesParams
WithContext adds the context to the get Vm export files params
func (*GetVMExportFilesParams) WithDefaults ¶
func (o *GetVMExportFilesParams) WithDefaults() *GetVMExportFilesParams
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 ¶
func (o *GetVMExportFilesParams) WithRequestBody(requestBody *models.GetVMExportFilesRequestBody) *GetVMExportFilesParams
WithRequestBody adds the requestBody to the get Vm export files params
func (*GetVMExportFilesParams) WithTimeout ¶
func (o *GetVMExportFilesParams) WithTimeout(timeout time.Duration) *GetVMExportFilesParams
WithTimeout adds the timeout to the get Vm export files params
func (*GetVMExportFilesParams) WriteToRequest ¶
func (o *GetVMExportFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.