Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudSapGetall(params *PcloudSapGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudSapGetallOK, error)
- func (a *Client) PcloudSapPost(params *PcloudSapPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudSapPostOK, *PcloudSapPostCreated, *PcloudSapPostAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudSapGetallBadRequest
- type PcloudSapGetallInternalServerError
- type PcloudSapGetallOK
- type PcloudSapGetallParams
- func NewPcloudSapGetallParams() *PcloudSapGetallParams
- func NewPcloudSapGetallParamsWithContext(ctx context.Context) *PcloudSapGetallParams
- func NewPcloudSapGetallParamsWithHTTPClient(client *http.Client) *PcloudSapGetallParams
- func NewPcloudSapGetallParamsWithTimeout(timeout time.Duration) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSapGetallParams) SetContext(ctx context.Context)
- func (o *PcloudSapGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSapGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSapGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithContext(ctx context.Context) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithHTTPClient(client *http.Client) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithTimeout(timeout time.Duration) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSapGetallReader
- type PcloudSapPostAccepted
- type PcloudSapPostBadRequest
- type PcloudSapPostConflict
- type PcloudSapPostCreated
- type PcloudSapPostInternalServerError
- type PcloudSapPostOK
- type PcloudSapPostParams
- func (o *PcloudSapPostParams) SetBody(body *models.SAPCreate)
- func (o *PcloudSapPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSapPostParams) SetContext(ctx context.Context)
- func (o *PcloudSapPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSapPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSapPostParams) WithBody(body *models.SAPCreate) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithContext(ctx context.Context) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithHTTPClient(client *http.Client) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithTimeout(timeout time.Duration) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSapPostReader
- type PcloudSapPostUnprocessableEntity
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 s a p API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud s a p API client.
func (*Client) PcloudSapGetall ¶
func (a *Client) PcloudSapGetall(params *PcloudSapGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudSapGetallOK, error)
PcloudSapGetall gets list of s a p profiles
func (*Client) PcloudSapPost ¶
func (a *Client) PcloudSapPost(params *PcloudSapPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudSapPostOK, *PcloudSapPostCreated, *PcloudSapPostAccepted, error)
PcloudSapPost creates a new s a p p VM instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudSapGetallBadRequest ¶
PcloudSapGetallBadRequest handles this case with default header values.
Bad Request
func NewPcloudSapGetallBadRequest ¶
func NewPcloudSapGetallBadRequest() *PcloudSapGetallBadRequest
NewPcloudSapGetallBadRequest creates a PcloudSapGetallBadRequest with default headers values
func (*PcloudSapGetallBadRequest) Error ¶
func (o *PcloudSapGetallBadRequest) Error() string
type PcloudSapGetallInternalServerError ¶
PcloudSapGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudSapGetallInternalServerError ¶
func NewPcloudSapGetallInternalServerError() *PcloudSapGetallInternalServerError
NewPcloudSapGetallInternalServerError creates a PcloudSapGetallInternalServerError with default headers values
func (*PcloudSapGetallInternalServerError) Error ¶
func (o *PcloudSapGetallInternalServerError) Error() string
type PcloudSapGetallOK ¶
type PcloudSapGetallOK struct {
Payload *models.SAPProfiles
}
PcloudSapGetallOK handles this case with default header values.
OK
func NewPcloudSapGetallOK ¶
func NewPcloudSapGetallOK() *PcloudSapGetallOK
NewPcloudSapGetallOK creates a PcloudSapGetallOK with default headers values
func (*PcloudSapGetallOK) Error ¶
func (o *PcloudSapGetallOK) Error() string
type PcloudSapGetallParams ¶
type PcloudSapGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSapGetallParams contains all the parameters to send to the API endpoint for the pcloud sap getall operation typically these are written to a http.Request
func NewPcloudSapGetallParams ¶
func NewPcloudSapGetallParams() *PcloudSapGetallParams
NewPcloudSapGetallParams creates a new PcloudSapGetallParams object with the default values initialized.
func NewPcloudSapGetallParamsWithContext ¶
func NewPcloudSapGetallParamsWithContext(ctx context.Context) *PcloudSapGetallParams
NewPcloudSapGetallParamsWithContext creates a new PcloudSapGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudSapGetallParamsWithHTTPClient ¶
func NewPcloudSapGetallParamsWithHTTPClient(client *http.Client) *PcloudSapGetallParams
NewPcloudSapGetallParamsWithHTTPClient creates a new PcloudSapGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudSapGetallParamsWithTimeout ¶
func NewPcloudSapGetallParamsWithTimeout(timeout time.Duration) *PcloudSapGetallParams
NewPcloudSapGetallParamsWithTimeout creates a new PcloudSapGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudSapGetallParams) SetCloudInstanceID ¶
func (o *PcloudSapGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sap getall params
func (*PcloudSapGetallParams) SetContext ¶
func (o *PcloudSapGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sap getall params
func (*PcloudSapGetallParams) SetHTTPClient ¶
func (o *PcloudSapGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sap getall params
func (*PcloudSapGetallParams) SetTimeout ¶
func (o *PcloudSapGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sap getall params
func (*PcloudSapGetallParams) WithCloudInstanceID ¶
func (o *PcloudSapGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sap getall params
func (*PcloudSapGetallParams) WithContext ¶
func (o *PcloudSapGetallParams) WithContext(ctx context.Context) *PcloudSapGetallParams
WithContext adds the context to the pcloud sap getall params
func (*PcloudSapGetallParams) WithHTTPClient ¶
func (o *PcloudSapGetallParams) WithHTTPClient(client *http.Client) *PcloudSapGetallParams
WithHTTPClient adds the HTTPClient to the pcloud sap getall params
func (*PcloudSapGetallParams) WithTimeout ¶
func (o *PcloudSapGetallParams) WithTimeout(timeout time.Duration) *PcloudSapGetallParams
WithTimeout adds the timeout to the pcloud sap getall params
func (*PcloudSapGetallParams) WriteToRequest ¶
func (o *PcloudSapGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSapGetallReader ¶
type PcloudSapGetallReader struct {
// contains filtered or unexported fields
}
PcloudSapGetallReader is a Reader for the PcloudSapGetall structure.
func (*PcloudSapGetallReader) ReadResponse ¶
func (o *PcloudSapGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSapPostAccepted ¶
type PcloudSapPostAccepted struct {
Payload models.PVMInstanceList
}
PcloudSapPostAccepted handles this case with default header values.
Accepted
func NewPcloudSapPostAccepted ¶
func NewPcloudSapPostAccepted() *PcloudSapPostAccepted
NewPcloudSapPostAccepted creates a PcloudSapPostAccepted with default headers values
func (*PcloudSapPostAccepted) Error ¶
func (o *PcloudSapPostAccepted) Error() string
type PcloudSapPostBadRequest ¶
PcloudSapPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudSapPostBadRequest ¶
func NewPcloudSapPostBadRequest() *PcloudSapPostBadRequest
NewPcloudSapPostBadRequest creates a PcloudSapPostBadRequest with default headers values
func (*PcloudSapPostBadRequest) Error ¶
func (o *PcloudSapPostBadRequest) Error() string
type PcloudSapPostConflict ¶
PcloudSapPostConflict handles this case with default header values.
Conflict
func NewPcloudSapPostConflict ¶
func NewPcloudSapPostConflict() *PcloudSapPostConflict
NewPcloudSapPostConflict creates a PcloudSapPostConflict with default headers values
func (*PcloudSapPostConflict) Error ¶
func (o *PcloudSapPostConflict) Error() string
type PcloudSapPostCreated ¶
type PcloudSapPostCreated struct {
Payload models.PVMInstanceList
}
PcloudSapPostCreated handles this case with default header values.
Created
func NewPcloudSapPostCreated ¶
func NewPcloudSapPostCreated() *PcloudSapPostCreated
NewPcloudSapPostCreated creates a PcloudSapPostCreated with default headers values
func (*PcloudSapPostCreated) Error ¶
func (o *PcloudSapPostCreated) Error() string
type PcloudSapPostInternalServerError ¶
PcloudSapPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudSapPostInternalServerError ¶
func NewPcloudSapPostInternalServerError() *PcloudSapPostInternalServerError
NewPcloudSapPostInternalServerError creates a PcloudSapPostInternalServerError with default headers values
func (*PcloudSapPostInternalServerError) Error ¶
func (o *PcloudSapPostInternalServerError) Error() string
type PcloudSapPostOK ¶
type PcloudSapPostOK struct {
Payload models.PVMInstanceList
}
PcloudSapPostOK handles this case with default header values.
OK
func NewPcloudSapPostOK ¶
func NewPcloudSapPostOK() *PcloudSapPostOK
NewPcloudSapPostOK creates a PcloudSapPostOK with default headers values
func (*PcloudSapPostOK) Error ¶
func (o *PcloudSapPostOK) Error() string
type PcloudSapPostParams ¶
type PcloudSapPostParams struct { /*Body Parameters for the creation of a new SAP PVM Instance */ Body *models.SAPCreate /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudSapPostParams contains all the parameters to send to the API endpoint for the pcloud sap post operation typically these are written to a http.Request
func NewPcloudSapPostParams ¶
func NewPcloudSapPostParams() *PcloudSapPostParams
NewPcloudSapPostParams creates a new PcloudSapPostParams object with the default values initialized.
func NewPcloudSapPostParamsWithContext ¶
func NewPcloudSapPostParamsWithContext(ctx context.Context) *PcloudSapPostParams
NewPcloudSapPostParamsWithContext creates a new PcloudSapPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudSapPostParamsWithHTTPClient ¶
func NewPcloudSapPostParamsWithHTTPClient(client *http.Client) *PcloudSapPostParams
NewPcloudSapPostParamsWithHTTPClient creates a new PcloudSapPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudSapPostParamsWithTimeout ¶
func NewPcloudSapPostParamsWithTimeout(timeout time.Duration) *PcloudSapPostParams
NewPcloudSapPostParamsWithTimeout creates a new PcloudSapPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudSapPostParams) SetBody ¶
func (o *PcloudSapPostParams) SetBody(body *models.SAPCreate)
SetBody adds the body to the pcloud sap post params
func (*PcloudSapPostParams) SetCloudInstanceID ¶
func (o *PcloudSapPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud sap post params
func (*PcloudSapPostParams) SetContext ¶
func (o *PcloudSapPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud sap post params
func (*PcloudSapPostParams) SetHTTPClient ¶
func (o *PcloudSapPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud sap post params
func (*PcloudSapPostParams) SetTimeout ¶
func (o *PcloudSapPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud sap post params
func (*PcloudSapPostParams) WithBody ¶
func (o *PcloudSapPostParams) WithBody(body *models.SAPCreate) *PcloudSapPostParams
WithBody adds the body to the pcloud sap post params
func (*PcloudSapPostParams) WithCloudInstanceID ¶
func (o *PcloudSapPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud sap post params
func (*PcloudSapPostParams) WithContext ¶
func (o *PcloudSapPostParams) WithContext(ctx context.Context) *PcloudSapPostParams
WithContext adds the context to the pcloud sap post params
func (*PcloudSapPostParams) WithHTTPClient ¶
func (o *PcloudSapPostParams) WithHTTPClient(client *http.Client) *PcloudSapPostParams
WithHTTPClient adds the HTTPClient to the pcloud sap post params
func (*PcloudSapPostParams) WithTimeout ¶
func (o *PcloudSapPostParams) WithTimeout(timeout time.Duration) *PcloudSapPostParams
WithTimeout adds the timeout to the pcloud sap post params
func (*PcloudSapPostParams) WriteToRequest ¶
func (o *PcloudSapPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudSapPostReader ¶
type PcloudSapPostReader struct {
// contains filtered or unexported fields
}
PcloudSapPostReader is a Reader for the PcloudSapPost structure.
func (*PcloudSapPostReader) ReadResponse ¶
func (o *PcloudSapPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudSapPostUnprocessableEntity ¶
PcloudSapPostUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudSapPostUnprocessableEntity ¶
func NewPcloudSapPostUnprocessableEntity() *PcloudSapPostUnprocessableEntity
NewPcloudSapPostUnprocessableEntity creates a PcloudSapPostUnprocessableEntity with default headers values
func (*PcloudSapPostUnprocessableEntity) Error ¶
func (o *PcloudSapPostUnprocessableEntity) Error() string