p_cloud_s_a_p

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 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) 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

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

func (*PcloudSapGetInternalServerError) GetPayload added in v1.1.0

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

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) 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

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) 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

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) 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

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) Error

func (o *PcloudSapGetallBadRequest) Error() string

func (*PcloudSapGetallBadRequest) GetPayload added in v1.1.0

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

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) Error

func (*PcloudSapGetallInternalServerError) GetPayload added in v1.1.0

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) Error

func (o *PcloudSapGetallOK) Error() string

func (*PcloudSapGetallOK) GetPayload added in v1.1.0

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

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

func (*PcloudSapGetallUnauthorized) GetPayload added in v1.1.0

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

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) Error

func (o *PcloudSapPostAccepted) Error() string

func (*PcloudSapPostAccepted) GetPayload added in v1.1.0

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) Error

func (o *PcloudSapPostBadRequest) Error() string

func (*PcloudSapPostBadRequest) GetPayload added in v1.1.0

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

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) Error

func (o *PcloudSapPostConflict) Error() string

func (*PcloudSapPostConflict) GetPayload added in v1.1.0

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

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) Error

func (o *PcloudSapPostCreated) Error() string

func (*PcloudSapPostCreated) GetPayload added in v1.1.0

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) Error

func (*PcloudSapPostInternalServerError) GetPayload added in v1.1.0

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) Error

func (o *PcloudSapPostOK) Error() string

func (*PcloudSapPostOK) GetPayload added in v1.1.0

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

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) 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

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) Error

func (*PcloudSapPostUnprocessableEntity) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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