Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, ...) (*PcloudCloudinstancesJobsDeleteOK, error)
- func (a *Client) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, ...) (*PcloudCloudinstancesJobsGetOK, error)
- func (a *Client) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, ...) (*PcloudCloudinstancesJobsGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudCloudinstancesJobsDeleteBadRequest
- type PcloudCloudinstancesJobsDeleteConflict
- type PcloudCloudinstancesJobsDeleteInternalServerError
- type PcloudCloudinstancesJobsDeleteNotFound
- type PcloudCloudinstancesJobsDeleteOK
- type PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParams() *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetJobID(jobID string)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithJobID(jobID string) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsDeleteReader
- type PcloudCloudinstancesJobsDeleteUnauthorized
- type PcloudCloudinstancesJobsGetBadRequest
- type PcloudCloudinstancesJobsGetInternalServerError
- type PcloudCloudinstancesJobsGetNotFound
- type PcloudCloudinstancesJobsGetOK
- type PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParams() *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsGetParams) SetJobID(jobID string)
- func (o *PcloudCloudinstancesJobsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithJobID(jobID string) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsGetReader
- type PcloudCloudinstancesJobsGetUnauthorized
- type PcloudCloudinstancesJobsGetallBadRequest
- type PcloudCloudinstancesJobsGetallInternalServerError
- type PcloudCloudinstancesJobsGetallNotFound
- type PcloudCloudinstancesJobsGetallOK
- type PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParams() *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationAction(operationAction *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationID(operationID *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationTarget(operationTarget *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationAction(operationAction *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationID(operationID *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationTarget(operationTarget *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsGetallReader
- type PcloudCloudinstancesJobsGetallUnauthorized
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 p cloud jobs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud jobs API client.
func (*Client) PcloudCloudinstancesJobsDelete ¶
func (a *Client) PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesJobsDeleteOK, error)
PcloudCloudinstancesJobsDelete deletes a cloud instance job
func (*Client) PcloudCloudinstancesJobsGet ¶
func (a *Client) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesJobsGetOK, error)
PcloudCloudinstancesJobsGet lists the detail of a job
func (*Client) PcloudCloudinstancesJobsGetall ¶
func (a *Client) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesJobsGetallOK, error)
PcloudCloudinstancesJobsGetall lists up to the last 5 jobs initiated by the cloud instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudCloudinstancesJobsDeleteBadRequest ¶
PcloudCloudinstancesJobsDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesJobsDeleteBadRequest ¶
func NewPcloudCloudinstancesJobsDeleteBadRequest() *PcloudCloudinstancesJobsDeleteBadRequest
NewPcloudCloudinstancesJobsDeleteBadRequest creates a PcloudCloudinstancesJobsDeleteBadRequest with default headers values
func (*PcloudCloudinstancesJobsDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsDeleteBadRequest) Error() string
type PcloudCloudinstancesJobsDeleteConflict ¶
PcloudCloudinstancesJobsDeleteConflict handles this case with default header values.
Conflict
func NewPcloudCloudinstancesJobsDeleteConflict ¶
func NewPcloudCloudinstancesJobsDeleteConflict() *PcloudCloudinstancesJobsDeleteConflict
NewPcloudCloudinstancesJobsDeleteConflict creates a PcloudCloudinstancesJobsDeleteConflict with default headers values
func (*PcloudCloudinstancesJobsDeleteConflict) Error ¶
func (o *PcloudCloudinstancesJobsDeleteConflict) Error() string
type PcloudCloudinstancesJobsDeleteInternalServerError ¶
PcloudCloudinstancesJobsDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsDeleteInternalServerError ¶
func NewPcloudCloudinstancesJobsDeleteInternalServerError() *PcloudCloudinstancesJobsDeleteInternalServerError
NewPcloudCloudinstancesJobsDeleteInternalServerError creates a PcloudCloudinstancesJobsDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesJobsDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Error() string
type PcloudCloudinstancesJobsDeleteNotFound ¶
PcloudCloudinstancesJobsDeleteNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesJobsDeleteNotFound ¶
func NewPcloudCloudinstancesJobsDeleteNotFound() *PcloudCloudinstancesJobsDeleteNotFound
NewPcloudCloudinstancesJobsDeleteNotFound creates a PcloudCloudinstancesJobsDeleteNotFound with default headers values
func (*PcloudCloudinstancesJobsDeleteNotFound) Error ¶
func (o *PcloudCloudinstancesJobsDeleteNotFound) Error() string
type PcloudCloudinstancesJobsDeleteOK ¶
PcloudCloudinstancesJobsDeleteOK handles this case with default header values.
OK
func NewPcloudCloudinstancesJobsDeleteOK ¶
func NewPcloudCloudinstancesJobsDeleteOK() *PcloudCloudinstancesJobsDeleteOK
NewPcloudCloudinstancesJobsDeleteOK creates a PcloudCloudinstancesJobsDeleteOK with default headers values
func (*PcloudCloudinstancesJobsDeleteOK) Error ¶
func (o *PcloudCloudinstancesJobsDeleteOK) Error() string
type PcloudCloudinstancesJobsDeleteParams ¶
type PcloudCloudinstancesJobsDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*JobID PCloud Job ID */ JobID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsDeleteParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances jobs delete operation typically these are written to a http.Request
func NewPcloudCloudinstancesJobsDeleteParams ¶
func NewPcloudCloudinstancesJobsDeleteParams() *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParams creates a new PcloudCloudinstancesJobsDeleteParams object with the default values initialized.
func NewPcloudCloudinstancesJobsDeleteParamsWithContext ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithContext creates a new PcloudCloudinstancesJobsDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesJobsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithTimeout creates a new PcloudCloudinstancesJobsDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetJobID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetJobID(jobID string)
SetJobID adds the jobId to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
WithContext adds the context to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithJobID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithJobID(jobID string) *PcloudCloudinstancesJobsDeleteParams
WithJobID adds the jobID to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsDeleteReader ¶
type PcloudCloudinstancesJobsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsDeleteReader is a Reader for the PcloudCloudinstancesJobsDelete structure.
func (*PcloudCloudinstancesJobsDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsDeleteUnauthorized ¶
type PcloudCloudinstancesJobsDeleteUnauthorized struct {
}PcloudCloudinstancesJobsDeleteUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsDeleteUnauthorized ¶
func NewPcloudCloudinstancesJobsDeleteUnauthorized() *PcloudCloudinstancesJobsDeleteUnauthorized
NewPcloudCloudinstancesJobsDeleteUnauthorized creates a PcloudCloudinstancesJobsDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesJobsDeleteUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Error() string
type PcloudCloudinstancesJobsGetBadRequest ¶
PcloudCloudinstancesJobsGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesJobsGetBadRequest ¶
func NewPcloudCloudinstancesJobsGetBadRequest() *PcloudCloudinstancesJobsGetBadRequest
NewPcloudCloudinstancesJobsGetBadRequest creates a PcloudCloudinstancesJobsGetBadRequest with default headers values
func (*PcloudCloudinstancesJobsGetBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsGetBadRequest) Error() string
type PcloudCloudinstancesJobsGetInternalServerError ¶
PcloudCloudinstancesJobsGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsGetInternalServerError ¶
func NewPcloudCloudinstancesJobsGetInternalServerError() *PcloudCloudinstancesJobsGetInternalServerError
NewPcloudCloudinstancesJobsGetInternalServerError creates a PcloudCloudinstancesJobsGetInternalServerError with default headers values
func (*PcloudCloudinstancesJobsGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsGetInternalServerError) Error() string
type PcloudCloudinstancesJobsGetNotFound ¶
PcloudCloudinstancesJobsGetNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesJobsGetNotFound ¶
func NewPcloudCloudinstancesJobsGetNotFound() *PcloudCloudinstancesJobsGetNotFound
NewPcloudCloudinstancesJobsGetNotFound creates a PcloudCloudinstancesJobsGetNotFound with default headers values
func (*PcloudCloudinstancesJobsGetNotFound) Error ¶
func (o *PcloudCloudinstancesJobsGetNotFound) Error() string
type PcloudCloudinstancesJobsGetOK ¶
PcloudCloudinstancesJobsGetOK handles this case with default header values.
OK
func NewPcloudCloudinstancesJobsGetOK ¶
func NewPcloudCloudinstancesJobsGetOK() *PcloudCloudinstancesJobsGetOK
NewPcloudCloudinstancesJobsGetOK creates a PcloudCloudinstancesJobsGetOK with default headers values
func (*PcloudCloudinstancesJobsGetOK) Error ¶
func (o *PcloudCloudinstancesJobsGetOK) Error() string
type PcloudCloudinstancesJobsGetParams ¶
type PcloudCloudinstancesJobsGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*JobID PCloud Job ID */ JobID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances jobs get operation typically these are written to a http.Request
func NewPcloudCloudinstancesJobsGetParams ¶
func NewPcloudCloudinstancesJobsGetParams() *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParams creates a new PcloudCloudinstancesJobsGetParams object with the default values initialized.
func NewPcloudCloudinstancesJobsGetParamsWithContext ¶
func NewPcloudCloudinstancesJobsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithContext creates a new PcloudCloudinstancesJobsGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithHTTPClient creates a new PcloudCloudinstancesJobsGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesJobsGetParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithTimeout creates a new PcloudCloudinstancesJobsGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesJobsGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetContext ¶
func (o *PcloudCloudinstancesJobsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetJobID ¶
func (o *PcloudCloudinstancesJobsGetParams) SetJobID(jobID string)
SetJobID adds the jobId to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithContext ¶
func (o *PcloudCloudinstancesJobsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
WithContext adds the context to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithJobID ¶
func (o *PcloudCloudinstancesJobsGetParams) WithJobID(jobID string) *PcloudCloudinstancesJobsGetParams
WithJobID adds the jobID to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsGetReader ¶
type PcloudCloudinstancesJobsGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsGetReader is a Reader for the PcloudCloudinstancesJobsGet structure.
func (*PcloudCloudinstancesJobsGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsGetUnauthorized ¶
type PcloudCloudinstancesJobsGetUnauthorized struct {
}PcloudCloudinstancesJobsGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsGetUnauthorized ¶
func NewPcloudCloudinstancesJobsGetUnauthorized() *PcloudCloudinstancesJobsGetUnauthorized
NewPcloudCloudinstancesJobsGetUnauthorized creates a PcloudCloudinstancesJobsGetUnauthorized with default headers values
func (*PcloudCloudinstancesJobsGetUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsGetUnauthorized) Error() string
type PcloudCloudinstancesJobsGetallBadRequest ¶
PcloudCloudinstancesJobsGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudCloudinstancesJobsGetallBadRequest ¶
func NewPcloudCloudinstancesJobsGetallBadRequest() *PcloudCloudinstancesJobsGetallBadRequest
NewPcloudCloudinstancesJobsGetallBadRequest creates a PcloudCloudinstancesJobsGetallBadRequest with default headers values
func (*PcloudCloudinstancesJobsGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsGetallBadRequest) Error() string
type PcloudCloudinstancesJobsGetallInternalServerError ¶
PcloudCloudinstancesJobsGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsGetallInternalServerError ¶
func NewPcloudCloudinstancesJobsGetallInternalServerError() *PcloudCloudinstancesJobsGetallInternalServerError
NewPcloudCloudinstancesJobsGetallInternalServerError creates a PcloudCloudinstancesJobsGetallInternalServerError with default headers values
func (*PcloudCloudinstancesJobsGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsGetallInternalServerError) Error() string
type PcloudCloudinstancesJobsGetallNotFound ¶
PcloudCloudinstancesJobsGetallNotFound handles this case with default header values.
Not Found
func NewPcloudCloudinstancesJobsGetallNotFound ¶
func NewPcloudCloudinstancesJobsGetallNotFound() *PcloudCloudinstancesJobsGetallNotFound
NewPcloudCloudinstancesJobsGetallNotFound creates a PcloudCloudinstancesJobsGetallNotFound with default headers values
func (*PcloudCloudinstancesJobsGetallNotFound) Error ¶
func (o *PcloudCloudinstancesJobsGetallNotFound) Error() string
type PcloudCloudinstancesJobsGetallOK ¶
PcloudCloudinstancesJobsGetallOK handles this case with default header values.
OK
func NewPcloudCloudinstancesJobsGetallOK ¶
func NewPcloudCloudinstancesJobsGetallOK() *PcloudCloudinstancesJobsGetallOK
NewPcloudCloudinstancesJobsGetallOK creates a PcloudCloudinstancesJobsGetallOK with default headers values
func (*PcloudCloudinstancesJobsGetallOK) Error ¶
func (o *PcloudCloudinstancesJobsGetallOK) Error() string
type PcloudCloudinstancesJobsGetallParams ¶
type PcloudCloudinstancesJobsGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*OperationAction Operation action to filter jobs (optional) vmCapture - includes operation action value (vmCapture) imageExport - includes operation action value (imageExport) imageImport - includes operation action value (imageImport) storage - includes operation action values (vmCapture,imageExport,imageImport) */ OperationAction *string /*OperationID Operation ID to filter jobs (optional) */ OperationID *string /*OperationTarget Operation target to filter jobs (optional) */ OperationTarget *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsGetallParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances jobs getall operation typically these are written to a http.Request
func NewPcloudCloudinstancesJobsGetallParams ¶
func NewPcloudCloudinstancesJobsGetallParams() *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParams creates a new PcloudCloudinstancesJobsGetallParams object with the default values initialized.
func NewPcloudCloudinstancesJobsGetallParamsWithContext ¶
func NewPcloudCloudinstancesJobsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithContext creates a new PcloudCloudinstancesJobsGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient creates a new PcloudCloudinstancesJobsGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudCloudinstancesJobsGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithTimeout creates a new PcloudCloudinstancesJobsGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetContext ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationAction ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationAction(operationAction *string)
SetOperationAction adds the operationAction to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationID ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationID(operationID *string)
SetOperationID adds the operationId to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationTarget ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationTarget(operationTarget *string)
SetOperationTarget adds the operationTarget to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithContext ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
WithContext adds the context to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationAction ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationAction(operationAction *string) *PcloudCloudinstancesJobsGetallParams
WithOperationAction adds the operationAction to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationID ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationID(operationID *string) *PcloudCloudinstancesJobsGetallParams
WithOperationID adds the operationID to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationTarget ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationTarget(operationTarget *string) *PcloudCloudinstancesJobsGetallParams
WithOperationTarget adds the operationTarget to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsGetallReader ¶
type PcloudCloudinstancesJobsGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsGetallReader is a Reader for the PcloudCloudinstancesJobsGetall structure.
func (*PcloudCloudinstancesJobsGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsGetallUnauthorized ¶
type PcloudCloudinstancesJobsGetallUnauthorized struct {
}PcloudCloudinstancesJobsGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsGetallUnauthorized ¶
func NewPcloudCloudinstancesJobsGetallUnauthorized() *PcloudCloudinstancesJobsGetallUnauthorized
NewPcloudCloudinstancesJobsGetallUnauthorized creates a PcloudCloudinstancesJobsGetallUnauthorized with default headers values
func (*PcloudCloudinstancesJobsGetallUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsGetallUnauthorized) Error() string
Source Files ¶
- p_cloud_jobs_client.go
- pcloud_cloudinstances_jobs_delete_parameters.go
- pcloud_cloudinstances_jobs_delete_responses.go
- pcloud_cloudinstances_jobs_get_parameters.go
- pcloud_cloudinstances_jobs_get_responses.go
- pcloud_cloudinstances_jobs_getall_parameters.go
- pcloud_cloudinstances_jobs_getall_responses.go