Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudSapGet(params *PcloudSapGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudSapGetOK, error)
- func (a *Client) PcloudSapGetall(params *PcloudSapGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudSapGetallOK, error)
- func (a *Client) PcloudSapPost(params *PcloudSapPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudSapPostOK, *PcloudSapPostCreated, *PcloudSapPostAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudSapGetBadRequest
- func (o *PcloudSapGetBadRequest) Code() int
- func (o *PcloudSapGetBadRequest) Error() string
- func (o *PcloudSapGetBadRequest) GetPayload() *models.Error
- func (o *PcloudSapGetBadRequest) IsClientError() bool
- func (o *PcloudSapGetBadRequest) IsCode(code int) bool
- func (o *PcloudSapGetBadRequest) IsRedirect() bool
- func (o *PcloudSapGetBadRequest) IsServerError() bool
- func (o *PcloudSapGetBadRequest) IsSuccess() bool
- func (o *PcloudSapGetBadRequest) String() string
- type PcloudSapGetForbidden
- func (o *PcloudSapGetForbidden) Code() int
- func (o *PcloudSapGetForbidden) Error() string
- func (o *PcloudSapGetForbidden) GetPayload() *models.Error
- func (o *PcloudSapGetForbidden) IsClientError() bool
- func (o *PcloudSapGetForbidden) IsCode(code int) bool
- func (o *PcloudSapGetForbidden) IsRedirect() bool
- func (o *PcloudSapGetForbidden) IsServerError() bool
- func (o *PcloudSapGetForbidden) IsSuccess() bool
- func (o *PcloudSapGetForbidden) String() string
- type PcloudSapGetInternalServerError
- func (o *PcloudSapGetInternalServerError) Code() int
- func (o *PcloudSapGetInternalServerError) Error() string
- func (o *PcloudSapGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudSapGetInternalServerError) IsClientError() bool
- func (o *PcloudSapGetInternalServerError) IsCode(code int) bool
- func (o *PcloudSapGetInternalServerError) IsRedirect() bool
- func (o *PcloudSapGetInternalServerError) IsServerError() bool
- func (o *PcloudSapGetInternalServerError) IsSuccess() bool
- func (o *PcloudSapGetInternalServerError) String() string
- type PcloudSapGetNotFound
- func (o *PcloudSapGetNotFound) Code() int
- func (o *PcloudSapGetNotFound) Error() string
- func (o *PcloudSapGetNotFound) GetPayload() *models.Error
- func (o *PcloudSapGetNotFound) IsClientError() bool
- func (o *PcloudSapGetNotFound) IsCode(code int) bool
- func (o *PcloudSapGetNotFound) IsRedirect() bool
- func (o *PcloudSapGetNotFound) IsServerError() bool
- func (o *PcloudSapGetNotFound) IsSuccess() bool
- func (o *PcloudSapGetNotFound) String() string
- type PcloudSapGetOK
- func (o *PcloudSapGetOK) Code() int
- func (o *PcloudSapGetOK) Error() string
- func (o *PcloudSapGetOK) GetPayload() *models.SAPProfile
- func (o *PcloudSapGetOK) IsClientError() bool
- func (o *PcloudSapGetOK) IsCode(code int) bool
- func (o *PcloudSapGetOK) IsRedirect() bool
- func (o *PcloudSapGetOK) IsServerError() bool
- func (o *PcloudSapGetOK) IsSuccess() bool
- func (o *PcloudSapGetOK) String() string
- type PcloudSapGetParams
- func (o *PcloudSapGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSapGetParams) SetContext(ctx context.Context)
- func (o *PcloudSapGetParams) SetDefaults()
- func (o *PcloudSapGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSapGetParams) SetSapProfileID(sapProfileID string)
- func (o *PcloudSapGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSapGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapGetParams
- func (o *PcloudSapGetParams) WithContext(ctx context.Context) *PcloudSapGetParams
- func (o *PcloudSapGetParams) WithDefaults() *PcloudSapGetParams
- func (o *PcloudSapGetParams) WithHTTPClient(client *http.Client) *PcloudSapGetParams
- func (o *PcloudSapGetParams) WithSapProfileID(sapProfileID string) *PcloudSapGetParams
- func (o *PcloudSapGetParams) WithTimeout(timeout time.Duration) *PcloudSapGetParams
- func (o *PcloudSapGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSapGetReader
- type PcloudSapGetUnauthorized
- func (o *PcloudSapGetUnauthorized) Code() int
- func (o *PcloudSapGetUnauthorized) Error() string
- func (o *PcloudSapGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudSapGetUnauthorized) IsClientError() bool
- func (o *PcloudSapGetUnauthorized) IsCode(code int) bool
- func (o *PcloudSapGetUnauthorized) IsRedirect() bool
- func (o *PcloudSapGetUnauthorized) IsServerError() bool
- func (o *PcloudSapGetUnauthorized) IsSuccess() bool
- func (o *PcloudSapGetUnauthorized) String() string
- type PcloudSapGetallBadRequest
- func (o *PcloudSapGetallBadRequest) Code() int
- func (o *PcloudSapGetallBadRequest) Error() string
- func (o *PcloudSapGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudSapGetallBadRequest) IsClientError() bool
- func (o *PcloudSapGetallBadRequest) IsCode(code int) bool
- func (o *PcloudSapGetallBadRequest) IsRedirect() bool
- func (o *PcloudSapGetallBadRequest) IsServerError() bool
- func (o *PcloudSapGetallBadRequest) IsSuccess() bool
- func (o *PcloudSapGetallBadRequest) String() string
- type PcloudSapGetallForbidden
- func (o *PcloudSapGetallForbidden) Code() int
- func (o *PcloudSapGetallForbidden) Error() string
- func (o *PcloudSapGetallForbidden) GetPayload() *models.Error
- func (o *PcloudSapGetallForbidden) IsClientError() bool
- func (o *PcloudSapGetallForbidden) IsCode(code int) bool
- func (o *PcloudSapGetallForbidden) IsRedirect() bool
- func (o *PcloudSapGetallForbidden) IsServerError() bool
- func (o *PcloudSapGetallForbidden) IsSuccess() bool
- func (o *PcloudSapGetallForbidden) String() string
- type PcloudSapGetallInternalServerError
- func (o *PcloudSapGetallInternalServerError) Code() int
- func (o *PcloudSapGetallInternalServerError) Error() string
- func (o *PcloudSapGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudSapGetallInternalServerError) IsClientError() bool
- func (o *PcloudSapGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudSapGetallInternalServerError) IsRedirect() bool
- func (o *PcloudSapGetallInternalServerError) IsServerError() bool
- func (o *PcloudSapGetallInternalServerError) IsSuccess() bool
- func (o *PcloudSapGetallInternalServerError) String() string
- type PcloudSapGetallNotFound
- func (o *PcloudSapGetallNotFound) Code() int
- func (o *PcloudSapGetallNotFound) Error() string
- func (o *PcloudSapGetallNotFound) GetPayload() *models.Error
- func (o *PcloudSapGetallNotFound) IsClientError() bool
- func (o *PcloudSapGetallNotFound) IsCode(code int) bool
- func (o *PcloudSapGetallNotFound) IsRedirect() bool
- func (o *PcloudSapGetallNotFound) IsServerError() bool
- func (o *PcloudSapGetallNotFound) IsSuccess() bool
- func (o *PcloudSapGetallNotFound) String() string
- type PcloudSapGetallOK
- func (o *PcloudSapGetallOK) Code() int
- func (o *PcloudSapGetallOK) Error() string
- func (o *PcloudSapGetallOK) GetPayload() *models.SAPProfiles
- func (o *PcloudSapGetallOK) IsClientError() bool
- func (o *PcloudSapGetallOK) IsCode(code int) bool
- func (o *PcloudSapGetallOK) IsRedirect() bool
- func (o *PcloudSapGetallOK) IsServerError() bool
- func (o *PcloudSapGetallOK) IsSuccess() bool
- func (o *PcloudSapGetallOK) String() string
- type PcloudSapGetallParams
- func NewPcloudSapGetallParams() *PcloudSapGetallParams
- func NewPcloudSapGetallParamsWithContext(ctx context.Context) *PcloudSapGetallParams
- func NewPcloudSapGetallParamsWithHTTPClient(client *http.Client) *PcloudSapGetallParams
- func NewPcloudSapGetallParamsWithTimeout(timeout time.Duration) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSapGetallParams) SetContext(ctx context.Context)
- func (o *PcloudSapGetallParams) SetDefaults()
- func (o *PcloudSapGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSapGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSapGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithContext(ctx context.Context) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithDefaults() *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithHTTPClient(client *http.Client) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WithTimeout(timeout time.Duration) *PcloudSapGetallParams
- func (o *PcloudSapGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSapGetallReader
- type PcloudSapGetallUnauthorized
- func (o *PcloudSapGetallUnauthorized) Code() int
- func (o *PcloudSapGetallUnauthorized) Error() string
- func (o *PcloudSapGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudSapGetallUnauthorized) IsClientError() bool
- func (o *PcloudSapGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudSapGetallUnauthorized) IsRedirect() bool
- func (o *PcloudSapGetallUnauthorized) IsServerError() bool
- func (o *PcloudSapGetallUnauthorized) IsSuccess() bool
- func (o *PcloudSapGetallUnauthorized) String() string
- type PcloudSapPostAccepted
- func (o *PcloudSapPostAccepted) Code() int
- func (o *PcloudSapPostAccepted) Error() string
- func (o *PcloudSapPostAccepted) GetPayload() models.PVMInstanceList
- func (o *PcloudSapPostAccepted) IsClientError() bool
- func (o *PcloudSapPostAccepted) IsCode(code int) bool
- func (o *PcloudSapPostAccepted) IsRedirect() bool
- func (o *PcloudSapPostAccepted) IsServerError() bool
- func (o *PcloudSapPostAccepted) IsSuccess() bool
- func (o *PcloudSapPostAccepted) String() string
- type PcloudSapPostBadRequest
- func (o *PcloudSapPostBadRequest) Code() int
- func (o *PcloudSapPostBadRequest) Error() string
- func (o *PcloudSapPostBadRequest) GetPayload() *models.Error
- func (o *PcloudSapPostBadRequest) IsClientError() bool
- func (o *PcloudSapPostBadRequest) IsCode(code int) bool
- func (o *PcloudSapPostBadRequest) IsRedirect() bool
- func (o *PcloudSapPostBadRequest) IsServerError() bool
- func (o *PcloudSapPostBadRequest) IsSuccess() bool
- func (o *PcloudSapPostBadRequest) String() string
- type PcloudSapPostConflict
- func (o *PcloudSapPostConflict) Code() int
- func (o *PcloudSapPostConflict) Error() string
- func (o *PcloudSapPostConflict) GetPayload() *models.Error
- func (o *PcloudSapPostConflict) IsClientError() bool
- func (o *PcloudSapPostConflict) IsCode(code int) bool
- func (o *PcloudSapPostConflict) IsRedirect() bool
- func (o *PcloudSapPostConflict) IsServerError() bool
- func (o *PcloudSapPostConflict) IsSuccess() bool
- func (o *PcloudSapPostConflict) String() string
- type PcloudSapPostCreated
- func (o *PcloudSapPostCreated) Code() int
- func (o *PcloudSapPostCreated) Error() string
- func (o *PcloudSapPostCreated) GetPayload() models.PVMInstanceList
- func (o *PcloudSapPostCreated) IsClientError() bool
- func (o *PcloudSapPostCreated) IsCode(code int) bool
- func (o *PcloudSapPostCreated) IsRedirect() bool
- func (o *PcloudSapPostCreated) IsServerError() bool
- func (o *PcloudSapPostCreated) IsSuccess() bool
- func (o *PcloudSapPostCreated) String() string
- type PcloudSapPostForbidden
- func (o *PcloudSapPostForbidden) Code() int
- func (o *PcloudSapPostForbidden) Error() string
- func (o *PcloudSapPostForbidden) GetPayload() *models.Error
- func (o *PcloudSapPostForbidden) IsClientError() bool
- func (o *PcloudSapPostForbidden) IsCode(code int) bool
- func (o *PcloudSapPostForbidden) IsRedirect() bool
- func (o *PcloudSapPostForbidden) IsServerError() bool
- func (o *PcloudSapPostForbidden) IsSuccess() bool
- func (o *PcloudSapPostForbidden) String() string
- type PcloudSapPostInternalServerError
- func (o *PcloudSapPostInternalServerError) Code() int
- func (o *PcloudSapPostInternalServerError) Error() string
- func (o *PcloudSapPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudSapPostInternalServerError) IsClientError() bool
- func (o *PcloudSapPostInternalServerError) IsCode(code int) bool
- func (o *PcloudSapPostInternalServerError) IsRedirect() bool
- func (o *PcloudSapPostInternalServerError) IsServerError() bool
- func (o *PcloudSapPostInternalServerError) IsSuccess() bool
- func (o *PcloudSapPostInternalServerError) String() string
- type PcloudSapPostNotFound
- func (o *PcloudSapPostNotFound) Code() int
- func (o *PcloudSapPostNotFound) Error() string
- func (o *PcloudSapPostNotFound) GetPayload() *models.Error
- func (o *PcloudSapPostNotFound) IsClientError() bool
- func (o *PcloudSapPostNotFound) IsCode(code int) bool
- func (o *PcloudSapPostNotFound) IsRedirect() bool
- func (o *PcloudSapPostNotFound) IsServerError() bool
- func (o *PcloudSapPostNotFound) IsSuccess() bool
- func (o *PcloudSapPostNotFound) String() string
- type PcloudSapPostOK
- func (o *PcloudSapPostOK) Code() int
- func (o *PcloudSapPostOK) Error() string
- func (o *PcloudSapPostOK) GetPayload() models.PVMInstanceList
- func (o *PcloudSapPostOK) IsClientError() bool
- func (o *PcloudSapPostOK) IsCode(code int) bool
- func (o *PcloudSapPostOK) IsRedirect() bool
- func (o *PcloudSapPostOK) IsServerError() bool
- func (o *PcloudSapPostOK) IsSuccess() bool
- func (o *PcloudSapPostOK) String() string
- type PcloudSapPostParams
- func (o *PcloudSapPostParams) SetBody(body *models.SAPCreate)
- func (o *PcloudSapPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSapPostParams) SetContext(ctx context.Context)
- func (o *PcloudSapPostParams) SetDefaults()
- func (o *PcloudSapPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSapPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSapPostParams) WithBody(body *models.SAPCreate) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithContext(ctx context.Context) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithDefaults() *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithHTTPClient(client *http.Client) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WithTimeout(timeout time.Duration) *PcloudSapPostParams
- func (o *PcloudSapPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSapPostReader
- type PcloudSapPostUnauthorized
- func (o *PcloudSapPostUnauthorized) Code() int
- func (o *PcloudSapPostUnauthorized) Error() string
- func (o *PcloudSapPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudSapPostUnauthorized) IsClientError() bool
- func (o *PcloudSapPostUnauthorized) IsCode(code int) bool
- func (o *PcloudSapPostUnauthorized) IsRedirect() bool
- func (o *PcloudSapPostUnauthorized) IsServerError() bool
- func (o *PcloudSapPostUnauthorized) IsSuccess() bool
- func (o *PcloudSapPostUnauthorized) String() string
- type PcloudSapPostUnprocessableEntity
- func (o *PcloudSapPostUnprocessableEntity) Code() int
- func (o *PcloudSapPostUnprocessableEntity) Error() string
- func (o *PcloudSapPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudSapPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudSapPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudSapPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudSapPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudSapPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudSapPostUnprocessableEntity) String() string
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 ¶
func (a *Client) PcloudSapPost(params *PcloudSapPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSapPostOK, *PcloudSapPostCreated, *PcloudSapPostAccepted, error)
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud s a p API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud s a p API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PcloudSapGetBadRequest ¶ added in v1.0.25
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
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
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
func (o *PcloudSapGetInternalServerError) Code() int
Code gets the status code for the pcloud sap get internal server error response
func (*PcloudSapGetInternalServerError) Error ¶ added in v1.0.25
func (o *PcloudSapGetInternalServerError) Error() string
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
func (o *PcloudSapGetInternalServerError) String() string
type PcloudSapGetNotFound ¶ added in v1.0.25
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
func (o *PcloudSapGetParams) WithContext(ctx context.Context) *PcloudSapGetParams
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 {
}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 ¶
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
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 ¶
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
func (o *PcloudSapGetallInternalServerError) Code() int
Code gets the status code for the pcloud sap getall internal server error response
func (*PcloudSapGetallInternalServerError) Error ¶
func (o *PcloudSapGetallInternalServerError) Error() string
func (*PcloudSapGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudSapGetallInternalServerError) GetPayload() *models.Error
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
func (o *PcloudSapGetallInternalServerError) IsCode(code int) bool
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
func (o *PcloudSapGetallInternalServerError) IsSuccess() bool
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
func (o *PcloudSapGetallInternalServerError) String() string
type PcloudSapGetallNotFound ¶ added in v1.4.2
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 ¶
func (o *PcloudSapGetallParams) WithContext(ctx context.Context) *PcloudSapGetallParams
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 {
}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 (o *PcloudSapGetallUnauthorized) Error() string
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 (o *PcloudSapPostAccepted) GetPayload() models.PVMInstanceList
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 ¶
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 ¶
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 (o *PcloudSapPostCreated) GetPayload() models.PVMInstanceList
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
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 ¶
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
func (o *PcloudSapPostInternalServerError) Code() int
Code gets the status code for the pcloud sap post internal server error response
func (*PcloudSapPostInternalServerError) Error ¶
func (o *PcloudSapPostInternalServerError) Error() string
func (*PcloudSapPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudSapPostInternalServerError) GetPayload() *models.Error
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
func (o *PcloudSapPostInternalServerError) String() string
type PcloudSapPostNotFound ¶ added in v1.4.2
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 ¶
func (o *PcloudSapPostParams) WithBody(body *models.SAPCreate) *PcloudSapPostParams
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 ¶
func (o *PcloudSapPostParams) WithContext(ctx context.Context) *PcloudSapPostParams
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 {
}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 ¶
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
func (o *PcloudSapPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud sap post unprocessable entity response
func (*PcloudSapPostUnprocessableEntity) Error ¶
func (o *PcloudSapPostUnprocessableEntity) Error() string
func (*PcloudSapPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudSapPostUnprocessableEntity) GetPayload() *models.Error
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
func (o *PcloudSapPostUnprocessableEntity) String() string