p_cloud_s_a_p

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 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) 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 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 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 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