p_cloud_s_a_p

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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

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

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

type PcloudSapGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudSapGetBadRequest

func NewPcloudSapGetBadRequest() *PcloudSapGetBadRequest

NewPcloudSapGetBadRequest creates a PcloudSapGetBadRequest with default headers values

func (*PcloudSapGetBadRequest) Code

func (o *PcloudSapGetBadRequest) Code() int

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

func (*PcloudSapGetBadRequest) Error

func (o *PcloudSapGetBadRequest) Error() string

func (*PcloudSapGetBadRequest) GetPayload

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

func (*PcloudSapGetBadRequest) IsClientError

func (o *PcloudSapGetBadRequest) IsClientError() bool

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

func (*PcloudSapGetBadRequest) IsCode

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

func (o *PcloudSapGetBadRequest) IsRedirect() bool

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

func (*PcloudSapGetBadRequest) IsServerError

func (o *PcloudSapGetBadRequest) IsServerError() bool

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

func (*PcloudSapGetBadRequest) IsSuccess

func (o *PcloudSapGetBadRequest) IsSuccess() bool

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

func (*PcloudSapGetBadRequest) String

func (o *PcloudSapGetBadRequest) String() string

type PcloudSapGetInternalServerError

type PcloudSapGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudSapGetInternalServerError

func NewPcloudSapGetInternalServerError() *PcloudSapGetInternalServerError

NewPcloudSapGetInternalServerError creates a PcloudSapGetInternalServerError with default headers values

func (*PcloudSapGetInternalServerError) Code

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

func (*PcloudSapGetInternalServerError) Error

func (*PcloudSapGetInternalServerError) GetPayload

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

func (*PcloudSapGetInternalServerError) IsClientError

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

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

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

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

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

type PcloudSapGetNotFound

type PcloudSapGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudSapGetNotFound

func NewPcloudSapGetNotFound() *PcloudSapGetNotFound

NewPcloudSapGetNotFound creates a PcloudSapGetNotFound with default headers values

func (*PcloudSapGetNotFound) Code

func (o *PcloudSapGetNotFound) Code() int

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

func (*PcloudSapGetNotFound) Error

func (o *PcloudSapGetNotFound) Error() string

func (*PcloudSapGetNotFound) GetPayload

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

func (*PcloudSapGetNotFound) IsClientError

func (o *PcloudSapGetNotFound) IsClientError() bool

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

func (*PcloudSapGetNotFound) IsCode

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

func (o *PcloudSapGetNotFound) IsRedirect() bool

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

func (*PcloudSapGetNotFound) IsServerError

func (o *PcloudSapGetNotFound) IsServerError() bool

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

func (*PcloudSapGetNotFound) IsSuccess

func (o *PcloudSapGetNotFound) IsSuccess() bool

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

func (*PcloudSapGetNotFound) String

func (o *PcloudSapGetNotFound) String() string

type PcloudSapGetOK

type PcloudSapGetOK struct {
	Payload *models.SAPProfile
}

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

OK

func NewPcloudSapGetOK

func NewPcloudSapGetOK() *PcloudSapGetOK

NewPcloudSapGetOK creates a PcloudSapGetOK with default headers values

func (*PcloudSapGetOK) Code

func (o *PcloudSapGetOK) Code() int

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

func (*PcloudSapGetOK) Error

func (o *PcloudSapGetOK) Error() string

func (*PcloudSapGetOK) GetPayload

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

func (*PcloudSapGetOK) IsClientError

func (o *PcloudSapGetOK) IsClientError() bool

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

func (*PcloudSapGetOK) IsCode

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

func (o *PcloudSapGetOK) IsRedirect() bool

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

func (*PcloudSapGetOK) IsServerError

func (o *PcloudSapGetOK) IsServerError() bool

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

func (*PcloudSapGetOK) IsSuccess

func (o *PcloudSapGetOK) IsSuccess() bool

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

func (*PcloudSapGetOK) String

func (o *PcloudSapGetOK) String() string

type PcloudSapGetParams

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

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

func NewPcloudSapGetParamsWithContext(ctx context.Context) *PcloudSapGetParams

NewPcloudSapGetParamsWithContext creates a new PcloudSapGetParams object with the ability to set a context for a request.

func NewPcloudSapGetParamsWithHTTPClient

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

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

func (o *PcloudSapGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud sap get params

func (*PcloudSapGetParams) SetContext

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

SetContext adds the context to the pcloud sap get params

func (*PcloudSapGetParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the pcloud sap get params

func (*PcloudSapGetParams) SetSapProfileID

func (o *PcloudSapGetParams) SetSapProfileID(sapProfileID string)

SetSapProfileID adds the sapProfileId to the pcloud sap get params

func (*PcloudSapGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud sap get params

func (*PcloudSapGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud sap get params

func (*PcloudSapGetParams) WithContext

WithContext adds the context to the pcloud sap get params

func (*PcloudSapGetParams) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the pcloud sap get params

func (*PcloudSapGetParams) WithSapProfileID

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

WithSapProfileID adds the sapProfileID to the pcloud sap get params

func (*PcloudSapGetParams) WithTimeout

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

WithTimeout adds the timeout to the pcloud sap get params

func (*PcloudSapGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PcloudSapGetReader

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

PcloudSapGetReader is a Reader for the PcloudSapGet structure.

func (*PcloudSapGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudSapGetUnauthorized

type PcloudSapGetUnauthorized struct {
	Payload *models.Error
}

PcloudSapGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSapGetUnauthorized

func NewPcloudSapGetUnauthorized() *PcloudSapGetUnauthorized

NewPcloudSapGetUnauthorized creates a PcloudSapGetUnauthorized with default headers values

func (*PcloudSapGetUnauthorized) Code

func (o *PcloudSapGetUnauthorized) Code() int

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

func (*PcloudSapGetUnauthorized) Error

func (o *PcloudSapGetUnauthorized) Error() string

func (*PcloudSapGetUnauthorized) GetPayload

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

func (*PcloudSapGetUnauthorized) IsClientError

func (o *PcloudSapGetUnauthorized) IsClientError() bool

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

func (*PcloudSapGetUnauthorized) IsCode

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

func (o *PcloudSapGetUnauthorized) IsRedirect() bool

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

func (*PcloudSapGetUnauthorized) IsServerError

func (o *PcloudSapGetUnauthorized) IsServerError() bool

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

func (*PcloudSapGetUnauthorized) IsSuccess

func (o *PcloudSapGetUnauthorized) IsSuccess() bool

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

func (*PcloudSapGetUnauthorized) String

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

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

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

func (*PcloudSapGetallBadRequest) IsClientError

func (o *PcloudSapGetallBadRequest) IsClientError() bool

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

func (*PcloudSapGetallBadRequest) IsCode

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

func (o *PcloudSapGetallBadRequest) IsRedirect() bool

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

func (*PcloudSapGetallBadRequest) IsServerError

func (o *PcloudSapGetallBadRequest) IsServerError() bool

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

func (*PcloudSapGetallBadRequest) IsSuccess

func (o *PcloudSapGetallBadRequest) IsSuccess() bool

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

func (*PcloudSapGetallBadRequest) String

func (o *PcloudSapGetallBadRequest) 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

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

func (*PcloudSapGetallInternalServerError) Error

func (*PcloudSapGetallInternalServerError) GetPayload

func (*PcloudSapGetallInternalServerError) IsClientError

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

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

func (*PcloudSapGetallInternalServerError) IsRedirect

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

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

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

func (*PcloudSapGetallInternalServerError) 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

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

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

func (*PcloudSapGetallOK) IsClientError

func (o *PcloudSapGetallOK) IsClientError() bool

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

func (*PcloudSapGetallOK) IsCode

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

func (o *PcloudSapGetallOK) IsRedirect() bool

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

func (*PcloudSapGetallOK) IsServerError

func (o *PcloudSapGetallOK) IsServerError() bool

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

func (*PcloudSapGetallOK) IsSuccess

func (o *PcloudSapGetallOK) IsSuccess() bool

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

func (*PcloudSapGetallOK) String

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

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

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

type PcloudSapGetallUnauthorized struct {
	Payload *models.Error
}

PcloudSapGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSapGetallUnauthorized

func NewPcloudSapGetallUnauthorized() *PcloudSapGetallUnauthorized

NewPcloudSapGetallUnauthorized creates a PcloudSapGetallUnauthorized with default headers values

func (*PcloudSapGetallUnauthorized) Code

func (o *PcloudSapGetallUnauthorized) Code() int

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

func (*PcloudSapGetallUnauthorized) Error

func (*PcloudSapGetallUnauthorized) GetPayload

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

func (*PcloudSapGetallUnauthorized) IsClientError

func (o *PcloudSapGetallUnauthorized) IsClientError() bool

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

func (*PcloudSapGetallUnauthorized) IsCode

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

func (o *PcloudSapGetallUnauthorized) IsRedirect() bool

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

func (*PcloudSapGetallUnauthorized) IsServerError

func (o *PcloudSapGetallUnauthorized) IsServerError() bool

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

func (*PcloudSapGetallUnauthorized) IsSuccess

func (o *PcloudSapGetallUnauthorized) IsSuccess() bool

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

func (*PcloudSapGetallUnauthorized) String

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

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

func (*PcloudSapPostAccepted) IsClientError

func (o *PcloudSapPostAccepted) IsClientError() bool

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

func (*PcloudSapPostAccepted) IsCode

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

func (o *PcloudSapPostAccepted) IsRedirect() bool

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

func (*PcloudSapPostAccepted) IsServerError

func (o *PcloudSapPostAccepted) IsServerError() bool

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

func (*PcloudSapPostAccepted) IsSuccess

func (o *PcloudSapPostAccepted) IsSuccess() bool

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

func (*PcloudSapPostAccepted) String

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

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

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

func (*PcloudSapPostBadRequest) IsClientError

func (o *PcloudSapPostBadRequest) IsClientError() bool

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

func (*PcloudSapPostBadRequest) IsCode

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

func (o *PcloudSapPostBadRequest) IsRedirect() bool

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

func (*PcloudSapPostBadRequest) IsServerError

func (o *PcloudSapPostBadRequest) IsServerError() bool

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

func (*PcloudSapPostBadRequest) IsSuccess

func (o *PcloudSapPostBadRequest) IsSuccess() bool

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

func (*PcloudSapPostBadRequest) String

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

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

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

func (*PcloudSapPostConflict) IsClientError

func (o *PcloudSapPostConflict) IsClientError() bool

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

func (*PcloudSapPostConflict) IsCode

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

func (o *PcloudSapPostConflict) IsRedirect() bool

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

func (*PcloudSapPostConflict) IsServerError

func (o *PcloudSapPostConflict) IsServerError() bool

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

func (*PcloudSapPostConflict) IsSuccess

func (o *PcloudSapPostConflict) IsSuccess() bool

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

func (*PcloudSapPostConflict) String

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

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

func (*PcloudSapPostCreated) IsClientError

func (o *PcloudSapPostCreated) IsClientError() bool

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

func (*PcloudSapPostCreated) IsCode

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

func (o *PcloudSapPostCreated) IsRedirect() bool

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

func (*PcloudSapPostCreated) IsServerError

func (o *PcloudSapPostCreated) IsServerError() bool

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

func (*PcloudSapPostCreated) IsSuccess

func (o *PcloudSapPostCreated) IsSuccess() bool

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

func (*PcloudSapPostCreated) String

func (o *PcloudSapPostCreated) 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

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

func (*PcloudSapPostInternalServerError) Error

func (*PcloudSapPostInternalServerError) GetPayload

func (*PcloudSapPostInternalServerError) IsClientError

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

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

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

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

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

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

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

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

func (*PcloudSapPostOK) IsClientError

func (o *PcloudSapPostOK) IsClientError() bool

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

func (*PcloudSapPostOK) IsCode

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

func (o *PcloudSapPostOK) IsRedirect() bool

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

func (*PcloudSapPostOK) IsServerError

func (o *PcloudSapPostOK) IsServerError() bool

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

func (*PcloudSapPostOK) IsSuccess

func (o *PcloudSapPostOK) IsSuccess() bool

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

func (*PcloudSapPostOK) String

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

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

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

type PcloudSapPostUnauthorized struct {
	Payload *models.Error
}

PcloudSapPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudSapPostUnauthorized

func NewPcloudSapPostUnauthorized() *PcloudSapPostUnauthorized

NewPcloudSapPostUnauthorized creates a PcloudSapPostUnauthorized with default headers values

func (*PcloudSapPostUnauthorized) Code

func (o *PcloudSapPostUnauthorized) Code() int

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

func (*PcloudSapPostUnauthorized) Error

func (o *PcloudSapPostUnauthorized) Error() string

func (*PcloudSapPostUnauthorized) GetPayload

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

func (*PcloudSapPostUnauthorized) IsClientError

func (o *PcloudSapPostUnauthorized) IsClientError() bool

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

func (*PcloudSapPostUnauthorized) IsCode

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

func (o *PcloudSapPostUnauthorized) IsRedirect() bool

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

func (*PcloudSapPostUnauthorized) IsServerError

func (o *PcloudSapPostUnauthorized) IsServerError() bool

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

func (*PcloudSapPostUnauthorized) IsSuccess

func (o *PcloudSapPostUnauthorized) IsSuccess() bool

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

func (*PcloudSapPostUnauthorized) String

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

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

func (*PcloudSapPostUnprocessableEntity) Error

func (*PcloudSapPostUnprocessableEntity) GetPayload

func (*PcloudSapPostUnprocessableEntity) IsClientError

func (o *PcloudSapPostUnprocessableEntity) IsClientError() bool

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

func (*PcloudSapPostUnprocessableEntity) IsCode

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

func (o *PcloudSapPostUnprocessableEntity) IsRedirect() bool

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

func (*PcloudSapPostUnprocessableEntity) IsServerError

func (o *PcloudSapPostUnprocessableEntity) IsServerError() bool

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

func (*PcloudSapPostUnprocessableEntity) IsSuccess

func (o *PcloudSapPostUnprocessableEntity) IsSuccess() bool

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

func (*PcloudSapPostUnprocessableEntity) String

Jump to

Keyboard shortcuts

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