p_cloud_s_a_p

package
v1.0.72 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 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 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) PcloudSapGet added in v1.0.25

func (a *Client) PcloudSapGet(params *PcloudSapGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudSapGetOK, error)

PcloudSapGet gets the information on an s a p profile

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

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 PcloudSapGetBadRequest added in v1.0.25

type PcloudSapGetBadRequest struct {
	Payload *models.Error
}

PcloudSapGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudSapGetBadRequest added in v1.0.25

func NewPcloudSapGetBadRequest() *PcloudSapGetBadRequest

NewPcloudSapGetBadRequest creates a PcloudSapGetBadRequest with default headers values

func (*PcloudSapGetBadRequest) Error added in v1.0.25

func (o *PcloudSapGetBadRequest) Error() string

type PcloudSapGetInternalServerError added in v1.0.25

type PcloudSapGetInternalServerError struct {
	Payload *models.Error
}

PcloudSapGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudSapGetInternalServerError added in v1.0.25

func NewPcloudSapGetInternalServerError() *PcloudSapGetInternalServerError

NewPcloudSapGetInternalServerError creates a PcloudSapGetInternalServerError with default headers values

func (*PcloudSapGetInternalServerError) Error added in v1.0.25

type PcloudSapGetNotFound added in v1.0.25

type PcloudSapGetNotFound struct {
	Payload *models.Error
}

PcloudSapGetNotFound handles this case with default header values.

Not Found

func NewPcloudSapGetNotFound added in v1.0.25

func NewPcloudSapGetNotFound() *PcloudSapGetNotFound

NewPcloudSapGetNotFound creates a PcloudSapGetNotFound with default headers values

func (*PcloudSapGetNotFound) Error added in v1.0.25

func (o *PcloudSapGetNotFound) Error() string

type PcloudSapGetOK added in v1.0.25

type PcloudSapGetOK struct {
	Payload *models.SAPProfile
}

PcloudSapGetOK handles this case with default header values.

OK

func NewPcloudSapGetOK added in v1.0.25

func NewPcloudSapGetOK() *PcloudSapGetOK

NewPcloudSapGetOK creates a PcloudSapGetOK with default headers values

func (*PcloudSapGetOK) Error added in v1.0.25

func (o *PcloudSapGetOK) Error() string

type PcloudSapGetParams added in v1.0.25

type PcloudSapGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*SapProfileID
	  SAP Profile ID

	*/
	SapProfileID string

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

PcloudSapGetParams contains all the parameters to send to the API endpoint for the pcloud sap get operation typically these are written to a http.Request

func NewPcloudSapGetParams added in v1.0.25

func NewPcloudSapGetParams() *PcloudSapGetParams

NewPcloudSapGetParams creates a new PcloudSapGetParams object with the default values initialized.

func NewPcloudSapGetParamsWithContext added in v1.0.25

func NewPcloudSapGetParamsWithContext(ctx context.Context) *PcloudSapGetParams

NewPcloudSapGetParamsWithContext creates a new PcloudSapGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudSapGetParamsWithHTTPClient added in v1.0.25

func NewPcloudSapGetParamsWithHTTPClient(client *http.Client) *PcloudSapGetParams

NewPcloudSapGetParamsWithHTTPClient creates a new PcloudSapGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudSapGetParamsWithTimeout added in v1.0.25

func NewPcloudSapGetParamsWithTimeout(timeout time.Duration) *PcloudSapGetParams

NewPcloudSapGetParamsWithTimeout creates a new PcloudSapGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudSapGetParams) SetCloudInstanceID added in v1.0.25

func (o *PcloudSapGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sap get params

func (*PcloudSapGetParams) SetContext added in v1.0.25

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

SetContext adds the context to the pcloud sap get params

func (*PcloudSapGetParams) SetHTTPClient added in v1.0.25

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

SetHTTPClient adds the HTTPClient to the pcloud sap get params

func (*PcloudSapGetParams) SetSapProfileID added in v1.0.25

func (o *PcloudSapGetParams) SetSapProfileID(sapProfileID string)

SetSapProfileID adds the sapProfileId to the pcloud sap get params

func (*PcloudSapGetParams) SetTimeout added in v1.0.25

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

SetTimeout adds the timeout to the pcloud sap get params

func (*PcloudSapGetParams) WithCloudInstanceID added in v1.0.25

func (o *PcloudSapGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud sap get params

func (*PcloudSapGetParams) WithContext added in v1.0.25

WithContext adds the context to the pcloud sap get params

func (*PcloudSapGetParams) WithHTTPClient added in v1.0.25

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

WithHTTPClient adds the HTTPClient to the pcloud sap get params

func (*PcloudSapGetParams) WithSapProfileID added in v1.0.25

func (o *PcloudSapGetParams) WithSapProfileID(sapProfileID string) *PcloudSapGetParams

WithSapProfileID adds the sapProfileID to the pcloud sap get params

func (*PcloudSapGetParams) WithTimeout added in v1.0.25

func (o *PcloudSapGetParams) WithTimeout(timeout time.Duration) *PcloudSapGetParams

WithTimeout adds the timeout to the pcloud sap get params

func (*PcloudSapGetParams) WriteToRequest added in v1.0.25

func (o *PcloudSapGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PcloudSapGetReader added in v1.0.25

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

PcloudSapGetReader is a Reader for the PcloudSapGet structure.

func (*PcloudSapGetReader) ReadResponse added in v1.0.25

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

ReadResponse reads a server response into the received o.

type PcloudSapGetUnauthorized added in v1.0.59

type PcloudSapGetUnauthorized struct {
	Payload *models.Error
}

PcloudSapGetUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudSapGetUnauthorized added in v1.0.59

func NewPcloudSapGetUnauthorized() *PcloudSapGetUnauthorized

NewPcloudSapGetUnauthorized creates a PcloudSapGetUnauthorized with default headers values

func (*PcloudSapGetUnauthorized) Error added in v1.0.59

func (o *PcloudSapGetUnauthorized) Error() string

type PcloudSapGetallBadRequest

type PcloudSapGetallBadRequest struct {
	Payload *models.Error
}

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

type PcloudSapGetallInternalServerError struct {
	Payload *models.Error
}

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

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

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 PcloudSapGetallUnauthorized added in v1.0.59

type PcloudSapGetallUnauthorized struct {
	Payload *models.Error
}

PcloudSapGetallUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudSapGetallUnauthorized added in v1.0.59

func NewPcloudSapGetallUnauthorized() *PcloudSapGetallUnauthorized

NewPcloudSapGetallUnauthorized creates a PcloudSapGetallUnauthorized with default headers values

func (*PcloudSapGetallUnauthorized) Error added in v1.0.59

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

type PcloudSapPostBadRequest struct {
	Payload *models.Error
}

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

type PcloudSapPostConflict struct {
	Payload *models.Error
}

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

type PcloudSapPostInternalServerError struct {
	Payload *models.Error
}

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

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

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

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 PcloudSapPostUnauthorized added in v1.0.59

type PcloudSapPostUnauthorized struct {
	Payload *models.Error
}

PcloudSapPostUnauthorized handles this case with default header values.

Unauthorized

func NewPcloudSapPostUnauthorized added in v1.0.59

func NewPcloudSapPostUnauthorized() *PcloudSapPostUnauthorized

NewPcloudSapPostUnauthorized creates a PcloudSapPostUnauthorized with default headers values

func (*PcloudSapPostUnauthorized) Error added in v1.0.59

func (o *PcloudSapPostUnauthorized) Error() string

type PcloudSapPostUnprocessableEntity

type PcloudSapPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL