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
- type PcloudNetworksDeleteGone
- type PcloudNetworksDeleteInternalServerError
- type PcloudNetworksDeleteNotFound
- type PcloudNetworksDeleteOK
- 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
- type PcloudNetworksGetBadRequest
- type PcloudNetworksGetInternalServerError
- type PcloudNetworksGetNotFound
- type PcloudNetworksGetOK
- 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
- type PcloudNetworksGetallBadRequest
- type PcloudNetworksGetallInternalServerError
- type PcloudNetworksGetallOK
- 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
- type PcloudNetworksPortsDeleteBadRequest
- type PcloudNetworksPortsDeleteGone
- type PcloudNetworksPortsDeleteInternalServerError
- type PcloudNetworksPortsDeleteOK
- 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
- type PcloudNetworksPortsGetInternalServerError
- type PcloudNetworksPortsGetNotFound
- type PcloudNetworksPortsGetOK
- 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
- type PcloudNetworksPortsGetallBadRequest
- type PcloudNetworksPortsGetallInternalServerError
- type PcloudNetworksPortsGetallOK
- 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
- type PcloudNetworksPortsPostBadRequest
- type PcloudNetworksPortsPostConflict
- type PcloudNetworksPortsPostCreated
- type PcloudNetworksPortsPostInternalServerError
- 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
- type PcloudNetworksPortsPostUnprocessableEntity
- type PcloudNetworksPortsPutBadRequest
- type PcloudNetworksPortsPutInternalServerError
- type PcloudNetworksPortsPutOK
- 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
- type PcloudNetworksPortsPutUnprocessableEntity
- type PcloudNetworksPostBadRequest
- type PcloudNetworksPostConflict
- type PcloudNetworksPostCreated
- type PcloudNetworksPostInternalServerError
- type PcloudNetworksPostOK
- 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 PcloudNetworksPostUnauthorized
- type PcloudNetworksPostUnprocessableEntity
- type PcloudNetworksPutBadRequest
- type PcloudNetworksPutInternalServerError
- type PcloudNetworksPutNotFound
- type PcloudNetworksPutOK
- 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
- type PcloudNetworksPutUnprocessableEntity
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) Error ¶
func (o *PcloudNetworksDeleteBadRequest) Error() string
func (*PcloudNetworksDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksDeleteGone) Error() string
func (*PcloudNetworksDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteGone) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksDeleteInternalServerError) Error() string
func (*PcloudNetworksDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudNetworksDeleteOK) Error() string
func (*PcloudNetworksDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksDeleteOK) GetPayload() models.Object
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) 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
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) Error ¶
func (o *PcloudNetworksGetBadRequest) Error() string
func (*PcloudNetworksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksGetInternalServerError) Error() string
func (*PcloudNetworksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksGetNotFound) Error() string
func (*PcloudNetworksGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksGetOK) Error() string
func (*PcloudNetworksGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetOK) GetPayload() *models.Network
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) 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
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) Error ¶
func (o *PcloudNetworksGetallBadRequest) Error() string
func (*PcloudNetworksGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksGetallInternalServerError) Error() string
func (*PcloudNetworksGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksGetallOK) Error() string
func (*PcloudNetworksGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksGetallOK) GetPayload() *models.Networks
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) 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
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) Error ¶
func (o *PcloudNetworksPortsDeleteBadRequest) Error() string
func (*PcloudNetworksPortsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsDeleteGone) Error() string
func (*PcloudNetworksPortsDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteGone) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsDeleteInternalServerError) Error() string
func (*PcloudNetworksPortsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsDeleteOK) Error() string
func (*PcloudNetworksPortsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsDeleteOK) GetPayload() models.Object
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) 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
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) Error ¶
func (o *PcloudNetworksPortsGetInternalServerError) Error() string
func (*PcloudNetworksPortsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsGetNotFound) Error() string
func (*PcloudNetworksPortsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetNotFound) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsGetOK) Error() string
func (*PcloudNetworksPortsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetOK) GetPayload() *models.NetworkPort
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) 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
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) Error ¶
func (o *PcloudNetworksPortsGetallBadRequest) Error() string
func (*PcloudNetworksPortsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsGetallInternalServerError) Error() string
func (*PcloudNetworksPortsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsGetallOK) Error() string
func (*PcloudNetworksPortsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsGetallOK) GetPayload() *models.NetworkPorts
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) 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
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) Error ¶
func (o *PcloudNetworksPortsPostBadRequest) Error() string
func (*PcloudNetworksPortsPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsPostConflict) Error() string
func (*PcloudNetworksPortsPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostConflict) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsPostCreated) Error() string
func (*PcloudNetworksPortsPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostCreated) GetPayload() *models.NetworkPort
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) Error ¶
func (o *PcloudNetworksPortsPostInternalServerError) Error() string
func (*PcloudNetworksPortsPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudNetworksPortsPostUnprocessableEntity) Error() string
func (*PcloudNetworksPortsPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPostUnprocessableEntity) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsPutBadRequest) Error() string
func (*PcloudNetworksPortsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsPutInternalServerError) Error() string
func (*PcloudNetworksPortsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPortsPutOK) Error() string
func (*PcloudNetworksPortsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutOK) GetPayload() *models.NetworkPort
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) 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
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) Error ¶
func (o *PcloudNetworksPortsPutUnprocessableEntity) Error() string
func (*PcloudNetworksPortsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPortsPutUnprocessableEntity) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPostBadRequest) Error() string
func (*PcloudNetworksPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPostConflict) Error() string
func (*PcloudNetworksPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostConflict) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPostCreated) Error() string
func (*PcloudNetworksPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostCreated) GetPayload() *models.Network
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) Error ¶
func (o *PcloudNetworksPostInternalServerError) Error() string
func (*PcloudNetworksPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostInternalServerError) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPostOK) Error() string
func (*PcloudNetworksPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostOK) GetPayload() *models.Network
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 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) 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
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) Error ¶
func (o *PcloudNetworksPostUnprocessableEntity) Error() string
func (*PcloudNetworksPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPostUnprocessableEntity) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPutBadRequest) Error() string
func (*PcloudNetworksPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutBadRequest) GetPayload() *models.Error
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) Error ¶
func (o *PcloudNetworksPutInternalServerError) Error() string
func (*PcloudNetworksPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutInternalServerError) GetPayload() *models.Error
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) 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
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) Error ¶
func (o *PcloudNetworksPutOK) Error() string
func (*PcloudNetworksPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutOK) GetPayload() *models.Network
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) 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
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) Error ¶
func (o *PcloudNetworksPutUnprocessableEntity) Error() string
func (*PcloudNetworksPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudNetworksPutUnprocessableEntity) GetPayload() *models.Error
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