p_cloud_s_a_p

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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 (*Client) PcloudSapGet added in v1.0.25

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

PcloudSapGet gets the information on an s a p profile

func (*Client) PcloudSapGetall

func (a *Client) PcloudSapGetall(params *PcloudSapGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	PcloudSapGet(params *PcloudSapGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSapGetOK, error)

	PcloudSapGetall(params *PcloudSapGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSapGetallOK, error)

	PcloudSapPost(params *PcloudSapPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSapPostOK, *PcloudSapPostCreated, *PcloudSapPostAccepted, 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 p cloud s a p API client.

type PcloudSapGetBadRequest added in v1.0.25

type PcloudSapGetBadRequest struct {
	Payload *models.Error
}

PcloudSapGetBadRequest describes a response with status code 400, 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) Code added in v1.2.4

func (o *PcloudSapGetBadRequest) Code() int

Code gets the status code for the pcloud sap get bad request response

func (*PcloudSapGetBadRequest) Error added in v1.0.25

func (o *PcloudSapGetBadRequest) Error() string

func (*PcloudSapGetBadRequest) GetPayload added in v1.1.0

func (o *PcloudSapGetBadRequest) GetPayload() *models.Error

func (*PcloudSapGetBadRequest) IsClientError added in v1.2.2

func (o *PcloudSapGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud sap get bad request response has a 4xx status code

func (*PcloudSapGetBadRequest) IsCode added in v1.2.2

func (o *PcloudSapGetBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud sap get bad request response a status code equal to that given

func (*PcloudSapGetBadRequest) IsRedirect added in v1.2.2

func (o *PcloudSapGetBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud sap get bad request response has a 3xx status code

func (*PcloudSapGetBadRequest) IsServerError added in v1.2.2

func (o *PcloudSapGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud sap get bad request response has a 5xx status code

func (*PcloudSapGetBadRequest) IsSuccess added in v1.2.2

func (o *PcloudSapGetBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud sap get bad request response has a 2xx status code

func (*PcloudSapGetBadRequest) String added in v1.2.2

func (o *PcloudSapGetBadRequest) String() string

type PcloudSapGetForbidden added in v1.4.2

type PcloudSapGetForbidden struct {
	Payload *models.Error
}

PcloudSapGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSapGetForbidden added in v1.4.2

func NewPcloudSapGetForbidden() *PcloudSapGetForbidden

NewPcloudSapGetForbidden creates a PcloudSapGetForbidden with default headers values

func (*PcloudSapGetForbidden) Code added in v1.4.2

func (o *PcloudSapGetForbidden) Code() int

Code gets the status code for the pcloud sap get forbidden response

func (*PcloudSapGetForbidden) Error added in v1.4.2

func (o *PcloudSapGetForbidden) Error() string

func (*PcloudSapGetForbidden) GetPayload added in v1.4.2

func (o *PcloudSapGetForbidden) GetPayload() *models.Error

func (*PcloudSapGetForbidden) IsClientError added in v1.4.2

func (o *PcloudSapGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud sap get forbidden response has a 4xx status code

func (*PcloudSapGetForbidden) IsCode added in v1.4.2

func (o *PcloudSapGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud sap get forbidden response a status code equal to that given

func (*PcloudSapGetForbidden) IsRedirect added in v1.4.2

func (o *PcloudSapGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud sap get forbidden response has a 3xx status code

func (*PcloudSapGetForbidden) IsServerError added in v1.4.2

func (o *PcloudSapGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud sap get forbidden response has a 5xx status code

func (*PcloudSapGetForbidden) IsSuccess added in v1.4.2

func (o *PcloudSapGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud sap get forbidden response has a 2xx status code

func (*PcloudSapGetForbidden) String added in v1.4.2

func (o *PcloudSapGetForbidden) String() string

type PcloudSapGetInternalServerError added in v1.0.25

type PcloudSapGetInternalServerError struct {
	Payload *models.Error
}

PcloudSapGetInternalServerError describes a response with status code 500, 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) Code added in v1.2.4

Code gets the status code for the pcloud sap get internal server error response

func (*PcloudSapGetInternalServerError) Error added in v1.0.25

func (*PcloudSapGetInternalServerError) GetPayload added in v1.1.0

func (o *PcloudSapGetInternalServerError) GetPayload() *models.Error

func (*PcloudSapGetInternalServerError) IsClientError added in v1.2.2

func (o *PcloudSapGetInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud sap get internal server error response has a 4xx status code

func (*PcloudSapGetInternalServerError) IsCode added in v1.2.2

func (o *PcloudSapGetInternalServerError) IsCode(code int) bool

IsCode returns true when this pcloud sap get internal server error response a status code equal to that given

func (*PcloudSapGetInternalServerError) IsRedirect added in v1.2.2

func (o *PcloudSapGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this pcloud sap get internal server error response has a 3xx status code

func (*PcloudSapGetInternalServerError) IsServerError added in v1.2.2

func (o *PcloudSapGetInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud sap get internal server error response has a 5xx status code

func (*PcloudSapGetInternalServerError) IsSuccess added in v1.2.2

func (o *PcloudSapGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this pcloud sap get internal server error response has a 2xx status code

func (*PcloudSapGetInternalServerError) String added in v1.2.2

type PcloudSapGetNotFound added in v1.0.25

type PcloudSapGetNotFound struct {
	Payload *models.Error
}

PcloudSapGetNotFound describes a response with status code 404, 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) Code added in v1.2.4

func (o *PcloudSapGetNotFound) Code() int

Code gets the status code for the pcloud sap get not found response

func (*PcloudSapGetNotFound) Error added in v1.0.25

func (o *PcloudSapGetNotFound) Error() string

func (*PcloudSapGetNotFound) GetPayload added in v1.1.0

func (o *PcloudSapGetNotFound) GetPayload() *models.Error

func (*PcloudSapGetNotFound) IsClientError added in v1.2.2

func (o *PcloudSapGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud sap get not found response has a 4xx status code

func (*PcloudSapGetNotFound) IsCode added in v1.2.2

func (o *PcloudSapGetNotFound) IsCode(code int) bool

IsCode returns true when this pcloud sap get not found response a status code equal to that given

func (*PcloudSapGetNotFound) IsRedirect added in v1.2.2

func (o *PcloudSapGetNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud sap get not found response has a 3xx status code

func (*PcloudSapGetNotFound) IsServerError added in v1.2.2

func (o *PcloudSapGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud sap get not found response has a 5xx status code

func (*PcloudSapGetNotFound) IsSuccess added in v1.2.2

func (o *PcloudSapGetNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud sap get not found response has a 2xx status code

func (*PcloudSapGetNotFound) String added in v1.2.2

func (o *PcloudSapGetNotFound) String() string

type PcloudSapGetOK added in v1.0.25

type PcloudSapGetOK struct {
	Payload *models.SAPProfile
}

PcloudSapGetOK describes a response with status code 200, 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) Code added in v1.2.4

func (o *PcloudSapGetOK) Code() int

Code gets the status code for the pcloud sap get o k response

func (*PcloudSapGetOK) Error added in v1.0.25

func (o *PcloudSapGetOK) Error() string

func (*PcloudSapGetOK) GetPayload added in v1.1.0

func (o *PcloudSapGetOK) GetPayload() *models.SAPProfile

func (*PcloudSapGetOK) IsClientError added in v1.2.2

func (o *PcloudSapGetOK) IsClientError() bool

IsClientError returns true when this pcloud sap get o k response has a 4xx status code

func (*PcloudSapGetOK) IsCode added in v1.2.2

func (o *PcloudSapGetOK) IsCode(code int) bool

IsCode returns true when this pcloud sap get o k response a status code equal to that given

func (*PcloudSapGetOK) IsRedirect added in v1.2.2

func (o *PcloudSapGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud sap get o k response has a 3xx status code

func (*PcloudSapGetOK) IsServerError added in v1.2.2

func (o *PcloudSapGetOK) IsServerError() bool

IsServerError returns true when this pcloud sap get o k response has a 5xx status code

func (*PcloudSapGetOK) IsSuccess added in v1.2.2

func (o *PcloudSapGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud sap get o k response has a 2xx status code

func (*PcloudSapGetOK) String added in v1.2.2

func (o *PcloudSapGetOK) String() 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 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 NewPcloudSapGetParamsWithContext added in v1.0.25

func NewPcloudSapGetParamsWithContext(ctx context.Context) *PcloudSapGetParams

NewPcloudSapGetParamsWithContext creates a new PcloudSapGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudSapGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sap get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

func (o *PcloudSapGetParams) WithDefaults() *PcloudSapGetParams

WithDefaults hydrates default values in the pcloud sap get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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) Code added in v1.2.4

func (o *PcloudSapGetUnauthorized) Code() int

Code gets the status code for the pcloud sap get unauthorized response

func (*PcloudSapGetUnauthorized) Error added in v1.0.59

func (o *PcloudSapGetUnauthorized) Error() string

func (*PcloudSapGetUnauthorized) GetPayload added in v1.1.0

func (o *PcloudSapGetUnauthorized) GetPayload() *models.Error

func (*PcloudSapGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudSapGetUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud sap get unauthorized response has a 4xx status code

func (*PcloudSapGetUnauthorized) IsCode added in v1.2.2

func (o *PcloudSapGetUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud sap get unauthorized response a status code equal to that given

func (*PcloudSapGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudSapGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud sap get unauthorized response has a 3xx status code

func (*PcloudSapGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudSapGetUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud sap get unauthorized response has a 5xx status code

func (*PcloudSapGetUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudSapGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud sap get unauthorized response has a 2xx status code

func (*PcloudSapGetUnauthorized) String added in v1.2.2

func (o *PcloudSapGetUnauthorized) String() string

type PcloudSapGetallBadRequest

type PcloudSapGetallBadRequest struct {
	Payload *models.Error
}

PcloudSapGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSapGetallBadRequest

func NewPcloudSapGetallBadRequest() *PcloudSapGetallBadRequest

NewPcloudSapGetallBadRequest creates a PcloudSapGetallBadRequest with default headers values

func (*PcloudSapGetallBadRequest) Code added in v1.2.4

func (o *PcloudSapGetallBadRequest) Code() int

Code gets the status code for the pcloud sap getall bad request response

func (*PcloudSapGetallBadRequest) Error

func (o *PcloudSapGetallBadRequest) Error() string

func (*PcloudSapGetallBadRequest) GetPayload added in v1.1.0

func (o *PcloudSapGetallBadRequest) GetPayload() *models.Error

func (*PcloudSapGetallBadRequest) IsClientError added in v1.2.2

func (o *PcloudSapGetallBadRequest) IsClientError() bool

IsClientError returns true when this pcloud sap getall bad request response has a 4xx status code

func (*PcloudSapGetallBadRequest) IsCode added in v1.2.2

func (o *PcloudSapGetallBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud sap getall bad request response a status code equal to that given

func (*PcloudSapGetallBadRequest) IsRedirect added in v1.2.2

func (o *PcloudSapGetallBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud sap getall bad request response has a 3xx status code

func (*PcloudSapGetallBadRequest) IsServerError added in v1.2.2

func (o *PcloudSapGetallBadRequest) IsServerError() bool

IsServerError returns true when this pcloud sap getall bad request response has a 5xx status code

func (*PcloudSapGetallBadRequest) IsSuccess added in v1.2.2

func (o *PcloudSapGetallBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud sap getall bad request response has a 2xx status code

func (*PcloudSapGetallBadRequest) String added in v1.2.2

func (o *PcloudSapGetallBadRequest) String() string

type PcloudSapGetallForbidden added in v1.4.2

type PcloudSapGetallForbidden struct {
	Payload *models.Error
}

PcloudSapGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSapGetallForbidden added in v1.4.2

func NewPcloudSapGetallForbidden() *PcloudSapGetallForbidden

NewPcloudSapGetallForbidden creates a PcloudSapGetallForbidden with default headers values

func (*PcloudSapGetallForbidden) Code added in v1.4.2

func (o *PcloudSapGetallForbidden) Code() int

Code gets the status code for the pcloud sap getall forbidden response

func (*PcloudSapGetallForbidden) Error added in v1.4.2

func (o *PcloudSapGetallForbidden) Error() string

func (*PcloudSapGetallForbidden) GetPayload added in v1.4.2

func (o *PcloudSapGetallForbidden) GetPayload() *models.Error

func (*PcloudSapGetallForbidden) IsClientError added in v1.4.2

func (o *PcloudSapGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud sap getall forbidden response has a 4xx status code

func (*PcloudSapGetallForbidden) IsCode added in v1.4.2

func (o *PcloudSapGetallForbidden) IsCode(code int) bool

IsCode returns true when this pcloud sap getall forbidden response a status code equal to that given

func (*PcloudSapGetallForbidden) IsRedirect added in v1.4.2

func (o *PcloudSapGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud sap getall forbidden response has a 3xx status code

func (*PcloudSapGetallForbidden) IsServerError added in v1.4.2

func (o *PcloudSapGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud sap getall forbidden response has a 5xx status code

func (*PcloudSapGetallForbidden) IsSuccess added in v1.4.2

func (o *PcloudSapGetallForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud sap getall forbidden response has a 2xx status code

func (*PcloudSapGetallForbidden) String added in v1.4.2

func (o *PcloudSapGetallForbidden) String() string

type PcloudSapGetallInternalServerError

type PcloudSapGetallInternalServerError struct {
	Payload *models.Error
}

PcloudSapGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSapGetallInternalServerError

func NewPcloudSapGetallInternalServerError() *PcloudSapGetallInternalServerError

NewPcloudSapGetallInternalServerError creates a PcloudSapGetallInternalServerError with default headers values

func (*PcloudSapGetallInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud sap getall internal server error response

func (*PcloudSapGetallInternalServerError) Error

func (*PcloudSapGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudSapGetallInternalServerError) IsClientError added in v1.2.2

func (o *PcloudSapGetallInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud sap getall internal server error response has a 4xx status code

func (*PcloudSapGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud sap getall internal server error response a status code equal to that given

func (*PcloudSapGetallInternalServerError) IsRedirect added in v1.2.2

func (o *PcloudSapGetallInternalServerError) IsRedirect() bool

IsRedirect returns true when this pcloud sap getall internal server error response has a 3xx status code

func (*PcloudSapGetallInternalServerError) IsServerError added in v1.2.2

func (o *PcloudSapGetallInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud sap getall internal server error response has a 5xx status code

func (*PcloudSapGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud sap getall internal server error response has a 2xx status code

func (*PcloudSapGetallInternalServerError) String added in v1.2.2

type PcloudSapGetallNotFound added in v1.4.2

type PcloudSapGetallNotFound struct {
	Payload *models.Error
}

PcloudSapGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSapGetallNotFound added in v1.4.2

func NewPcloudSapGetallNotFound() *PcloudSapGetallNotFound

NewPcloudSapGetallNotFound creates a PcloudSapGetallNotFound with default headers values

func (*PcloudSapGetallNotFound) Code added in v1.4.2

func (o *PcloudSapGetallNotFound) Code() int

Code gets the status code for the pcloud sap getall not found response

func (*PcloudSapGetallNotFound) Error added in v1.4.2

func (o *PcloudSapGetallNotFound) Error() string

func (*PcloudSapGetallNotFound) GetPayload added in v1.4.2

func (o *PcloudSapGetallNotFound) GetPayload() *models.Error

func (*PcloudSapGetallNotFound) IsClientError added in v1.4.2

func (o *PcloudSapGetallNotFound) IsClientError() bool

IsClientError returns true when this pcloud sap getall not found response has a 4xx status code

func (*PcloudSapGetallNotFound) IsCode added in v1.4.2

func (o *PcloudSapGetallNotFound) IsCode(code int) bool

IsCode returns true when this pcloud sap getall not found response a status code equal to that given

func (*PcloudSapGetallNotFound) IsRedirect added in v1.4.2

func (o *PcloudSapGetallNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud sap getall not found response has a 3xx status code

func (*PcloudSapGetallNotFound) IsServerError added in v1.4.2

func (o *PcloudSapGetallNotFound) IsServerError() bool

IsServerError returns true when this pcloud sap getall not found response has a 5xx status code

func (*PcloudSapGetallNotFound) IsSuccess added in v1.4.2

func (o *PcloudSapGetallNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud sap getall not found response has a 2xx status code

func (*PcloudSapGetallNotFound) String added in v1.4.2

func (o *PcloudSapGetallNotFound) String() string

type PcloudSapGetallOK

type PcloudSapGetallOK struct {
	Payload *models.SAPProfiles
}

PcloudSapGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudSapGetallOK

func NewPcloudSapGetallOK() *PcloudSapGetallOK

NewPcloudSapGetallOK creates a PcloudSapGetallOK with default headers values

func (*PcloudSapGetallOK) Code added in v1.2.4

func (o *PcloudSapGetallOK) Code() int

Code gets the status code for the pcloud sap getall o k response

func (*PcloudSapGetallOK) Error

func (o *PcloudSapGetallOK) Error() string

func (*PcloudSapGetallOK) GetPayload added in v1.1.0

func (o *PcloudSapGetallOK) GetPayload() *models.SAPProfiles

func (*PcloudSapGetallOK) IsClientError added in v1.2.2

func (o *PcloudSapGetallOK) IsClientError() bool

IsClientError returns true when this pcloud sap getall o k response has a 4xx status code

func (*PcloudSapGetallOK) IsCode added in v1.2.2

func (o *PcloudSapGetallOK) IsCode(code int) bool

IsCode returns true when this pcloud sap getall o k response a status code equal to that given

func (*PcloudSapGetallOK) IsRedirect added in v1.2.2

func (o *PcloudSapGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud sap getall o k response has a 3xx status code

func (*PcloudSapGetallOK) IsServerError added in v1.2.2

func (o *PcloudSapGetallOK) IsServerError() bool

IsServerError returns true when this pcloud sap getall o k response has a 5xx status code

func (*PcloudSapGetallOK) IsSuccess added in v1.2.2

func (o *PcloudSapGetallOK) IsSuccess() bool

IsSuccess returns true when this pcloud sap getall o k response has a 2xx status code

func (*PcloudSapGetallOK) String added in v1.2.2

func (o *PcloudSapGetallOK) String() 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 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 NewPcloudSapGetallParamsWithContext

func NewPcloudSapGetallParamsWithContext(ctx context.Context) *PcloudSapGetallParams

NewPcloudSapGetallParamsWithContext creates a new PcloudSapGetallParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudSapGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sap getall params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

func (o *PcloudSapGetallParams) WithDefaults() *PcloudSapGetallParams

WithDefaults hydrates default values in the pcloud sap getall params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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) Code added in v1.2.4

func (o *PcloudSapGetallUnauthorized) Code() int

Code gets the status code for the pcloud sap getall unauthorized response

func (*PcloudSapGetallUnauthorized) Error added in v1.0.59

func (*PcloudSapGetallUnauthorized) GetPayload added in v1.1.0

func (o *PcloudSapGetallUnauthorized) GetPayload() *models.Error

func (*PcloudSapGetallUnauthorized) IsClientError added in v1.2.2

func (o *PcloudSapGetallUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud sap getall unauthorized response has a 4xx status code

func (*PcloudSapGetallUnauthorized) IsCode added in v1.2.2

func (o *PcloudSapGetallUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud sap getall unauthorized response a status code equal to that given

func (*PcloudSapGetallUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudSapGetallUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud sap getall unauthorized response has a 3xx status code

func (*PcloudSapGetallUnauthorized) IsServerError added in v1.2.2

func (o *PcloudSapGetallUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud sap getall unauthorized response has a 5xx status code

func (*PcloudSapGetallUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudSapGetallUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud sap getall unauthorized response has a 2xx status code

func (*PcloudSapGetallUnauthorized) String added in v1.2.2

func (o *PcloudSapGetallUnauthorized) String() string

type PcloudSapPostAccepted

type PcloudSapPostAccepted struct {
	Payload models.PVMInstanceList
}

PcloudSapPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudSapPostAccepted

func NewPcloudSapPostAccepted() *PcloudSapPostAccepted

NewPcloudSapPostAccepted creates a PcloudSapPostAccepted with default headers values

func (*PcloudSapPostAccepted) Code added in v1.2.4

func (o *PcloudSapPostAccepted) Code() int

Code gets the status code for the pcloud sap post accepted response

func (*PcloudSapPostAccepted) Error

func (o *PcloudSapPostAccepted) Error() string

func (*PcloudSapPostAccepted) GetPayload added in v1.1.0

func (*PcloudSapPostAccepted) IsClientError added in v1.2.2

func (o *PcloudSapPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud sap post accepted response has a 4xx status code

func (*PcloudSapPostAccepted) IsCode added in v1.2.2

func (o *PcloudSapPostAccepted) IsCode(code int) bool

IsCode returns true when this pcloud sap post accepted response a status code equal to that given

func (*PcloudSapPostAccepted) IsRedirect added in v1.2.2

func (o *PcloudSapPostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud sap post accepted response has a 3xx status code

func (*PcloudSapPostAccepted) IsServerError added in v1.2.2

func (o *PcloudSapPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud sap post accepted response has a 5xx status code

func (*PcloudSapPostAccepted) IsSuccess added in v1.2.2

func (o *PcloudSapPostAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud sap post accepted response has a 2xx status code

func (*PcloudSapPostAccepted) String added in v1.2.2

func (o *PcloudSapPostAccepted) String() string

type PcloudSapPostBadRequest

type PcloudSapPostBadRequest struct {
	Payload *models.Error
}

PcloudSapPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudSapPostBadRequest

func NewPcloudSapPostBadRequest() *PcloudSapPostBadRequest

NewPcloudSapPostBadRequest creates a PcloudSapPostBadRequest with default headers values

func (*PcloudSapPostBadRequest) Code added in v1.2.4

func (o *PcloudSapPostBadRequest) Code() int

Code gets the status code for the pcloud sap post bad request response

func (*PcloudSapPostBadRequest) Error

func (o *PcloudSapPostBadRequest) Error() string

func (*PcloudSapPostBadRequest) GetPayload added in v1.1.0

func (o *PcloudSapPostBadRequest) GetPayload() *models.Error

func (*PcloudSapPostBadRequest) IsClientError added in v1.2.2

func (o *PcloudSapPostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud sap post bad request response has a 4xx status code

func (*PcloudSapPostBadRequest) IsCode added in v1.2.2

func (o *PcloudSapPostBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud sap post bad request response a status code equal to that given

func (*PcloudSapPostBadRequest) IsRedirect added in v1.2.2

func (o *PcloudSapPostBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud sap post bad request response has a 3xx status code

func (*PcloudSapPostBadRequest) IsServerError added in v1.2.2

func (o *PcloudSapPostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud sap post bad request response has a 5xx status code

func (*PcloudSapPostBadRequest) IsSuccess added in v1.2.2

func (o *PcloudSapPostBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud sap post bad request response has a 2xx status code

func (*PcloudSapPostBadRequest) String added in v1.2.2

func (o *PcloudSapPostBadRequest) String() string

type PcloudSapPostConflict

type PcloudSapPostConflict struct {
	Payload *models.Error
}

PcloudSapPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudSapPostConflict

func NewPcloudSapPostConflict() *PcloudSapPostConflict

NewPcloudSapPostConflict creates a PcloudSapPostConflict with default headers values

func (*PcloudSapPostConflict) Code added in v1.2.4

func (o *PcloudSapPostConflict) Code() int

Code gets the status code for the pcloud sap post conflict response

func (*PcloudSapPostConflict) Error

func (o *PcloudSapPostConflict) Error() string

func (*PcloudSapPostConflict) GetPayload added in v1.1.0

func (o *PcloudSapPostConflict) GetPayload() *models.Error

func (*PcloudSapPostConflict) IsClientError added in v1.2.2

func (o *PcloudSapPostConflict) IsClientError() bool

IsClientError returns true when this pcloud sap post conflict response has a 4xx status code

func (*PcloudSapPostConflict) IsCode added in v1.2.2

func (o *PcloudSapPostConflict) IsCode(code int) bool

IsCode returns true when this pcloud sap post conflict response a status code equal to that given

func (*PcloudSapPostConflict) IsRedirect added in v1.2.2

func (o *PcloudSapPostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud sap post conflict response has a 3xx status code

func (*PcloudSapPostConflict) IsServerError added in v1.2.2

func (o *PcloudSapPostConflict) IsServerError() bool

IsServerError returns true when this pcloud sap post conflict response has a 5xx status code

func (*PcloudSapPostConflict) IsSuccess added in v1.2.2

func (o *PcloudSapPostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud sap post conflict response has a 2xx status code

func (*PcloudSapPostConflict) String added in v1.2.2

func (o *PcloudSapPostConflict) String() string

type PcloudSapPostCreated

type PcloudSapPostCreated struct {
	Payload models.PVMInstanceList
}

PcloudSapPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudSapPostCreated

func NewPcloudSapPostCreated() *PcloudSapPostCreated

NewPcloudSapPostCreated creates a PcloudSapPostCreated with default headers values

func (*PcloudSapPostCreated) Code added in v1.2.4

func (o *PcloudSapPostCreated) Code() int

Code gets the status code for the pcloud sap post created response

func (*PcloudSapPostCreated) Error

func (o *PcloudSapPostCreated) Error() string

func (*PcloudSapPostCreated) GetPayload added in v1.1.0

func (*PcloudSapPostCreated) IsClientError added in v1.2.2

func (o *PcloudSapPostCreated) IsClientError() bool

IsClientError returns true when this pcloud sap post created response has a 4xx status code

func (*PcloudSapPostCreated) IsCode added in v1.2.2

func (o *PcloudSapPostCreated) IsCode(code int) bool

IsCode returns true when this pcloud sap post created response a status code equal to that given

func (*PcloudSapPostCreated) IsRedirect added in v1.2.2

func (o *PcloudSapPostCreated) IsRedirect() bool

IsRedirect returns true when this pcloud sap post created response has a 3xx status code

func (*PcloudSapPostCreated) IsServerError added in v1.2.2

func (o *PcloudSapPostCreated) IsServerError() bool

IsServerError returns true when this pcloud sap post created response has a 5xx status code

func (*PcloudSapPostCreated) IsSuccess added in v1.2.2

func (o *PcloudSapPostCreated) IsSuccess() bool

IsSuccess returns true when this pcloud sap post created response has a 2xx status code

func (*PcloudSapPostCreated) String added in v1.2.2

func (o *PcloudSapPostCreated) String() string

type PcloudSapPostForbidden added in v1.4.2

type PcloudSapPostForbidden struct {
	Payload *models.Error
}

PcloudSapPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudSapPostForbidden added in v1.4.2

func NewPcloudSapPostForbidden() *PcloudSapPostForbidden

NewPcloudSapPostForbidden creates a PcloudSapPostForbidden with default headers values

func (*PcloudSapPostForbidden) Code added in v1.4.2

func (o *PcloudSapPostForbidden) Code() int

Code gets the status code for the pcloud sap post forbidden response

func (*PcloudSapPostForbidden) Error added in v1.4.2

func (o *PcloudSapPostForbidden) Error() string

func (*PcloudSapPostForbidden) GetPayload added in v1.4.2

func (o *PcloudSapPostForbidden) GetPayload() *models.Error

func (*PcloudSapPostForbidden) IsClientError added in v1.4.2

func (o *PcloudSapPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud sap post forbidden response has a 4xx status code

func (*PcloudSapPostForbidden) IsCode added in v1.4.2

func (o *PcloudSapPostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud sap post forbidden response a status code equal to that given

func (*PcloudSapPostForbidden) IsRedirect added in v1.4.2

func (o *PcloudSapPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud sap post forbidden response has a 3xx status code

func (*PcloudSapPostForbidden) IsServerError added in v1.4.2

func (o *PcloudSapPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud sap post forbidden response has a 5xx status code

func (*PcloudSapPostForbidden) IsSuccess added in v1.4.2

func (o *PcloudSapPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud sap post forbidden response has a 2xx status code

func (*PcloudSapPostForbidden) String added in v1.4.2

func (o *PcloudSapPostForbidden) String() string

type PcloudSapPostInternalServerError

type PcloudSapPostInternalServerError struct {
	Payload *models.Error
}

PcloudSapPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudSapPostInternalServerError

func NewPcloudSapPostInternalServerError() *PcloudSapPostInternalServerError

NewPcloudSapPostInternalServerError creates a PcloudSapPostInternalServerError with default headers values

func (*PcloudSapPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud sap post internal server error response

func (*PcloudSapPostInternalServerError) Error

func (*PcloudSapPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudSapPostInternalServerError) IsClientError added in v1.2.2

func (o *PcloudSapPostInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud sap post internal server error response has a 4xx status code

func (*PcloudSapPostInternalServerError) IsCode added in v1.2.2

func (o *PcloudSapPostInternalServerError) IsCode(code int) bool

IsCode returns true when this pcloud sap post internal server error response a status code equal to that given

func (*PcloudSapPostInternalServerError) IsRedirect added in v1.2.2

func (o *PcloudSapPostInternalServerError) IsRedirect() bool

IsRedirect returns true when this pcloud sap post internal server error response has a 3xx status code

func (*PcloudSapPostInternalServerError) IsServerError added in v1.2.2

func (o *PcloudSapPostInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud sap post internal server error response has a 5xx status code

func (*PcloudSapPostInternalServerError) IsSuccess added in v1.2.2

func (o *PcloudSapPostInternalServerError) IsSuccess() bool

IsSuccess returns true when this pcloud sap post internal server error response has a 2xx status code

func (*PcloudSapPostInternalServerError) String added in v1.2.2

type PcloudSapPostNotFound added in v1.4.2

type PcloudSapPostNotFound struct {
	Payload *models.Error
}

PcloudSapPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudSapPostNotFound added in v1.4.2

func NewPcloudSapPostNotFound() *PcloudSapPostNotFound

NewPcloudSapPostNotFound creates a PcloudSapPostNotFound with default headers values

func (*PcloudSapPostNotFound) Code added in v1.4.2

func (o *PcloudSapPostNotFound) Code() int

Code gets the status code for the pcloud sap post not found response

func (*PcloudSapPostNotFound) Error added in v1.4.2

func (o *PcloudSapPostNotFound) Error() string

func (*PcloudSapPostNotFound) GetPayload added in v1.4.2

func (o *PcloudSapPostNotFound) GetPayload() *models.Error

func (*PcloudSapPostNotFound) IsClientError added in v1.4.2

func (o *PcloudSapPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud sap post not found response has a 4xx status code

func (*PcloudSapPostNotFound) IsCode added in v1.4.2

func (o *PcloudSapPostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud sap post not found response a status code equal to that given

func (*PcloudSapPostNotFound) IsRedirect added in v1.4.2

func (o *PcloudSapPostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud sap post not found response has a 3xx status code

func (*PcloudSapPostNotFound) IsServerError added in v1.4.2

func (o *PcloudSapPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud sap post not found response has a 5xx status code

func (*PcloudSapPostNotFound) IsSuccess added in v1.4.2

func (o *PcloudSapPostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud sap post not found response has a 2xx status code

func (*PcloudSapPostNotFound) String added in v1.4.2

func (o *PcloudSapPostNotFound) String() string

type PcloudSapPostOK

type PcloudSapPostOK struct {
	Payload models.PVMInstanceList
}

PcloudSapPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudSapPostOK

func NewPcloudSapPostOK() *PcloudSapPostOK

NewPcloudSapPostOK creates a PcloudSapPostOK with default headers values

func (*PcloudSapPostOK) Code added in v1.2.4

func (o *PcloudSapPostOK) Code() int

Code gets the status code for the pcloud sap post o k response

func (*PcloudSapPostOK) Error

func (o *PcloudSapPostOK) Error() string

func (*PcloudSapPostOK) GetPayload added in v1.1.0

func (o *PcloudSapPostOK) GetPayload() models.PVMInstanceList

func (*PcloudSapPostOK) IsClientError added in v1.2.2

func (o *PcloudSapPostOK) IsClientError() bool

IsClientError returns true when this pcloud sap post o k response has a 4xx status code

func (*PcloudSapPostOK) IsCode added in v1.2.2

func (o *PcloudSapPostOK) IsCode(code int) bool

IsCode returns true when this pcloud sap post o k response a status code equal to that given

func (*PcloudSapPostOK) IsRedirect added in v1.2.2

func (o *PcloudSapPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud sap post o k response has a 3xx status code

func (*PcloudSapPostOK) IsServerError added in v1.2.2

func (o *PcloudSapPostOK) IsServerError() bool

IsServerError returns true when this pcloud sap post o k response has a 5xx status code

func (*PcloudSapPostOK) IsSuccess added in v1.2.2

func (o *PcloudSapPostOK) IsSuccess() bool

IsSuccess returns true when this pcloud sap post o k response has a 2xx status code

func (*PcloudSapPostOK) String added in v1.2.2

func (o *PcloudSapPostOK) String() 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 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 NewPcloudSapPostParamsWithContext

func NewPcloudSapPostParamsWithContext(ctx context.Context) *PcloudSapPostParams

NewPcloudSapPostParamsWithContext creates a new PcloudSapPostParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *PcloudSapPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud sap post params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

func (o *PcloudSapPostParams) WithDefaults() *PcloudSapPostParams

WithDefaults hydrates default values in the pcloud sap post params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, 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) Code added in v1.2.4

func (o *PcloudSapPostUnauthorized) Code() int

Code gets the status code for the pcloud sap post unauthorized response

func (*PcloudSapPostUnauthorized) Error added in v1.0.59

func (o *PcloudSapPostUnauthorized) Error() string

func (*PcloudSapPostUnauthorized) GetPayload added in v1.1.0

func (o *PcloudSapPostUnauthorized) GetPayload() *models.Error

func (*PcloudSapPostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudSapPostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud sap post unauthorized response has a 4xx status code

func (*PcloudSapPostUnauthorized) IsCode added in v1.2.2

func (o *PcloudSapPostUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud sap post unauthorized response a status code equal to that given

func (*PcloudSapPostUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudSapPostUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud sap post unauthorized response has a 3xx status code

func (*PcloudSapPostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudSapPostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud sap post unauthorized response has a 5xx status code

func (*PcloudSapPostUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudSapPostUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud sap post unauthorized response has a 2xx status code

func (*PcloudSapPostUnauthorized) String added in v1.2.2

func (o *PcloudSapPostUnauthorized) String() string

type PcloudSapPostUnprocessableEntity

type PcloudSapPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudSapPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudSapPostUnprocessableEntity

func NewPcloudSapPostUnprocessableEntity() *PcloudSapPostUnprocessableEntity

NewPcloudSapPostUnprocessableEntity creates a PcloudSapPostUnprocessableEntity with default headers values

func (*PcloudSapPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud sap post unprocessable entity response

func (*PcloudSapPostUnprocessableEntity) Error

func (*PcloudSapPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudSapPostUnprocessableEntity) IsClientError added in v1.2.2

func (o *PcloudSapPostUnprocessableEntity) IsClientError() bool

IsClientError returns true when this pcloud sap post unprocessable entity response has a 4xx status code

func (*PcloudSapPostUnprocessableEntity) IsCode added in v1.2.2

func (o *PcloudSapPostUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this pcloud sap post unprocessable entity response a status code equal to that given

func (*PcloudSapPostUnprocessableEntity) IsRedirect added in v1.2.2

func (o *PcloudSapPostUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this pcloud sap post unprocessable entity response has a 3xx status code

func (*PcloudSapPostUnprocessableEntity) IsServerError added in v1.2.2

func (o *PcloudSapPostUnprocessableEntity) IsServerError() bool

IsServerError returns true when this pcloud sap post unprocessable entity response has a 5xx status code

func (*PcloudSapPostUnprocessableEntity) IsSuccess added in v1.2.2

func (o *PcloudSapPostUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this pcloud sap post unprocessable entity response has a 2xx status code

func (*PcloudSapPostUnprocessableEntity) String added in v1.2.2

Jump to

Keyboard shortcuts

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