Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudNetworksDelete(params *PcloudNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksDeleteOK, error)
- func (a *Client) PcloudNetworksGet(params *PcloudNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksGetOK, error)
- func (a *Client) PcloudNetworksGetall(params *PcloudNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksGetallOK, error)
- func (a *Client) PcloudNetworksPortsDelete(params *PcloudNetworksPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPortsDeleteOK, error)
- func (a *Client) PcloudNetworksPortsGet(params *PcloudNetworksPortsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPortsGetOK, error)
- func (a *Client) PcloudNetworksPortsGetall(params *PcloudNetworksPortsGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPortsGetallOK, error)
- func (a *Client) PcloudNetworksPortsPost(params *PcloudNetworksPortsPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPortsPostCreated, error)
- func (a *Client) PcloudNetworksPortsPut(params *PcloudNetworksPortsPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPortsPutOK, error)
- func (a *Client) PcloudNetworksPost(params *PcloudNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPostOK, *PcloudNetworksPostCreated, error)
- func (a *Client) PcloudNetworksPut(params *PcloudNetworksPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudNetworksPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudNetworksDeleteBadRequest
- func (o *PcloudNetworksDeleteBadRequest) Code() int
- func (o *PcloudNetworksDeleteBadRequest) Error() string
- func (o *PcloudNetworksDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksDeleteBadRequest) IsClientError() bool
- func (o *PcloudNetworksDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksDeleteBadRequest) IsRedirect() bool
- func (o *PcloudNetworksDeleteBadRequest) IsServerError() bool
- func (o *PcloudNetworksDeleteBadRequest) IsSuccess() bool
- func (o *PcloudNetworksDeleteBadRequest) String() string
- type PcloudNetworksDeleteForbidden
- func (o *PcloudNetworksDeleteForbidden) Code() int
- func (o *PcloudNetworksDeleteForbidden) Error() string
- func (o *PcloudNetworksDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksDeleteForbidden) IsClientError() bool
- func (o *PcloudNetworksDeleteForbidden) IsCode(code int) bool
- func (o *PcloudNetworksDeleteForbidden) IsRedirect() bool
- func (o *PcloudNetworksDeleteForbidden) IsServerError() bool
- func (o *PcloudNetworksDeleteForbidden) IsSuccess() bool
- func (o *PcloudNetworksDeleteForbidden) String() string
- type PcloudNetworksDeleteGone
- func (o *PcloudNetworksDeleteGone) Code() int
- func (o *PcloudNetworksDeleteGone) Error() string
- func (o *PcloudNetworksDeleteGone) GetPayload() *models.Error
- func (o *PcloudNetworksDeleteGone) IsClientError() bool
- func (o *PcloudNetworksDeleteGone) IsCode(code int) bool
- func (o *PcloudNetworksDeleteGone) IsRedirect() bool
- func (o *PcloudNetworksDeleteGone) IsServerError() bool
- func (o *PcloudNetworksDeleteGone) IsSuccess() bool
- func (o *PcloudNetworksDeleteGone) String() string
- type PcloudNetworksDeleteInternalServerError
- func (o *PcloudNetworksDeleteInternalServerError) Code() int
- func (o *PcloudNetworksDeleteInternalServerError) Error() string
- func (o *PcloudNetworksDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksDeleteInternalServerError) IsClientError() bool
- func (o *PcloudNetworksDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksDeleteInternalServerError) IsServerError() bool
- func (o *PcloudNetworksDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksDeleteInternalServerError) String() string
- type PcloudNetworksDeleteNotFound
- func (o *PcloudNetworksDeleteNotFound) Code() int
- func (o *PcloudNetworksDeleteNotFound) Error() string
- func (o *PcloudNetworksDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksDeleteNotFound) IsClientError() bool
- func (o *PcloudNetworksDeleteNotFound) IsCode(code int) bool
- func (o *PcloudNetworksDeleteNotFound) IsRedirect() bool
- func (o *PcloudNetworksDeleteNotFound) IsServerError() bool
- func (o *PcloudNetworksDeleteNotFound) IsSuccess() bool
- func (o *PcloudNetworksDeleteNotFound) String() string
- type PcloudNetworksDeleteOK
- func (o *PcloudNetworksDeleteOK) Code() int
- func (o *PcloudNetworksDeleteOK) Error() string
- func (o *PcloudNetworksDeleteOK) GetPayload() models.Object
- func (o *PcloudNetworksDeleteOK) IsClientError() bool
- func (o *PcloudNetworksDeleteOK) IsCode(code int) bool
- func (o *PcloudNetworksDeleteOK) IsRedirect() bool
- func (o *PcloudNetworksDeleteOK) IsServerError() bool
- func (o *PcloudNetworksDeleteOK) IsSuccess() bool
- func (o *PcloudNetworksDeleteOK) String() string
- type PcloudNetworksDeleteParams
- func NewPcloudNetworksDeleteParams() *PcloudNetworksDeleteParams
- func NewPcloudNetworksDeleteParamsWithContext(ctx context.Context) *PcloudNetworksDeleteParams
- func NewPcloudNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksDeleteParams
- func NewPcloudNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksDeleteParams) SetDefaults()
- func (o *PcloudNetworksDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksDeleteParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) WithContext(ctx context.Context) *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) WithDefaults() *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) WithHTTPClient(client *http.Client) *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) WithNetworkID(networkID string) *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) WithTimeout(timeout time.Duration) *PcloudNetworksDeleteParams
- func (o *PcloudNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksDeleteReader
- type PcloudNetworksDeleteUnauthorized
- func (o *PcloudNetworksDeleteUnauthorized) Code() int
- func (o *PcloudNetworksDeleteUnauthorized) Error() string
- func (o *PcloudNetworksDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksDeleteUnauthorized) IsClientError() bool
- func (o *PcloudNetworksDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksDeleteUnauthorized) IsServerError() bool
- func (o *PcloudNetworksDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksDeleteUnauthorized) String() string
- type PcloudNetworksGetBadRequest
- func (o *PcloudNetworksGetBadRequest) Code() int
- func (o *PcloudNetworksGetBadRequest) Error() string
- func (o *PcloudNetworksGetBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksGetBadRequest) IsClientError() bool
- func (o *PcloudNetworksGetBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksGetBadRequest) IsRedirect() bool
- func (o *PcloudNetworksGetBadRequest) IsServerError() bool
- func (o *PcloudNetworksGetBadRequest) IsSuccess() bool
- func (o *PcloudNetworksGetBadRequest) String() string
- type PcloudNetworksGetForbidden
- func (o *PcloudNetworksGetForbidden) Code() int
- func (o *PcloudNetworksGetForbidden) Error() string
- func (o *PcloudNetworksGetForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksGetForbidden) IsClientError() bool
- func (o *PcloudNetworksGetForbidden) IsCode(code int) bool
- func (o *PcloudNetworksGetForbidden) IsRedirect() bool
- func (o *PcloudNetworksGetForbidden) IsServerError() bool
- func (o *PcloudNetworksGetForbidden) IsSuccess() bool
- func (o *PcloudNetworksGetForbidden) String() string
- type PcloudNetworksGetInternalServerError
- func (o *PcloudNetworksGetInternalServerError) Code() int
- func (o *PcloudNetworksGetInternalServerError) Error() string
- func (o *PcloudNetworksGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksGetInternalServerError) IsClientError() bool
- func (o *PcloudNetworksGetInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksGetInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksGetInternalServerError) IsServerError() bool
- func (o *PcloudNetworksGetInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksGetInternalServerError) String() string
- type PcloudNetworksGetNotFound
- func (o *PcloudNetworksGetNotFound) Code() int
- func (o *PcloudNetworksGetNotFound) Error() string
- func (o *PcloudNetworksGetNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksGetNotFound) IsClientError() bool
- func (o *PcloudNetworksGetNotFound) IsCode(code int) bool
- func (o *PcloudNetworksGetNotFound) IsRedirect() bool
- func (o *PcloudNetworksGetNotFound) IsServerError() bool
- func (o *PcloudNetworksGetNotFound) IsSuccess() bool
- func (o *PcloudNetworksGetNotFound) String() string
- type PcloudNetworksGetOK
- func (o *PcloudNetworksGetOK) Code() int
- func (o *PcloudNetworksGetOK) Error() string
- func (o *PcloudNetworksGetOK) GetPayload() *models.Network
- func (o *PcloudNetworksGetOK) IsClientError() bool
- func (o *PcloudNetworksGetOK) IsCode(code int) bool
- func (o *PcloudNetworksGetOK) IsRedirect() bool
- func (o *PcloudNetworksGetOK) IsServerError() bool
- func (o *PcloudNetworksGetOK) IsSuccess() bool
- func (o *PcloudNetworksGetOK) String() string
- type PcloudNetworksGetParams
- func NewPcloudNetworksGetParams() *PcloudNetworksGetParams
- func NewPcloudNetworksGetParamsWithContext(ctx context.Context) *PcloudNetworksGetParams
- func NewPcloudNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetParams
- func NewPcloudNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksGetParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksGetParams) SetDefaults()
- func (o *PcloudNetworksGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksGetParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) WithContext(ctx context.Context) *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) WithDefaults() *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) WithHTTPClient(client *http.Client) *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) WithNetworkID(networkID string) *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) WithTimeout(timeout time.Duration) *PcloudNetworksGetParams
- func (o *PcloudNetworksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksGetReader
- type PcloudNetworksGetUnauthorized
- func (o *PcloudNetworksGetUnauthorized) Code() int
- func (o *PcloudNetworksGetUnauthorized) Error() string
- func (o *PcloudNetworksGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksGetUnauthorized) IsClientError() bool
- func (o *PcloudNetworksGetUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksGetUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksGetUnauthorized) IsServerError() bool
- func (o *PcloudNetworksGetUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksGetUnauthorized) String() string
- type PcloudNetworksGetallBadRequest
- func (o *PcloudNetworksGetallBadRequest) Code() int
- func (o *PcloudNetworksGetallBadRequest) Error() string
- func (o *PcloudNetworksGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksGetallBadRequest) IsClientError() bool
- func (o *PcloudNetworksGetallBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksGetallBadRequest) IsRedirect() bool
- func (o *PcloudNetworksGetallBadRequest) IsServerError() bool
- func (o *PcloudNetworksGetallBadRequest) IsSuccess() bool
- func (o *PcloudNetworksGetallBadRequest) String() string
- type PcloudNetworksGetallForbidden
- func (o *PcloudNetworksGetallForbidden) Code() int
- func (o *PcloudNetworksGetallForbidden) Error() string
- func (o *PcloudNetworksGetallForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksGetallForbidden) IsClientError() bool
- func (o *PcloudNetworksGetallForbidden) IsCode(code int) bool
- func (o *PcloudNetworksGetallForbidden) IsRedirect() bool
- func (o *PcloudNetworksGetallForbidden) IsServerError() bool
- func (o *PcloudNetworksGetallForbidden) IsSuccess() bool
- func (o *PcloudNetworksGetallForbidden) String() string
- type PcloudNetworksGetallInternalServerError
- func (o *PcloudNetworksGetallInternalServerError) Code() int
- func (o *PcloudNetworksGetallInternalServerError) Error() string
- func (o *PcloudNetworksGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksGetallInternalServerError) IsClientError() bool
- func (o *PcloudNetworksGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksGetallInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksGetallInternalServerError) IsServerError() bool
- func (o *PcloudNetworksGetallInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksGetallInternalServerError) String() string
- type PcloudNetworksGetallOK
- func (o *PcloudNetworksGetallOK) Code() int
- func (o *PcloudNetworksGetallOK) Error() string
- func (o *PcloudNetworksGetallOK) GetPayload() *models.Networks
- func (o *PcloudNetworksGetallOK) IsClientError() bool
- func (o *PcloudNetworksGetallOK) IsCode(code int) bool
- func (o *PcloudNetworksGetallOK) IsRedirect() bool
- func (o *PcloudNetworksGetallOK) IsServerError() bool
- func (o *PcloudNetworksGetallOK) IsSuccess() bool
- func (o *PcloudNetworksGetallOK) String() string
- type PcloudNetworksGetallParams
- func NewPcloudNetworksGetallParams() *PcloudNetworksGetallParams
- func NewPcloudNetworksGetallParamsWithContext(ctx context.Context) *PcloudNetworksGetallParams
- func NewPcloudNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetallParams
- func NewPcloudNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksGetallParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksGetallParams) SetDefaults()
- func (o *PcloudNetworksGetallParams) SetFilter(filter *string)
- func (o *PcloudNetworksGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) WithContext(ctx context.Context) *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) WithDefaults() *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) WithFilter(filter *string) *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) WithHTTPClient(client *http.Client) *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) WithTimeout(timeout time.Duration) *PcloudNetworksGetallParams
- func (o *PcloudNetworksGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksGetallReader
- type PcloudNetworksGetallUnauthorized
- func (o *PcloudNetworksGetallUnauthorized) Code() int
- func (o *PcloudNetworksGetallUnauthorized) Error() string
- func (o *PcloudNetworksGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksGetallUnauthorized) IsClientError() bool
- func (o *PcloudNetworksGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksGetallUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksGetallUnauthorized) IsServerError() bool
- func (o *PcloudNetworksGetallUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksGetallUnauthorized) String() string
- type PcloudNetworksPortsDeleteBadRequest
- func (o *PcloudNetworksPortsDeleteBadRequest) Code() int
- func (o *PcloudNetworksPortsDeleteBadRequest) Error() string
- func (o *PcloudNetworksPortsDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksPortsDeleteBadRequest) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteBadRequest) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteBadRequest) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteBadRequest) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteBadRequest) String() string
- type PcloudNetworksPortsDeleteForbidden
- func (o *PcloudNetworksPortsDeleteForbidden) Code() int
- func (o *PcloudNetworksPortsDeleteForbidden) Error() string
- func (o *PcloudNetworksPortsDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPortsDeleteForbidden) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteForbidden) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteForbidden) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteForbidden) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteForbidden) String() string
- type PcloudNetworksPortsDeleteGone
- func (o *PcloudNetworksPortsDeleteGone) Code() int
- func (o *PcloudNetworksPortsDeleteGone) Error() string
- func (o *PcloudNetworksPortsDeleteGone) GetPayload() *models.Error
- func (o *PcloudNetworksPortsDeleteGone) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteGone) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteGone) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteGone) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteGone) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteGone) String() string
- type PcloudNetworksPortsDeleteInternalServerError
- func (o *PcloudNetworksPortsDeleteInternalServerError) Code() int
- func (o *PcloudNetworksPortsDeleteInternalServerError) Error() string
- func (o *PcloudNetworksPortsDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPortsDeleteInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteInternalServerError) String() string
- type PcloudNetworksPortsDeleteNotFound
- func (o *PcloudNetworksPortsDeleteNotFound) Code() int
- func (o *PcloudNetworksPortsDeleteNotFound) Error() string
- func (o *PcloudNetworksPortsDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksPortsDeleteNotFound) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteNotFound) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteNotFound) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteNotFound) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteNotFound) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteNotFound) String() string
- type PcloudNetworksPortsDeleteOK
- func (o *PcloudNetworksPortsDeleteOK) Code() int
- func (o *PcloudNetworksPortsDeleteOK) Error() string
- func (o *PcloudNetworksPortsDeleteOK) GetPayload() models.Object
- func (o *PcloudNetworksPortsDeleteOK) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteOK) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteOK) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteOK) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteOK) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteOK) String() string
- type PcloudNetworksPortsDeleteParams
- func NewPcloudNetworksPortsDeleteParams() *PcloudNetworksPortsDeleteParams
- func NewPcloudNetworksPortsDeleteParamsWithContext(ctx context.Context) *PcloudNetworksPortsDeleteParams
- func NewPcloudNetworksPortsDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsDeleteParams
- func NewPcloudNetworksPortsDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPortsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPortsDeleteParams) SetDefaults()
- func (o *PcloudNetworksPortsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPortsDeleteParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksPortsDeleteParams) SetPortID(portID string)
- func (o *PcloudNetworksPortsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPortsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WithContext(ctx context.Context) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WithDefaults() *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WithNetworkID(networkID string) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WithPortID(portID string) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsDeleteParams
- func (o *PcloudNetworksPortsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPortsDeleteReader
- type PcloudNetworksPortsDeleteUnauthorized
- func (o *PcloudNetworksPortsDeleteUnauthorized) Code() int
- func (o *PcloudNetworksPortsDeleteUnauthorized) Error() string
- func (o *PcloudNetworksPortsDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPortsDeleteUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPortsDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPortsDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPortsDeleteUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPortsDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPortsDeleteUnauthorized) String() string
- type PcloudNetworksPortsGetForbidden
- func (o *PcloudNetworksPortsGetForbidden) Code() int
- func (o *PcloudNetworksPortsGetForbidden) Error() string
- func (o *PcloudNetworksPortsGetForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetForbidden) IsClientError() bool
- func (o *PcloudNetworksPortsGetForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetForbidden) IsRedirect() bool
- func (o *PcloudNetworksPortsGetForbidden) IsServerError() bool
- func (o *PcloudNetworksPortsGetForbidden) IsSuccess() bool
- func (o *PcloudNetworksPortsGetForbidden) String() string
- type PcloudNetworksPortsGetInternalServerError
- func (o *PcloudNetworksPortsGetInternalServerError) Code() int
- func (o *PcloudNetworksPortsGetInternalServerError) Error() string
- func (o *PcloudNetworksPortsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPortsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPortsGetInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPortsGetInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPortsGetInternalServerError) String() string
- type PcloudNetworksPortsGetNotFound
- func (o *PcloudNetworksPortsGetNotFound) Code() int
- func (o *PcloudNetworksPortsGetNotFound) Error() string
- func (o *PcloudNetworksPortsGetNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetNotFound) IsClientError() bool
- func (o *PcloudNetworksPortsGetNotFound) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetNotFound) IsRedirect() bool
- func (o *PcloudNetworksPortsGetNotFound) IsServerError() bool
- func (o *PcloudNetworksPortsGetNotFound) IsSuccess() bool
- func (o *PcloudNetworksPortsGetNotFound) String() string
- type PcloudNetworksPortsGetOK
- func (o *PcloudNetworksPortsGetOK) Code() int
- func (o *PcloudNetworksPortsGetOK) Error() string
- func (o *PcloudNetworksPortsGetOK) GetPayload() *models.NetworkPort
- func (o *PcloudNetworksPortsGetOK) IsClientError() bool
- func (o *PcloudNetworksPortsGetOK) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetOK) IsRedirect() bool
- func (o *PcloudNetworksPortsGetOK) IsServerError() bool
- func (o *PcloudNetworksPortsGetOK) IsSuccess() bool
- func (o *PcloudNetworksPortsGetOK) String() string
- type PcloudNetworksPortsGetParams
- func NewPcloudNetworksPortsGetParams() *PcloudNetworksPortsGetParams
- func NewPcloudNetworksPortsGetParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetParams
- func NewPcloudNetworksPortsGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetParams
- func NewPcloudNetworksPortsGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPortsGetParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPortsGetParams) SetDefaults()
- func (o *PcloudNetworksPortsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPortsGetParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksPortsGetParams) SetPortID(portID string)
- func (o *PcloudNetworksPortsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPortsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WithContext(ctx context.Context) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WithDefaults() *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WithNetworkID(networkID string) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WithPortID(portID string) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsGetParams
- func (o *PcloudNetworksPortsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPortsGetReader
- type PcloudNetworksPortsGetUnauthorized
- func (o *PcloudNetworksPortsGetUnauthorized) Code() int
- func (o *PcloudNetworksPortsGetUnauthorized) Error() string
- func (o *PcloudNetworksPortsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPortsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPortsGetUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPortsGetUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPortsGetUnauthorized) String() string
- type PcloudNetworksPortsGetallBadRequest
- func (o *PcloudNetworksPortsGetallBadRequest) Code() int
- func (o *PcloudNetworksPortsGetallBadRequest) Error() string
- func (o *PcloudNetworksPortsGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetallBadRequest) IsClientError() bool
- func (o *PcloudNetworksPortsGetallBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetallBadRequest) IsRedirect() bool
- func (o *PcloudNetworksPortsGetallBadRequest) IsServerError() bool
- func (o *PcloudNetworksPortsGetallBadRequest) IsSuccess() bool
- func (o *PcloudNetworksPortsGetallBadRequest) String() string
- type PcloudNetworksPortsGetallForbidden
- func (o *PcloudNetworksPortsGetallForbidden) Code() int
- func (o *PcloudNetworksPortsGetallForbidden) Error() string
- func (o *PcloudNetworksPortsGetallForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetallForbidden) IsClientError() bool
- func (o *PcloudNetworksPortsGetallForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetallForbidden) IsRedirect() bool
- func (o *PcloudNetworksPortsGetallForbidden) IsServerError() bool
- func (o *PcloudNetworksPortsGetallForbidden) IsSuccess() bool
- func (o *PcloudNetworksPortsGetallForbidden) String() string
- type PcloudNetworksPortsGetallInternalServerError
- func (o *PcloudNetworksPortsGetallInternalServerError) Code() int
- func (o *PcloudNetworksPortsGetallInternalServerError) Error() string
- func (o *PcloudNetworksPortsGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetallInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPortsGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetallInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPortsGetallInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPortsGetallInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPortsGetallInternalServerError) String() string
- type PcloudNetworksPortsGetallNotFound
- func (o *PcloudNetworksPortsGetallNotFound) Code() int
- func (o *PcloudNetworksPortsGetallNotFound) Error() string
- func (o *PcloudNetworksPortsGetallNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetallNotFound) IsClientError() bool
- func (o *PcloudNetworksPortsGetallNotFound) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetallNotFound) IsRedirect() bool
- func (o *PcloudNetworksPortsGetallNotFound) IsServerError() bool
- func (o *PcloudNetworksPortsGetallNotFound) IsSuccess() bool
- func (o *PcloudNetworksPortsGetallNotFound) String() string
- type PcloudNetworksPortsGetallOK
- func (o *PcloudNetworksPortsGetallOK) Code() int
- func (o *PcloudNetworksPortsGetallOK) Error() string
- func (o *PcloudNetworksPortsGetallOK) GetPayload() *models.NetworkPorts
- func (o *PcloudNetworksPortsGetallOK) IsClientError() bool
- func (o *PcloudNetworksPortsGetallOK) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetallOK) IsRedirect() bool
- func (o *PcloudNetworksPortsGetallOK) IsServerError() bool
- func (o *PcloudNetworksPortsGetallOK) IsSuccess() bool
- func (o *PcloudNetworksPortsGetallOK) String() string
- type PcloudNetworksPortsGetallParams
- func NewPcloudNetworksPortsGetallParams() *PcloudNetworksPortsGetallParams
- func NewPcloudNetworksPortsGetallParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetallParams
- func NewPcloudNetworksPortsGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetallParams
- func NewPcloudNetworksPortsGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPortsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPortsGetallParams) SetDefaults()
- func (o *PcloudNetworksPortsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPortsGetallParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksPortsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPortsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) WithContext(ctx context.Context) *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) WithDefaults() *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) WithNetworkID(networkID string) *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsGetallParams
- func (o *PcloudNetworksPortsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPortsGetallReader
- type PcloudNetworksPortsGetallUnauthorized
- func (o *PcloudNetworksPortsGetallUnauthorized) Code() int
- func (o *PcloudNetworksPortsGetallUnauthorized) Error() string
- func (o *PcloudNetworksPortsGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPortsGetallUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPortsGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPortsGetallUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPortsGetallUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPortsGetallUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPortsGetallUnauthorized) String() string
- type PcloudNetworksPortsPostBadRequest
- func (o *PcloudNetworksPortsPostBadRequest) Code() int
- func (o *PcloudNetworksPortsPostBadRequest) Error() string
- func (o *PcloudNetworksPortsPostBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostBadRequest) IsClientError() bool
- func (o *PcloudNetworksPortsPostBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostBadRequest) IsRedirect() bool
- func (o *PcloudNetworksPortsPostBadRequest) IsServerError() bool
- func (o *PcloudNetworksPortsPostBadRequest) IsSuccess() bool
- func (o *PcloudNetworksPortsPostBadRequest) String() string
- type PcloudNetworksPortsPostConflict
- func (o *PcloudNetworksPortsPostConflict) Code() int
- func (o *PcloudNetworksPortsPostConflict) Error() string
- func (o *PcloudNetworksPortsPostConflict) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostConflict) IsClientError() bool
- func (o *PcloudNetworksPortsPostConflict) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostConflict) IsRedirect() bool
- func (o *PcloudNetworksPortsPostConflict) IsServerError() bool
- func (o *PcloudNetworksPortsPostConflict) IsSuccess() bool
- func (o *PcloudNetworksPortsPostConflict) String() string
- type PcloudNetworksPortsPostCreated
- func (o *PcloudNetworksPortsPostCreated) Code() int
- func (o *PcloudNetworksPortsPostCreated) Error() string
- func (o *PcloudNetworksPortsPostCreated) GetPayload() *models.NetworkPort
- func (o *PcloudNetworksPortsPostCreated) IsClientError() bool
- func (o *PcloudNetworksPortsPostCreated) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostCreated) IsRedirect() bool
- func (o *PcloudNetworksPortsPostCreated) IsServerError() bool
- func (o *PcloudNetworksPortsPostCreated) IsSuccess() bool
- func (o *PcloudNetworksPortsPostCreated) String() string
- type PcloudNetworksPortsPostForbidden
- func (o *PcloudNetworksPortsPostForbidden) Code() int
- func (o *PcloudNetworksPortsPostForbidden) Error() string
- func (o *PcloudNetworksPortsPostForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostForbidden) IsClientError() bool
- func (o *PcloudNetworksPortsPostForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostForbidden) IsRedirect() bool
- func (o *PcloudNetworksPortsPostForbidden) IsServerError() bool
- func (o *PcloudNetworksPortsPostForbidden) IsSuccess() bool
- func (o *PcloudNetworksPortsPostForbidden) String() string
- type PcloudNetworksPortsPostInternalServerError
- func (o *PcloudNetworksPortsPostInternalServerError) Code() int
- func (o *PcloudNetworksPortsPostInternalServerError) Error() string
- func (o *PcloudNetworksPortsPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPortsPostInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPortsPostInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPortsPostInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPortsPostInternalServerError) String() string
- type PcloudNetworksPortsPostNotFound
- func (o *PcloudNetworksPortsPostNotFound) Code() int
- func (o *PcloudNetworksPortsPostNotFound) Error() string
- func (o *PcloudNetworksPortsPostNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostNotFound) IsClientError() bool
- func (o *PcloudNetworksPortsPostNotFound) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostNotFound) IsRedirect() bool
- func (o *PcloudNetworksPortsPostNotFound) IsServerError() bool
- func (o *PcloudNetworksPortsPostNotFound) IsSuccess() bool
- func (o *PcloudNetworksPortsPostNotFound) String() string
- type PcloudNetworksPortsPostParams
- func NewPcloudNetworksPortsPostParams() *PcloudNetworksPortsPostParams
- func NewPcloudNetworksPortsPostParamsWithContext(ctx context.Context) *PcloudNetworksPortsPostParams
- func NewPcloudNetworksPortsPostParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsPostParams
- func NewPcloudNetworksPortsPostParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) SetBody(body *models.NetworkPortCreate)
- func (o *PcloudNetworksPortsPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPortsPostParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPortsPostParams) SetDefaults()
- func (o *PcloudNetworksPortsPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPortsPostParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksPortsPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPortsPostParams) WithBody(body *models.NetworkPortCreate) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WithContext(ctx context.Context) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WithDefaults() *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WithNetworkID(networkID string) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsPostParams
- func (o *PcloudNetworksPortsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPortsPostReader
- type PcloudNetworksPortsPostUnauthorized
- func (o *PcloudNetworksPortsPostUnauthorized) Code() int
- func (o *PcloudNetworksPortsPostUnauthorized) Error() string
- func (o *PcloudNetworksPortsPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPortsPostUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPortsPostUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPortsPostUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPortsPostUnauthorized) String() string
- type PcloudNetworksPortsPostUnprocessableEntity
- func (o *PcloudNetworksPortsPostUnprocessableEntity) Code() int
- func (o *PcloudNetworksPortsPostUnprocessableEntity) Error() string
- func (o *PcloudNetworksPortsPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudNetworksPortsPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudNetworksPortsPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudNetworksPortsPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudNetworksPortsPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudNetworksPortsPostUnprocessableEntity) String() string
- type PcloudNetworksPortsPutBadRequest
- func (o *PcloudNetworksPortsPutBadRequest) Code() int
- func (o *PcloudNetworksPortsPutBadRequest) Error() string
- func (o *PcloudNetworksPortsPutBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPutBadRequest) IsClientError() bool
- func (o *PcloudNetworksPortsPutBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutBadRequest) IsRedirect() bool
- func (o *PcloudNetworksPortsPutBadRequest) IsServerError() bool
- func (o *PcloudNetworksPortsPutBadRequest) IsSuccess() bool
- func (o *PcloudNetworksPortsPutBadRequest) String() string
- type PcloudNetworksPortsPutForbidden
- func (o *PcloudNetworksPortsPutForbidden) Code() int
- func (o *PcloudNetworksPortsPutForbidden) Error() string
- func (o *PcloudNetworksPortsPutForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPutForbidden) IsClientError() bool
- func (o *PcloudNetworksPortsPutForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutForbidden) IsRedirect() bool
- func (o *PcloudNetworksPortsPutForbidden) IsServerError() bool
- func (o *PcloudNetworksPortsPutForbidden) IsSuccess() bool
- func (o *PcloudNetworksPortsPutForbidden) String() string
- type PcloudNetworksPortsPutInternalServerError
- func (o *PcloudNetworksPortsPutInternalServerError) Code() int
- func (o *PcloudNetworksPortsPutInternalServerError) Error() string
- func (o *PcloudNetworksPortsPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPutInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPortsPutInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPortsPutInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPortsPutInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPortsPutInternalServerError) String() string
- type PcloudNetworksPortsPutNotFound
- func (o *PcloudNetworksPortsPutNotFound) Code() int
- func (o *PcloudNetworksPortsPutNotFound) Error() string
- func (o *PcloudNetworksPortsPutNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPutNotFound) IsClientError() bool
- func (o *PcloudNetworksPortsPutNotFound) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutNotFound) IsRedirect() bool
- func (o *PcloudNetworksPortsPutNotFound) IsServerError() bool
- func (o *PcloudNetworksPortsPutNotFound) IsSuccess() bool
- func (o *PcloudNetworksPortsPutNotFound) String() string
- type PcloudNetworksPortsPutOK
- func (o *PcloudNetworksPortsPutOK) Code() int
- func (o *PcloudNetworksPortsPutOK) Error() string
- func (o *PcloudNetworksPortsPutOK) GetPayload() *models.NetworkPort
- func (o *PcloudNetworksPortsPutOK) IsClientError() bool
- func (o *PcloudNetworksPortsPutOK) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutOK) IsRedirect() bool
- func (o *PcloudNetworksPortsPutOK) IsServerError() bool
- func (o *PcloudNetworksPortsPutOK) IsSuccess() bool
- func (o *PcloudNetworksPortsPutOK) String() string
- type PcloudNetworksPortsPutParams
- func NewPcloudNetworksPortsPutParams() *PcloudNetworksPortsPutParams
- func NewPcloudNetworksPortsPutParamsWithContext(ctx context.Context) *PcloudNetworksPortsPutParams
- func NewPcloudNetworksPortsPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsPutParams
- func NewPcloudNetworksPortsPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) SetBody(body *models.NetworkPortUpdate)
- func (o *PcloudNetworksPortsPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPortsPutParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPortsPutParams) SetDefaults()
- func (o *PcloudNetworksPortsPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPortsPutParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksPortsPutParams) SetPortID(portID string)
- func (o *PcloudNetworksPortsPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPortsPutParams) WithBody(body *models.NetworkPortUpdate) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithContext(ctx context.Context) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithDefaults() *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithNetworkID(networkID string) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithPortID(portID string) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsPutParams
- func (o *PcloudNetworksPortsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPortsPutReader
- type PcloudNetworksPortsPutUnauthorized
- func (o *PcloudNetworksPortsPutUnauthorized) Code() int
- func (o *PcloudNetworksPortsPutUnauthorized) Error() string
- func (o *PcloudNetworksPortsPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPutUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPortsPutUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPortsPutUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPortsPutUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPortsPutUnauthorized) String() string
- type PcloudNetworksPortsPutUnprocessableEntity
- func (o *PcloudNetworksPortsPutUnprocessableEntity) Code() int
- func (o *PcloudNetworksPortsPutUnprocessableEntity) Error() string
- func (o *PcloudNetworksPortsPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudNetworksPortsPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudNetworksPortsPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudNetworksPortsPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudNetworksPortsPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudNetworksPortsPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudNetworksPortsPutUnprocessableEntity) String() string
- type PcloudNetworksPostBadRequest
- func (o *PcloudNetworksPostBadRequest) Code() int
- func (o *PcloudNetworksPostBadRequest) Error() string
- func (o *PcloudNetworksPostBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksPostBadRequest) IsClientError() bool
- func (o *PcloudNetworksPostBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksPostBadRequest) IsRedirect() bool
- func (o *PcloudNetworksPostBadRequest) IsServerError() bool
- func (o *PcloudNetworksPostBadRequest) IsSuccess() bool
- func (o *PcloudNetworksPostBadRequest) String() string
- type PcloudNetworksPostConflict
- func (o *PcloudNetworksPostConflict) Code() int
- func (o *PcloudNetworksPostConflict) Error() string
- func (o *PcloudNetworksPostConflict) GetPayload() *models.Error
- func (o *PcloudNetworksPostConflict) IsClientError() bool
- func (o *PcloudNetworksPostConflict) IsCode(code int) bool
- func (o *PcloudNetworksPostConflict) IsRedirect() bool
- func (o *PcloudNetworksPostConflict) IsServerError() bool
- func (o *PcloudNetworksPostConflict) IsSuccess() bool
- func (o *PcloudNetworksPostConflict) String() string
- type PcloudNetworksPostCreated
- func (o *PcloudNetworksPostCreated) Code() int
- func (o *PcloudNetworksPostCreated) Error() string
- func (o *PcloudNetworksPostCreated) GetPayload() *models.Network
- func (o *PcloudNetworksPostCreated) IsClientError() bool
- func (o *PcloudNetworksPostCreated) IsCode(code int) bool
- func (o *PcloudNetworksPostCreated) IsRedirect() bool
- func (o *PcloudNetworksPostCreated) IsServerError() bool
- func (o *PcloudNetworksPostCreated) IsSuccess() bool
- func (o *PcloudNetworksPostCreated) String() string
- type PcloudNetworksPostForbidden
- func (o *PcloudNetworksPostForbidden) Code() int
- func (o *PcloudNetworksPostForbidden) Error() string
- func (o *PcloudNetworksPostForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPostForbidden) IsClientError() bool
- func (o *PcloudNetworksPostForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPostForbidden) IsRedirect() bool
- func (o *PcloudNetworksPostForbidden) IsServerError() bool
- func (o *PcloudNetworksPostForbidden) IsSuccess() bool
- func (o *PcloudNetworksPostForbidden) String() string
- type PcloudNetworksPostInternalServerError
- func (o *PcloudNetworksPostInternalServerError) Code() int
- func (o *PcloudNetworksPostInternalServerError) Error() string
- func (o *PcloudNetworksPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPostInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPostInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPostInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPostInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPostInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPostInternalServerError) String() string
- type PcloudNetworksPostOK
- func (o *PcloudNetworksPostOK) Code() int
- func (o *PcloudNetworksPostOK) Error() string
- func (o *PcloudNetworksPostOK) GetPayload() *models.Network
- func (o *PcloudNetworksPostOK) IsClientError() bool
- func (o *PcloudNetworksPostOK) IsCode(code int) bool
- func (o *PcloudNetworksPostOK) IsRedirect() bool
- func (o *PcloudNetworksPostOK) IsServerError() bool
- func (o *PcloudNetworksPostOK) IsSuccess() bool
- func (o *PcloudNetworksPostOK) String() string
- type PcloudNetworksPostParams
- func NewPcloudNetworksPostParams() *PcloudNetworksPostParams
- func NewPcloudNetworksPostParamsWithContext(ctx context.Context) *PcloudNetworksPostParams
- func NewPcloudNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudNetworksPostParams
- func NewPcloudNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) SetBody(body *models.NetworkCreate)
- func (o *PcloudNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPostParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPostParams) SetDefaults()
- func (o *PcloudNetworksPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPostParams) WithBody(body *models.NetworkCreate) *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) WithContext(ctx context.Context) *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) WithDefaults() *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) WithHTTPClient(client *http.Client) *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) WithTimeout(timeout time.Duration) *PcloudNetworksPostParams
- func (o *PcloudNetworksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPostReader
- type PcloudNetworksPostStatus550
- func (o *PcloudNetworksPostStatus550) Code() int
- func (o *PcloudNetworksPostStatus550) Error() string
- func (o *PcloudNetworksPostStatus550) GetPayload() *models.Error
- func (o *PcloudNetworksPostStatus550) IsClientError() bool
- func (o *PcloudNetworksPostStatus550) IsCode(code int) bool
- func (o *PcloudNetworksPostStatus550) IsRedirect() bool
- func (o *PcloudNetworksPostStatus550) IsServerError() bool
- func (o *PcloudNetworksPostStatus550) IsSuccess() bool
- func (o *PcloudNetworksPostStatus550) String() string
- type PcloudNetworksPostUnauthorized
- func (o *PcloudNetworksPostUnauthorized) Code() int
- func (o *PcloudNetworksPostUnauthorized) Error() string
- func (o *PcloudNetworksPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPostUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPostUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPostUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPostUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPostUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPostUnauthorized) String() string
- type PcloudNetworksPostUnprocessableEntity
- func (o *PcloudNetworksPostUnprocessableEntity) Code() int
- func (o *PcloudNetworksPostUnprocessableEntity) Error() string
- func (o *PcloudNetworksPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudNetworksPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudNetworksPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudNetworksPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudNetworksPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudNetworksPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudNetworksPostUnprocessableEntity) String() string
- type PcloudNetworksPutBadRequest
- func (o *PcloudNetworksPutBadRequest) Code() int
- func (o *PcloudNetworksPutBadRequest) Error() string
- func (o *PcloudNetworksPutBadRequest) GetPayload() *models.Error
- func (o *PcloudNetworksPutBadRequest) IsClientError() bool
- func (o *PcloudNetworksPutBadRequest) IsCode(code int) bool
- func (o *PcloudNetworksPutBadRequest) IsRedirect() bool
- func (o *PcloudNetworksPutBadRequest) IsServerError() bool
- func (o *PcloudNetworksPutBadRequest) IsSuccess() bool
- func (o *PcloudNetworksPutBadRequest) String() string
- type PcloudNetworksPutForbidden
- func (o *PcloudNetworksPutForbidden) Code() int
- func (o *PcloudNetworksPutForbidden) Error() string
- func (o *PcloudNetworksPutForbidden) GetPayload() *models.Error
- func (o *PcloudNetworksPutForbidden) IsClientError() bool
- func (o *PcloudNetworksPutForbidden) IsCode(code int) bool
- func (o *PcloudNetworksPutForbidden) IsRedirect() bool
- func (o *PcloudNetworksPutForbidden) IsServerError() bool
- func (o *PcloudNetworksPutForbidden) IsSuccess() bool
- func (o *PcloudNetworksPutForbidden) String() string
- type PcloudNetworksPutInternalServerError
- func (o *PcloudNetworksPutInternalServerError) Code() int
- func (o *PcloudNetworksPutInternalServerError) Error() string
- func (o *PcloudNetworksPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudNetworksPutInternalServerError) IsClientError() bool
- func (o *PcloudNetworksPutInternalServerError) IsCode(code int) bool
- func (o *PcloudNetworksPutInternalServerError) IsRedirect() bool
- func (o *PcloudNetworksPutInternalServerError) IsServerError() bool
- func (o *PcloudNetworksPutInternalServerError) IsSuccess() bool
- func (o *PcloudNetworksPutInternalServerError) String() string
- type PcloudNetworksPutNotFound
- func (o *PcloudNetworksPutNotFound) Code() int
- func (o *PcloudNetworksPutNotFound) Error() string
- func (o *PcloudNetworksPutNotFound) GetPayload() *models.Error
- func (o *PcloudNetworksPutNotFound) IsClientError() bool
- func (o *PcloudNetworksPutNotFound) IsCode(code int) bool
- func (o *PcloudNetworksPutNotFound) IsRedirect() bool
- func (o *PcloudNetworksPutNotFound) IsServerError() bool
- func (o *PcloudNetworksPutNotFound) IsSuccess() bool
- func (o *PcloudNetworksPutNotFound) String() string
- type PcloudNetworksPutOK
- func (o *PcloudNetworksPutOK) Code() int
- func (o *PcloudNetworksPutOK) Error() string
- func (o *PcloudNetworksPutOK) GetPayload() *models.Network
- func (o *PcloudNetworksPutOK) IsClientError() bool
- func (o *PcloudNetworksPutOK) IsCode(code int) bool
- func (o *PcloudNetworksPutOK) IsRedirect() bool
- func (o *PcloudNetworksPutOK) IsServerError() bool
- func (o *PcloudNetworksPutOK) IsSuccess() bool
- func (o *PcloudNetworksPutOK) String() string
- type PcloudNetworksPutParams
- func NewPcloudNetworksPutParams() *PcloudNetworksPutParams
- func NewPcloudNetworksPutParamsWithContext(ctx context.Context) *PcloudNetworksPutParams
- func NewPcloudNetworksPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPutParams
- func NewPcloudNetworksPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) SetBody(body *models.NetworkUpdate)
- func (o *PcloudNetworksPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudNetworksPutParams) SetContext(ctx context.Context)
- func (o *PcloudNetworksPutParams) SetDefaults()
- func (o *PcloudNetworksPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudNetworksPutParams) SetNetworkID(networkID string)
- func (o *PcloudNetworksPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudNetworksPutParams) WithBody(body *models.NetworkUpdate) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WithContext(ctx context.Context) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WithDefaults() *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WithHTTPClient(client *http.Client) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WithNetworkID(networkID string) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WithTimeout(timeout time.Duration) *PcloudNetworksPutParams
- func (o *PcloudNetworksPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudNetworksPutReader
- type PcloudNetworksPutUnauthorized
- func (o *PcloudNetworksPutUnauthorized) Code() int
- func (o *PcloudNetworksPutUnauthorized) Error() string
- func (o *PcloudNetworksPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudNetworksPutUnauthorized) IsClientError() bool
- func (o *PcloudNetworksPutUnauthorized) IsCode(code int) bool
- func (o *PcloudNetworksPutUnauthorized) IsRedirect() bool
- func (o *PcloudNetworksPutUnauthorized) IsServerError() bool
- func (o *PcloudNetworksPutUnauthorized) IsSuccess() bool
- func (o *PcloudNetworksPutUnauthorized) String() string
- type PcloudNetworksPutUnprocessableEntity
- func (o *PcloudNetworksPutUnprocessableEntity) Code() int
- func (o *PcloudNetworksPutUnprocessableEntity) Error() string
- func (o *PcloudNetworksPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudNetworksPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudNetworksPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudNetworksPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudNetworksPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudNetworksPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudNetworksPutUnprocessableEntity) 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 networks API
func (*Client) PcloudNetworksDelete ¶
func (a *Client) PcloudNetworksDelete(params *PcloudNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksDeleteOK, error)
PcloudNetworksDelete deletes a network
func (*Client) PcloudNetworksGet ¶
func (a *Client) PcloudNetworksGet(params *PcloudNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksGetOK, error)
PcloudNetworksGet gets a network s current state information
func (*Client) PcloudNetworksGetall ¶
func (a *Client) PcloudNetworksGetall(params *PcloudNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksGetallOK, error)
PcloudNetworksGetall gets all networks in this cloud instance
func (*Client) PcloudNetworksPortsDelete ¶
func (a *Client) PcloudNetworksPortsDelete(params *PcloudNetworksPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsDeleteOK, error)
PcloudNetworksPortsDelete deletes a network port
func (*Client) PcloudNetworksPortsGet ¶
func (a *Client) PcloudNetworksPortsGet(params *PcloudNetworksPortsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsGetOK, error)
PcloudNetworksPortsGet gets a port s information
func (*Client) PcloudNetworksPortsGetall ¶
func (a *Client) PcloudNetworksPortsGetall(params *PcloudNetworksPortsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsGetallOK, error)
PcloudNetworksPortsGetall gets all ports for this network
func (*Client) PcloudNetworksPortsPost ¶
func (a *Client) PcloudNetworksPortsPost(params *PcloudNetworksPortsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsPostCreated, error)
PcloudNetworksPortsPost performs port addition deletion and listing
func (*Client) PcloudNetworksPortsPut ¶
func (a *Client) PcloudNetworksPortsPut(params *PcloudNetworksPortsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsPutOK, error)
PcloudNetworksPortsPut updates a port s information
func (*Client) PcloudNetworksPost ¶
func (a *Client) PcloudNetworksPost(params *PcloudNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPostOK, *PcloudNetworksPostCreated, error)
PcloudNetworksPost creates a new network
func (*Client) PcloudNetworksPut ¶
func (a *Client) PcloudNetworksPut(params *PcloudNetworksPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPutOK, error)
PcloudNetworksPut updates a network
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 { PcloudNetworksDelete(params *PcloudNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksDeleteOK, error) PcloudNetworksGet(params *PcloudNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksGetOK, error) PcloudNetworksGetall(params *PcloudNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksGetallOK, error) PcloudNetworksPortsDelete(params *PcloudNetworksPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsDeleteOK, error) PcloudNetworksPortsGet(params *PcloudNetworksPortsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsGetOK, error) PcloudNetworksPortsGetall(params *PcloudNetworksPortsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsGetallOK, error) PcloudNetworksPortsPost(params *PcloudNetworksPortsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsPostCreated, error) PcloudNetworksPortsPut(params *PcloudNetworksPortsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsPutOK, error) PcloudNetworksPost(params *PcloudNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPostOK, *PcloudNetworksPostCreated, error) PcloudNetworksPut(params *PcloudNetworksPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPutOK, 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 networks API client.
type PcloudNetworksDeleteBadRequest ¶
PcloudNetworksDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksDeleteBadRequest ¶
func NewPcloudNetworksDeleteBadRequest() *PcloudNetworksDeleteBadRequest
NewPcloudNetworksDeleteBadRequest creates a PcloudNetworksDeleteBadRequest with default headers values
func (*PcloudNetworksDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteBadRequest) Code() int
Code gets the status code for the pcloud networks delete bad request response
func (*PcloudNetworksDeleteBadRequest) Error ¶
func (o *PcloudNetworksDeleteBadRequest) Error() string
func (*PcloudNetworksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteBadRequest) GetPayload() *models.Error
func (*PcloudNetworksDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks delete bad request response has a 4xx status code
func (*PcloudNetworksDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks delete bad request response a status code equal to that given
func (*PcloudNetworksDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete bad request response has a 3xx status code
func (*PcloudNetworksDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks delete bad request response has a 5xx status code
func (*PcloudNetworksDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete bad request response has a 2xx status code
func (*PcloudNetworksDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteBadRequest) String() string
type PcloudNetworksDeleteForbidden ¶ added in v1.2.2
PcloudNetworksDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksDeleteForbidden ¶ added in v1.2.2
func NewPcloudNetworksDeleteForbidden() *PcloudNetworksDeleteForbidden
NewPcloudNetworksDeleteForbidden creates a PcloudNetworksDeleteForbidden with default headers values
func (*PcloudNetworksDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteForbidden) Code() int
Code gets the status code for the pcloud networks delete forbidden response
func (*PcloudNetworksDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) Error() string
func (*PcloudNetworksDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) GetPayload() *models.Error
func (*PcloudNetworksDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks delete forbidden response has a 4xx status code
func (*PcloudNetworksDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks delete forbidden response a status code equal to that given
func (*PcloudNetworksDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete forbidden response has a 3xx status code
func (*PcloudNetworksDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks delete forbidden response has a 5xx status code
func (*PcloudNetworksDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete forbidden response has a 2xx status code
func (*PcloudNetworksDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteForbidden) String() string
type PcloudNetworksDeleteGone ¶
PcloudNetworksDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudNetworksDeleteGone ¶
func NewPcloudNetworksDeleteGone() *PcloudNetworksDeleteGone
NewPcloudNetworksDeleteGone creates a PcloudNetworksDeleteGone with default headers values
func (*PcloudNetworksDeleteGone) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteGone) Code() int
Code gets the status code for the pcloud networks delete gone response
func (*PcloudNetworksDeleteGone) Error ¶
func (o *PcloudNetworksDeleteGone) Error() string
func (*PcloudNetworksDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteGone) GetPayload() *models.Error
func (*PcloudNetworksDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud networks delete gone response has a 4xx status code
func (*PcloudNetworksDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud networks delete gone response a status code equal to that given
func (*PcloudNetworksDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete gone response has a 3xx status code
func (*PcloudNetworksDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud networks delete gone response has a 5xx status code
func (*PcloudNetworksDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete gone response has a 2xx status code
func (*PcloudNetworksDeleteGone) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteGone) String() string
type PcloudNetworksDeleteInternalServerError ¶
PcloudNetworksDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksDeleteInternalServerError ¶
func NewPcloudNetworksDeleteInternalServerError() *PcloudNetworksDeleteInternalServerError
NewPcloudNetworksDeleteInternalServerError creates a PcloudNetworksDeleteInternalServerError with default headers values
func (*PcloudNetworksDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteInternalServerError) Code() int
Code gets the status code for the pcloud networks delete internal server error response
func (*PcloudNetworksDeleteInternalServerError) Error ¶
func (o *PcloudNetworksDeleteInternalServerError) Error() string
func (*PcloudNetworksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks delete internal server error response has a 4xx status code
func (*PcloudNetworksDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks delete internal server error response a status code equal to that given
func (*PcloudNetworksDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete internal server error response has a 3xx status code
func (*PcloudNetworksDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks delete internal server error response has a 5xx status code
func (*PcloudNetworksDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete internal server error response has a 2xx status code
func (*PcloudNetworksDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteInternalServerError) String() string
type PcloudNetworksDeleteNotFound ¶ added in v1.1.9
PcloudNetworksDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksDeleteNotFound ¶ added in v1.1.9
func NewPcloudNetworksDeleteNotFound() *PcloudNetworksDeleteNotFound
NewPcloudNetworksDeleteNotFound creates a PcloudNetworksDeleteNotFound with default headers values
func (*PcloudNetworksDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteNotFound) Code() int
Code gets the status code for the pcloud networks delete not found response
func (*PcloudNetworksDeleteNotFound) Error ¶ added in v1.1.9
func (o *PcloudNetworksDeleteNotFound) Error() string
func (*PcloudNetworksDeleteNotFound) GetPayload ¶ added in v1.1.9
func (o *PcloudNetworksDeleteNotFound) GetPayload() *models.Error
func (*PcloudNetworksDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks delete not found response has a 4xx status code
func (*PcloudNetworksDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks delete not found response a status code equal to that given
func (*PcloudNetworksDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete not found response has a 3xx status code
func (*PcloudNetworksDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks delete not found response has a 5xx status code
func (*PcloudNetworksDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete not found response has a 2xx status code
func (*PcloudNetworksDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteNotFound) String() string
type PcloudNetworksDeleteOK ¶
PcloudNetworksDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksDeleteOK ¶
func NewPcloudNetworksDeleteOK() *PcloudNetworksDeleteOK
NewPcloudNetworksDeleteOK creates a PcloudNetworksDeleteOK with default headers values
func (*PcloudNetworksDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteOK) Code() int
Code gets the status code for the pcloud networks delete o k response
func (*PcloudNetworksDeleteOK) Error ¶
func (o *PcloudNetworksDeleteOK) Error() string
func (*PcloudNetworksDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteOK) GetPayload() models.Object
func (*PcloudNetworksDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud networks delete o k response has a 4xx status code
func (*PcloudNetworksDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud networks delete o k response a status code equal to that given
func (*PcloudNetworksDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete o k response has a 3xx status code
func (*PcloudNetworksDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud networks delete o k response has a 5xx status code
func (*PcloudNetworksDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete o k response has a 2xx status code
func (*PcloudNetworksDeleteOK) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteOK) String() string
type PcloudNetworksDeleteParams ¶
type PcloudNetworksDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksDeleteParams contains all the parameters to send to the API endpoint
for the pcloud networks delete operation. Typically these are written to a http.Request.
func NewPcloudNetworksDeleteParams ¶
func NewPcloudNetworksDeleteParams() *PcloudNetworksDeleteParams
NewPcloudNetworksDeleteParams creates a new PcloudNetworksDeleteParams 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 NewPcloudNetworksDeleteParamsWithContext ¶
func NewPcloudNetworksDeleteParamsWithContext(ctx context.Context) *PcloudNetworksDeleteParams
NewPcloudNetworksDeleteParamsWithContext creates a new PcloudNetworksDeleteParams object with the ability to set a context for a request.
func NewPcloudNetworksDeleteParamsWithHTTPClient ¶
func NewPcloudNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksDeleteParams
NewPcloudNetworksDeleteParamsWithHTTPClient creates a new PcloudNetworksDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksDeleteParamsWithTimeout ¶
func NewPcloudNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksDeleteParams
NewPcloudNetworksDeleteParamsWithTimeout creates a new PcloudNetworksDeleteParams object with the ability to set a timeout on a request.
func (*PcloudNetworksDeleteParams) SetCloudInstanceID ¶
func (o *PcloudNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) SetContext ¶
func (o *PcloudNetworksDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksDeleteParams) SetHTTPClient ¶
func (o *PcloudNetworksDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) SetNetworkID ¶
func (o *PcloudNetworksDeleteParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) SetTimeout ¶
func (o *PcloudNetworksDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) WithCloudInstanceID ¶
func (o *PcloudNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) WithContext ¶
func (o *PcloudNetworksDeleteParams) WithContext(ctx context.Context) *PcloudNetworksDeleteParams
WithContext adds the context to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksDeleteParams) WithDefaults() *PcloudNetworksDeleteParams
WithDefaults hydrates default values in the pcloud networks delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksDeleteParams) WithHTTPClient ¶
func (o *PcloudNetworksDeleteParams) WithHTTPClient(client *http.Client) *PcloudNetworksDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) WithNetworkID ¶
func (o *PcloudNetworksDeleteParams) WithNetworkID(networkID string) *PcloudNetworksDeleteParams
WithNetworkID adds the networkID to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) WithTimeout ¶
func (o *PcloudNetworksDeleteParams) WithTimeout(timeout time.Duration) *PcloudNetworksDeleteParams
WithTimeout adds the timeout to the pcloud networks delete params
func (*PcloudNetworksDeleteParams) WriteToRequest ¶
func (o *PcloudNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksDeleteReader ¶
type PcloudNetworksDeleteReader struct {
// contains filtered or unexported fields
}
PcloudNetworksDeleteReader is a Reader for the PcloudNetworksDelete structure.
func (*PcloudNetworksDeleteReader) ReadResponse ¶
func (o *PcloudNetworksDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksDeleteUnauthorized ¶ added in v1.0.59
type PcloudNetworksDeleteUnauthorized struct {
}PcloudNetworksDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksDeleteUnauthorized() *PcloudNetworksDeleteUnauthorized
NewPcloudNetworksDeleteUnauthorized creates a PcloudNetworksDeleteUnauthorized with default headers values
func (*PcloudNetworksDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksDeleteUnauthorized) Code() int
Code gets the status code for the pcloud networks delete unauthorized response
func (*PcloudNetworksDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksDeleteUnauthorized) Error() string
func (*PcloudNetworksDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks delete unauthorized response has a 4xx status code
func (*PcloudNetworksDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks delete unauthorized response a status code equal to that given
func (*PcloudNetworksDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks delete unauthorized response has a 3xx status code
func (*PcloudNetworksDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks delete unauthorized response has a 5xx status code
func (*PcloudNetworksDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks delete unauthorized response has a 2xx status code
func (*PcloudNetworksDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksDeleteUnauthorized) String() string
type PcloudNetworksGetBadRequest ¶
PcloudNetworksGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksGetBadRequest ¶
func NewPcloudNetworksGetBadRequest() *PcloudNetworksGetBadRequest
NewPcloudNetworksGetBadRequest creates a PcloudNetworksGetBadRequest with default headers values
func (*PcloudNetworksGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetBadRequest) Code() int
Code gets the status code for the pcloud networks get bad request response
func (*PcloudNetworksGetBadRequest) Error ¶
func (o *PcloudNetworksGetBadRequest) Error() string
func (*PcloudNetworksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetBadRequest) GetPayload() *models.Error
func (*PcloudNetworksGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks get bad request response has a 4xx status code
func (*PcloudNetworksGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks get bad request response a status code equal to that given
func (*PcloudNetworksGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks get bad request response has a 3xx status code
func (*PcloudNetworksGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks get bad request response has a 5xx status code
func (*PcloudNetworksGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks get bad request response has a 2xx status code
func (*PcloudNetworksGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksGetBadRequest) String() string
type PcloudNetworksGetForbidden ¶ added in v1.2.2
PcloudNetworksGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksGetForbidden ¶ added in v1.2.2
func NewPcloudNetworksGetForbidden() *PcloudNetworksGetForbidden
NewPcloudNetworksGetForbidden creates a PcloudNetworksGetForbidden with default headers values
func (*PcloudNetworksGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetForbidden) Code() int
Code gets the status code for the pcloud networks get forbidden response
func (*PcloudNetworksGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) Error() string
func (*PcloudNetworksGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) GetPayload() *models.Error
func (*PcloudNetworksGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks get forbidden response has a 4xx status code
func (*PcloudNetworksGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks get forbidden response a status code equal to that given
func (*PcloudNetworksGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks get forbidden response has a 3xx status code
func (*PcloudNetworksGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks get forbidden response has a 5xx status code
func (*PcloudNetworksGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks get forbidden response has a 2xx status code
func (*PcloudNetworksGetForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksGetForbidden) String() string
type PcloudNetworksGetInternalServerError ¶
PcloudNetworksGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksGetInternalServerError ¶
func NewPcloudNetworksGetInternalServerError() *PcloudNetworksGetInternalServerError
NewPcloudNetworksGetInternalServerError creates a PcloudNetworksGetInternalServerError with default headers values
func (*PcloudNetworksGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetInternalServerError) Code() int
Code gets the status code for the pcloud networks get internal server error response
func (*PcloudNetworksGetInternalServerError) Error ¶
func (o *PcloudNetworksGetInternalServerError) Error() string
func (*PcloudNetworksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks get internal server error response has a 4xx status code
func (*PcloudNetworksGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks get internal server error response a status code equal to that given
func (*PcloudNetworksGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks get internal server error response has a 3xx status code
func (*PcloudNetworksGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks get internal server error response has a 5xx status code
func (*PcloudNetworksGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks get internal server error response has a 2xx status code
func (*PcloudNetworksGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksGetInternalServerError) String() string
type PcloudNetworksGetNotFound ¶
PcloudNetworksGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksGetNotFound ¶
func NewPcloudNetworksGetNotFound() *PcloudNetworksGetNotFound
NewPcloudNetworksGetNotFound creates a PcloudNetworksGetNotFound with default headers values
func (*PcloudNetworksGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetNotFound) Code() int
Code gets the status code for the pcloud networks get not found response
func (*PcloudNetworksGetNotFound) Error ¶
func (o *PcloudNetworksGetNotFound) Error() string
func (*PcloudNetworksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetNotFound) GetPayload() *models.Error
func (*PcloudNetworksGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks get not found response has a 4xx status code
func (*PcloudNetworksGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks get not found response a status code equal to that given
func (*PcloudNetworksGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks get not found response has a 3xx status code
func (*PcloudNetworksGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks get not found response has a 5xx status code
func (*PcloudNetworksGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks get not found response has a 2xx status code
func (*PcloudNetworksGetNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksGetNotFound) String() string
type PcloudNetworksGetOK ¶
PcloudNetworksGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksGetOK ¶
func NewPcloudNetworksGetOK() *PcloudNetworksGetOK
NewPcloudNetworksGetOK creates a PcloudNetworksGetOK with default headers values
func (*PcloudNetworksGetOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetOK) Code() int
Code gets the status code for the pcloud networks get o k response
func (*PcloudNetworksGetOK) Error ¶
func (o *PcloudNetworksGetOK) Error() string
func (*PcloudNetworksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetOK) GetPayload() *models.Network
func (*PcloudNetworksGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetOK) IsClientError() bool
IsClientError returns true when this pcloud networks get o k response has a 4xx status code
func (*PcloudNetworksGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetOK) IsCode(code int) bool
IsCode returns true when this pcloud networks get o k response a status code equal to that given
func (*PcloudNetworksGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks get o k response has a 3xx status code
func (*PcloudNetworksGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetOK) IsServerError() bool
IsServerError returns true when this pcloud networks get o k response has a 5xx status code
func (*PcloudNetworksGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks get o k response has a 2xx status code
func (*PcloudNetworksGetOK) String ¶ added in v1.2.2
func (o *PcloudNetworksGetOK) String() string
type PcloudNetworksGetParams ¶
type PcloudNetworksGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksGetParams contains all the parameters to send to the API endpoint
for the pcloud networks get operation. Typically these are written to a http.Request.
func NewPcloudNetworksGetParams ¶
func NewPcloudNetworksGetParams() *PcloudNetworksGetParams
NewPcloudNetworksGetParams creates a new PcloudNetworksGetParams 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 NewPcloudNetworksGetParamsWithContext ¶
func NewPcloudNetworksGetParamsWithContext(ctx context.Context) *PcloudNetworksGetParams
NewPcloudNetworksGetParamsWithContext creates a new PcloudNetworksGetParams object with the ability to set a context for a request.
func NewPcloudNetworksGetParamsWithHTTPClient ¶
func NewPcloudNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetParams
NewPcloudNetworksGetParamsWithHTTPClient creates a new PcloudNetworksGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksGetParamsWithTimeout ¶
func NewPcloudNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetParams
NewPcloudNetworksGetParamsWithTimeout creates a new PcloudNetworksGetParams object with the ability to set a timeout on a request.
func (*PcloudNetworksGetParams) SetCloudInstanceID ¶
func (o *PcloudNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks get params
func (*PcloudNetworksGetParams) SetContext ¶
func (o *PcloudNetworksGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks get params
func (*PcloudNetworksGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksGetParams) SetHTTPClient ¶
func (o *PcloudNetworksGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks get params
func (*PcloudNetworksGetParams) SetNetworkID ¶
func (o *PcloudNetworksGetParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks get params
func (*PcloudNetworksGetParams) SetTimeout ¶
func (o *PcloudNetworksGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks get params
func (*PcloudNetworksGetParams) WithCloudInstanceID ¶
func (o *PcloudNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks get params
func (*PcloudNetworksGetParams) WithContext ¶
func (o *PcloudNetworksGetParams) WithContext(ctx context.Context) *PcloudNetworksGetParams
WithContext adds the context to the pcloud networks get params
func (*PcloudNetworksGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksGetParams) WithDefaults() *PcloudNetworksGetParams
WithDefaults hydrates default values in the pcloud networks get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksGetParams) WithHTTPClient ¶
func (o *PcloudNetworksGetParams) WithHTTPClient(client *http.Client) *PcloudNetworksGetParams
WithHTTPClient adds the HTTPClient to the pcloud networks get params
func (*PcloudNetworksGetParams) WithNetworkID ¶
func (o *PcloudNetworksGetParams) WithNetworkID(networkID string) *PcloudNetworksGetParams
WithNetworkID adds the networkID to the pcloud networks get params
func (*PcloudNetworksGetParams) WithTimeout ¶
func (o *PcloudNetworksGetParams) WithTimeout(timeout time.Duration) *PcloudNetworksGetParams
WithTimeout adds the timeout to the pcloud networks get params
func (*PcloudNetworksGetParams) WriteToRequest ¶
func (o *PcloudNetworksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksGetReader ¶
type PcloudNetworksGetReader struct {
// contains filtered or unexported fields
}
PcloudNetworksGetReader is a Reader for the PcloudNetworksGet structure.
func (*PcloudNetworksGetReader) ReadResponse ¶
func (o *PcloudNetworksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksGetUnauthorized ¶ added in v1.0.59
type PcloudNetworksGetUnauthorized struct {
}PcloudNetworksGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksGetUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksGetUnauthorized() *PcloudNetworksGetUnauthorized
NewPcloudNetworksGetUnauthorized creates a PcloudNetworksGetUnauthorized with default headers values
func (*PcloudNetworksGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetUnauthorized) Code() int
Code gets the status code for the pcloud networks get unauthorized response
func (*PcloudNetworksGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksGetUnauthorized) Error() string
func (*PcloudNetworksGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks get unauthorized response has a 4xx status code
func (*PcloudNetworksGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks get unauthorized response a status code equal to that given
func (*PcloudNetworksGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks get unauthorized response has a 3xx status code
func (*PcloudNetworksGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks get unauthorized response has a 5xx status code
func (*PcloudNetworksGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks get unauthorized response has a 2xx status code
func (*PcloudNetworksGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksGetUnauthorized) String() string
type PcloudNetworksGetallBadRequest ¶
PcloudNetworksGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksGetallBadRequest ¶
func NewPcloudNetworksGetallBadRequest() *PcloudNetworksGetallBadRequest
NewPcloudNetworksGetallBadRequest creates a PcloudNetworksGetallBadRequest with default headers values
func (*PcloudNetworksGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetallBadRequest) Code() int
Code gets the status code for the pcloud networks getall bad request response
func (*PcloudNetworksGetallBadRequest) Error ¶
func (o *PcloudNetworksGetallBadRequest) Error() string
func (*PcloudNetworksGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallBadRequest) GetPayload() *models.Error
func (*PcloudNetworksGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks getall bad request response has a 4xx status code
func (*PcloudNetworksGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks getall bad request response a status code equal to that given
func (*PcloudNetworksGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks getall bad request response has a 3xx status code
func (*PcloudNetworksGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks getall bad request response has a 5xx status code
func (*PcloudNetworksGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks getall bad request response has a 2xx status code
func (*PcloudNetworksGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksGetallBadRequest) String() string
type PcloudNetworksGetallForbidden ¶ added in v1.2.2
PcloudNetworksGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksGetallForbidden ¶ added in v1.2.2
func NewPcloudNetworksGetallForbidden() *PcloudNetworksGetallForbidden
NewPcloudNetworksGetallForbidden creates a PcloudNetworksGetallForbidden with default headers values
func (*PcloudNetworksGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetallForbidden) Code() int
Code gets the status code for the pcloud networks getall forbidden response
func (*PcloudNetworksGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) Error() string
func (*PcloudNetworksGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) GetPayload() *models.Error
func (*PcloudNetworksGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks getall forbidden response has a 4xx status code
func (*PcloudNetworksGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks getall forbidden response a status code equal to that given
func (*PcloudNetworksGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks getall forbidden response has a 3xx status code
func (*PcloudNetworksGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks getall forbidden response has a 5xx status code
func (*PcloudNetworksGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks getall forbidden response has a 2xx status code
func (*PcloudNetworksGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksGetallForbidden) String() string
type PcloudNetworksGetallInternalServerError ¶
PcloudNetworksGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksGetallInternalServerError ¶
func NewPcloudNetworksGetallInternalServerError() *PcloudNetworksGetallInternalServerError
NewPcloudNetworksGetallInternalServerError creates a PcloudNetworksGetallInternalServerError with default headers values
func (*PcloudNetworksGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetallInternalServerError) Code() int
Code gets the status code for the pcloud networks getall internal server error response
func (*PcloudNetworksGetallInternalServerError) Error ¶
func (o *PcloudNetworksGetallInternalServerError) Error() string
func (*PcloudNetworksGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks getall internal server error response has a 4xx status code
func (*PcloudNetworksGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks getall internal server error response a status code equal to that given
func (*PcloudNetworksGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks getall internal server error response has a 3xx status code
func (*PcloudNetworksGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks getall internal server error response has a 5xx status code
func (*PcloudNetworksGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks getall internal server error response has a 2xx status code
func (*PcloudNetworksGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksGetallInternalServerError) String() string
type PcloudNetworksGetallOK ¶
PcloudNetworksGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksGetallOK ¶
func NewPcloudNetworksGetallOK() *PcloudNetworksGetallOK
NewPcloudNetworksGetallOK creates a PcloudNetworksGetallOK with default headers values
func (*PcloudNetworksGetallOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetallOK) Code() int
Code gets the status code for the pcloud networks getall o k response
func (*PcloudNetworksGetallOK) Error ¶
func (o *PcloudNetworksGetallOK) Error() string
func (*PcloudNetworksGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallOK) GetPayload() *models.Networks
func (*PcloudNetworksGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetallOK) IsClientError() bool
IsClientError returns true when this pcloud networks getall o k response has a 4xx status code
func (*PcloudNetworksGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud networks getall o k response a status code equal to that given
func (*PcloudNetworksGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks getall o k response has a 3xx status code
func (*PcloudNetworksGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetallOK) IsServerError() bool
IsServerError returns true when this pcloud networks getall o k response has a 5xx status code
func (*PcloudNetworksGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks getall o k response has a 2xx status code
func (*PcloudNetworksGetallOK) String ¶ added in v1.2.2
func (o *PcloudNetworksGetallOK) String() string
type PcloudNetworksGetallParams ¶
type PcloudNetworksGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* Filter. A filter expression that filters resources listed in the response */ Filter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksGetallParams contains all the parameters to send to the API endpoint
for the pcloud networks getall operation. Typically these are written to a http.Request.
func NewPcloudNetworksGetallParams ¶
func NewPcloudNetworksGetallParams() *PcloudNetworksGetallParams
NewPcloudNetworksGetallParams creates a new PcloudNetworksGetallParams 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 NewPcloudNetworksGetallParamsWithContext ¶
func NewPcloudNetworksGetallParamsWithContext(ctx context.Context) *PcloudNetworksGetallParams
NewPcloudNetworksGetallParamsWithContext creates a new PcloudNetworksGetallParams object with the ability to set a context for a request.
func NewPcloudNetworksGetallParamsWithHTTPClient ¶
func NewPcloudNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetallParams
NewPcloudNetworksGetallParamsWithHTTPClient creates a new PcloudNetworksGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksGetallParamsWithTimeout ¶
func NewPcloudNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetallParams
NewPcloudNetworksGetallParamsWithTimeout creates a new PcloudNetworksGetallParams object with the ability to set a timeout on a request.
func (*PcloudNetworksGetallParams) SetCloudInstanceID ¶
func (o *PcloudNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks getall params
func (*PcloudNetworksGetallParams) SetContext ¶
func (o *PcloudNetworksGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks getall params
func (*PcloudNetworksGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksGetallParams) SetFilter ¶
func (o *PcloudNetworksGetallParams) SetFilter(filter *string)
SetFilter adds the filter to the pcloud networks getall params
func (*PcloudNetworksGetallParams) SetHTTPClient ¶
func (o *PcloudNetworksGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks getall params
func (*PcloudNetworksGetallParams) SetTimeout ¶
func (o *PcloudNetworksGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks getall params
func (*PcloudNetworksGetallParams) WithCloudInstanceID ¶
func (o *PcloudNetworksGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks getall params
func (*PcloudNetworksGetallParams) WithContext ¶
func (o *PcloudNetworksGetallParams) WithContext(ctx context.Context) *PcloudNetworksGetallParams
WithContext adds the context to the pcloud networks getall params
func (*PcloudNetworksGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksGetallParams) WithDefaults() *PcloudNetworksGetallParams
WithDefaults hydrates default values in the pcloud networks getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksGetallParams) WithFilter ¶
func (o *PcloudNetworksGetallParams) WithFilter(filter *string) *PcloudNetworksGetallParams
WithFilter adds the filter to the pcloud networks getall params
func (*PcloudNetworksGetallParams) WithHTTPClient ¶
func (o *PcloudNetworksGetallParams) WithHTTPClient(client *http.Client) *PcloudNetworksGetallParams
WithHTTPClient adds the HTTPClient to the pcloud networks getall params
func (*PcloudNetworksGetallParams) WithTimeout ¶
func (o *PcloudNetworksGetallParams) WithTimeout(timeout time.Duration) *PcloudNetworksGetallParams
WithTimeout adds the timeout to the pcloud networks getall params
func (*PcloudNetworksGetallParams) WriteToRequest ¶
func (o *PcloudNetworksGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksGetallReader ¶
type PcloudNetworksGetallReader struct {
// contains filtered or unexported fields
}
PcloudNetworksGetallReader is a Reader for the PcloudNetworksGetall structure.
func (*PcloudNetworksGetallReader) ReadResponse ¶
func (o *PcloudNetworksGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksGetallUnauthorized ¶ added in v1.0.59
type PcloudNetworksGetallUnauthorized struct {
}PcloudNetworksGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksGetallUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksGetallUnauthorized() *PcloudNetworksGetallUnauthorized
NewPcloudNetworksGetallUnauthorized creates a PcloudNetworksGetallUnauthorized with default headers values
func (*PcloudNetworksGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksGetallUnauthorized) Code() int
Code gets the status code for the pcloud networks getall unauthorized response
func (*PcloudNetworksGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksGetallUnauthorized) Error() string
func (*PcloudNetworksGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks getall unauthorized response has a 4xx status code
func (*PcloudNetworksGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks getall unauthorized response a status code equal to that given
func (*PcloudNetworksGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks getall unauthorized response has a 3xx status code
func (*PcloudNetworksGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks getall unauthorized response has a 5xx status code
func (*PcloudNetworksGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks getall unauthorized response has a 2xx status code
func (*PcloudNetworksGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksGetallUnauthorized) String() string
type PcloudNetworksPortsDeleteBadRequest ¶
PcloudNetworksPortsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksPortsDeleteBadRequest ¶
func NewPcloudNetworksPortsDeleteBadRequest() *PcloudNetworksPortsDeleteBadRequest
NewPcloudNetworksPortsDeleteBadRequest creates a PcloudNetworksPortsDeleteBadRequest with default headers values
func (*PcloudNetworksPortsDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteBadRequest) Code() int
Code gets the status code for the pcloud networks ports delete bad request response
func (*PcloudNetworksPortsDeleteBadRequest) Error ¶
func (o *PcloudNetworksPortsDeleteBadRequest) Error() string
func (*PcloudNetworksPortsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteBadRequest) GetPayload() *models.Error
func (*PcloudNetworksPortsDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete bad request response has a 4xx status code
func (*PcloudNetworksPortsDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete bad request response a status code equal to that given
func (*PcloudNetworksPortsDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete bad request response has a 3xx status code
func (*PcloudNetworksPortsDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete bad request response has a 5xx status code
func (*PcloudNetworksPortsDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete bad request response has a 2xx status code
func (*PcloudNetworksPortsDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteBadRequest) String() string
type PcloudNetworksPortsDeleteForbidden ¶ added in v1.2.2
PcloudNetworksPortsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPortsDeleteForbidden ¶ added in v1.2.2
func NewPcloudNetworksPortsDeleteForbidden() *PcloudNetworksPortsDeleteForbidden
NewPcloudNetworksPortsDeleteForbidden creates a PcloudNetworksPortsDeleteForbidden with default headers values
func (*PcloudNetworksPortsDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteForbidden) Code() int
Code gets the status code for the pcloud networks ports delete forbidden response
func (*PcloudNetworksPortsDeleteForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) Error() string
func (*PcloudNetworksPortsDeleteForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) GetPayload() *models.Error
func (*PcloudNetworksPortsDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete forbidden response has a 4xx status code
func (*PcloudNetworksPortsDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete forbidden response a status code equal to that given
func (*PcloudNetworksPortsDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete forbidden response has a 3xx status code
func (*PcloudNetworksPortsDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete forbidden response has a 5xx status code
func (*PcloudNetworksPortsDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete forbidden response has a 2xx status code
func (*PcloudNetworksPortsDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteForbidden) String() string
type PcloudNetworksPortsDeleteGone ¶
PcloudNetworksPortsDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudNetworksPortsDeleteGone ¶
func NewPcloudNetworksPortsDeleteGone() *PcloudNetworksPortsDeleteGone
NewPcloudNetworksPortsDeleteGone creates a PcloudNetworksPortsDeleteGone with default headers values
func (*PcloudNetworksPortsDeleteGone) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteGone) Code() int
Code gets the status code for the pcloud networks ports delete gone response
func (*PcloudNetworksPortsDeleteGone) Error ¶
func (o *PcloudNetworksPortsDeleteGone) Error() string
func (*PcloudNetworksPortsDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteGone) GetPayload() *models.Error
func (*PcloudNetworksPortsDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete gone response has a 4xx status code
func (*PcloudNetworksPortsDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete gone response a status code equal to that given
func (*PcloudNetworksPortsDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete gone response has a 3xx status code
func (*PcloudNetworksPortsDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete gone response has a 5xx status code
func (*PcloudNetworksPortsDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete gone response has a 2xx status code
func (*PcloudNetworksPortsDeleteGone) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteGone) String() string
type PcloudNetworksPortsDeleteInternalServerError ¶
PcloudNetworksPortsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPortsDeleteInternalServerError ¶
func NewPcloudNetworksPortsDeleteInternalServerError() *PcloudNetworksPortsDeleteInternalServerError
NewPcloudNetworksPortsDeleteInternalServerError creates a PcloudNetworksPortsDeleteInternalServerError with default headers values
func (*PcloudNetworksPortsDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteInternalServerError) Code() int
Code gets the status code for the pcloud networks ports delete internal server error response
func (*PcloudNetworksPortsDeleteInternalServerError) Error ¶
func (o *PcloudNetworksPortsDeleteInternalServerError) Error() string
func (*PcloudNetworksPortsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPortsDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete internal server error response has a 4xx status code
func (*PcloudNetworksPortsDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete internal server error response a status code equal to that given
func (*PcloudNetworksPortsDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete internal server error response has a 3xx status code
func (*PcloudNetworksPortsDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete internal server error response has a 5xx status code
func (*PcloudNetworksPortsDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete internal server error response has a 2xx status code
func (*PcloudNetworksPortsDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteInternalServerError) String() string
type PcloudNetworksPortsDeleteNotFound ¶ added in v1.2.2
PcloudNetworksPortsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksPortsDeleteNotFound ¶ added in v1.2.2
func NewPcloudNetworksPortsDeleteNotFound() *PcloudNetworksPortsDeleteNotFound
NewPcloudNetworksPortsDeleteNotFound creates a PcloudNetworksPortsDeleteNotFound with default headers values
func (*PcloudNetworksPortsDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteNotFound) Code() int
Code gets the status code for the pcloud networks ports delete not found response
func (*PcloudNetworksPortsDeleteNotFound) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) Error() string
func (*PcloudNetworksPortsDeleteNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) GetPayload() *models.Error
func (*PcloudNetworksPortsDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete not found response has a 4xx status code
func (*PcloudNetworksPortsDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete not found response a status code equal to that given
func (*PcloudNetworksPortsDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete not found response has a 3xx status code
func (*PcloudNetworksPortsDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete not found response has a 5xx status code
func (*PcloudNetworksPortsDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete not found response has a 2xx status code
func (*PcloudNetworksPortsDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteNotFound) String() string
type PcloudNetworksPortsDeleteOK ¶
PcloudNetworksPortsDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksPortsDeleteOK ¶
func NewPcloudNetworksPortsDeleteOK() *PcloudNetworksPortsDeleteOK
NewPcloudNetworksPortsDeleteOK creates a PcloudNetworksPortsDeleteOK with default headers values
func (*PcloudNetworksPortsDeleteOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteOK) Code() int
Code gets the status code for the pcloud networks ports delete o k response
func (*PcloudNetworksPortsDeleteOK) Error ¶
func (o *PcloudNetworksPortsDeleteOK) Error() string
func (*PcloudNetworksPortsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteOK) GetPayload() models.Object
func (*PcloudNetworksPortsDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete o k response has a 4xx status code
func (*PcloudNetworksPortsDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete o k response a status code equal to that given
func (*PcloudNetworksPortsDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete o k response has a 3xx status code
func (*PcloudNetworksPortsDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete o k response has a 5xx status code
func (*PcloudNetworksPortsDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete o k response has a 2xx status code
func (*PcloudNetworksPortsDeleteOK) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteOK) String() string
type PcloudNetworksPortsDeleteParams ¶
type PcloudNetworksPortsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string /* PortID. Port ID */ PortID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPortsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud networks ports delete operation. Typically these are written to a http.Request.
func NewPcloudNetworksPortsDeleteParams ¶
func NewPcloudNetworksPortsDeleteParams() *PcloudNetworksPortsDeleteParams
NewPcloudNetworksPortsDeleteParams creates a new PcloudNetworksPortsDeleteParams 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 NewPcloudNetworksPortsDeleteParamsWithContext ¶
func NewPcloudNetworksPortsDeleteParamsWithContext(ctx context.Context) *PcloudNetworksPortsDeleteParams
NewPcloudNetworksPortsDeleteParamsWithContext creates a new PcloudNetworksPortsDeleteParams object with the ability to set a context for a request.
func NewPcloudNetworksPortsDeleteParamsWithHTTPClient ¶
func NewPcloudNetworksPortsDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsDeleteParams
NewPcloudNetworksPortsDeleteParamsWithHTTPClient creates a new PcloudNetworksPortsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPortsDeleteParamsWithTimeout ¶
func NewPcloudNetworksPortsDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsDeleteParams
NewPcloudNetworksPortsDeleteParamsWithTimeout creates a new PcloudNetworksPortsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPortsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPortsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) SetContext ¶
func (o *PcloudNetworksPortsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks ports delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsDeleteParams) SetHTTPClient ¶
func (o *PcloudNetworksPortsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) SetNetworkID ¶
func (o *PcloudNetworksPortsDeleteParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) SetPortID ¶
func (o *PcloudNetworksPortsDeleteParams) SetPortID(portID string)
SetPortID adds the portId to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) SetTimeout ¶
func (o *PcloudNetworksPortsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPortsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WithContext ¶
func (o *PcloudNetworksPortsDeleteParams) WithContext(ctx context.Context) *PcloudNetworksPortsDeleteParams
WithContext adds the context to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteParams) WithDefaults() *PcloudNetworksPortsDeleteParams
WithDefaults hydrates default values in the pcloud networks ports delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsDeleteParams) WithHTTPClient ¶
func (o *PcloudNetworksPortsDeleteParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WithNetworkID ¶
func (o *PcloudNetworksPortsDeleteParams) WithNetworkID(networkID string) *PcloudNetworksPortsDeleteParams
WithNetworkID adds the networkID to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WithPortID ¶
func (o *PcloudNetworksPortsDeleteParams) WithPortID(portID string) *PcloudNetworksPortsDeleteParams
WithPortID adds the portID to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WithTimeout ¶
func (o *PcloudNetworksPortsDeleteParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsDeleteParams
WithTimeout adds the timeout to the pcloud networks ports delete params
func (*PcloudNetworksPortsDeleteParams) WriteToRequest ¶
func (o *PcloudNetworksPortsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPortsDeleteReader ¶
type PcloudNetworksPortsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPortsDeleteReader is a Reader for the PcloudNetworksPortsDelete structure.
func (*PcloudNetworksPortsDeleteReader) ReadResponse ¶
func (o *PcloudNetworksPortsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPortsDeleteUnauthorized ¶ added in v1.0.59
type PcloudNetworksPortsDeleteUnauthorized struct {
}PcloudNetworksPortsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPortsDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPortsDeleteUnauthorized() *PcloudNetworksPortsDeleteUnauthorized
NewPcloudNetworksPortsDeleteUnauthorized creates a PcloudNetworksPortsDeleteUnauthorized with default headers values
func (*PcloudNetworksPortsDeleteUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsDeleteUnauthorized) Code() int
Code gets the status code for the pcloud networks ports delete unauthorized response
func (*PcloudNetworksPortsDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPortsDeleteUnauthorized) Error() string
func (*PcloudNetworksPortsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPortsDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks ports delete unauthorized response has a 4xx status code
func (*PcloudNetworksPortsDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks ports delete unauthorized response a status code equal to that given
func (*PcloudNetworksPortsDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports delete unauthorized response has a 3xx status code
func (*PcloudNetworksPortsDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks ports delete unauthorized response has a 5xx status code
func (*PcloudNetworksPortsDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports delete unauthorized response has a 2xx status code
func (*PcloudNetworksPortsDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsDeleteUnauthorized) String() string
type PcloudNetworksPortsGetForbidden ¶ added in v1.2.2
PcloudNetworksPortsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPortsGetForbidden ¶ added in v1.2.2
func NewPcloudNetworksPortsGetForbidden() *PcloudNetworksPortsGetForbidden
NewPcloudNetworksPortsGetForbidden creates a PcloudNetworksPortsGetForbidden with default headers values
func (*PcloudNetworksPortsGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetForbidden) Code() int
Code gets the status code for the pcloud networks ports get forbidden response
func (*PcloudNetworksPortsGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) Error() string
func (*PcloudNetworksPortsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) GetPayload() *models.Error
func (*PcloudNetworksPortsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks ports get forbidden response has a 4xx status code
func (*PcloudNetworksPortsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks ports get forbidden response a status code equal to that given
func (*PcloudNetworksPortsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports get forbidden response has a 3xx status code
func (*PcloudNetworksPortsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks ports get forbidden response has a 5xx status code
func (*PcloudNetworksPortsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports get forbidden response has a 2xx status code
func (*PcloudNetworksPortsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetForbidden) String() string
type PcloudNetworksPortsGetInternalServerError ¶
PcloudNetworksPortsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPortsGetInternalServerError ¶
func NewPcloudNetworksPortsGetInternalServerError() *PcloudNetworksPortsGetInternalServerError
NewPcloudNetworksPortsGetInternalServerError creates a PcloudNetworksPortsGetInternalServerError with default headers values
func (*PcloudNetworksPortsGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetInternalServerError) Code() int
Code gets the status code for the pcloud networks ports get internal server error response
func (*PcloudNetworksPortsGetInternalServerError) Error ¶
func (o *PcloudNetworksPortsGetInternalServerError) Error() string
func (*PcloudNetworksPortsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPortsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks ports get internal server error response has a 4xx status code
func (*PcloudNetworksPortsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks ports get internal server error response a status code equal to that given
func (*PcloudNetworksPortsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports get internal server error response has a 3xx status code
func (*PcloudNetworksPortsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks ports get internal server error response has a 5xx status code
func (*PcloudNetworksPortsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports get internal server error response has a 2xx status code
func (*PcloudNetworksPortsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetInternalServerError) String() string
type PcloudNetworksPortsGetNotFound ¶
PcloudNetworksPortsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksPortsGetNotFound ¶
func NewPcloudNetworksPortsGetNotFound() *PcloudNetworksPortsGetNotFound
NewPcloudNetworksPortsGetNotFound creates a PcloudNetworksPortsGetNotFound with default headers values
func (*PcloudNetworksPortsGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetNotFound) Code() int
Code gets the status code for the pcloud networks ports get not found response
func (*PcloudNetworksPortsGetNotFound) Error ¶
func (o *PcloudNetworksPortsGetNotFound) Error() string
func (*PcloudNetworksPortsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetNotFound) GetPayload() *models.Error
func (*PcloudNetworksPortsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks ports get not found response has a 4xx status code
func (*PcloudNetworksPortsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks ports get not found response a status code equal to that given
func (*PcloudNetworksPortsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports get not found response has a 3xx status code
func (*PcloudNetworksPortsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks ports get not found response has a 5xx status code
func (*PcloudNetworksPortsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports get not found response has a 2xx status code
func (*PcloudNetworksPortsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetNotFound) String() string
type PcloudNetworksPortsGetOK ¶
type PcloudNetworksPortsGetOK struct {
Payload *models.NetworkPort
}
PcloudNetworksPortsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksPortsGetOK ¶
func NewPcloudNetworksPortsGetOK() *PcloudNetworksPortsGetOK
NewPcloudNetworksPortsGetOK creates a PcloudNetworksPortsGetOK with default headers values
func (*PcloudNetworksPortsGetOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetOK) Code() int
Code gets the status code for the pcloud networks ports get o k response
func (*PcloudNetworksPortsGetOK) Error ¶
func (o *PcloudNetworksPortsGetOK) Error() string
func (*PcloudNetworksPortsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetOK) GetPayload() *models.NetworkPort
func (*PcloudNetworksPortsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetOK) IsClientError() bool
IsClientError returns true when this pcloud networks ports get o k response has a 4xx status code
func (*PcloudNetworksPortsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud networks ports get o k response a status code equal to that given
func (*PcloudNetworksPortsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports get o k response has a 3xx status code
func (*PcloudNetworksPortsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetOK) IsServerError() bool
IsServerError returns true when this pcloud networks ports get o k response has a 5xx status code
func (*PcloudNetworksPortsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports get o k response has a 2xx status code
func (*PcloudNetworksPortsGetOK) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetOK) String() string
type PcloudNetworksPortsGetParams ¶
type PcloudNetworksPortsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string /* PortID. Port ID */ PortID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPortsGetParams contains all the parameters to send to the API endpoint
for the pcloud networks ports get operation. Typically these are written to a http.Request.
func NewPcloudNetworksPortsGetParams ¶
func NewPcloudNetworksPortsGetParams() *PcloudNetworksPortsGetParams
NewPcloudNetworksPortsGetParams creates a new PcloudNetworksPortsGetParams 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 NewPcloudNetworksPortsGetParamsWithContext ¶
func NewPcloudNetworksPortsGetParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetParams
NewPcloudNetworksPortsGetParamsWithContext creates a new PcloudNetworksPortsGetParams object with the ability to set a context for a request.
func NewPcloudNetworksPortsGetParamsWithHTTPClient ¶
func NewPcloudNetworksPortsGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetParams
NewPcloudNetworksPortsGetParamsWithHTTPClient creates a new PcloudNetworksPortsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPortsGetParamsWithTimeout ¶
func NewPcloudNetworksPortsGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetParams
NewPcloudNetworksPortsGetParamsWithTimeout creates a new PcloudNetworksPortsGetParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPortsGetParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPortsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) SetContext ¶
func (o *PcloudNetworksPortsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks ports get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsGetParams) SetHTTPClient ¶
func (o *PcloudNetworksPortsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) SetNetworkID ¶
func (o *PcloudNetworksPortsGetParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) SetPortID ¶
func (o *PcloudNetworksPortsGetParams) SetPortID(portID string)
SetPortID adds the portId to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) SetTimeout ¶
func (o *PcloudNetworksPortsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPortsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WithContext ¶
func (o *PcloudNetworksPortsGetParams) WithContext(ctx context.Context) *PcloudNetworksPortsGetParams
WithContext adds the context to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetParams) WithDefaults() *PcloudNetworksPortsGetParams
WithDefaults hydrates default values in the pcloud networks ports get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsGetParams) WithHTTPClient ¶
func (o *PcloudNetworksPortsGetParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsGetParams
WithHTTPClient adds the HTTPClient to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WithNetworkID ¶
func (o *PcloudNetworksPortsGetParams) WithNetworkID(networkID string) *PcloudNetworksPortsGetParams
WithNetworkID adds the networkID to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WithPortID ¶
func (o *PcloudNetworksPortsGetParams) WithPortID(portID string) *PcloudNetworksPortsGetParams
WithPortID adds the portID to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WithTimeout ¶
func (o *PcloudNetworksPortsGetParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsGetParams
WithTimeout adds the timeout to the pcloud networks ports get params
func (*PcloudNetworksPortsGetParams) WriteToRequest ¶
func (o *PcloudNetworksPortsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPortsGetReader ¶
type PcloudNetworksPortsGetReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPortsGetReader is a Reader for the PcloudNetworksPortsGet structure.
func (*PcloudNetworksPortsGetReader) ReadResponse ¶
func (o *PcloudNetworksPortsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPortsGetUnauthorized ¶ added in v1.0.59
type PcloudNetworksPortsGetUnauthorized struct {
}PcloudNetworksPortsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPortsGetUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPortsGetUnauthorized() *PcloudNetworksPortsGetUnauthorized
NewPcloudNetworksPortsGetUnauthorized creates a PcloudNetworksPortsGetUnauthorized with default headers values
func (*PcloudNetworksPortsGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetUnauthorized) Code() int
Code gets the status code for the pcloud networks ports get unauthorized response
func (*PcloudNetworksPortsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPortsGetUnauthorized) Error() string
func (*PcloudNetworksPortsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPortsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks ports get unauthorized response has a 4xx status code
func (*PcloudNetworksPortsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks ports get unauthorized response a status code equal to that given
func (*PcloudNetworksPortsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports get unauthorized response has a 3xx status code
func (*PcloudNetworksPortsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks ports get unauthorized response has a 5xx status code
func (*PcloudNetworksPortsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports get unauthorized response has a 2xx status code
func (*PcloudNetworksPortsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetUnauthorized) String() string
type PcloudNetworksPortsGetallBadRequest ¶
PcloudNetworksPortsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksPortsGetallBadRequest ¶
func NewPcloudNetworksPortsGetallBadRequest() *PcloudNetworksPortsGetallBadRequest
NewPcloudNetworksPortsGetallBadRequest creates a PcloudNetworksPortsGetallBadRequest with default headers values
func (*PcloudNetworksPortsGetallBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetallBadRequest) Code() int
Code gets the status code for the pcloud networks ports getall bad request response
func (*PcloudNetworksPortsGetallBadRequest) Error ¶
func (o *PcloudNetworksPortsGetallBadRequest) Error() string
func (*PcloudNetworksPortsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallBadRequest) GetPayload() *models.Error
func (*PcloudNetworksPortsGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks ports getall bad request response has a 4xx status code
func (*PcloudNetworksPortsGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks ports getall bad request response a status code equal to that given
func (*PcloudNetworksPortsGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports getall bad request response has a 3xx status code
func (*PcloudNetworksPortsGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks ports getall bad request response has a 5xx status code
func (*PcloudNetworksPortsGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports getall bad request response has a 2xx status code
func (*PcloudNetworksPortsGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallBadRequest) String() string
type PcloudNetworksPortsGetallForbidden ¶ added in v1.2.2
PcloudNetworksPortsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPortsGetallForbidden ¶ added in v1.2.2
func NewPcloudNetworksPortsGetallForbidden() *PcloudNetworksPortsGetallForbidden
NewPcloudNetworksPortsGetallForbidden creates a PcloudNetworksPortsGetallForbidden with default headers values
func (*PcloudNetworksPortsGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetallForbidden) Code() int
Code gets the status code for the pcloud networks ports getall forbidden response
func (*PcloudNetworksPortsGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) Error() string
func (*PcloudNetworksPortsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) GetPayload() *models.Error
func (*PcloudNetworksPortsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks ports getall forbidden response has a 4xx status code
func (*PcloudNetworksPortsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks ports getall forbidden response a status code equal to that given
func (*PcloudNetworksPortsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports getall forbidden response has a 3xx status code
func (*PcloudNetworksPortsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks ports getall forbidden response has a 5xx status code
func (*PcloudNetworksPortsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports getall forbidden response has a 2xx status code
func (*PcloudNetworksPortsGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallForbidden) String() string
type PcloudNetworksPortsGetallInternalServerError ¶
PcloudNetworksPortsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPortsGetallInternalServerError ¶
func NewPcloudNetworksPortsGetallInternalServerError() *PcloudNetworksPortsGetallInternalServerError
NewPcloudNetworksPortsGetallInternalServerError creates a PcloudNetworksPortsGetallInternalServerError with default headers values
func (*PcloudNetworksPortsGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetallInternalServerError) Code() int
Code gets the status code for the pcloud networks ports getall internal server error response
func (*PcloudNetworksPortsGetallInternalServerError) Error ¶
func (o *PcloudNetworksPortsGetallInternalServerError) Error() string
func (*PcloudNetworksPortsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPortsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks ports getall internal server error response has a 4xx status code
func (*PcloudNetworksPortsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks ports getall internal server error response a status code equal to that given
func (*PcloudNetworksPortsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports getall internal server error response has a 3xx status code
func (*PcloudNetworksPortsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks ports getall internal server error response has a 5xx status code
func (*PcloudNetworksPortsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports getall internal server error response has a 2xx status code
func (*PcloudNetworksPortsGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallInternalServerError) String() string
type PcloudNetworksPortsGetallNotFound ¶ added in v1.2.2
PcloudNetworksPortsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksPortsGetallNotFound ¶ added in v1.2.2
func NewPcloudNetworksPortsGetallNotFound() *PcloudNetworksPortsGetallNotFound
NewPcloudNetworksPortsGetallNotFound creates a PcloudNetworksPortsGetallNotFound with default headers values
func (*PcloudNetworksPortsGetallNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetallNotFound) Code() int
Code gets the status code for the pcloud networks ports getall not found response
func (*PcloudNetworksPortsGetallNotFound) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) Error() string
func (*PcloudNetworksPortsGetallNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) GetPayload() *models.Error
func (*PcloudNetworksPortsGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks ports getall not found response has a 4xx status code
func (*PcloudNetworksPortsGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks ports getall not found response a status code equal to that given
func (*PcloudNetworksPortsGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports getall not found response has a 3xx status code
func (*PcloudNetworksPortsGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks ports getall not found response has a 5xx status code
func (*PcloudNetworksPortsGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports getall not found response has a 2xx status code
func (*PcloudNetworksPortsGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallNotFound) String() string
type PcloudNetworksPortsGetallOK ¶
type PcloudNetworksPortsGetallOK struct {
Payload *models.NetworkPorts
}
PcloudNetworksPortsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksPortsGetallOK ¶
func NewPcloudNetworksPortsGetallOK() *PcloudNetworksPortsGetallOK
NewPcloudNetworksPortsGetallOK creates a PcloudNetworksPortsGetallOK with default headers values
func (*PcloudNetworksPortsGetallOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetallOK) Code() int
Code gets the status code for the pcloud networks ports getall o k response
func (*PcloudNetworksPortsGetallOK) Error ¶
func (o *PcloudNetworksPortsGetallOK) Error() string
func (*PcloudNetworksPortsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallOK) GetPayload() *models.NetworkPorts
func (*PcloudNetworksPortsGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallOK) IsClientError() bool
IsClientError returns true when this pcloud networks ports getall o k response has a 4xx status code
func (*PcloudNetworksPortsGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud networks ports getall o k response a status code equal to that given
func (*PcloudNetworksPortsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports getall o k response has a 3xx status code
func (*PcloudNetworksPortsGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallOK) IsServerError() bool
IsServerError returns true when this pcloud networks ports getall o k response has a 5xx status code
func (*PcloudNetworksPortsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports getall o k response has a 2xx status code
func (*PcloudNetworksPortsGetallOK) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallOK) String() string
type PcloudNetworksPortsGetallParams ¶
type PcloudNetworksPortsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPortsGetallParams contains all the parameters to send to the API endpoint
for the pcloud networks ports getall operation. Typically these are written to a http.Request.
func NewPcloudNetworksPortsGetallParams ¶
func NewPcloudNetworksPortsGetallParams() *PcloudNetworksPortsGetallParams
NewPcloudNetworksPortsGetallParams creates a new PcloudNetworksPortsGetallParams 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 NewPcloudNetworksPortsGetallParamsWithContext ¶
func NewPcloudNetworksPortsGetallParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetallParams
NewPcloudNetworksPortsGetallParamsWithContext creates a new PcloudNetworksPortsGetallParams object with the ability to set a context for a request.
func NewPcloudNetworksPortsGetallParamsWithHTTPClient ¶
func NewPcloudNetworksPortsGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetallParams
NewPcloudNetworksPortsGetallParamsWithHTTPClient creates a new PcloudNetworksPortsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPortsGetallParamsWithTimeout ¶
func NewPcloudNetworksPortsGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetallParams
NewPcloudNetworksPortsGetallParamsWithTimeout creates a new PcloudNetworksPortsGetallParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPortsGetallParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPortsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) SetContext ¶
func (o *PcloudNetworksPortsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks ports getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsGetallParams) SetHTTPClient ¶
func (o *PcloudNetworksPortsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) SetNetworkID ¶
func (o *PcloudNetworksPortsGetallParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) SetTimeout ¶
func (o *PcloudNetworksPortsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPortsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) WithContext ¶
func (o *PcloudNetworksPortsGetallParams) WithContext(ctx context.Context) *PcloudNetworksPortsGetallParams
WithContext adds the context to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallParams) WithDefaults() *PcloudNetworksPortsGetallParams
WithDefaults hydrates default values in the pcloud networks ports getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsGetallParams) WithHTTPClient ¶
func (o *PcloudNetworksPortsGetallParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) WithNetworkID ¶
func (o *PcloudNetworksPortsGetallParams) WithNetworkID(networkID string) *PcloudNetworksPortsGetallParams
WithNetworkID adds the networkID to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) WithTimeout ¶
func (o *PcloudNetworksPortsGetallParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsGetallParams
WithTimeout adds the timeout to the pcloud networks ports getall params
func (*PcloudNetworksPortsGetallParams) WriteToRequest ¶
func (o *PcloudNetworksPortsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPortsGetallReader ¶
type PcloudNetworksPortsGetallReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPortsGetallReader is a Reader for the PcloudNetworksPortsGetall structure.
func (*PcloudNetworksPortsGetallReader) ReadResponse ¶
func (o *PcloudNetworksPortsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPortsGetallUnauthorized ¶ added in v1.0.59
type PcloudNetworksPortsGetallUnauthorized struct {
}PcloudNetworksPortsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPortsGetallUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPortsGetallUnauthorized() *PcloudNetworksPortsGetallUnauthorized
NewPcloudNetworksPortsGetallUnauthorized creates a PcloudNetworksPortsGetallUnauthorized with default headers values
func (*PcloudNetworksPortsGetallUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsGetallUnauthorized) Code() int
Code gets the status code for the pcloud networks ports getall unauthorized response
func (*PcloudNetworksPortsGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPortsGetallUnauthorized) Error() string
func (*PcloudNetworksPortsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPortsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks ports getall unauthorized response has a 4xx status code
func (*PcloudNetworksPortsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks ports getall unauthorized response a status code equal to that given
func (*PcloudNetworksPortsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports getall unauthorized response has a 3xx status code
func (*PcloudNetworksPortsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks ports getall unauthorized response has a 5xx status code
func (*PcloudNetworksPortsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports getall unauthorized response has a 2xx status code
func (*PcloudNetworksPortsGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsGetallUnauthorized) String() string
type PcloudNetworksPortsPostBadRequest ¶
PcloudNetworksPortsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksPortsPostBadRequest ¶
func NewPcloudNetworksPortsPostBadRequest() *PcloudNetworksPortsPostBadRequest
NewPcloudNetworksPortsPostBadRequest creates a PcloudNetworksPortsPostBadRequest with default headers values
func (*PcloudNetworksPortsPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostBadRequest) Code() int
Code gets the status code for the pcloud networks ports post bad request response
func (*PcloudNetworksPortsPostBadRequest) Error ¶
func (o *PcloudNetworksPortsPostBadRequest) Error() string
func (*PcloudNetworksPortsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostBadRequest) GetPayload() *models.Error
func (*PcloudNetworksPortsPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks ports post bad request response has a 4xx status code
func (*PcloudNetworksPortsPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post bad request response a status code equal to that given
func (*PcloudNetworksPortsPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post bad request response has a 3xx status code
func (*PcloudNetworksPortsPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks ports post bad request response has a 5xx status code
func (*PcloudNetworksPortsPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post bad request response has a 2xx status code
func (*PcloudNetworksPortsPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostBadRequest) String() string
type PcloudNetworksPortsPostConflict ¶
PcloudNetworksPortsPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudNetworksPortsPostConflict ¶
func NewPcloudNetworksPortsPostConflict() *PcloudNetworksPortsPostConflict
NewPcloudNetworksPortsPostConflict creates a PcloudNetworksPortsPostConflict with default headers values
func (*PcloudNetworksPortsPostConflict) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostConflict) Code() int
Code gets the status code for the pcloud networks ports post conflict response
func (*PcloudNetworksPortsPostConflict) Error ¶
func (o *PcloudNetworksPortsPostConflict) Error() string
func (*PcloudNetworksPortsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostConflict) GetPayload() *models.Error
func (*PcloudNetworksPortsPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostConflict) IsClientError() bool
IsClientError returns true when this pcloud networks ports post conflict response has a 4xx status code
func (*PcloudNetworksPortsPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post conflict response a status code equal to that given
func (*PcloudNetworksPortsPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post conflict response has a 3xx status code
func (*PcloudNetworksPortsPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostConflict) IsServerError() bool
IsServerError returns true when this pcloud networks ports post conflict response has a 5xx status code
func (*PcloudNetworksPortsPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post conflict response has a 2xx status code
func (*PcloudNetworksPortsPostConflict) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostConflict) String() string
type PcloudNetworksPortsPostCreated ¶
type PcloudNetworksPortsPostCreated struct {
Payload *models.NetworkPort
}
PcloudNetworksPortsPostCreated describes a response with status code 201, with default header values.
Created
func NewPcloudNetworksPortsPostCreated ¶
func NewPcloudNetworksPortsPostCreated() *PcloudNetworksPortsPostCreated
NewPcloudNetworksPortsPostCreated creates a PcloudNetworksPortsPostCreated with default headers values
func (*PcloudNetworksPortsPostCreated) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostCreated) Code() int
Code gets the status code for the pcloud networks ports post created response
func (*PcloudNetworksPortsPostCreated) Error ¶
func (o *PcloudNetworksPortsPostCreated) Error() string
func (*PcloudNetworksPortsPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostCreated) GetPayload() *models.NetworkPort
func (*PcloudNetworksPortsPostCreated) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostCreated) IsClientError() bool
IsClientError returns true when this pcloud networks ports post created response has a 4xx status code
func (*PcloudNetworksPortsPostCreated) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostCreated) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post created response a status code equal to that given
func (*PcloudNetworksPortsPostCreated) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostCreated) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post created response has a 3xx status code
func (*PcloudNetworksPortsPostCreated) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostCreated) IsServerError() bool
IsServerError returns true when this pcloud networks ports post created response has a 5xx status code
func (*PcloudNetworksPortsPostCreated) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostCreated) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post created response has a 2xx status code
func (*PcloudNetworksPortsPostCreated) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostCreated) String() string
type PcloudNetworksPortsPostForbidden ¶ added in v1.2.2
PcloudNetworksPortsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPortsPostForbidden ¶ added in v1.2.2
func NewPcloudNetworksPortsPostForbidden() *PcloudNetworksPortsPostForbidden
NewPcloudNetworksPortsPostForbidden creates a PcloudNetworksPortsPostForbidden with default headers values
func (*PcloudNetworksPortsPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostForbidden) Code() int
Code gets the status code for the pcloud networks ports post forbidden response
func (*PcloudNetworksPortsPostForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) Error() string
func (*PcloudNetworksPortsPostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) GetPayload() *models.Error
func (*PcloudNetworksPortsPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks ports post forbidden response has a 4xx status code
func (*PcloudNetworksPortsPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post forbidden response a status code equal to that given
func (*PcloudNetworksPortsPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post forbidden response has a 3xx status code
func (*PcloudNetworksPortsPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks ports post forbidden response has a 5xx status code
func (*PcloudNetworksPortsPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post forbidden response has a 2xx status code
func (*PcloudNetworksPortsPostForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostForbidden) String() string
type PcloudNetworksPortsPostInternalServerError ¶
PcloudNetworksPortsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPortsPostInternalServerError ¶
func NewPcloudNetworksPortsPostInternalServerError() *PcloudNetworksPortsPostInternalServerError
NewPcloudNetworksPortsPostInternalServerError creates a PcloudNetworksPortsPostInternalServerError with default headers values
func (*PcloudNetworksPortsPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostInternalServerError) Code() int
Code gets the status code for the pcloud networks ports post internal server error response
func (*PcloudNetworksPortsPostInternalServerError) Error ¶
func (o *PcloudNetworksPortsPostInternalServerError) Error() string
func (*PcloudNetworksPortsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPortsPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks ports post internal server error response has a 4xx status code
func (*PcloudNetworksPortsPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post internal server error response a status code equal to that given
func (*PcloudNetworksPortsPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post internal server error response has a 3xx status code
func (*PcloudNetworksPortsPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks ports post internal server error response has a 5xx status code
func (*PcloudNetworksPortsPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post internal server error response has a 2xx status code
func (*PcloudNetworksPortsPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostInternalServerError) String() string
type PcloudNetworksPortsPostNotFound ¶ added in v1.2.2
PcloudNetworksPortsPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksPortsPostNotFound ¶ added in v1.2.2
func NewPcloudNetworksPortsPostNotFound() *PcloudNetworksPortsPostNotFound
NewPcloudNetworksPortsPostNotFound creates a PcloudNetworksPortsPostNotFound with default headers values
func (*PcloudNetworksPortsPostNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostNotFound) Code() int
Code gets the status code for the pcloud networks ports post not found response
func (*PcloudNetworksPortsPostNotFound) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) Error() string
func (*PcloudNetworksPortsPostNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) GetPayload() *models.Error
func (*PcloudNetworksPortsPostNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks ports post not found response has a 4xx status code
func (*PcloudNetworksPortsPostNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post not found response a status code equal to that given
func (*PcloudNetworksPortsPostNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post not found response has a 3xx status code
func (*PcloudNetworksPortsPostNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks ports post not found response has a 5xx status code
func (*PcloudNetworksPortsPostNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post not found response has a 2xx status code
func (*PcloudNetworksPortsPostNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostNotFound) String() string
type PcloudNetworksPortsPostParams ¶
type PcloudNetworksPortsPostParams struct { /* Body. Create a Network Port */ Body *models.NetworkPortCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPortsPostParams contains all the parameters to send to the API endpoint
for the pcloud networks ports post operation. Typically these are written to a http.Request.
func NewPcloudNetworksPortsPostParams ¶
func NewPcloudNetworksPortsPostParams() *PcloudNetworksPortsPostParams
NewPcloudNetworksPortsPostParams creates a new PcloudNetworksPortsPostParams 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 NewPcloudNetworksPortsPostParamsWithContext ¶
func NewPcloudNetworksPortsPostParamsWithContext(ctx context.Context) *PcloudNetworksPortsPostParams
NewPcloudNetworksPortsPostParamsWithContext creates a new PcloudNetworksPortsPostParams object with the ability to set a context for a request.
func NewPcloudNetworksPortsPostParamsWithHTTPClient ¶
func NewPcloudNetworksPortsPostParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsPostParams
NewPcloudNetworksPortsPostParamsWithHTTPClient creates a new PcloudNetworksPortsPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPortsPostParamsWithTimeout ¶
func NewPcloudNetworksPortsPostParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsPostParams
NewPcloudNetworksPortsPostParamsWithTimeout creates a new PcloudNetworksPortsPostParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPortsPostParams) SetBody ¶
func (o *PcloudNetworksPortsPostParams) SetBody(body *models.NetworkPortCreate)
SetBody adds the body to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPortsPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) SetContext ¶
func (o *PcloudNetworksPortsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks ports post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsPostParams) SetHTTPClient ¶
func (o *PcloudNetworksPortsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) SetNetworkID ¶
func (o *PcloudNetworksPortsPostParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) SetTimeout ¶
func (o *PcloudNetworksPortsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WithBody ¶
func (o *PcloudNetworksPortsPostParams) WithBody(body *models.NetworkPortCreate) *PcloudNetworksPortsPostParams
WithBody adds the body to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPortsPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WithContext ¶
func (o *PcloudNetworksPortsPostParams) WithContext(ctx context.Context) *PcloudNetworksPortsPostParams
WithContext adds the context to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostParams) WithDefaults() *PcloudNetworksPortsPostParams
WithDefaults hydrates default values in the pcloud networks ports post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsPostParams) WithHTTPClient ¶
func (o *PcloudNetworksPortsPostParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsPostParams
WithHTTPClient adds the HTTPClient to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WithNetworkID ¶
func (o *PcloudNetworksPortsPostParams) WithNetworkID(networkID string) *PcloudNetworksPortsPostParams
WithNetworkID adds the networkID to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WithTimeout ¶
func (o *PcloudNetworksPortsPostParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsPostParams
WithTimeout adds the timeout to the pcloud networks ports post params
func (*PcloudNetworksPortsPostParams) WriteToRequest ¶
func (o *PcloudNetworksPortsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPortsPostReader ¶
type PcloudNetworksPortsPostReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPortsPostReader is a Reader for the PcloudNetworksPortsPost structure.
func (*PcloudNetworksPortsPostReader) ReadResponse ¶
func (o *PcloudNetworksPortsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPortsPostUnauthorized ¶ added in v1.0.59
type PcloudNetworksPortsPostUnauthorized struct {
}PcloudNetworksPortsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPortsPostUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPortsPostUnauthorized() *PcloudNetworksPortsPostUnauthorized
NewPcloudNetworksPortsPostUnauthorized creates a PcloudNetworksPortsPostUnauthorized with default headers values
func (*PcloudNetworksPortsPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostUnauthorized) Code() int
Code gets the status code for the pcloud networks ports post unauthorized response
func (*PcloudNetworksPortsPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPortsPostUnauthorized) Error() string
func (*PcloudNetworksPortsPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPortsPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks ports post unauthorized response has a 4xx status code
func (*PcloudNetworksPortsPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post unauthorized response a status code equal to that given
func (*PcloudNetworksPortsPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post unauthorized response has a 3xx status code
func (*PcloudNetworksPortsPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks ports post unauthorized response has a 5xx status code
func (*PcloudNetworksPortsPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post unauthorized response has a 2xx status code
func (*PcloudNetworksPortsPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnauthorized) String() string
type PcloudNetworksPortsPostUnprocessableEntity ¶
PcloudNetworksPortsPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudNetworksPortsPostUnprocessableEntity ¶
func NewPcloudNetworksPortsPostUnprocessableEntity() *PcloudNetworksPortsPostUnprocessableEntity
NewPcloudNetworksPortsPostUnprocessableEntity creates a PcloudNetworksPortsPostUnprocessableEntity with default headers values
func (*PcloudNetworksPortsPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud networks ports post unprocessable entity response
func (*PcloudNetworksPortsPostUnprocessableEntity) Error ¶
func (o *PcloudNetworksPortsPostUnprocessableEntity) Error() string
func (*PcloudNetworksPortsPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudNetworksPortsPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud networks ports post unprocessable entity response has a 4xx status code
func (*PcloudNetworksPortsPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud networks ports post unprocessable entity response a status code equal to that given
func (*PcloudNetworksPortsPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports post unprocessable entity response has a 3xx status code
func (*PcloudNetworksPortsPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud networks ports post unprocessable entity response has a 5xx status code
func (*PcloudNetworksPortsPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports post unprocessable entity response has a 2xx status code
func (*PcloudNetworksPortsPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPostUnprocessableEntity) String() string
type PcloudNetworksPortsPutBadRequest ¶
PcloudNetworksPortsPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksPortsPutBadRequest ¶
func NewPcloudNetworksPortsPutBadRequest() *PcloudNetworksPortsPutBadRequest
NewPcloudNetworksPortsPutBadRequest creates a PcloudNetworksPortsPutBadRequest with default headers values
func (*PcloudNetworksPortsPutBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutBadRequest) Code() int
Code gets the status code for the pcloud networks ports put bad request response
func (*PcloudNetworksPortsPutBadRequest) Error ¶
func (o *PcloudNetworksPortsPutBadRequest) Error() string
func (*PcloudNetworksPortsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutBadRequest) GetPayload() *models.Error
func (*PcloudNetworksPortsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks ports put bad request response has a 4xx status code
func (*PcloudNetworksPortsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put bad request response a status code equal to that given
func (*PcloudNetworksPortsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put bad request response has a 3xx status code
func (*PcloudNetworksPortsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks ports put bad request response has a 5xx status code
func (*PcloudNetworksPortsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put bad request response has a 2xx status code
func (*PcloudNetworksPortsPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutBadRequest) String() string
type PcloudNetworksPortsPutForbidden ¶ added in v1.2.2
PcloudNetworksPortsPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPortsPutForbidden ¶ added in v1.2.2
func NewPcloudNetworksPortsPutForbidden() *PcloudNetworksPortsPutForbidden
NewPcloudNetworksPortsPutForbidden creates a PcloudNetworksPortsPutForbidden with default headers values
func (*PcloudNetworksPortsPutForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutForbidden) Code() int
Code gets the status code for the pcloud networks ports put forbidden response
func (*PcloudNetworksPortsPutForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) Error() string
func (*PcloudNetworksPortsPutForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) GetPayload() *models.Error
func (*PcloudNetworksPortsPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks ports put forbidden response has a 4xx status code
func (*PcloudNetworksPortsPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put forbidden response a status code equal to that given
func (*PcloudNetworksPortsPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put forbidden response has a 3xx status code
func (*PcloudNetworksPortsPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks ports put forbidden response has a 5xx status code
func (*PcloudNetworksPortsPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put forbidden response has a 2xx status code
func (*PcloudNetworksPortsPutForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutForbidden) String() string
type PcloudNetworksPortsPutInternalServerError ¶
PcloudNetworksPortsPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPortsPutInternalServerError ¶
func NewPcloudNetworksPortsPutInternalServerError() *PcloudNetworksPortsPutInternalServerError
NewPcloudNetworksPortsPutInternalServerError creates a PcloudNetworksPortsPutInternalServerError with default headers values
func (*PcloudNetworksPortsPutInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutInternalServerError) Code() int
Code gets the status code for the pcloud networks ports put internal server error response
func (*PcloudNetworksPortsPutInternalServerError) Error ¶
func (o *PcloudNetworksPortsPutInternalServerError) Error() string
func (*PcloudNetworksPortsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPortsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks ports put internal server error response has a 4xx status code
func (*PcloudNetworksPortsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put internal server error response a status code equal to that given
func (*PcloudNetworksPortsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put internal server error response has a 3xx status code
func (*PcloudNetworksPortsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks ports put internal server error response has a 5xx status code
func (*PcloudNetworksPortsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put internal server error response has a 2xx status code
func (*PcloudNetworksPortsPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutInternalServerError) String() string
type PcloudNetworksPortsPutNotFound ¶ added in v1.2.2
PcloudNetworksPortsPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksPortsPutNotFound ¶ added in v1.2.2
func NewPcloudNetworksPortsPutNotFound() *PcloudNetworksPortsPutNotFound
NewPcloudNetworksPortsPutNotFound creates a PcloudNetworksPortsPutNotFound with default headers values
func (*PcloudNetworksPortsPutNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutNotFound) Code() int
Code gets the status code for the pcloud networks ports put not found response
func (*PcloudNetworksPortsPutNotFound) Error ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) Error() string
func (*PcloudNetworksPortsPutNotFound) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) GetPayload() *models.Error
func (*PcloudNetworksPortsPutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks ports put not found response has a 4xx status code
func (*PcloudNetworksPortsPutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put not found response a status code equal to that given
func (*PcloudNetworksPortsPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put not found response has a 3xx status code
func (*PcloudNetworksPortsPutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks ports put not found response has a 5xx status code
func (*PcloudNetworksPortsPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put not found response has a 2xx status code
func (*PcloudNetworksPortsPutNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutNotFound) String() string
type PcloudNetworksPortsPutOK ¶
type PcloudNetworksPortsPutOK struct {
Payload *models.NetworkPort
}
PcloudNetworksPortsPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksPortsPutOK ¶
func NewPcloudNetworksPortsPutOK() *PcloudNetworksPortsPutOK
NewPcloudNetworksPortsPutOK creates a PcloudNetworksPortsPutOK with default headers values
func (*PcloudNetworksPortsPutOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutOK) Code() int
Code gets the status code for the pcloud networks ports put o k response
func (*PcloudNetworksPortsPutOK) Error ¶
func (o *PcloudNetworksPortsPutOK) Error() string
func (*PcloudNetworksPortsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutOK) GetPayload() *models.NetworkPort
func (*PcloudNetworksPortsPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutOK) IsClientError() bool
IsClientError returns true when this pcloud networks ports put o k response has a 4xx status code
func (*PcloudNetworksPortsPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutOK) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put o k response a status code equal to that given
func (*PcloudNetworksPortsPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put o k response has a 3xx status code
func (*PcloudNetworksPortsPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutOK) IsServerError() bool
IsServerError returns true when this pcloud networks ports put o k response has a 5xx status code
func (*PcloudNetworksPortsPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put o k response has a 2xx status code
func (*PcloudNetworksPortsPutOK) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutOK) String() string
type PcloudNetworksPortsPutParams ¶
type PcloudNetworksPortsPutParams struct { /* Body. Parameters for updating a Port */ Body *models.NetworkPortUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string /* PortID. Port ID */ PortID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPortsPutParams contains all the parameters to send to the API endpoint
for the pcloud networks ports put operation. Typically these are written to a http.Request.
func NewPcloudNetworksPortsPutParams ¶
func NewPcloudNetworksPortsPutParams() *PcloudNetworksPortsPutParams
NewPcloudNetworksPortsPutParams creates a new PcloudNetworksPortsPutParams 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 NewPcloudNetworksPortsPutParamsWithContext ¶
func NewPcloudNetworksPortsPutParamsWithContext(ctx context.Context) *PcloudNetworksPortsPutParams
NewPcloudNetworksPortsPutParamsWithContext creates a new PcloudNetworksPortsPutParams object with the ability to set a context for a request.
func NewPcloudNetworksPortsPutParamsWithHTTPClient ¶
func NewPcloudNetworksPortsPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsPutParams
NewPcloudNetworksPortsPutParamsWithHTTPClient creates a new PcloudNetworksPortsPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPortsPutParamsWithTimeout ¶
func NewPcloudNetworksPortsPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsPutParams
NewPcloudNetworksPortsPutParamsWithTimeout creates a new PcloudNetworksPortsPutParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPortsPutParams) SetBody ¶
func (o *PcloudNetworksPortsPutParams) SetBody(body *models.NetworkPortUpdate)
SetBody adds the body to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPortsPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) SetContext ¶
func (o *PcloudNetworksPortsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks ports put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsPutParams) SetHTTPClient ¶
func (o *PcloudNetworksPortsPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) SetNetworkID ¶
func (o *PcloudNetworksPortsPutParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) SetPortID ¶
func (o *PcloudNetworksPortsPutParams) SetPortID(portID string)
SetPortID adds the portId to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) SetTimeout ¶
func (o *PcloudNetworksPortsPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithBody ¶
func (o *PcloudNetworksPortsPutParams) WithBody(body *models.NetworkPortUpdate) *PcloudNetworksPortsPutParams
WithBody adds the body to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPortsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithContext ¶
func (o *PcloudNetworksPortsPutParams) WithContext(ctx context.Context) *PcloudNetworksPortsPutParams
WithContext adds the context to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutParams) WithDefaults() *PcloudNetworksPortsPutParams
WithDefaults hydrates default values in the pcloud networks ports put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPortsPutParams) WithHTTPClient ¶
func (o *PcloudNetworksPortsPutParams) WithHTTPClient(client *http.Client) *PcloudNetworksPortsPutParams
WithHTTPClient adds the HTTPClient to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithNetworkID ¶
func (o *PcloudNetworksPortsPutParams) WithNetworkID(networkID string) *PcloudNetworksPortsPutParams
WithNetworkID adds the networkID to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithPortID ¶
func (o *PcloudNetworksPortsPutParams) WithPortID(portID string) *PcloudNetworksPortsPutParams
WithPortID adds the portID to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WithTimeout ¶
func (o *PcloudNetworksPortsPutParams) WithTimeout(timeout time.Duration) *PcloudNetworksPortsPutParams
WithTimeout adds the timeout to the pcloud networks ports put params
func (*PcloudNetworksPortsPutParams) WriteToRequest ¶
func (o *PcloudNetworksPortsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPortsPutReader ¶
type PcloudNetworksPortsPutReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPortsPutReader is a Reader for the PcloudNetworksPortsPut structure.
func (*PcloudNetworksPortsPutReader) ReadResponse ¶
func (o *PcloudNetworksPortsPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPortsPutUnauthorized ¶ added in v1.0.59
type PcloudNetworksPortsPutUnauthorized struct {
}PcloudNetworksPortsPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPortsPutUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPortsPutUnauthorized() *PcloudNetworksPortsPutUnauthorized
NewPcloudNetworksPortsPutUnauthorized creates a PcloudNetworksPortsPutUnauthorized with default headers values
func (*PcloudNetworksPortsPutUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutUnauthorized) Code() int
Code gets the status code for the pcloud networks ports put unauthorized response
func (*PcloudNetworksPortsPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPortsPutUnauthorized) Error() string
func (*PcloudNetworksPortsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPortsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks ports put unauthorized response has a 4xx status code
func (*PcloudNetworksPortsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put unauthorized response a status code equal to that given
func (*PcloudNetworksPortsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put unauthorized response has a 3xx status code
func (*PcloudNetworksPortsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks ports put unauthorized response has a 5xx status code
func (*PcloudNetworksPortsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put unauthorized response has a 2xx status code
func (*PcloudNetworksPortsPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnauthorized) String() string
type PcloudNetworksPortsPutUnprocessableEntity ¶
PcloudNetworksPortsPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudNetworksPortsPutUnprocessableEntity ¶
func NewPcloudNetworksPortsPutUnprocessableEntity() *PcloudNetworksPortsPutUnprocessableEntity
NewPcloudNetworksPortsPutUnprocessableEntity creates a PcloudNetworksPortsPutUnprocessableEntity with default headers values
func (*PcloudNetworksPortsPutUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudNetworksPortsPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud networks ports put unprocessable entity response
func (*PcloudNetworksPortsPutUnprocessableEntity) Error ¶
func (o *PcloudNetworksPortsPutUnprocessableEntity) Error() string
func (*PcloudNetworksPortsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudNetworksPortsPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud networks ports put unprocessable entity response has a 4xx status code
func (*PcloudNetworksPortsPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud networks ports put unprocessable entity response a status code equal to that given
func (*PcloudNetworksPortsPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud networks ports put unprocessable entity response has a 3xx status code
func (*PcloudNetworksPortsPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud networks ports put unprocessable entity response has a 5xx status code
func (*PcloudNetworksPortsPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud networks ports put unprocessable entity response has a 2xx status code
func (*PcloudNetworksPortsPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudNetworksPortsPutUnprocessableEntity) String() string
type PcloudNetworksPostBadRequest ¶
PcloudNetworksPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksPostBadRequest ¶
func NewPcloudNetworksPostBadRequest() *PcloudNetworksPostBadRequest
NewPcloudNetworksPostBadRequest creates a PcloudNetworksPostBadRequest with default headers values
func (*PcloudNetworksPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostBadRequest) Code() int
Code gets the status code for the pcloud networks post bad request response
func (*PcloudNetworksPostBadRequest) Error ¶
func (o *PcloudNetworksPostBadRequest) Error() string
func (*PcloudNetworksPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostBadRequest) GetPayload() *models.Error
func (*PcloudNetworksPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks post bad request response has a 4xx status code
func (*PcloudNetworksPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks post bad request response a status code equal to that given
func (*PcloudNetworksPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks post bad request response has a 3xx status code
func (*PcloudNetworksPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks post bad request response has a 5xx status code
func (*PcloudNetworksPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks post bad request response has a 2xx status code
func (*PcloudNetworksPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksPostBadRequest) String() string
type PcloudNetworksPostConflict ¶
PcloudNetworksPostConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudNetworksPostConflict ¶
func NewPcloudNetworksPostConflict() *PcloudNetworksPostConflict
NewPcloudNetworksPostConflict creates a PcloudNetworksPostConflict with default headers values
func (*PcloudNetworksPostConflict) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostConflict) Code() int
Code gets the status code for the pcloud networks post conflict response
func (*PcloudNetworksPostConflict) Error ¶
func (o *PcloudNetworksPostConflict) Error() string
func (*PcloudNetworksPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostConflict) GetPayload() *models.Error
func (*PcloudNetworksPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostConflict) IsClientError() bool
IsClientError returns true when this pcloud networks post conflict response has a 4xx status code
func (*PcloudNetworksPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud networks post conflict response a status code equal to that given
func (*PcloudNetworksPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud networks post conflict response has a 3xx status code
func (*PcloudNetworksPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostConflict) IsServerError() bool
IsServerError returns true when this pcloud networks post conflict response has a 5xx status code
func (*PcloudNetworksPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud networks post conflict response has a 2xx status code
func (*PcloudNetworksPostConflict) String ¶ added in v1.2.2
func (o *PcloudNetworksPostConflict) String() string
type PcloudNetworksPostCreated ¶
PcloudNetworksPostCreated describes a response with status code 201, with default header values.
Created
func NewPcloudNetworksPostCreated ¶
func NewPcloudNetworksPostCreated() *PcloudNetworksPostCreated
NewPcloudNetworksPostCreated creates a PcloudNetworksPostCreated with default headers values
func (*PcloudNetworksPostCreated) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostCreated) Code() int
Code gets the status code for the pcloud networks post created response
func (*PcloudNetworksPostCreated) Error ¶
func (o *PcloudNetworksPostCreated) Error() string
func (*PcloudNetworksPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostCreated) GetPayload() *models.Network
func (*PcloudNetworksPostCreated) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostCreated) IsClientError() bool
IsClientError returns true when this pcloud networks post created response has a 4xx status code
func (*PcloudNetworksPostCreated) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostCreated) IsCode(code int) bool
IsCode returns true when this pcloud networks post created response a status code equal to that given
func (*PcloudNetworksPostCreated) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostCreated) IsRedirect() bool
IsRedirect returns true when this pcloud networks post created response has a 3xx status code
func (*PcloudNetworksPostCreated) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostCreated) IsServerError() bool
IsServerError returns true when this pcloud networks post created response has a 5xx status code
func (*PcloudNetworksPostCreated) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostCreated) IsSuccess() bool
IsSuccess returns true when this pcloud networks post created response has a 2xx status code
func (*PcloudNetworksPostCreated) String ¶ added in v1.2.2
func (o *PcloudNetworksPostCreated) String() string
type PcloudNetworksPostForbidden ¶ added in v1.2.2
PcloudNetworksPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPostForbidden ¶ added in v1.2.2
func NewPcloudNetworksPostForbidden() *PcloudNetworksPostForbidden
NewPcloudNetworksPostForbidden creates a PcloudNetworksPostForbidden with default headers values
func (*PcloudNetworksPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostForbidden) Code() int
Code gets the status code for the pcloud networks post forbidden response
func (*PcloudNetworksPostForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) Error() string
func (*PcloudNetworksPostForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) GetPayload() *models.Error
func (*PcloudNetworksPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks post forbidden response has a 4xx status code
func (*PcloudNetworksPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks post forbidden response a status code equal to that given
func (*PcloudNetworksPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks post forbidden response has a 3xx status code
func (*PcloudNetworksPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks post forbidden response has a 5xx status code
func (*PcloudNetworksPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks post forbidden response has a 2xx status code
func (*PcloudNetworksPostForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPostForbidden) String() string
type PcloudNetworksPostInternalServerError ¶
PcloudNetworksPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPostInternalServerError ¶
func NewPcloudNetworksPostInternalServerError() *PcloudNetworksPostInternalServerError
NewPcloudNetworksPostInternalServerError creates a PcloudNetworksPostInternalServerError with default headers values
func (*PcloudNetworksPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostInternalServerError) Code() int
Code gets the status code for the pcloud networks post internal server error response
func (*PcloudNetworksPostInternalServerError) Error ¶
func (o *PcloudNetworksPostInternalServerError) Error() string
func (*PcloudNetworksPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks post internal server error response has a 4xx status code
func (*PcloudNetworksPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks post internal server error response a status code equal to that given
func (*PcloudNetworksPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks post internal server error response has a 3xx status code
func (*PcloudNetworksPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks post internal server error response has a 5xx status code
func (*PcloudNetworksPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks post internal server error response has a 2xx status code
func (*PcloudNetworksPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPostInternalServerError) String() string
type PcloudNetworksPostOK ¶
PcloudNetworksPostOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksPostOK ¶
func NewPcloudNetworksPostOK() *PcloudNetworksPostOK
NewPcloudNetworksPostOK creates a PcloudNetworksPostOK with default headers values
func (*PcloudNetworksPostOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostOK) Code() int
Code gets the status code for the pcloud networks post o k response
func (*PcloudNetworksPostOK) Error ¶
func (o *PcloudNetworksPostOK) Error() string
func (*PcloudNetworksPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostOK) GetPayload() *models.Network
func (*PcloudNetworksPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostOK) IsClientError() bool
IsClientError returns true when this pcloud networks post o k response has a 4xx status code
func (*PcloudNetworksPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostOK) IsCode(code int) bool
IsCode returns true when this pcloud networks post o k response a status code equal to that given
func (*PcloudNetworksPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks post o k response has a 3xx status code
func (*PcloudNetworksPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostOK) IsServerError() bool
IsServerError returns true when this pcloud networks post o k response has a 5xx status code
func (*PcloudNetworksPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks post o k response has a 2xx status code
func (*PcloudNetworksPostOK) String ¶ added in v1.2.2
func (o *PcloudNetworksPostOK) String() string
type PcloudNetworksPostParams ¶
type PcloudNetworksPostParams struct { /* Body. Parameters for the creation of a new network */ Body *models.NetworkCreate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPostParams contains all the parameters to send to the API endpoint
for the pcloud networks post operation. Typically these are written to a http.Request.
func NewPcloudNetworksPostParams ¶
func NewPcloudNetworksPostParams() *PcloudNetworksPostParams
NewPcloudNetworksPostParams creates a new PcloudNetworksPostParams 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 NewPcloudNetworksPostParamsWithContext ¶
func NewPcloudNetworksPostParamsWithContext(ctx context.Context) *PcloudNetworksPostParams
NewPcloudNetworksPostParamsWithContext creates a new PcloudNetworksPostParams object with the ability to set a context for a request.
func NewPcloudNetworksPostParamsWithHTTPClient ¶
func NewPcloudNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudNetworksPostParams
NewPcloudNetworksPostParamsWithHTTPClient creates a new PcloudNetworksPostParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPostParamsWithTimeout ¶
func NewPcloudNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudNetworksPostParams
NewPcloudNetworksPostParamsWithTimeout creates a new PcloudNetworksPostParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPostParams) SetBody ¶
func (o *PcloudNetworksPostParams) SetBody(body *models.NetworkCreate)
SetBody adds the body to the pcloud networks post params
func (*PcloudNetworksPostParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks post params
func (*PcloudNetworksPostParams) SetContext ¶
func (o *PcloudNetworksPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks post params
func (*PcloudNetworksPostParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPostParams) SetHTTPClient ¶
func (o *PcloudNetworksPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks post params
func (*PcloudNetworksPostParams) SetTimeout ¶
func (o *PcloudNetworksPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks post params
func (*PcloudNetworksPostParams) WithBody ¶
func (o *PcloudNetworksPostParams) WithBody(body *models.NetworkCreate) *PcloudNetworksPostParams
WithBody adds the body to the pcloud networks post params
func (*PcloudNetworksPostParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks post params
func (*PcloudNetworksPostParams) WithContext ¶
func (o *PcloudNetworksPostParams) WithContext(ctx context.Context) *PcloudNetworksPostParams
WithContext adds the context to the pcloud networks post params
func (*PcloudNetworksPostParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPostParams) WithDefaults() *PcloudNetworksPostParams
WithDefaults hydrates default values in the pcloud networks post params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPostParams) WithHTTPClient ¶
func (o *PcloudNetworksPostParams) WithHTTPClient(client *http.Client) *PcloudNetworksPostParams
WithHTTPClient adds the HTTPClient to the pcloud networks post params
func (*PcloudNetworksPostParams) WithTimeout ¶
func (o *PcloudNetworksPostParams) WithTimeout(timeout time.Duration) *PcloudNetworksPostParams
WithTimeout adds the timeout to the pcloud networks post params
func (*PcloudNetworksPostParams) WriteToRequest ¶
func (o *PcloudNetworksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPostReader ¶
type PcloudNetworksPostReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPostReader is a Reader for the PcloudNetworksPost structure.
func (*PcloudNetworksPostReader) ReadResponse ¶
func (o *PcloudNetworksPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPostStatus550 ¶ added in v1.2.3
PcloudNetworksPostStatus550 describes a response with status code 550, with default header values.
Workspace Status Error
func NewPcloudNetworksPostStatus550 ¶ added in v1.2.3
func NewPcloudNetworksPostStatus550() *PcloudNetworksPostStatus550
NewPcloudNetworksPostStatus550 creates a PcloudNetworksPostStatus550 with default headers values
func (*PcloudNetworksPostStatus550) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostStatus550) Code() int
Code gets the status code for the pcloud networks post status550 response
func (*PcloudNetworksPostStatus550) Error ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) Error() string
func (*PcloudNetworksPostStatus550) GetPayload ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) GetPayload() *models.Error
func (*PcloudNetworksPostStatus550) IsClientError ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) IsClientError() bool
IsClientError returns true when this pcloud networks post status550 response has a 4xx status code
func (*PcloudNetworksPostStatus550) IsCode ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) IsCode(code int) bool
IsCode returns true when this pcloud networks post status550 response a status code equal to that given
func (*PcloudNetworksPostStatus550) IsRedirect ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) IsRedirect() bool
IsRedirect returns true when this pcloud networks post status550 response has a 3xx status code
func (*PcloudNetworksPostStatus550) IsServerError ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) IsServerError() bool
IsServerError returns true when this pcloud networks post status550 response has a 5xx status code
func (*PcloudNetworksPostStatus550) IsSuccess ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) IsSuccess() bool
IsSuccess returns true when this pcloud networks post status550 response has a 2xx status code
func (*PcloudNetworksPostStatus550) String ¶ added in v1.2.3
func (o *PcloudNetworksPostStatus550) String() string
type PcloudNetworksPostUnauthorized ¶ added in v1.0.59
type PcloudNetworksPostUnauthorized struct {
}PcloudNetworksPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPostUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPostUnauthorized() *PcloudNetworksPostUnauthorized
NewPcloudNetworksPostUnauthorized creates a PcloudNetworksPostUnauthorized with default headers values
func (*PcloudNetworksPostUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostUnauthorized) Code() int
Code gets the status code for the pcloud networks post unauthorized response
func (*PcloudNetworksPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPostUnauthorized) Error() string
func (*PcloudNetworksPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks post unauthorized response has a 4xx status code
func (*PcloudNetworksPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks post unauthorized response a status code equal to that given
func (*PcloudNetworksPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks post unauthorized response has a 3xx status code
func (*PcloudNetworksPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks post unauthorized response has a 5xx status code
func (*PcloudNetworksPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks post unauthorized response has a 2xx status code
func (*PcloudNetworksPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPostUnauthorized) String() string
type PcloudNetworksPostUnprocessableEntity ¶
PcloudNetworksPostUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudNetworksPostUnprocessableEntity ¶
func NewPcloudNetworksPostUnprocessableEntity() *PcloudNetworksPostUnprocessableEntity
NewPcloudNetworksPostUnprocessableEntity creates a PcloudNetworksPostUnprocessableEntity with default headers values
func (*PcloudNetworksPostUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudNetworksPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud networks post unprocessable entity response
func (*PcloudNetworksPostUnprocessableEntity) Error ¶
func (o *PcloudNetworksPostUnprocessableEntity) Error() string
func (*PcloudNetworksPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudNetworksPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud networks post unprocessable entity response has a 4xx status code
func (*PcloudNetworksPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud networks post unprocessable entity response a status code equal to that given
func (*PcloudNetworksPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud networks post unprocessable entity response has a 3xx status code
func (*PcloudNetworksPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud networks post unprocessable entity response has a 5xx status code
func (*PcloudNetworksPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud networks post unprocessable entity response has a 2xx status code
func (*PcloudNetworksPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudNetworksPostUnprocessableEntity) String() string
type PcloudNetworksPutBadRequest ¶
PcloudNetworksPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudNetworksPutBadRequest ¶
func NewPcloudNetworksPutBadRequest() *PcloudNetworksPutBadRequest
NewPcloudNetworksPutBadRequest creates a PcloudNetworksPutBadRequest with default headers values
func (*PcloudNetworksPutBadRequest) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutBadRequest) Code() int
Code gets the status code for the pcloud networks put bad request response
func (*PcloudNetworksPutBadRequest) Error ¶
func (o *PcloudNetworksPutBadRequest) Error() string
func (*PcloudNetworksPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutBadRequest) GetPayload() *models.Error
func (*PcloudNetworksPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud networks put bad request response has a 4xx status code
func (*PcloudNetworksPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud networks put bad request response a status code equal to that given
func (*PcloudNetworksPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud networks put bad request response has a 3xx status code
func (*PcloudNetworksPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud networks put bad request response has a 5xx status code
func (*PcloudNetworksPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud networks put bad request response has a 2xx status code
func (*PcloudNetworksPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudNetworksPutBadRequest) String() string
type PcloudNetworksPutForbidden ¶ added in v1.2.2
PcloudNetworksPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudNetworksPutForbidden ¶ added in v1.2.2
func NewPcloudNetworksPutForbidden() *PcloudNetworksPutForbidden
NewPcloudNetworksPutForbidden creates a PcloudNetworksPutForbidden with default headers values
func (*PcloudNetworksPutForbidden) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutForbidden) Code() int
Code gets the status code for the pcloud networks put forbidden response
func (*PcloudNetworksPutForbidden) Error ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) Error() string
func (*PcloudNetworksPutForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) GetPayload() *models.Error
func (*PcloudNetworksPutForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud networks put forbidden response has a 4xx status code
func (*PcloudNetworksPutForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud networks put forbidden response a status code equal to that given
func (*PcloudNetworksPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud networks put forbidden response has a 3xx status code
func (*PcloudNetworksPutForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud networks put forbidden response has a 5xx status code
func (*PcloudNetworksPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud networks put forbidden response has a 2xx status code
func (*PcloudNetworksPutForbidden) String ¶ added in v1.2.2
func (o *PcloudNetworksPutForbidden) String() string
type PcloudNetworksPutInternalServerError ¶
PcloudNetworksPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudNetworksPutInternalServerError ¶
func NewPcloudNetworksPutInternalServerError() *PcloudNetworksPutInternalServerError
NewPcloudNetworksPutInternalServerError creates a PcloudNetworksPutInternalServerError with default headers values
func (*PcloudNetworksPutInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutInternalServerError) Code() int
Code gets the status code for the pcloud networks put internal server error response
func (*PcloudNetworksPutInternalServerError) Error ¶
func (o *PcloudNetworksPutInternalServerError) Error() string
func (*PcloudNetworksPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutInternalServerError) GetPayload() *models.Error
func (*PcloudNetworksPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud networks put internal server error response has a 4xx status code
func (*PcloudNetworksPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud networks put internal server error response a status code equal to that given
func (*PcloudNetworksPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud networks put internal server error response has a 3xx status code
func (*PcloudNetworksPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud networks put internal server error response has a 5xx status code
func (*PcloudNetworksPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud networks put internal server error response has a 2xx status code
func (*PcloudNetworksPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudNetworksPutInternalServerError) String() string
type PcloudNetworksPutNotFound ¶ added in v1.1.9
PcloudNetworksPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudNetworksPutNotFound ¶ added in v1.1.9
func NewPcloudNetworksPutNotFound() *PcloudNetworksPutNotFound
NewPcloudNetworksPutNotFound creates a PcloudNetworksPutNotFound with default headers values
func (*PcloudNetworksPutNotFound) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutNotFound) Code() int
Code gets the status code for the pcloud networks put not found response
func (*PcloudNetworksPutNotFound) Error ¶ added in v1.1.9
func (o *PcloudNetworksPutNotFound) Error() string
func (*PcloudNetworksPutNotFound) GetPayload ¶ added in v1.1.9
func (o *PcloudNetworksPutNotFound) GetPayload() *models.Error
func (*PcloudNetworksPutNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud networks put not found response has a 4xx status code
func (*PcloudNetworksPutNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud networks put not found response a status code equal to that given
func (*PcloudNetworksPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud networks put not found response has a 3xx status code
func (*PcloudNetworksPutNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud networks put not found response has a 5xx status code
func (*PcloudNetworksPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud networks put not found response has a 2xx status code
func (*PcloudNetworksPutNotFound) String ¶ added in v1.2.2
func (o *PcloudNetworksPutNotFound) String() string
type PcloudNetworksPutOK ¶
PcloudNetworksPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudNetworksPutOK ¶
func NewPcloudNetworksPutOK() *PcloudNetworksPutOK
NewPcloudNetworksPutOK creates a PcloudNetworksPutOK with default headers values
func (*PcloudNetworksPutOK) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutOK) Code() int
Code gets the status code for the pcloud networks put o k response
func (*PcloudNetworksPutOK) Error ¶
func (o *PcloudNetworksPutOK) Error() string
func (*PcloudNetworksPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutOK) GetPayload() *models.Network
func (*PcloudNetworksPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutOK) IsClientError() bool
IsClientError returns true when this pcloud networks put o k response has a 4xx status code
func (*PcloudNetworksPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutOK) IsCode(code int) bool
IsCode returns true when this pcloud networks put o k response a status code equal to that given
func (*PcloudNetworksPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud networks put o k response has a 3xx status code
func (*PcloudNetworksPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutOK) IsServerError() bool
IsServerError returns true when this pcloud networks put o k response has a 5xx status code
func (*PcloudNetworksPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud networks put o k response has a 2xx status code
func (*PcloudNetworksPutOK) String ¶ added in v1.2.2
func (o *PcloudNetworksPutOK) String() string
type PcloudNetworksPutParams ¶
type PcloudNetworksPutParams struct { /* Body. Parameters to update a Network */ Body *models.NetworkUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudNetworksPutParams contains all the parameters to send to the API endpoint
for the pcloud networks put operation. Typically these are written to a http.Request.
func NewPcloudNetworksPutParams ¶
func NewPcloudNetworksPutParams() *PcloudNetworksPutParams
NewPcloudNetworksPutParams creates a new PcloudNetworksPutParams 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 NewPcloudNetworksPutParamsWithContext ¶
func NewPcloudNetworksPutParamsWithContext(ctx context.Context) *PcloudNetworksPutParams
NewPcloudNetworksPutParamsWithContext creates a new PcloudNetworksPutParams object with the ability to set a context for a request.
func NewPcloudNetworksPutParamsWithHTTPClient ¶
func NewPcloudNetworksPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPutParams
NewPcloudNetworksPutParamsWithHTTPClient creates a new PcloudNetworksPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudNetworksPutParamsWithTimeout ¶
func NewPcloudNetworksPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPutParams
NewPcloudNetworksPutParamsWithTimeout creates a new PcloudNetworksPutParams object with the ability to set a timeout on a request.
func (*PcloudNetworksPutParams) SetBody ¶
func (o *PcloudNetworksPutParams) SetBody(body *models.NetworkUpdate)
SetBody adds the body to the pcloud networks put params
func (*PcloudNetworksPutParams) SetCloudInstanceID ¶
func (o *PcloudNetworksPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud networks put params
func (*PcloudNetworksPutParams) SetContext ¶
func (o *PcloudNetworksPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud networks put params
func (*PcloudNetworksPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud networks put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPutParams) SetHTTPClient ¶
func (o *PcloudNetworksPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud networks put params
func (*PcloudNetworksPutParams) SetNetworkID ¶
func (o *PcloudNetworksPutParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the pcloud networks put params
func (*PcloudNetworksPutParams) SetTimeout ¶
func (o *PcloudNetworksPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud networks put params
func (*PcloudNetworksPutParams) WithBody ¶
func (o *PcloudNetworksPutParams) WithBody(body *models.NetworkUpdate) *PcloudNetworksPutParams
WithBody adds the body to the pcloud networks put params
func (*PcloudNetworksPutParams) WithCloudInstanceID ¶
func (o *PcloudNetworksPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud networks put params
func (*PcloudNetworksPutParams) WithContext ¶
func (o *PcloudNetworksPutParams) WithContext(ctx context.Context) *PcloudNetworksPutParams
WithContext adds the context to the pcloud networks put params
func (*PcloudNetworksPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudNetworksPutParams) WithDefaults() *PcloudNetworksPutParams
WithDefaults hydrates default values in the pcloud networks put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudNetworksPutParams) WithHTTPClient ¶
func (o *PcloudNetworksPutParams) WithHTTPClient(client *http.Client) *PcloudNetworksPutParams
WithHTTPClient adds the HTTPClient to the pcloud networks put params
func (*PcloudNetworksPutParams) WithNetworkID ¶
func (o *PcloudNetworksPutParams) WithNetworkID(networkID string) *PcloudNetworksPutParams
WithNetworkID adds the networkID to the pcloud networks put params
func (*PcloudNetworksPutParams) WithTimeout ¶
func (o *PcloudNetworksPutParams) WithTimeout(timeout time.Duration) *PcloudNetworksPutParams
WithTimeout adds the timeout to the pcloud networks put params
func (*PcloudNetworksPutParams) WriteToRequest ¶
func (o *PcloudNetworksPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudNetworksPutReader ¶
type PcloudNetworksPutReader struct {
// contains filtered or unexported fields
}
PcloudNetworksPutReader is a Reader for the PcloudNetworksPut structure.
func (*PcloudNetworksPutReader) ReadResponse ¶
func (o *PcloudNetworksPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudNetworksPutUnauthorized ¶ added in v1.0.59
type PcloudNetworksPutUnauthorized struct {
}PcloudNetworksPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudNetworksPutUnauthorized ¶ added in v1.0.59
func NewPcloudNetworksPutUnauthorized() *PcloudNetworksPutUnauthorized
NewPcloudNetworksPutUnauthorized creates a PcloudNetworksPutUnauthorized with default headers values
func (*PcloudNetworksPutUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutUnauthorized) Code() int
Code gets the status code for the pcloud networks put unauthorized response
func (*PcloudNetworksPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudNetworksPutUnauthorized) Error() string
func (*PcloudNetworksPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutUnauthorized) GetPayload() *models.Error
func (*PcloudNetworksPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud networks put unauthorized response has a 4xx status code
func (*PcloudNetworksPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud networks put unauthorized response a status code equal to that given
func (*PcloudNetworksPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud networks put unauthorized response has a 3xx status code
func (*PcloudNetworksPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud networks put unauthorized response has a 5xx status code
func (*PcloudNetworksPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud networks put unauthorized response has a 2xx status code
func (*PcloudNetworksPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudNetworksPutUnauthorized) String() string
type PcloudNetworksPutUnprocessableEntity ¶
PcloudNetworksPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudNetworksPutUnprocessableEntity ¶
func NewPcloudNetworksPutUnprocessableEntity() *PcloudNetworksPutUnprocessableEntity
NewPcloudNetworksPutUnprocessableEntity creates a PcloudNetworksPutUnprocessableEntity with default headers values
func (*PcloudNetworksPutUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudNetworksPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud networks put unprocessable entity response
func (*PcloudNetworksPutUnprocessableEntity) Error ¶
func (o *PcloudNetworksPutUnprocessableEntity) Error() string
func (*PcloudNetworksPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudNetworksPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudNetworksPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud networks put unprocessable entity response has a 4xx status code
func (*PcloudNetworksPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudNetworksPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud networks put unprocessable entity response a status code equal to that given
func (*PcloudNetworksPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudNetworksPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud networks put unprocessable entity response has a 3xx status code
func (*PcloudNetworksPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudNetworksPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud networks put unprocessable entity response has a 5xx status code
func (*PcloudNetworksPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudNetworksPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud networks put unprocessable entity response has a 2xx status code
func (*PcloudNetworksPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudNetworksPutUnprocessableEntity) String() string
Source Files ¶
- p_cloud_networks_client.go
- pcloud_networks_delete_parameters.go
- pcloud_networks_delete_responses.go
- pcloud_networks_get_parameters.go
- pcloud_networks_get_responses.go
- pcloud_networks_getall_parameters.go
- pcloud_networks_getall_responses.go
- pcloud_networks_ports_delete_parameters.go
- pcloud_networks_ports_delete_responses.go
- pcloud_networks_ports_get_parameters.go
- pcloud_networks_ports_get_responses.go
- pcloud_networks_ports_getall_parameters.go
- pcloud_networks_ports_getall_responses.go
- pcloud_networks_ports_post_parameters.go
- pcloud_networks_ports_post_responses.go
- pcloud_networks_ports_put_parameters.go
- pcloud_networks_ports_put_responses.go
- pcloud_networks_post_parameters.go
- pcloud_networks_post_responses.go
- pcloud_networks_put_parameters.go
- pcloud_networks_put_responses.go