p_cloud_networks

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

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud 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

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

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

type PcloudNetworksDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksDeleteBadRequest

func NewPcloudNetworksDeleteBadRequest() *PcloudNetworksDeleteBadRequest

NewPcloudNetworksDeleteBadRequest creates a PcloudNetworksDeleteBadRequest with default headers values

func (*PcloudNetworksDeleteBadRequest) Code

Code gets the status code for the pcloud networks delete bad request response

func (*PcloudNetworksDeleteBadRequest) Error

func (*PcloudNetworksDeleteBadRequest) GetPayload

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

func (*PcloudNetworksDeleteBadRequest) IsClientError

func (o *PcloudNetworksDeleteBadRequest) IsClientError() bool

IsClientError returns true when this pcloud networks delete bad request response has a 4xx status code

func (*PcloudNetworksDeleteBadRequest) IsCode

func (o *PcloudNetworksDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks delete bad request response a status code equal to that given

func (*PcloudNetworksDeleteBadRequest) IsRedirect

func (o *PcloudNetworksDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud networks delete bad request response has a 3xx status code

func (*PcloudNetworksDeleteBadRequest) IsServerError

func (o *PcloudNetworksDeleteBadRequest) IsServerError() bool

IsServerError returns true when this pcloud networks delete bad request response has a 5xx status code

func (*PcloudNetworksDeleteBadRequest) IsSuccess

func (o *PcloudNetworksDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud networks delete bad request response has a 2xx status code

func (*PcloudNetworksDeleteBadRequest) String

type PcloudNetworksDeleteForbidden

type PcloudNetworksDeleteForbidden struct {
	Payload *models.Error
}

PcloudNetworksDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksDeleteForbidden

func NewPcloudNetworksDeleteForbidden() *PcloudNetworksDeleteForbidden

NewPcloudNetworksDeleteForbidden creates a PcloudNetworksDeleteForbidden with default headers values

func (*PcloudNetworksDeleteForbidden) Code

Code gets the status code for the pcloud networks delete forbidden response

func (*PcloudNetworksDeleteForbidden) Error

func (*PcloudNetworksDeleteForbidden) GetPayload

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

func (*PcloudNetworksDeleteForbidden) IsClientError

func (o *PcloudNetworksDeleteForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks delete forbidden response has a 4xx status code

func (*PcloudNetworksDeleteForbidden) IsCode

func (o *PcloudNetworksDeleteForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks delete forbidden response a status code equal to that given

func (*PcloudNetworksDeleteForbidden) IsRedirect

func (o *PcloudNetworksDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks delete forbidden response has a 3xx status code

func (*PcloudNetworksDeleteForbidden) IsServerError

func (o *PcloudNetworksDeleteForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks delete forbidden response has a 5xx status code

func (*PcloudNetworksDeleteForbidden) IsSuccess

func (o *PcloudNetworksDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks delete forbidden response has a 2xx status code

func (*PcloudNetworksDeleteForbidden) String

type PcloudNetworksDeleteGone

type PcloudNetworksDeleteGone struct {
	Payload *models.Error
}

PcloudNetworksDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudNetworksDeleteGone

func NewPcloudNetworksDeleteGone() *PcloudNetworksDeleteGone

NewPcloudNetworksDeleteGone creates a PcloudNetworksDeleteGone with default headers values

func (*PcloudNetworksDeleteGone) Code

func (o *PcloudNetworksDeleteGone) Code() int

Code gets the status code for the pcloud networks delete gone response

func (*PcloudNetworksDeleteGone) Error

func (o *PcloudNetworksDeleteGone) Error() string

func (*PcloudNetworksDeleteGone) GetPayload

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

func (*PcloudNetworksDeleteGone) IsClientError

func (o *PcloudNetworksDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud networks delete gone response has a 4xx status code

func (*PcloudNetworksDeleteGone) IsCode

func (o *PcloudNetworksDeleteGone) IsCode(code int) bool

IsCode returns true when this pcloud networks delete gone response a status code equal to that given

func (*PcloudNetworksDeleteGone) IsRedirect

func (o *PcloudNetworksDeleteGone) IsRedirect() bool

IsRedirect returns true when this pcloud networks delete gone response has a 3xx status code

func (*PcloudNetworksDeleteGone) IsServerError

func (o *PcloudNetworksDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud networks delete gone response has a 5xx status code

func (*PcloudNetworksDeleteGone) IsSuccess

func (o *PcloudNetworksDeleteGone) IsSuccess() bool

IsSuccess returns true when this pcloud networks delete gone response has a 2xx status code

func (*PcloudNetworksDeleteGone) String

func (o *PcloudNetworksDeleteGone) String() string

type PcloudNetworksDeleteInternalServerError

type PcloudNetworksDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksDeleteInternalServerError

func NewPcloudNetworksDeleteInternalServerError() *PcloudNetworksDeleteInternalServerError

NewPcloudNetworksDeleteInternalServerError creates a PcloudNetworksDeleteInternalServerError with default headers values

func (*PcloudNetworksDeleteInternalServerError) Code

Code gets the status code for the pcloud networks delete internal server error response

func (*PcloudNetworksDeleteInternalServerError) Error

func (*PcloudNetworksDeleteInternalServerError) GetPayload

func (*PcloudNetworksDeleteInternalServerError) IsClientError

func (o *PcloudNetworksDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud networks delete internal server error response has a 4xx status code

func (*PcloudNetworksDeleteInternalServerError) IsCode

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

func (*PcloudNetworksDeleteInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks delete internal server error response has a 3xx status code

func (*PcloudNetworksDeleteInternalServerError) IsServerError

func (o *PcloudNetworksDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud networks delete internal server error response has a 5xx status code

func (*PcloudNetworksDeleteInternalServerError) IsSuccess

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

func (*PcloudNetworksDeleteInternalServerError) String

type PcloudNetworksDeleteNotFound

type PcloudNetworksDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksDeleteNotFound

func NewPcloudNetworksDeleteNotFound() *PcloudNetworksDeleteNotFound

NewPcloudNetworksDeleteNotFound creates a PcloudNetworksDeleteNotFound with default headers values

func (*PcloudNetworksDeleteNotFound) Code

Code gets the status code for the pcloud networks delete not found response

func (*PcloudNetworksDeleteNotFound) Error

func (*PcloudNetworksDeleteNotFound) GetPayload

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

func (*PcloudNetworksDeleteNotFound) IsClientError

func (o *PcloudNetworksDeleteNotFound) IsClientError() bool

IsClientError returns true when this pcloud networks delete not found response has a 4xx status code

func (*PcloudNetworksDeleteNotFound) IsCode

func (o *PcloudNetworksDeleteNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks delete not found response a status code equal to that given

func (*PcloudNetworksDeleteNotFound) IsRedirect

func (o *PcloudNetworksDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud networks delete not found response has a 3xx status code

func (*PcloudNetworksDeleteNotFound) IsServerError

func (o *PcloudNetworksDeleteNotFound) IsServerError() bool

IsServerError returns true when this pcloud networks delete not found response has a 5xx status code

func (*PcloudNetworksDeleteNotFound) IsSuccess

func (o *PcloudNetworksDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud networks delete not found response has a 2xx status code

func (*PcloudNetworksDeleteNotFound) String

type PcloudNetworksDeleteOK

type PcloudNetworksDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudNetworksDeleteOK

func NewPcloudNetworksDeleteOK() *PcloudNetworksDeleteOK

NewPcloudNetworksDeleteOK creates a PcloudNetworksDeleteOK with default headers values

func (*PcloudNetworksDeleteOK) Code

func (o *PcloudNetworksDeleteOK) Code() int

Code gets the status code for the pcloud networks delete o k response

func (*PcloudNetworksDeleteOK) Error

func (o *PcloudNetworksDeleteOK) Error() string

func (*PcloudNetworksDeleteOK) GetPayload

func (o *PcloudNetworksDeleteOK) GetPayload() models.Object

func (*PcloudNetworksDeleteOK) IsClientError

func (o *PcloudNetworksDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud networks delete o k response has a 4xx status code

func (*PcloudNetworksDeleteOK) IsCode

func (o *PcloudNetworksDeleteOK) IsCode(code int) bool

IsCode returns true when this pcloud networks delete o k response a status code equal to that given

func (*PcloudNetworksDeleteOK) IsRedirect

func (o *PcloudNetworksDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud networks delete o k response has a 3xx status code

func (*PcloudNetworksDeleteOK) IsServerError

func (o *PcloudNetworksDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud networks delete o k response has a 5xx status code

func (*PcloudNetworksDeleteOK) IsSuccess

func (o *PcloudNetworksDeleteOK) IsSuccess() bool

IsSuccess returns true when this pcloud networks delete o k response has a 2xx status code

func (*PcloudNetworksDeleteOK) String

func (o *PcloudNetworksDeleteOK) String() string

type PcloudNetworksDeleteParams

type PcloudNetworksDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksDeleteParams contains all the parameters to send to the API endpoint

for the pcloud networks delete operation.

Typically these are written to a http.Request.

func NewPcloudNetworksDeleteParams

func NewPcloudNetworksDeleteParams() *PcloudNetworksDeleteParams

NewPcloudNetworksDeleteParams creates a new PcloudNetworksDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksDeleteParamsWithContext

func NewPcloudNetworksDeleteParamsWithContext(ctx context.Context) *PcloudNetworksDeleteParams

NewPcloudNetworksDeleteParamsWithContext creates a new PcloudNetworksDeleteParams object with the ability to set a context for a request.

func NewPcloudNetworksDeleteParamsWithHTTPClient

func NewPcloudNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksDeleteParams

NewPcloudNetworksDeleteParamsWithHTTPClient creates a new PcloudNetworksDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksDeleteParamsWithTimeout

func NewPcloudNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksDeleteParams

NewPcloudNetworksDeleteParamsWithTimeout creates a new PcloudNetworksDeleteParams object with the ability to set a timeout on a request.

func (*PcloudNetworksDeleteParams) SetCloudInstanceID

func (o *PcloudNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) SetContext

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

SetContext adds the context to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) SetDefaults

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

WithContext adds the context to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) WithDefaults

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

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

WithTimeout adds the timeout to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) WriteToRequest

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

type PcloudNetworksDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksDeleteUnauthorized

func NewPcloudNetworksDeleteUnauthorized() *PcloudNetworksDeleteUnauthorized

NewPcloudNetworksDeleteUnauthorized creates a PcloudNetworksDeleteUnauthorized with default headers values

func (*PcloudNetworksDeleteUnauthorized) Code

Code gets the status code for the pcloud networks delete unauthorized response

func (*PcloudNetworksDeleteUnauthorized) Error

func (*PcloudNetworksDeleteUnauthorized) GetPayload

func (*PcloudNetworksDeleteUnauthorized) IsClientError

func (o *PcloudNetworksDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud networks delete unauthorized response has a 4xx status code

func (*PcloudNetworksDeleteUnauthorized) IsCode

func (o *PcloudNetworksDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud networks delete unauthorized response a status code equal to that given

func (*PcloudNetworksDeleteUnauthorized) IsRedirect

func (o *PcloudNetworksDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud networks delete unauthorized response has a 3xx status code

func (*PcloudNetworksDeleteUnauthorized) IsServerError

func (o *PcloudNetworksDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud networks delete unauthorized response has a 5xx status code

func (*PcloudNetworksDeleteUnauthorized) IsSuccess

func (o *PcloudNetworksDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud networks delete unauthorized response has a 2xx status code

func (*PcloudNetworksDeleteUnauthorized) String

type PcloudNetworksGetBadRequest

type PcloudNetworksGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksGetBadRequest

func NewPcloudNetworksGetBadRequest() *PcloudNetworksGetBadRequest

NewPcloudNetworksGetBadRequest creates a PcloudNetworksGetBadRequest with default headers values

func (*PcloudNetworksGetBadRequest) Code

func (o *PcloudNetworksGetBadRequest) Code() int

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

func (*PcloudNetworksGetBadRequest) Error

func (*PcloudNetworksGetBadRequest) GetPayload

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

func (*PcloudNetworksGetBadRequest) IsClientError

func (o *PcloudNetworksGetBadRequest) IsClientError() bool

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

func (*PcloudNetworksGetBadRequest) IsCode

func (o *PcloudNetworksGetBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks get bad request response a status code equal to that given

func (*PcloudNetworksGetBadRequest) IsRedirect

func (o *PcloudNetworksGetBadRequest) IsRedirect() bool

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

func (*PcloudNetworksGetBadRequest) IsServerError

func (o *PcloudNetworksGetBadRequest) IsServerError() bool

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

func (*PcloudNetworksGetBadRequest) IsSuccess

func (o *PcloudNetworksGetBadRequest) IsSuccess() bool

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

func (*PcloudNetworksGetBadRequest) String

func (o *PcloudNetworksGetBadRequest) String() string

type PcloudNetworksGetForbidden

type PcloudNetworksGetForbidden struct {
	Payload *models.Error
}

PcloudNetworksGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksGetForbidden

func NewPcloudNetworksGetForbidden() *PcloudNetworksGetForbidden

NewPcloudNetworksGetForbidden creates a PcloudNetworksGetForbidden with default headers values

func (*PcloudNetworksGetForbidden) Code

func (o *PcloudNetworksGetForbidden) Code() int

Code gets the status code for the pcloud networks get forbidden response

func (*PcloudNetworksGetForbidden) Error

func (*PcloudNetworksGetForbidden) GetPayload

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

func (*PcloudNetworksGetForbidden) IsClientError

func (o *PcloudNetworksGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks get forbidden response has a 4xx status code

func (*PcloudNetworksGetForbidden) IsCode

func (o *PcloudNetworksGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks get forbidden response a status code equal to that given

func (*PcloudNetworksGetForbidden) IsRedirect

func (o *PcloudNetworksGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks get forbidden response has a 3xx status code

func (*PcloudNetworksGetForbidden) IsServerError

func (o *PcloudNetworksGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks get forbidden response has a 5xx status code

func (*PcloudNetworksGetForbidden) IsSuccess

func (o *PcloudNetworksGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks get forbidden response has a 2xx status code

func (*PcloudNetworksGetForbidden) String

func (o *PcloudNetworksGetForbidden) String() string

type PcloudNetworksGetInternalServerError

type PcloudNetworksGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksGetInternalServerError

func NewPcloudNetworksGetInternalServerError() *PcloudNetworksGetInternalServerError

NewPcloudNetworksGetInternalServerError creates a PcloudNetworksGetInternalServerError with default headers values

func (*PcloudNetworksGetInternalServerError) Code

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

func (*PcloudNetworksGetInternalServerError) Error

func (*PcloudNetworksGetInternalServerError) GetPayload

func (*PcloudNetworksGetInternalServerError) IsClientError

func (o *PcloudNetworksGetInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud networks get internal server error response has a 4xx status code

func (*PcloudNetworksGetInternalServerError) IsCode

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

func (*PcloudNetworksGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks get internal server error response has a 3xx status code

func (*PcloudNetworksGetInternalServerError) IsServerError

func (o *PcloudNetworksGetInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud networks get internal server error response has a 5xx status code

func (*PcloudNetworksGetInternalServerError) IsSuccess

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

func (*PcloudNetworksGetInternalServerError) String

type PcloudNetworksGetNotFound

type PcloudNetworksGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksGetNotFound

func NewPcloudNetworksGetNotFound() *PcloudNetworksGetNotFound

NewPcloudNetworksGetNotFound creates a PcloudNetworksGetNotFound with default headers values

func (*PcloudNetworksGetNotFound) Code

func (o *PcloudNetworksGetNotFound) Code() int

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

func (*PcloudNetworksGetNotFound) Error

func (o *PcloudNetworksGetNotFound) Error() string

func (*PcloudNetworksGetNotFound) GetPayload

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

func (*PcloudNetworksGetNotFound) IsClientError

func (o *PcloudNetworksGetNotFound) IsClientError() bool

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

func (*PcloudNetworksGetNotFound) IsCode

func (o *PcloudNetworksGetNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks get not found response a status code equal to that given

func (*PcloudNetworksGetNotFound) IsRedirect

func (o *PcloudNetworksGetNotFound) IsRedirect() bool

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

func (*PcloudNetworksGetNotFound) IsServerError

func (o *PcloudNetworksGetNotFound) IsServerError() bool

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

func (*PcloudNetworksGetNotFound) IsSuccess

func (o *PcloudNetworksGetNotFound) IsSuccess() bool

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

func (*PcloudNetworksGetNotFound) String

func (o *PcloudNetworksGetNotFound) String() string

type PcloudNetworksGetOK

type PcloudNetworksGetOK struct {
	Payload *models.Network
}

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

OK

func NewPcloudNetworksGetOK

func NewPcloudNetworksGetOK() *PcloudNetworksGetOK

NewPcloudNetworksGetOK creates a PcloudNetworksGetOK with default headers values

func (*PcloudNetworksGetOK) Code

func (o *PcloudNetworksGetOK) Code() int

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

func (*PcloudNetworksGetOK) Error

func (o *PcloudNetworksGetOK) Error() string

func (*PcloudNetworksGetOK) GetPayload

func (o *PcloudNetworksGetOK) GetPayload() *models.Network

func (*PcloudNetworksGetOK) IsClientError

func (o *PcloudNetworksGetOK) IsClientError() bool

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

func (*PcloudNetworksGetOK) IsCode

func (o *PcloudNetworksGetOK) IsCode(code int) bool

IsCode returns true when this pcloud networks get o k response a status code equal to that given

func (*PcloudNetworksGetOK) IsRedirect

func (o *PcloudNetworksGetOK) IsRedirect() bool

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

func (*PcloudNetworksGetOK) IsServerError

func (o *PcloudNetworksGetOK) IsServerError() bool

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

func (*PcloudNetworksGetOK) IsSuccess

func (o *PcloudNetworksGetOK) IsSuccess() bool

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

func (*PcloudNetworksGetOK) String

func (o *PcloudNetworksGetOK) String() string

type PcloudNetworksGetParams

type PcloudNetworksGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksGetParams contains all the parameters to send to the API endpoint

for the pcloud networks get operation.

Typically these are written to a http.Request.

func NewPcloudNetworksGetParams

func NewPcloudNetworksGetParams() *PcloudNetworksGetParams

NewPcloudNetworksGetParams creates a new PcloudNetworksGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksGetParamsWithContext

func NewPcloudNetworksGetParamsWithContext(ctx context.Context) *PcloudNetworksGetParams

NewPcloudNetworksGetParamsWithContext creates a new PcloudNetworksGetParams object with the ability to set a context for a request.

func NewPcloudNetworksGetParamsWithHTTPClient

func NewPcloudNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetParams

NewPcloudNetworksGetParamsWithHTTPClient creates a new PcloudNetworksGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksGetParamsWithTimeout

func NewPcloudNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetParams

NewPcloudNetworksGetParamsWithTimeout creates a new PcloudNetworksGetParams object with the ability to set a timeout on a request.

func (*PcloudNetworksGetParams) SetCloudInstanceID

func (o *PcloudNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks get params

func (*PcloudNetworksGetParams) SetContext

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

SetContext adds the context to the pcloud networks get params

func (*PcloudNetworksGetParams) SetDefaults

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

WithContext adds the context to the pcloud networks get params

func (*PcloudNetworksGetParams) WithDefaults

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

WithTimeout adds the timeout to the pcloud networks get params

func (*PcloudNetworksGetParams) WriteToRequest

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

type PcloudNetworksGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksGetUnauthorized

func NewPcloudNetworksGetUnauthorized() *PcloudNetworksGetUnauthorized

NewPcloudNetworksGetUnauthorized creates a PcloudNetworksGetUnauthorized with default headers values

func (*PcloudNetworksGetUnauthorized) Code

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

func (*PcloudNetworksGetUnauthorized) Error

func (*PcloudNetworksGetUnauthorized) GetPayload

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

func (*PcloudNetworksGetUnauthorized) IsClientError

func (o *PcloudNetworksGetUnauthorized) IsClientError() bool

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

func (*PcloudNetworksGetUnauthorized) IsCode

func (o *PcloudNetworksGetUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud networks get unauthorized response a status code equal to that given

func (*PcloudNetworksGetUnauthorized) IsRedirect

func (o *PcloudNetworksGetUnauthorized) IsRedirect() bool

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

func (*PcloudNetworksGetUnauthorized) IsServerError

func (o *PcloudNetworksGetUnauthorized) IsServerError() bool

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

func (*PcloudNetworksGetUnauthorized) IsSuccess

func (o *PcloudNetworksGetUnauthorized) IsSuccess() bool

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

func (*PcloudNetworksGetUnauthorized) String

type PcloudNetworksGetallBadRequest

type PcloudNetworksGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksGetallBadRequest

func NewPcloudNetworksGetallBadRequest() *PcloudNetworksGetallBadRequest

NewPcloudNetworksGetallBadRequest creates a PcloudNetworksGetallBadRequest with default headers values

func (*PcloudNetworksGetallBadRequest) Code

Code gets the status code for the pcloud networks getall bad request response

func (*PcloudNetworksGetallBadRequest) Error

func (*PcloudNetworksGetallBadRequest) GetPayload

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

func (*PcloudNetworksGetallBadRequest) IsClientError

func (o *PcloudNetworksGetallBadRequest) IsClientError() bool

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

func (*PcloudNetworksGetallBadRequest) IsCode

func (o *PcloudNetworksGetallBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks getall bad request response a status code equal to that given

func (*PcloudNetworksGetallBadRequest) IsRedirect

func (o *PcloudNetworksGetallBadRequest) IsRedirect() bool

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

func (*PcloudNetworksGetallBadRequest) IsServerError

func (o *PcloudNetworksGetallBadRequest) IsServerError() bool

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

func (*PcloudNetworksGetallBadRequest) IsSuccess

func (o *PcloudNetworksGetallBadRequest) IsSuccess() bool

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

func (*PcloudNetworksGetallBadRequest) String

type PcloudNetworksGetallForbidden

type PcloudNetworksGetallForbidden struct {
	Payload *models.Error
}

PcloudNetworksGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksGetallForbidden

func NewPcloudNetworksGetallForbidden() *PcloudNetworksGetallForbidden

NewPcloudNetworksGetallForbidden creates a PcloudNetworksGetallForbidden with default headers values

func (*PcloudNetworksGetallForbidden) Code

Code gets the status code for the pcloud networks getall forbidden response

func (*PcloudNetworksGetallForbidden) Error

func (*PcloudNetworksGetallForbidden) GetPayload

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

func (*PcloudNetworksGetallForbidden) IsClientError

func (o *PcloudNetworksGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks getall forbidden response has a 4xx status code

func (*PcloudNetworksGetallForbidden) IsCode

func (o *PcloudNetworksGetallForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks getall forbidden response a status code equal to that given

func (*PcloudNetworksGetallForbidden) IsRedirect

func (o *PcloudNetworksGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks getall forbidden response has a 3xx status code

func (*PcloudNetworksGetallForbidden) IsServerError

func (o *PcloudNetworksGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks getall forbidden response has a 5xx status code

func (*PcloudNetworksGetallForbidden) IsSuccess

func (o *PcloudNetworksGetallForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks getall forbidden response has a 2xx status code

func (*PcloudNetworksGetallForbidden) String

type PcloudNetworksGetallInternalServerError

type PcloudNetworksGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksGetallInternalServerError

func NewPcloudNetworksGetallInternalServerError() *PcloudNetworksGetallInternalServerError

NewPcloudNetworksGetallInternalServerError creates a PcloudNetworksGetallInternalServerError with default headers values

func (*PcloudNetworksGetallInternalServerError) Code

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

func (*PcloudNetworksGetallInternalServerError) Error

func (*PcloudNetworksGetallInternalServerError) GetPayload

func (*PcloudNetworksGetallInternalServerError) IsClientError

func (o *PcloudNetworksGetallInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud networks getall internal server error response has a 4xx status code

func (*PcloudNetworksGetallInternalServerError) IsCode

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

func (*PcloudNetworksGetallInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks getall internal server error response has a 3xx status code

func (*PcloudNetworksGetallInternalServerError) IsServerError

func (o *PcloudNetworksGetallInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud networks getall internal server error response has a 5xx status code

func (*PcloudNetworksGetallInternalServerError) IsSuccess

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

func (*PcloudNetworksGetallInternalServerError) String

type PcloudNetworksGetallOK

type PcloudNetworksGetallOK struct {
	Payload *models.Networks
}

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

OK

func NewPcloudNetworksGetallOK

func NewPcloudNetworksGetallOK() *PcloudNetworksGetallOK

NewPcloudNetworksGetallOK creates a PcloudNetworksGetallOK with default headers values

func (*PcloudNetworksGetallOK) Code

func (o *PcloudNetworksGetallOK) Code() int

Code gets the status code for the pcloud networks getall o k response

func (*PcloudNetworksGetallOK) Error

func (o *PcloudNetworksGetallOK) Error() string

func (*PcloudNetworksGetallOK) GetPayload

func (o *PcloudNetworksGetallOK) GetPayload() *models.Networks

func (*PcloudNetworksGetallOK) IsClientError

func (o *PcloudNetworksGetallOK) IsClientError() bool

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

func (*PcloudNetworksGetallOK) IsCode

func (o *PcloudNetworksGetallOK) IsCode(code int) bool

IsCode returns true when this pcloud networks getall o k response a status code equal to that given

func (*PcloudNetworksGetallOK) IsRedirect

func (o *PcloudNetworksGetallOK) IsRedirect() bool

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

func (*PcloudNetworksGetallOK) IsServerError

func (o *PcloudNetworksGetallOK) IsServerError() bool

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

func (*PcloudNetworksGetallOK) IsSuccess

func (o *PcloudNetworksGetallOK) IsSuccess() bool

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

func (*PcloudNetworksGetallOK) String

func (o *PcloudNetworksGetallOK) String() string

type PcloudNetworksGetallParams

type PcloudNetworksGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* Filter.

	   A filter expression that filters resources listed in the response
	*/
	Filter *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksGetallParams contains all the parameters to send to the API endpoint

for the pcloud networks getall operation.

Typically these are written to a http.Request.

func NewPcloudNetworksGetallParams

func NewPcloudNetworksGetallParams() *PcloudNetworksGetallParams

NewPcloudNetworksGetallParams creates a new PcloudNetworksGetallParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksGetallParamsWithContext

func NewPcloudNetworksGetallParamsWithContext(ctx context.Context) *PcloudNetworksGetallParams

NewPcloudNetworksGetallParamsWithContext creates a new PcloudNetworksGetallParams object with the ability to set a context for a request.

func NewPcloudNetworksGetallParamsWithHTTPClient

func NewPcloudNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetallParams

NewPcloudNetworksGetallParamsWithHTTPClient creates a new PcloudNetworksGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksGetallParamsWithTimeout

func NewPcloudNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetallParams

NewPcloudNetworksGetallParamsWithTimeout creates a new PcloudNetworksGetallParams object with the ability to set a timeout on a request.

func (*PcloudNetworksGetallParams) SetCloudInstanceID

func (o *PcloudNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks getall params

func (*PcloudNetworksGetallParams) SetContext

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

SetContext adds the context to the pcloud networks getall params

func (*PcloudNetworksGetallParams) SetDefaults

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

WithContext adds the context to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WithDefaults

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

WithFilter adds the filter to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WriteToRequest

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

type PcloudNetworksGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksGetallUnauthorized

func NewPcloudNetworksGetallUnauthorized() *PcloudNetworksGetallUnauthorized

NewPcloudNetworksGetallUnauthorized creates a PcloudNetworksGetallUnauthorized with default headers values

func (*PcloudNetworksGetallUnauthorized) Code

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

func (*PcloudNetworksGetallUnauthorized) Error

func (*PcloudNetworksGetallUnauthorized) GetPayload

func (*PcloudNetworksGetallUnauthorized) IsClientError

func (o *PcloudNetworksGetallUnauthorized) IsClientError() bool

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

func (*PcloudNetworksGetallUnauthorized) IsCode

func (o *PcloudNetworksGetallUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud networks getall unauthorized response a status code equal to that given

func (*PcloudNetworksGetallUnauthorized) IsRedirect

func (o *PcloudNetworksGetallUnauthorized) IsRedirect() bool

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

func (*PcloudNetworksGetallUnauthorized) IsServerError

func (o *PcloudNetworksGetallUnauthorized) IsServerError() bool

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

func (*PcloudNetworksGetallUnauthorized) IsSuccess

func (o *PcloudNetworksGetallUnauthorized) IsSuccess() bool

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

func (*PcloudNetworksGetallUnauthorized) String

type PcloudNetworksPortsDeleteBadRequest

type PcloudNetworksPortsDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksPortsDeleteBadRequest

func NewPcloudNetworksPortsDeleteBadRequest() *PcloudNetworksPortsDeleteBadRequest

NewPcloudNetworksPortsDeleteBadRequest creates a PcloudNetworksPortsDeleteBadRequest with default headers values

func (*PcloudNetworksPortsDeleteBadRequest) Code

Code gets the status code for the pcloud networks ports delete bad request response

func (*PcloudNetworksPortsDeleteBadRequest) Error

func (*PcloudNetworksPortsDeleteBadRequest) GetPayload

func (*PcloudNetworksPortsDeleteBadRequest) IsClientError

func (o *PcloudNetworksPortsDeleteBadRequest) IsClientError() bool

IsClientError returns true when this pcloud networks ports delete bad request response has a 4xx status code

func (*PcloudNetworksPortsDeleteBadRequest) IsCode

IsCode returns true when this pcloud networks ports delete bad request response a status code equal to that given

func (*PcloudNetworksPortsDeleteBadRequest) IsRedirect

func (o *PcloudNetworksPortsDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports delete bad request response has a 3xx status code

func (*PcloudNetworksPortsDeleteBadRequest) IsServerError

func (o *PcloudNetworksPortsDeleteBadRequest) IsServerError() bool

IsServerError returns true when this pcloud networks ports delete bad request response has a 5xx status code

func (*PcloudNetworksPortsDeleteBadRequest) IsSuccess

IsSuccess returns true when this pcloud networks ports delete bad request response has a 2xx status code

func (*PcloudNetworksPortsDeleteBadRequest) String

type PcloudNetworksPortsDeleteForbidden

type PcloudNetworksPortsDeleteForbidden struct {
	Payload *models.Error
}

PcloudNetworksPortsDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPortsDeleteForbidden

func NewPcloudNetworksPortsDeleteForbidden() *PcloudNetworksPortsDeleteForbidden

NewPcloudNetworksPortsDeleteForbidden creates a PcloudNetworksPortsDeleteForbidden with default headers values

func (*PcloudNetworksPortsDeleteForbidden) Code

Code gets the status code for the pcloud networks ports delete forbidden response

func (*PcloudNetworksPortsDeleteForbidden) Error

func (*PcloudNetworksPortsDeleteForbidden) GetPayload

func (*PcloudNetworksPortsDeleteForbidden) IsClientError

func (o *PcloudNetworksPortsDeleteForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks ports delete forbidden response has a 4xx status code

func (*PcloudNetworksPortsDeleteForbidden) IsCode

IsCode returns true when this pcloud networks ports delete forbidden response a status code equal to that given

func (*PcloudNetworksPortsDeleteForbidden) IsRedirect

func (o *PcloudNetworksPortsDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports delete forbidden response has a 3xx status code

func (*PcloudNetworksPortsDeleteForbidden) IsServerError

func (o *PcloudNetworksPortsDeleteForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks ports delete forbidden response has a 5xx status code

func (*PcloudNetworksPortsDeleteForbidden) IsSuccess

IsSuccess returns true when this pcloud networks ports delete forbidden response has a 2xx status code

func (*PcloudNetworksPortsDeleteForbidden) String

type PcloudNetworksPortsDeleteGone

type PcloudNetworksPortsDeleteGone struct {
	Payload *models.Error
}

PcloudNetworksPortsDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudNetworksPortsDeleteGone

func NewPcloudNetworksPortsDeleteGone() *PcloudNetworksPortsDeleteGone

NewPcloudNetworksPortsDeleteGone creates a PcloudNetworksPortsDeleteGone with default headers values

func (*PcloudNetworksPortsDeleteGone) Code

Code gets the status code for the pcloud networks ports delete gone response

func (*PcloudNetworksPortsDeleteGone) Error

func (*PcloudNetworksPortsDeleteGone) GetPayload

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

func (*PcloudNetworksPortsDeleteGone) IsClientError

func (o *PcloudNetworksPortsDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud networks ports delete gone response has a 4xx status code

func (*PcloudNetworksPortsDeleteGone) IsCode

func (o *PcloudNetworksPortsDeleteGone) IsCode(code int) bool

IsCode returns true when this pcloud networks ports delete gone response a status code equal to that given

func (*PcloudNetworksPortsDeleteGone) IsRedirect

func (o *PcloudNetworksPortsDeleteGone) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports delete gone response has a 3xx status code

func (*PcloudNetworksPortsDeleteGone) IsServerError

func (o *PcloudNetworksPortsDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud networks ports delete gone response has a 5xx status code

func (*PcloudNetworksPortsDeleteGone) IsSuccess

func (o *PcloudNetworksPortsDeleteGone) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports delete gone response has a 2xx status code

func (*PcloudNetworksPortsDeleteGone) String

type PcloudNetworksPortsDeleteInternalServerError

type PcloudNetworksPortsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPortsDeleteInternalServerError

func NewPcloudNetworksPortsDeleteInternalServerError() *PcloudNetworksPortsDeleteInternalServerError

NewPcloudNetworksPortsDeleteInternalServerError creates a PcloudNetworksPortsDeleteInternalServerError with default headers values

func (*PcloudNetworksPortsDeleteInternalServerError) Code

Code gets the status code for the pcloud networks ports delete internal server error response

func (*PcloudNetworksPortsDeleteInternalServerError) Error

func (*PcloudNetworksPortsDeleteInternalServerError) GetPayload

func (*PcloudNetworksPortsDeleteInternalServerError) IsClientError

IsClientError returns true when this pcloud networks ports delete internal server error response has a 4xx status code

func (*PcloudNetworksPortsDeleteInternalServerError) IsCode

IsCode returns true when this pcloud networks ports delete internal server error response a status code equal to that given

func (*PcloudNetworksPortsDeleteInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks ports delete internal server error response has a 3xx status code

func (*PcloudNetworksPortsDeleteInternalServerError) IsServerError

IsServerError returns true when this pcloud networks ports delete internal server error response has a 5xx status code

func (*PcloudNetworksPortsDeleteInternalServerError) IsSuccess

IsSuccess returns true when this pcloud networks ports delete internal server error response has a 2xx status code

func (*PcloudNetworksPortsDeleteInternalServerError) String

type PcloudNetworksPortsDeleteNotFound

type PcloudNetworksPortsDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksPortsDeleteNotFound

func NewPcloudNetworksPortsDeleteNotFound() *PcloudNetworksPortsDeleteNotFound

NewPcloudNetworksPortsDeleteNotFound creates a PcloudNetworksPortsDeleteNotFound with default headers values

func (*PcloudNetworksPortsDeleteNotFound) Code

Code gets the status code for the pcloud networks ports delete not found response

func (*PcloudNetworksPortsDeleteNotFound) Error

func (*PcloudNetworksPortsDeleteNotFound) GetPayload

func (*PcloudNetworksPortsDeleteNotFound) IsClientError

func (o *PcloudNetworksPortsDeleteNotFound) IsClientError() bool

IsClientError returns true when this pcloud networks ports delete not found response has a 4xx status code

func (*PcloudNetworksPortsDeleteNotFound) IsCode

func (o *PcloudNetworksPortsDeleteNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks ports delete not found response a status code equal to that given

func (*PcloudNetworksPortsDeleteNotFound) IsRedirect

func (o *PcloudNetworksPortsDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports delete not found response has a 3xx status code

func (*PcloudNetworksPortsDeleteNotFound) IsServerError

func (o *PcloudNetworksPortsDeleteNotFound) IsServerError() bool

IsServerError returns true when this pcloud networks ports delete not found response has a 5xx status code

func (*PcloudNetworksPortsDeleteNotFound) IsSuccess

func (o *PcloudNetworksPortsDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports delete not found response has a 2xx status code

func (*PcloudNetworksPortsDeleteNotFound) String

type PcloudNetworksPortsDeleteOK

type PcloudNetworksPortsDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudNetworksPortsDeleteOK

func NewPcloudNetworksPortsDeleteOK() *PcloudNetworksPortsDeleteOK

NewPcloudNetworksPortsDeleteOK creates a PcloudNetworksPortsDeleteOK with default headers values

func (*PcloudNetworksPortsDeleteOK) Code

func (o *PcloudNetworksPortsDeleteOK) Code() int

Code gets the status code for the pcloud networks ports delete o k response

func (*PcloudNetworksPortsDeleteOK) Error

func (*PcloudNetworksPortsDeleteOK) GetPayload

func (o *PcloudNetworksPortsDeleteOK) GetPayload() models.Object

func (*PcloudNetworksPortsDeleteOK) IsClientError

func (o *PcloudNetworksPortsDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud networks ports delete o k response has a 4xx status code

func (*PcloudNetworksPortsDeleteOK) IsCode

func (o *PcloudNetworksPortsDeleteOK) IsCode(code int) bool

IsCode returns true when this pcloud networks ports delete o k response a status code equal to that given

func (*PcloudNetworksPortsDeleteOK) IsRedirect

func (o *PcloudNetworksPortsDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports delete o k response has a 3xx status code

func (*PcloudNetworksPortsDeleteOK) IsServerError

func (o *PcloudNetworksPortsDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud networks ports delete o k response has a 5xx status code

func (*PcloudNetworksPortsDeleteOK) IsSuccess

func (o *PcloudNetworksPortsDeleteOK) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports delete o k response has a 2xx status code

func (*PcloudNetworksPortsDeleteOK) String

func (o *PcloudNetworksPortsDeleteOK) String() string

type PcloudNetworksPortsDeleteParams

type PcloudNetworksPortsDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortID.

	   Port ID
	*/
	PortID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksPortsDeleteParams contains all the parameters to send to the API endpoint

for the pcloud networks ports delete operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsDeleteParams

func NewPcloudNetworksPortsDeleteParams() *PcloudNetworksPortsDeleteParams

NewPcloudNetworksPortsDeleteParams creates a new PcloudNetworksPortsDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksPortsDeleteParamsWithContext

func NewPcloudNetworksPortsDeleteParamsWithContext(ctx context.Context) *PcloudNetworksPortsDeleteParams

NewPcloudNetworksPortsDeleteParamsWithContext creates a new PcloudNetworksPortsDeleteParams object with the ability to set a context for a request.

func NewPcloudNetworksPortsDeleteParamsWithHTTPClient

func NewPcloudNetworksPortsDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsDeleteParams

NewPcloudNetworksPortsDeleteParamsWithHTTPClient creates a new PcloudNetworksPortsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksPortsDeleteParamsWithTimeout

func NewPcloudNetworksPortsDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsDeleteParams

NewPcloudNetworksPortsDeleteParamsWithTimeout creates a new PcloudNetworksPortsDeleteParams object with the ability to set a timeout on a request.

func (*PcloudNetworksPortsDeleteParams) SetCloudInstanceID

func (o *PcloudNetworksPortsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetContext

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

SetContext adds the context to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetDefaults

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

WithContext adds the context to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithPortID

WithPortID adds the portID to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WriteToRequest

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

type PcloudNetworksPortsDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPortsDeleteUnauthorized

func NewPcloudNetworksPortsDeleteUnauthorized() *PcloudNetworksPortsDeleteUnauthorized

NewPcloudNetworksPortsDeleteUnauthorized creates a PcloudNetworksPortsDeleteUnauthorized with default headers values

func (*PcloudNetworksPortsDeleteUnauthorized) Code

Code gets the status code for the pcloud networks ports delete unauthorized response

func (*PcloudNetworksPortsDeleteUnauthorized) Error

func (*PcloudNetworksPortsDeleteUnauthorized) GetPayload

func (*PcloudNetworksPortsDeleteUnauthorized) IsClientError

func (o *PcloudNetworksPortsDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud networks ports delete unauthorized response has a 4xx status code

func (*PcloudNetworksPortsDeleteUnauthorized) IsCode

IsCode returns true when this pcloud networks ports delete unauthorized response a status code equal to that given

func (*PcloudNetworksPortsDeleteUnauthorized) IsRedirect

IsRedirect returns true when this pcloud networks ports delete unauthorized response has a 3xx status code

func (*PcloudNetworksPortsDeleteUnauthorized) IsServerError

func (o *PcloudNetworksPortsDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud networks ports delete unauthorized response has a 5xx status code

func (*PcloudNetworksPortsDeleteUnauthorized) IsSuccess

IsSuccess returns true when this pcloud networks ports delete unauthorized response has a 2xx status code

func (*PcloudNetworksPortsDeleteUnauthorized) String

type PcloudNetworksPortsGetForbidden

type PcloudNetworksPortsGetForbidden struct {
	Payload *models.Error
}

PcloudNetworksPortsGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPortsGetForbidden

func NewPcloudNetworksPortsGetForbidden() *PcloudNetworksPortsGetForbidden

NewPcloudNetworksPortsGetForbidden creates a PcloudNetworksPortsGetForbidden with default headers values

func (*PcloudNetworksPortsGetForbidden) Code

Code gets the status code for the pcloud networks ports get forbidden response

func (*PcloudNetworksPortsGetForbidden) Error

func (*PcloudNetworksPortsGetForbidden) GetPayload

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

func (*PcloudNetworksPortsGetForbidden) IsClientError

func (o *PcloudNetworksPortsGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks ports get forbidden response has a 4xx status code

func (*PcloudNetworksPortsGetForbidden) IsCode

func (o *PcloudNetworksPortsGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks ports get forbidden response a status code equal to that given

func (*PcloudNetworksPortsGetForbidden) IsRedirect

func (o *PcloudNetworksPortsGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports get forbidden response has a 3xx status code

func (*PcloudNetworksPortsGetForbidden) IsServerError

func (o *PcloudNetworksPortsGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks ports get forbidden response has a 5xx status code

func (*PcloudNetworksPortsGetForbidden) IsSuccess

func (o *PcloudNetworksPortsGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports get forbidden response has a 2xx status code

func (*PcloudNetworksPortsGetForbidden) String

type PcloudNetworksPortsGetInternalServerError

type PcloudNetworksPortsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPortsGetInternalServerError

func NewPcloudNetworksPortsGetInternalServerError() *PcloudNetworksPortsGetInternalServerError

NewPcloudNetworksPortsGetInternalServerError creates a PcloudNetworksPortsGetInternalServerError with default headers values

func (*PcloudNetworksPortsGetInternalServerError) Code

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

func (*PcloudNetworksPortsGetInternalServerError) Error

func (*PcloudNetworksPortsGetInternalServerError) GetPayload

func (*PcloudNetworksPortsGetInternalServerError) IsClientError

IsClientError returns true when this pcloud networks ports get internal server error response has a 4xx status code

func (*PcloudNetworksPortsGetInternalServerError) IsCode

IsCode returns true when this pcloud networks ports get internal server error response a status code equal to that given

func (*PcloudNetworksPortsGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks ports get internal server error response has a 3xx status code

func (*PcloudNetworksPortsGetInternalServerError) IsServerError

IsServerError returns true when this pcloud networks ports get internal server error response has a 5xx status code

func (*PcloudNetworksPortsGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud networks ports get internal server error response has a 2xx status code

func (*PcloudNetworksPortsGetInternalServerError) String

type PcloudNetworksPortsGetNotFound

type PcloudNetworksPortsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksPortsGetNotFound

func NewPcloudNetworksPortsGetNotFound() *PcloudNetworksPortsGetNotFound

NewPcloudNetworksPortsGetNotFound creates a PcloudNetworksPortsGetNotFound with default headers values

func (*PcloudNetworksPortsGetNotFound) Code

Code gets the status code for the pcloud networks ports get not found response

func (*PcloudNetworksPortsGetNotFound) Error

func (*PcloudNetworksPortsGetNotFound) GetPayload

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

func (*PcloudNetworksPortsGetNotFound) IsClientError

func (o *PcloudNetworksPortsGetNotFound) IsClientError() bool

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

func (*PcloudNetworksPortsGetNotFound) IsCode

func (o *PcloudNetworksPortsGetNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks ports get not found response a status code equal to that given

func (*PcloudNetworksPortsGetNotFound) IsRedirect

func (o *PcloudNetworksPortsGetNotFound) IsRedirect() bool

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

func (*PcloudNetworksPortsGetNotFound) IsServerError

func (o *PcloudNetworksPortsGetNotFound) IsServerError() bool

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

func (*PcloudNetworksPortsGetNotFound) IsSuccess

func (o *PcloudNetworksPortsGetNotFound) IsSuccess() bool

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

func (*PcloudNetworksPortsGetNotFound) String

type PcloudNetworksPortsGetOK

type PcloudNetworksPortsGetOK struct {
	Payload *models.NetworkPort
}

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

OK

func NewPcloudNetworksPortsGetOK

func NewPcloudNetworksPortsGetOK() *PcloudNetworksPortsGetOK

NewPcloudNetworksPortsGetOK creates a PcloudNetworksPortsGetOK with default headers values

func (*PcloudNetworksPortsGetOK) Code

func (o *PcloudNetworksPortsGetOK) Code() int

Code gets the status code for the pcloud networks ports get o k response

func (*PcloudNetworksPortsGetOK) Error

func (o *PcloudNetworksPortsGetOK) Error() string

func (*PcloudNetworksPortsGetOK) GetPayload

func (o *PcloudNetworksPortsGetOK) GetPayload() *models.NetworkPort

func (*PcloudNetworksPortsGetOK) IsClientError

func (o *PcloudNetworksPortsGetOK) IsClientError() bool

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

func (*PcloudNetworksPortsGetOK) IsCode

func (o *PcloudNetworksPortsGetOK) IsCode(code int) bool

IsCode returns true when this pcloud networks ports get o k response a status code equal to that given

func (*PcloudNetworksPortsGetOK) IsRedirect

func (o *PcloudNetworksPortsGetOK) IsRedirect() bool

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

func (*PcloudNetworksPortsGetOK) IsServerError

func (o *PcloudNetworksPortsGetOK) IsServerError() bool

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

func (*PcloudNetworksPortsGetOK) IsSuccess

func (o *PcloudNetworksPortsGetOK) IsSuccess() bool

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

func (*PcloudNetworksPortsGetOK) String

func (o *PcloudNetworksPortsGetOK) String() string

type PcloudNetworksPortsGetParams

type PcloudNetworksPortsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortID.

	   Port ID
	*/
	PortID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksPortsGetParams contains all the parameters to send to the API endpoint

for the pcloud networks ports get operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsGetParams

func NewPcloudNetworksPortsGetParams() *PcloudNetworksPortsGetParams

NewPcloudNetworksPortsGetParams creates a new PcloudNetworksPortsGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksPortsGetParamsWithContext

func NewPcloudNetworksPortsGetParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetParams

NewPcloudNetworksPortsGetParamsWithContext creates a new PcloudNetworksPortsGetParams object with the ability to set a context for a request.

func NewPcloudNetworksPortsGetParamsWithHTTPClient

func NewPcloudNetworksPortsGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetParams

NewPcloudNetworksPortsGetParamsWithHTTPClient creates a new PcloudNetworksPortsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksPortsGetParamsWithTimeout

func NewPcloudNetworksPortsGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetParams

NewPcloudNetworksPortsGetParamsWithTimeout creates a new PcloudNetworksPortsGetParams object with the ability to set a timeout on a request.

func (*PcloudNetworksPortsGetParams) SetCloudInstanceID

func (o *PcloudNetworksPortsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetContext

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

SetContext adds the context to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetDefaults

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

WithContext adds the context to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithPortID

WithPortID adds the portID to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WriteToRequest

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

type PcloudNetworksPortsGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPortsGetUnauthorized

func NewPcloudNetworksPortsGetUnauthorized() *PcloudNetworksPortsGetUnauthorized

NewPcloudNetworksPortsGetUnauthorized creates a PcloudNetworksPortsGetUnauthorized with default headers values

func (*PcloudNetworksPortsGetUnauthorized) Code

Code gets the status code for the pcloud networks ports get unauthorized response

func (*PcloudNetworksPortsGetUnauthorized) Error

func (*PcloudNetworksPortsGetUnauthorized) GetPayload

func (*PcloudNetworksPortsGetUnauthorized) IsClientError

func (o *PcloudNetworksPortsGetUnauthorized) IsClientError() bool

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

func (*PcloudNetworksPortsGetUnauthorized) IsCode

IsCode returns true when this pcloud networks ports get unauthorized response a status code equal to that given

func (*PcloudNetworksPortsGetUnauthorized) IsRedirect

func (o *PcloudNetworksPortsGetUnauthorized) IsRedirect() bool

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

func (*PcloudNetworksPortsGetUnauthorized) IsServerError

func (o *PcloudNetworksPortsGetUnauthorized) IsServerError() bool

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

func (*PcloudNetworksPortsGetUnauthorized) IsSuccess

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

func (*PcloudNetworksPortsGetUnauthorized) String

type PcloudNetworksPortsGetallBadRequest

type PcloudNetworksPortsGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksPortsGetallBadRequest

func NewPcloudNetworksPortsGetallBadRequest() *PcloudNetworksPortsGetallBadRequest

NewPcloudNetworksPortsGetallBadRequest creates a PcloudNetworksPortsGetallBadRequest with default headers values

func (*PcloudNetworksPortsGetallBadRequest) Code

Code gets the status code for the pcloud networks ports getall bad request response

func (*PcloudNetworksPortsGetallBadRequest) Error

func (*PcloudNetworksPortsGetallBadRequest) GetPayload

func (*PcloudNetworksPortsGetallBadRequest) IsClientError

func (o *PcloudNetworksPortsGetallBadRequest) IsClientError() bool

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

func (*PcloudNetworksPortsGetallBadRequest) IsCode

IsCode returns true when this pcloud networks ports getall bad request response a status code equal to that given

func (*PcloudNetworksPortsGetallBadRequest) IsRedirect

func (o *PcloudNetworksPortsGetallBadRequest) IsRedirect() bool

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

func (*PcloudNetworksPortsGetallBadRequest) IsServerError

func (o *PcloudNetworksPortsGetallBadRequest) IsServerError() bool

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

func (*PcloudNetworksPortsGetallBadRequest) IsSuccess

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

func (*PcloudNetworksPortsGetallBadRequest) String

type PcloudNetworksPortsGetallForbidden

type PcloudNetworksPortsGetallForbidden struct {
	Payload *models.Error
}

PcloudNetworksPortsGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPortsGetallForbidden

func NewPcloudNetworksPortsGetallForbidden() *PcloudNetworksPortsGetallForbidden

NewPcloudNetworksPortsGetallForbidden creates a PcloudNetworksPortsGetallForbidden with default headers values

func (*PcloudNetworksPortsGetallForbidden) Code

Code gets the status code for the pcloud networks ports getall forbidden response

func (*PcloudNetworksPortsGetallForbidden) Error

func (*PcloudNetworksPortsGetallForbidden) GetPayload

func (*PcloudNetworksPortsGetallForbidden) IsClientError

func (o *PcloudNetworksPortsGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks ports getall forbidden response has a 4xx status code

func (*PcloudNetworksPortsGetallForbidden) IsCode

IsCode returns true when this pcloud networks ports getall forbidden response a status code equal to that given

func (*PcloudNetworksPortsGetallForbidden) IsRedirect

func (o *PcloudNetworksPortsGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports getall forbidden response has a 3xx status code

func (*PcloudNetworksPortsGetallForbidden) IsServerError

func (o *PcloudNetworksPortsGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks ports getall forbidden response has a 5xx status code

func (*PcloudNetworksPortsGetallForbidden) IsSuccess

IsSuccess returns true when this pcloud networks ports getall forbidden response has a 2xx status code

func (*PcloudNetworksPortsGetallForbidden) String

type PcloudNetworksPortsGetallInternalServerError

type PcloudNetworksPortsGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPortsGetallInternalServerError

func NewPcloudNetworksPortsGetallInternalServerError() *PcloudNetworksPortsGetallInternalServerError

NewPcloudNetworksPortsGetallInternalServerError creates a PcloudNetworksPortsGetallInternalServerError with default headers values

func (*PcloudNetworksPortsGetallInternalServerError) Code

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

func (*PcloudNetworksPortsGetallInternalServerError) Error

func (*PcloudNetworksPortsGetallInternalServerError) GetPayload

func (*PcloudNetworksPortsGetallInternalServerError) IsClientError

IsClientError returns true when this pcloud networks ports getall internal server error response has a 4xx status code

func (*PcloudNetworksPortsGetallInternalServerError) IsCode

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

func (*PcloudNetworksPortsGetallInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks ports getall internal server error response has a 3xx status code

func (*PcloudNetworksPortsGetallInternalServerError) IsServerError

IsServerError returns true when this pcloud networks ports getall internal server error response has a 5xx status code

func (*PcloudNetworksPortsGetallInternalServerError) IsSuccess

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

func (*PcloudNetworksPortsGetallInternalServerError) String

type PcloudNetworksPortsGetallNotFound

type PcloudNetworksPortsGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksPortsGetallNotFound

func NewPcloudNetworksPortsGetallNotFound() *PcloudNetworksPortsGetallNotFound

NewPcloudNetworksPortsGetallNotFound creates a PcloudNetworksPortsGetallNotFound with default headers values

func (*PcloudNetworksPortsGetallNotFound) Code

Code gets the status code for the pcloud networks ports getall not found response

func (*PcloudNetworksPortsGetallNotFound) Error

func (*PcloudNetworksPortsGetallNotFound) GetPayload

func (*PcloudNetworksPortsGetallNotFound) IsClientError

func (o *PcloudNetworksPortsGetallNotFound) IsClientError() bool

IsClientError returns true when this pcloud networks ports getall not found response has a 4xx status code

func (*PcloudNetworksPortsGetallNotFound) IsCode

func (o *PcloudNetworksPortsGetallNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks ports getall not found response a status code equal to that given

func (*PcloudNetworksPortsGetallNotFound) IsRedirect

func (o *PcloudNetworksPortsGetallNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports getall not found response has a 3xx status code

func (*PcloudNetworksPortsGetallNotFound) IsServerError

func (o *PcloudNetworksPortsGetallNotFound) IsServerError() bool

IsServerError returns true when this pcloud networks ports getall not found response has a 5xx status code

func (*PcloudNetworksPortsGetallNotFound) IsSuccess

func (o *PcloudNetworksPortsGetallNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports getall not found response has a 2xx status code

func (*PcloudNetworksPortsGetallNotFound) String

type PcloudNetworksPortsGetallOK

type PcloudNetworksPortsGetallOK struct {
	Payload *models.NetworkPorts
}

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

OK

func NewPcloudNetworksPortsGetallOK

func NewPcloudNetworksPortsGetallOK() *PcloudNetworksPortsGetallOK

NewPcloudNetworksPortsGetallOK creates a PcloudNetworksPortsGetallOK with default headers values

func (*PcloudNetworksPortsGetallOK) Code

func (o *PcloudNetworksPortsGetallOK) Code() int

Code gets the status code for the pcloud networks ports getall o k response

func (*PcloudNetworksPortsGetallOK) Error

func (*PcloudNetworksPortsGetallOK) GetPayload

func (*PcloudNetworksPortsGetallOK) IsClientError

func (o *PcloudNetworksPortsGetallOK) IsClientError() bool

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

func (*PcloudNetworksPortsGetallOK) IsCode

func (o *PcloudNetworksPortsGetallOK) IsCode(code int) bool

IsCode returns true when this pcloud networks ports getall o k response a status code equal to that given

func (*PcloudNetworksPortsGetallOK) IsRedirect

func (o *PcloudNetworksPortsGetallOK) IsRedirect() bool

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

func (*PcloudNetworksPortsGetallOK) IsServerError

func (o *PcloudNetworksPortsGetallOK) IsServerError() bool

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

func (*PcloudNetworksPortsGetallOK) IsSuccess

func (o *PcloudNetworksPortsGetallOK) IsSuccess() bool

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

func (*PcloudNetworksPortsGetallOK) String

func (o *PcloudNetworksPortsGetallOK) String() string

type PcloudNetworksPortsGetallParams

type PcloudNetworksPortsGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksPortsGetallParams contains all the parameters to send to the API endpoint

for the pcloud networks ports getall operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsGetallParams

func NewPcloudNetworksPortsGetallParams() *PcloudNetworksPortsGetallParams

NewPcloudNetworksPortsGetallParams creates a new PcloudNetworksPortsGetallParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksPortsGetallParamsWithContext

func NewPcloudNetworksPortsGetallParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetallParams

NewPcloudNetworksPortsGetallParamsWithContext creates a new PcloudNetworksPortsGetallParams object with the ability to set a context for a request.

func NewPcloudNetworksPortsGetallParamsWithHTTPClient

func NewPcloudNetworksPortsGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetallParams

NewPcloudNetworksPortsGetallParamsWithHTTPClient creates a new PcloudNetworksPortsGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksPortsGetallParamsWithTimeout

func NewPcloudNetworksPortsGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetallParams

NewPcloudNetworksPortsGetallParamsWithTimeout creates a new PcloudNetworksPortsGetallParams object with the ability to set a timeout on a request.

func (*PcloudNetworksPortsGetallParams) SetCloudInstanceID

func (o *PcloudNetworksPortsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) SetContext

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

SetContext adds the context to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) SetDefaults

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

WithContext adds the context to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WriteToRequest

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

type PcloudNetworksPortsGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPortsGetallUnauthorized

func NewPcloudNetworksPortsGetallUnauthorized() *PcloudNetworksPortsGetallUnauthorized

NewPcloudNetworksPortsGetallUnauthorized creates a PcloudNetworksPortsGetallUnauthorized with default headers values

func (*PcloudNetworksPortsGetallUnauthorized) Code

Code gets the status code for the pcloud networks ports getall unauthorized response

func (*PcloudNetworksPortsGetallUnauthorized) Error

func (*PcloudNetworksPortsGetallUnauthorized) GetPayload

func (*PcloudNetworksPortsGetallUnauthorized) IsClientError

func (o *PcloudNetworksPortsGetallUnauthorized) IsClientError() bool

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

func (*PcloudNetworksPortsGetallUnauthorized) IsCode

IsCode returns true when this pcloud networks ports getall unauthorized response a status code equal to that given

func (*PcloudNetworksPortsGetallUnauthorized) IsRedirect

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

func (*PcloudNetworksPortsGetallUnauthorized) IsServerError

func (o *PcloudNetworksPortsGetallUnauthorized) IsServerError() bool

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

func (*PcloudNetworksPortsGetallUnauthorized) IsSuccess

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

func (*PcloudNetworksPortsGetallUnauthorized) String

type PcloudNetworksPortsPostBadRequest

type PcloudNetworksPortsPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksPortsPostBadRequest

func NewPcloudNetworksPortsPostBadRequest() *PcloudNetworksPortsPostBadRequest

NewPcloudNetworksPortsPostBadRequest creates a PcloudNetworksPortsPostBadRequest with default headers values

func (*PcloudNetworksPortsPostBadRequest) Code

Code gets the status code for the pcloud networks ports post bad request response

func (*PcloudNetworksPortsPostBadRequest) Error

func (*PcloudNetworksPortsPostBadRequest) GetPayload

func (*PcloudNetworksPortsPostBadRequest) IsClientError

func (o *PcloudNetworksPortsPostBadRequest) IsClientError() bool

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

func (*PcloudNetworksPortsPostBadRequest) IsCode

func (o *PcloudNetworksPortsPostBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks ports post bad request response a status code equal to that given

func (*PcloudNetworksPortsPostBadRequest) IsRedirect

func (o *PcloudNetworksPortsPostBadRequest) IsRedirect() bool

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

func (*PcloudNetworksPortsPostBadRequest) IsServerError

func (o *PcloudNetworksPortsPostBadRequest) IsServerError() bool

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

func (*PcloudNetworksPortsPostBadRequest) IsSuccess

func (o *PcloudNetworksPortsPostBadRequest) IsSuccess() bool

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

func (*PcloudNetworksPortsPostBadRequest) String

type PcloudNetworksPortsPostConflict

type PcloudNetworksPortsPostConflict struct {
	Payload *models.Error
}

PcloudNetworksPortsPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudNetworksPortsPostConflict

func NewPcloudNetworksPortsPostConflict() *PcloudNetworksPortsPostConflict

NewPcloudNetworksPortsPostConflict creates a PcloudNetworksPortsPostConflict with default headers values

func (*PcloudNetworksPortsPostConflict) Code

Code gets the status code for the pcloud networks ports post conflict response

func (*PcloudNetworksPortsPostConflict) Error

func (*PcloudNetworksPortsPostConflict) GetPayload

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

func (*PcloudNetworksPortsPostConflict) IsClientError

func (o *PcloudNetworksPortsPostConflict) IsClientError() bool

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

func (*PcloudNetworksPortsPostConflict) IsCode

func (o *PcloudNetworksPortsPostConflict) IsCode(code int) bool

IsCode returns true when this pcloud networks ports post conflict response a status code equal to that given

func (*PcloudNetworksPortsPostConflict) IsRedirect

func (o *PcloudNetworksPortsPostConflict) IsRedirect() bool

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

func (*PcloudNetworksPortsPostConflict) IsServerError

func (o *PcloudNetworksPortsPostConflict) IsServerError() bool

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

func (*PcloudNetworksPortsPostConflict) IsSuccess

func (o *PcloudNetworksPortsPostConflict) IsSuccess() bool

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

func (*PcloudNetworksPortsPostConflict) String

type PcloudNetworksPortsPostCreated

type PcloudNetworksPortsPostCreated struct {
	Payload *models.NetworkPort
}

PcloudNetworksPortsPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudNetworksPortsPostCreated

func NewPcloudNetworksPortsPostCreated() *PcloudNetworksPortsPostCreated

NewPcloudNetworksPortsPostCreated creates a PcloudNetworksPortsPostCreated with default headers values

func (*PcloudNetworksPortsPostCreated) Code

Code gets the status code for the pcloud networks ports post created response

func (*PcloudNetworksPortsPostCreated) Error

func (*PcloudNetworksPortsPostCreated) GetPayload

func (*PcloudNetworksPortsPostCreated) IsClientError

func (o *PcloudNetworksPortsPostCreated) IsClientError() bool

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

func (*PcloudNetworksPortsPostCreated) IsCode

func (o *PcloudNetworksPortsPostCreated) IsCode(code int) bool

IsCode returns true when this pcloud networks ports post created response a status code equal to that given

func (*PcloudNetworksPortsPostCreated) IsRedirect

func (o *PcloudNetworksPortsPostCreated) IsRedirect() bool

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

func (*PcloudNetworksPortsPostCreated) IsServerError

func (o *PcloudNetworksPortsPostCreated) IsServerError() bool

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

func (*PcloudNetworksPortsPostCreated) IsSuccess

func (o *PcloudNetworksPortsPostCreated) IsSuccess() bool

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

func (*PcloudNetworksPortsPostCreated) String

type PcloudNetworksPortsPostForbidden

type PcloudNetworksPortsPostForbidden struct {
	Payload *models.Error
}

PcloudNetworksPortsPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPortsPostForbidden

func NewPcloudNetworksPortsPostForbidden() *PcloudNetworksPortsPostForbidden

NewPcloudNetworksPortsPostForbidden creates a PcloudNetworksPortsPostForbidden with default headers values

func (*PcloudNetworksPortsPostForbidden) Code

Code gets the status code for the pcloud networks ports post forbidden response

func (*PcloudNetworksPortsPostForbidden) Error

func (*PcloudNetworksPortsPostForbidden) GetPayload

func (*PcloudNetworksPortsPostForbidden) IsClientError

func (o *PcloudNetworksPortsPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks ports post forbidden response has a 4xx status code

func (*PcloudNetworksPortsPostForbidden) IsCode

func (o *PcloudNetworksPortsPostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks ports post forbidden response a status code equal to that given

func (*PcloudNetworksPortsPostForbidden) IsRedirect

func (o *PcloudNetworksPortsPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports post forbidden response has a 3xx status code

func (*PcloudNetworksPortsPostForbidden) IsServerError

func (o *PcloudNetworksPortsPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks ports post forbidden response has a 5xx status code

func (*PcloudNetworksPortsPostForbidden) IsSuccess

func (o *PcloudNetworksPortsPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports post forbidden response has a 2xx status code

func (*PcloudNetworksPortsPostForbidden) String

type PcloudNetworksPortsPostInternalServerError

type PcloudNetworksPortsPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPortsPostInternalServerError

func NewPcloudNetworksPortsPostInternalServerError() *PcloudNetworksPortsPostInternalServerError

NewPcloudNetworksPortsPostInternalServerError creates a PcloudNetworksPortsPostInternalServerError with default headers values

func (*PcloudNetworksPortsPostInternalServerError) Code

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

func (*PcloudNetworksPortsPostInternalServerError) Error

func (*PcloudNetworksPortsPostInternalServerError) GetPayload

func (*PcloudNetworksPortsPostInternalServerError) IsClientError

IsClientError returns true when this pcloud networks ports post internal server error response has a 4xx status code

func (*PcloudNetworksPortsPostInternalServerError) IsCode

IsCode returns true when this pcloud networks ports post internal server error response a status code equal to that given

func (*PcloudNetworksPortsPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks ports post internal server error response has a 3xx status code

func (*PcloudNetworksPortsPostInternalServerError) IsServerError

IsServerError returns true when this pcloud networks ports post internal server error response has a 5xx status code

func (*PcloudNetworksPortsPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud networks ports post internal server error response has a 2xx status code

func (*PcloudNetworksPortsPostInternalServerError) String

type PcloudNetworksPortsPostNotFound

type PcloudNetworksPortsPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksPortsPostNotFound

func NewPcloudNetworksPortsPostNotFound() *PcloudNetworksPortsPostNotFound

NewPcloudNetworksPortsPostNotFound creates a PcloudNetworksPortsPostNotFound with default headers values

func (*PcloudNetworksPortsPostNotFound) Code

Code gets the status code for the pcloud networks ports post not found response

func (*PcloudNetworksPortsPostNotFound) Error

func (*PcloudNetworksPortsPostNotFound) GetPayload

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

func (*PcloudNetworksPortsPostNotFound) IsClientError

func (o *PcloudNetworksPortsPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud networks ports post not found response has a 4xx status code

func (*PcloudNetworksPortsPostNotFound) IsCode

func (o *PcloudNetworksPortsPostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks ports post not found response a status code equal to that given

func (*PcloudNetworksPortsPostNotFound) IsRedirect

func (o *PcloudNetworksPortsPostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports post not found response has a 3xx status code

func (*PcloudNetworksPortsPostNotFound) IsServerError

func (o *PcloudNetworksPortsPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud networks ports post not found response has a 5xx status code

func (*PcloudNetworksPortsPostNotFound) IsSuccess

func (o *PcloudNetworksPortsPostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports post not found response has a 2xx status code

func (*PcloudNetworksPortsPostNotFound) String

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

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

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

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

WithContext adds the context to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) WriteToRequest

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

type PcloudNetworksPortsPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPortsPostUnauthorized

func NewPcloudNetworksPortsPostUnauthorized() *PcloudNetworksPortsPostUnauthorized

NewPcloudNetworksPortsPostUnauthorized creates a PcloudNetworksPortsPostUnauthorized with default headers values

func (*PcloudNetworksPortsPostUnauthorized) Code

Code gets the status code for the pcloud networks ports post unauthorized response

func (*PcloudNetworksPortsPostUnauthorized) Error

func (*PcloudNetworksPortsPostUnauthorized) GetPayload

func (*PcloudNetworksPortsPostUnauthorized) IsClientError

func (o *PcloudNetworksPortsPostUnauthorized) IsClientError() bool

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

func (*PcloudNetworksPortsPostUnauthorized) IsCode

IsCode returns true when this pcloud networks ports post unauthorized response a status code equal to that given

func (*PcloudNetworksPortsPostUnauthorized) IsRedirect

func (o *PcloudNetworksPortsPostUnauthorized) IsRedirect() bool

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

func (*PcloudNetworksPortsPostUnauthorized) IsServerError

func (o *PcloudNetworksPortsPostUnauthorized) IsServerError() bool

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

func (*PcloudNetworksPortsPostUnauthorized) IsSuccess

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

func (*PcloudNetworksPortsPostUnauthorized) String

type PcloudNetworksPortsPostUnprocessableEntity

type PcloudNetworksPortsPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudNetworksPortsPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudNetworksPortsPostUnprocessableEntity

func NewPcloudNetworksPortsPostUnprocessableEntity() *PcloudNetworksPortsPostUnprocessableEntity

NewPcloudNetworksPortsPostUnprocessableEntity creates a PcloudNetworksPortsPostUnprocessableEntity with default headers values

func (*PcloudNetworksPortsPostUnprocessableEntity) Code

Code gets the status code for the pcloud networks ports post unprocessable entity response

func (*PcloudNetworksPortsPostUnprocessableEntity) Error

func (*PcloudNetworksPortsPostUnprocessableEntity) GetPayload

func (*PcloudNetworksPortsPostUnprocessableEntity) IsClientError

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

func (*PcloudNetworksPortsPostUnprocessableEntity) IsCode

IsCode returns true when this pcloud networks ports post unprocessable entity response a status code equal to that given

func (*PcloudNetworksPortsPostUnprocessableEntity) IsRedirect

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

func (*PcloudNetworksPortsPostUnprocessableEntity) IsServerError

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

func (*PcloudNetworksPortsPostUnprocessableEntity) IsSuccess

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

func (*PcloudNetworksPortsPostUnprocessableEntity) String

type PcloudNetworksPortsPutBadRequest

type PcloudNetworksPortsPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksPortsPutBadRequest

func NewPcloudNetworksPortsPutBadRequest() *PcloudNetworksPortsPutBadRequest

NewPcloudNetworksPortsPutBadRequest creates a PcloudNetworksPortsPutBadRequest with default headers values

func (*PcloudNetworksPortsPutBadRequest) Code

Code gets the status code for the pcloud networks ports put bad request response

func (*PcloudNetworksPortsPutBadRequest) Error

func (*PcloudNetworksPortsPutBadRequest) GetPayload

func (*PcloudNetworksPortsPutBadRequest) IsClientError

func (o *PcloudNetworksPortsPutBadRequest) IsClientError() bool

IsClientError returns true when this pcloud networks ports put bad request response has a 4xx status code

func (*PcloudNetworksPortsPutBadRequest) IsCode

func (o *PcloudNetworksPortsPutBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks ports put bad request response a status code equal to that given

func (*PcloudNetworksPortsPutBadRequest) IsRedirect

func (o *PcloudNetworksPortsPutBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports put bad request response has a 3xx status code

func (*PcloudNetworksPortsPutBadRequest) IsServerError

func (o *PcloudNetworksPortsPutBadRequest) IsServerError() bool

IsServerError returns true when this pcloud networks ports put bad request response has a 5xx status code

func (*PcloudNetworksPortsPutBadRequest) IsSuccess

func (o *PcloudNetworksPortsPutBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports put bad request response has a 2xx status code

func (*PcloudNetworksPortsPutBadRequest) String

type PcloudNetworksPortsPutForbidden

type PcloudNetworksPortsPutForbidden struct {
	Payload *models.Error
}

PcloudNetworksPortsPutForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPortsPutForbidden

func NewPcloudNetworksPortsPutForbidden() *PcloudNetworksPortsPutForbidden

NewPcloudNetworksPortsPutForbidden creates a PcloudNetworksPortsPutForbidden with default headers values

func (*PcloudNetworksPortsPutForbidden) Code

Code gets the status code for the pcloud networks ports put forbidden response

func (*PcloudNetworksPortsPutForbidden) Error

func (*PcloudNetworksPortsPutForbidden) GetPayload

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

func (*PcloudNetworksPortsPutForbidden) IsClientError

func (o *PcloudNetworksPortsPutForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks ports put forbidden response has a 4xx status code

func (*PcloudNetworksPortsPutForbidden) IsCode

func (o *PcloudNetworksPortsPutForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks ports put forbidden response a status code equal to that given

func (*PcloudNetworksPortsPutForbidden) IsRedirect

func (o *PcloudNetworksPortsPutForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports put forbidden response has a 3xx status code

func (*PcloudNetworksPortsPutForbidden) IsServerError

func (o *PcloudNetworksPortsPutForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks ports put forbidden response has a 5xx status code

func (*PcloudNetworksPortsPutForbidden) IsSuccess

func (o *PcloudNetworksPortsPutForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports put forbidden response has a 2xx status code

func (*PcloudNetworksPortsPutForbidden) String

type PcloudNetworksPortsPutInternalServerError

type PcloudNetworksPortsPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPortsPutInternalServerError

func NewPcloudNetworksPortsPutInternalServerError() *PcloudNetworksPortsPutInternalServerError

NewPcloudNetworksPortsPutInternalServerError creates a PcloudNetworksPortsPutInternalServerError with default headers values

func (*PcloudNetworksPortsPutInternalServerError) Code

Code gets the status code for the pcloud networks ports put internal server error response

func (*PcloudNetworksPortsPutInternalServerError) Error

func (*PcloudNetworksPortsPutInternalServerError) GetPayload

func (*PcloudNetworksPortsPutInternalServerError) IsClientError

IsClientError returns true when this pcloud networks ports put internal server error response has a 4xx status code

func (*PcloudNetworksPortsPutInternalServerError) IsCode

IsCode returns true when this pcloud networks ports put internal server error response a status code equal to that given

func (*PcloudNetworksPortsPutInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks ports put internal server error response has a 3xx status code

func (*PcloudNetworksPortsPutInternalServerError) IsServerError

IsServerError returns true when this pcloud networks ports put internal server error response has a 5xx status code

func (*PcloudNetworksPortsPutInternalServerError) IsSuccess

IsSuccess returns true when this pcloud networks ports put internal server error response has a 2xx status code

func (*PcloudNetworksPortsPutInternalServerError) String

type PcloudNetworksPortsPutNotFound

type PcloudNetworksPortsPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksPortsPutNotFound

func NewPcloudNetworksPortsPutNotFound() *PcloudNetworksPortsPutNotFound

NewPcloudNetworksPortsPutNotFound creates a PcloudNetworksPortsPutNotFound with default headers values

func (*PcloudNetworksPortsPutNotFound) Code

Code gets the status code for the pcloud networks ports put not found response

func (*PcloudNetworksPortsPutNotFound) Error

func (*PcloudNetworksPortsPutNotFound) GetPayload

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

func (*PcloudNetworksPortsPutNotFound) IsClientError

func (o *PcloudNetworksPortsPutNotFound) IsClientError() bool

IsClientError returns true when this pcloud networks ports put not found response has a 4xx status code

func (*PcloudNetworksPortsPutNotFound) IsCode

func (o *PcloudNetworksPortsPutNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks ports put not found response a status code equal to that given

func (*PcloudNetworksPortsPutNotFound) IsRedirect

func (o *PcloudNetworksPortsPutNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports put not found response has a 3xx status code

func (*PcloudNetworksPortsPutNotFound) IsServerError

func (o *PcloudNetworksPortsPutNotFound) IsServerError() bool

IsServerError returns true when this pcloud networks ports put not found response has a 5xx status code

func (*PcloudNetworksPortsPutNotFound) IsSuccess

func (o *PcloudNetworksPortsPutNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports put not found response has a 2xx status code

func (*PcloudNetworksPortsPutNotFound) String

type PcloudNetworksPortsPutOK

type PcloudNetworksPortsPutOK struct {
	Payload *models.NetworkPort
}

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

OK

func NewPcloudNetworksPortsPutOK

func NewPcloudNetworksPortsPutOK() *PcloudNetworksPortsPutOK

NewPcloudNetworksPortsPutOK creates a PcloudNetworksPortsPutOK with default headers values

func (*PcloudNetworksPortsPutOK) Code

func (o *PcloudNetworksPortsPutOK) Code() int

Code gets the status code for the pcloud networks ports put o k response

func (*PcloudNetworksPortsPutOK) Error

func (o *PcloudNetworksPortsPutOK) Error() string

func (*PcloudNetworksPortsPutOK) GetPayload

func (o *PcloudNetworksPortsPutOK) GetPayload() *models.NetworkPort

func (*PcloudNetworksPortsPutOK) IsClientError

func (o *PcloudNetworksPortsPutOK) IsClientError() bool

IsClientError returns true when this pcloud networks ports put o k response has a 4xx status code

func (*PcloudNetworksPortsPutOK) IsCode

func (o *PcloudNetworksPortsPutOK) IsCode(code int) bool

IsCode returns true when this pcloud networks ports put o k response a status code equal to that given

func (*PcloudNetworksPortsPutOK) IsRedirect

func (o *PcloudNetworksPortsPutOK) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports put o k response has a 3xx status code

func (*PcloudNetworksPortsPutOK) IsServerError

func (o *PcloudNetworksPortsPutOK) IsServerError() bool

IsServerError returns true when this pcloud networks ports put o k response has a 5xx status code

func (*PcloudNetworksPortsPutOK) IsSuccess

func (o *PcloudNetworksPortsPutOK) IsSuccess() bool

IsSuccess returns true when this pcloud networks ports put o k response has a 2xx status code

func (*PcloudNetworksPortsPutOK) String

func (o *PcloudNetworksPortsPutOK) String() string

type PcloudNetworksPortsPutParams

type PcloudNetworksPortsPutParams struct {

	/* Body.

	   Parameters for updating a Port
	*/
	Body *models.NetworkPortUpdate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortID.

	   Port ID
	*/
	PortID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksPortsPutParams contains all the parameters to send to the API endpoint

for the pcloud networks ports put operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsPutParams

func NewPcloudNetworksPortsPutParams() *PcloudNetworksPortsPutParams

NewPcloudNetworksPortsPutParams creates a new PcloudNetworksPortsPutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksPortsPutParamsWithContext

func NewPcloudNetworksPortsPutParamsWithContext(ctx context.Context) *PcloudNetworksPortsPutParams

NewPcloudNetworksPortsPutParamsWithContext creates a new PcloudNetworksPortsPutParams object with the ability to set a context for a request.

func NewPcloudNetworksPortsPutParamsWithHTTPClient

func NewPcloudNetworksPortsPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsPutParams

NewPcloudNetworksPortsPutParamsWithHTTPClient creates a new PcloudNetworksPortsPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksPortsPutParamsWithTimeout

func NewPcloudNetworksPortsPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsPutParams

NewPcloudNetworksPortsPutParamsWithTimeout creates a new PcloudNetworksPortsPutParams object with the ability to set a timeout on a request.

func (*PcloudNetworksPortsPutParams) SetBody

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

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

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

WithContext adds the context to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) WithPortID

WithPortID adds the portID to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) WriteToRequest

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

type PcloudNetworksPortsPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPortsPutUnauthorized

func NewPcloudNetworksPortsPutUnauthorized() *PcloudNetworksPortsPutUnauthorized

NewPcloudNetworksPortsPutUnauthorized creates a PcloudNetworksPortsPutUnauthorized with default headers values

func (*PcloudNetworksPortsPutUnauthorized) Code

Code gets the status code for the pcloud networks ports put unauthorized response

func (*PcloudNetworksPortsPutUnauthorized) Error

func (*PcloudNetworksPortsPutUnauthorized) GetPayload

func (*PcloudNetworksPortsPutUnauthorized) IsClientError

func (o *PcloudNetworksPortsPutUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud networks ports put unauthorized response has a 4xx status code

func (*PcloudNetworksPortsPutUnauthorized) IsCode

IsCode returns true when this pcloud networks ports put unauthorized response a status code equal to that given

func (*PcloudNetworksPortsPutUnauthorized) IsRedirect

func (o *PcloudNetworksPortsPutUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud networks ports put unauthorized response has a 3xx status code

func (*PcloudNetworksPortsPutUnauthorized) IsServerError

func (o *PcloudNetworksPortsPutUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud networks ports put unauthorized response has a 5xx status code

func (*PcloudNetworksPortsPutUnauthorized) IsSuccess

IsSuccess returns true when this pcloud networks ports put unauthorized response has a 2xx status code

func (*PcloudNetworksPortsPutUnauthorized) String

type PcloudNetworksPortsPutUnprocessableEntity

type PcloudNetworksPortsPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudNetworksPortsPutUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudNetworksPortsPutUnprocessableEntity

func NewPcloudNetworksPortsPutUnprocessableEntity() *PcloudNetworksPortsPutUnprocessableEntity

NewPcloudNetworksPortsPutUnprocessableEntity creates a PcloudNetworksPortsPutUnprocessableEntity with default headers values

func (*PcloudNetworksPortsPutUnprocessableEntity) Code

Code gets the status code for the pcloud networks ports put unprocessable entity response

func (*PcloudNetworksPortsPutUnprocessableEntity) Error

func (*PcloudNetworksPortsPutUnprocessableEntity) GetPayload

func (*PcloudNetworksPortsPutUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud networks ports put unprocessable entity response has a 4xx status code

func (*PcloudNetworksPortsPutUnprocessableEntity) IsCode

IsCode returns true when this pcloud networks ports put unprocessable entity response a status code equal to that given

func (*PcloudNetworksPortsPutUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud networks ports put unprocessable entity response has a 3xx status code

func (*PcloudNetworksPortsPutUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud networks ports put unprocessable entity response has a 5xx status code

func (*PcloudNetworksPortsPutUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud networks ports put unprocessable entity response has a 2xx status code

func (*PcloudNetworksPortsPutUnprocessableEntity) String

type PcloudNetworksPostBadRequest

type PcloudNetworksPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksPostBadRequest

func NewPcloudNetworksPostBadRequest() *PcloudNetworksPostBadRequest

NewPcloudNetworksPostBadRequest creates a PcloudNetworksPostBadRequest with default headers values

func (*PcloudNetworksPostBadRequest) Code

Code gets the status code for the pcloud networks post bad request response

func (*PcloudNetworksPostBadRequest) Error

func (*PcloudNetworksPostBadRequest) GetPayload

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

func (*PcloudNetworksPostBadRequest) IsClientError

func (o *PcloudNetworksPostBadRequest) IsClientError() bool

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

func (*PcloudNetworksPostBadRequest) IsCode

func (o *PcloudNetworksPostBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks post bad request response a status code equal to that given

func (*PcloudNetworksPostBadRequest) IsRedirect

func (o *PcloudNetworksPostBadRequest) IsRedirect() bool

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

func (*PcloudNetworksPostBadRequest) IsServerError

func (o *PcloudNetworksPostBadRequest) IsServerError() bool

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

func (*PcloudNetworksPostBadRequest) IsSuccess

func (o *PcloudNetworksPostBadRequest) IsSuccess() bool

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

func (*PcloudNetworksPostBadRequest) String

type PcloudNetworksPostConflict

type PcloudNetworksPostConflict struct {
	Payload *models.Error
}

PcloudNetworksPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudNetworksPostConflict

func NewPcloudNetworksPostConflict() *PcloudNetworksPostConflict

NewPcloudNetworksPostConflict creates a PcloudNetworksPostConflict with default headers values

func (*PcloudNetworksPostConflict) Code

func (o *PcloudNetworksPostConflict) Code() int

Code gets the status code for the pcloud networks post conflict response

func (*PcloudNetworksPostConflict) Error

func (*PcloudNetworksPostConflict) GetPayload

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

func (*PcloudNetworksPostConflict) IsClientError

func (o *PcloudNetworksPostConflict) IsClientError() bool

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

func (*PcloudNetworksPostConflict) IsCode

func (o *PcloudNetworksPostConflict) IsCode(code int) bool

IsCode returns true when this pcloud networks post conflict response a status code equal to that given

func (*PcloudNetworksPostConflict) IsRedirect

func (o *PcloudNetworksPostConflict) IsRedirect() bool

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

func (*PcloudNetworksPostConflict) IsServerError

func (o *PcloudNetworksPostConflict) IsServerError() bool

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

func (*PcloudNetworksPostConflict) IsSuccess

func (o *PcloudNetworksPostConflict) IsSuccess() bool

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

func (*PcloudNetworksPostConflict) String

func (o *PcloudNetworksPostConflict) String() string

type PcloudNetworksPostCreated

type PcloudNetworksPostCreated struct {
	Payload *models.Network
}

PcloudNetworksPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudNetworksPostCreated

func NewPcloudNetworksPostCreated() *PcloudNetworksPostCreated

NewPcloudNetworksPostCreated creates a PcloudNetworksPostCreated with default headers values

func (*PcloudNetworksPostCreated) Code

func (o *PcloudNetworksPostCreated) Code() int

Code gets the status code for the pcloud networks post created response

func (*PcloudNetworksPostCreated) Error

func (o *PcloudNetworksPostCreated) Error() string

func (*PcloudNetworksPostCreated) GetPayload

func (o *PcloudNetworksPostCreated) GetPayload() *models.Network

func (*PcloudNetworksPostCreated) IsClientError

func (o *PcloudNetworksPostCreated) IsClientError() bool

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

func (*PcloudNetworksPostCreated) IsCode

func (o *PcloudNetworksPostCreated) IsCode(code int) bool

IsCode returns true when this pcloud networks post created response a status code equal to that given

func (*PcloudNetworksPostCreated) IsRedirect

func (o *PcloudNetworksPostCreated) IsRedirect() bool

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

func (*PcloudNetworksPostCreated) IsServerError

func (o *PcloudNetworksPostCreated) IsServerError() bool

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

func (*PcloudNetworksPostCreated) IsSuccess

func (o *PcloudNetworksPostCreated) IsSuccess() bool

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

func (*PcloudNetworksPostCreated) String

func (o *PcloudNetworksPostCreated) String() string

type PcloudNetworksPostForbidden

type PcloudNetworksPostForbidden struct {
	Payload *models.Error
}

PcloudNetworksPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPostForbidden

func NewPcloudNetworksPostForbidden() *PcloudNetworksPostForbidden

NewPcloudNetworksPostForbidden creates a PcloudNetworksPostForbidden with default headers values

func (*PcloudNetworksPostForbidden) Code

func (o *PcloudNetworksPostForbidden) Code() int

Code gets the status code for the pcloud networks post forbidden response

func (*PcloudNetworksPostForbidden) Error

func (*PcloudNetworksPostForbidden) GetPayload

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

func (*PcloudNetworksPostForbidden) IsClientError

func (o *PcloudNetworksPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks post forbidden response has a 4xx status code

func (*PcloudNetworksPostForbidden) IsCode

func (o *PcloudNetworksPostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks post forbidden response a status code equal to that given

func (*PcloudNetworksPostForbidden) IsRedirect

func (o *PcloudNetworksPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks post forbidden response has a 3xx status code

func (*PcloudNetworksPostForbidden) IsServerError

func (o *PcloudNetworksPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks post forbidden response has a 5xx status code

func (*PcloudNetworksPostForbidden) IsSuccess

func (o *PcloudNetworksPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks post forbidden response has a 2xx status code

func (*PcloudNetworksPostForbidden) String

func (o *PcloudNetworksPostForbidden) String() string

type PcloudNetworksPostInternalServerError

type PcloudNetworksPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPostInternalServerError

func NewPcloudNetworksPostInternalServerError() *PcloudNetworksPostInternalServerError

NewPcloudNetworksPostInternalServerError creates a PcloudNetworksPostInternalServerError with default headers values

func (*PcloudNetworksPostInternalServerError) Code

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

func (*PcloudNetworksPostInternalServerError) Error

func (*PcloudNetworksPostInternalServerError) GetPayload

func (*PcloudNetworksPostInternalServerError) IsClientError

func (o *PcloudNetworksPostInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud networks post internal server error response has a 4xx status code

func (*PcloudNetworksPostInternalServerError) IsCode

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

func (*PcloudNetworksPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks post internal server error response has a 3xx status code

func (*PcloudNetworksPostInternalServerError) IsServerError

func (o *PcloudNetworksPostInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud networks post internal server error response has a 5xx status code

func (*PcloudNetworksPostInternalServerError) IsSuccess

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

func (*PcloudNetworksPostInternalServerError) String

type PcloudNetworksPostOK

type PcloudNetworksPostOK struct {
	Payload *models.Network
}

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

OK

func NewPcloudNetworksPostOK

func NewPcloudNetworksPostOK() *PcloudNetworksPostOK

NewPcloudNetworksPostOK creates a PcloudNetworksPostOK with default headers values

func (*PcloudNetworksPostOK) Code

func (o *PcloudNetworksPostOK) Code() int

Code gets the status code for the pcloud networks post o k response

func (*PcloudNetworksPostOK) Error

func (o *PcloudNetworksPostOK) Error() string

func (*PcloudNetworksPostOK) GetPayload

func (o *PcloudNetworksPostOK) GetPayload() *models.Network

func (*PcloudNetworksPostOK) IsClientError

func (o *PcloudNetworksPostOK) IsClientError() bool

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

func (*PcloudNetworksPostOK) IsCode

func (o *PcloudNetworksPostOK) IsCode(code int) bool

IsCode returns true when this pcloud networks post o k response a status code equal to that given

func (*PcloudNetworksPostOK) IsRedirect

func (o *PcloudNetworksPostOK) IsRedirect() bool

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

func (*PcloudNetworksPostOK) IsServerError

func (o *PcloudNetworksPostOK) IsServerError() bool

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

func (*PcloudNetworksPostOK) IsSuccess

func (o *PcloudNetworksPostOK) IsSuccess() bool

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

func (*PcloudNetworksPostOK) String

func (o *PcloudNetworksPostOK) String() string

type PcloudNetworksPostParams

type PcloudNetworksPostParams struct {

	/* Body.

	   Parameters for the creation of a new network
	*/
	Body *models.NetworkCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksPostParams contains all the parameters to send to the API endpoint

for the pcloud networks post operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPostParams

func NewPcloudNetworksPostParams() *PcloudNetworksPostParams

NewPcloudNetworksPostParams creates a new PcloudNetworksPostParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksPostParamsWithContext

func NewPcloudNetworksPostParamsWithContext(ctx context.Context) *PcloudNetworksPostParams

NewPcloudNetworksPostParamsWithContext creates a new PcloudNetworksPostParams object with the ability to set a context for a request.

func NewPcloudNetworksPostParamsWithHTTPClient

func NewPcloudNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudNetworksPostParams

NewPcloudNetworksPostParamsWithHTTPClient creates a new PcloudNetworksPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksPostParamsWithTimeout

func NewPcloudNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudNetworksPostParams

NewPcloudNetworksPostParamsWithTimeout creates a new PcloudNetworksPostParams object with the ability to set a timeout on a request.

func (*PcloudNetworksPostParams) SetBody

func (o *PcloudNetworksPostParams) SetBody(body *models.NetworkCreate)

SetBody adds the body to the pcloud networks post params

func (*PcloudNetworksPostParams) SetCloudInstanceID

func (o *PcloudNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks post params

func (*PcloudNetworksPostParams) SetContext

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

SetContext adds the context to the pcloud networks post params

func (*PcloudNetworksPostParams) SetDefaults

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

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

WithContext adds the context to the pcloud networks post params

func (*PcloudNetworksPostParams) WithDefaults

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

WithTimeout adds the timeout to the pcloud networks post params

func (*PcloudNetworksPostParams) WriteToRequest

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

type PcloudNetworksPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPostUnauthorized

func NewPcloudNetworksPostUnauthorized() *PcloudNetworksPostUnauthorized

NewPcloudNetworksPostUnauthorized creates a PcloudNetworksPostUnauthorized with default headers values

func (*PcloudNetworksPostUnauthorized) Code

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

func (*PcloudNetworksPostUnauthorized) Error

func (*PcloudNetworksPostUnauthorized) GetPayload

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

func (*PcloudNetworksPostUnauthorized) IsClientError

func (o *PcloudNetworksPostUnauthorized) IsClientError() bool

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

func (*PcloudNetworksPostUnauthorized) IsCode

func (o *PcloudNetworksPostUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud networks post unauthorized response a status code equal to that given

func (*PcloudNetworksPostUnauthorized) IsRedirect

func (o *PcloudNetworksPostUnauthorized) IsRedirect() bool

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

func (*PcloudNetworksPostUnauthorized) IsServerError

func (o *PcloudNetworksPostUnauthorized) IsServerError() bool

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

func (*PcloudNetworksPostUnauthorized) IsSuccess

func (o *PcloudNetworksPostUnauthorized) IsSuccess() bool

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

func (*PcloudNetworksPostUnauthorized) String

type PcloudNetworksPostUnprocessableEntity

type PcloudNetworksPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudNetworksPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudNetworksPostUnprocessableEntity

func NewPcloudNetworksPostUnprocessableEntity() *PcloudNetworksPostUnprocessableEntity

NewPcloudNetworksPostUnprocessableEntity creates a PcloudNetworksPostUnprocessableEntity with default headers values

func (*PcloudNetworksPostUnprocessableEntity) Code

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

func (*PcloudNetworksPostUnprocessableEntity) Error

func (*PcloudNetworksPostUnprocessableEntity) GetPayload

func (*PcloudNetworksPostUnprocessableEntity) IsClientError

func (o *PcloudNetworksPostUnprocessableEntity) IsClientError() bool

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

func (*PcloudNetworksPostUnprocessableEntity) IsCode

IsCode returns true when this pcloud networks post unprocessable entity response a status code equal to that given

func (*PcloudNetworksPostUnprocessableEntity) IsRedirect

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

func (*PcloudNetworksPostUnprocessableEntity) IsServerError

func (o *PcloudNetworksPostUnprocessableEntity) IsServerError() bool

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

func (*PcloudNetworksPostUnprocessableEntity) IsSuccess

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

func (*PcloudNetworksPostUnprocessableEntity) String

type PcloudNetworksPutBadRequest

type PcloudNetworksPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudNetworksPutBadRequest

func NewPcloudNetworksPutBadRequest() *PcloudNetworksPutBadRequest

NewPcloudNetworksPutBadRequest creates a PcloudNetworksPutBadRequest with default headers values

func (*PcloudNetworksPutBadRequest) Code

func (o *PcloudNetworksPutBadRequest) Code() int

Code gets the status code for the pcloud networks put bad request response

func (*PcloudNetworksPutBadRequest) Error

func (*PcloudNetworksPutBadRequest) GetPayload

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

func (*PcloudNetworksPutBadRequest) IsClientError

func (o *PcloudNetworksPutBadRequest) IsClientError() bool

IsClientError returns true when this pcloud networks put bad request response has a 4xx status code

func (*PcloudNetworksPutBadRequest) IsCode

func (o *PcloudNetworksPutBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud networks put bad request response a status code equal to that given

func (*PcloudNetworksPutBadRequest) IsRedirect

func (o *PcloudNetworksPutBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud networks put bad request response has a 3xx status code

func (*PcloudNetworksPutBadRequest) IsServerError

func (o *PcloudNetworksPutBadRequest) IsServerError() bool

IsServerError returns true when this pcloud networks put bad request response has a 5xx status code

func (*PcloudNetworksPutBadRequest) IsSuccess

func (o *PcloudNetworksPutBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud networks put bad request response has a 2xx status code

func (*PcloudNetworksPutBadRequest) String

func (o *PcloudNetworksPutBadRequest) String() string

type PcloudNetworksPutForbidden

type PcloudNetworksPutForbidden struct {
	Payload *models.Error
}

PcloudNetworksPutForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudNetworksPutForbidden

func NewPcloudNetworksPutForbidden() *PcloudNetworksPutForbidden

NewPcloudNetworksPutForbidden creates a PcloudNetworksPutForbidden with default headers values

func (*PcloudNetworksPutForbidden) Code

func (o *PcloudNetworksPutForbidden) Code() int

Code gets the status code for the pcloud networks put forbidden response

func (*PcloudNetworksPutForbidden) Error

func (*PcloudNetworksPutForbidden) GetPayload

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

func (*PcloudNetworksPutForbidden) IsClientError

func (o *PcloudNetworksPutForbidden) IsClientError() bool

IsClientError returns true when this pcloud networks put forbidden response has a 4xx status code

func (*PcloudNetworksPutForbidden) IsCode

func (o *PcloudNetworksPutForbidden) IsCode(code int) bool

IsCode returns true when this pcloud networks put forbidden response a status code equal to that given

func (*PcloudNetworksPutForbidden) IsRedirect

func (o *PcloudNetworksPutForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud networks put forbidden response has a 3xx status code

func (*PcloudNetworksPutForbidden) IsServerError

func (o *PcloudNetworksPutForbidden) IsServerError() bool

IsServerError returns true when this pcloud networks put forbidden response has a 5xx status code

func (*PcloudNetworksPutForbidden) IsSuccess

func (o *PcloudNetworksPutForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud networks put forbidden response has a 2xx status code

func (*PcloudNetworksPutForbidden) String

func (o *PcloudNetworksPutForbidden) String() string

type PcloudNetworksPutInternalServerError

type PcloudNetworksPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudNetworksPutInternalServerError

func NewPcloudNetworksPutInternalServerError() *PcloudNetworksPutInternalServerError

NewPcloudNetworksPutInternalServerError creates a PcloudNetworksPutInternalServerError with default headers values

func (*PcloudNetworksPutInternalServerError) Code

Code gets the status code for the pcloud networks put internal server error response

func (*PcloudNetworksPutInternalServerError) Error

func (*PcloudNetworksPutInternalServerError) GetPayload

func (*PcloudNetworksPutInternalServerError) IsClientError

func (o *PcloudNetworksPutInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud networks put internal server error response has a 4xx status code

func (*PcloudNetworksPutInternalServerError) IsCode

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

func (*PcloudNetworksPutInternalServerError) IsRedirect

IsRedirect returns true when this pcloud networks put internal server error response has a 3xx status code

func (*PcloudNetworksPutInternalServerError) IsServerError

func (o *PcloudNetworksPutInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud networks put internal server error response has a 5xx status code

func (*PcloudNetworksPutInternalServerError) IsSuccess

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

func (*PcloudNetworksPutInternalServerError) String

type PcloudNetworksPutNotFound

type PcloudNetworksPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudNetworksPutNotFound

func NewPcloudNetworksPutNotFound() *PcloudNetworksPutNotFound

NewPcloudNetworksPutNotFound creates a PcloudNetworksPutNotFound with default headers values

func (*PcloudNetworksPutNotFound) Code

func (o *PcloudNetworksPutNotFound) Code() int

Code gets the status code for the pcloud networks put not found response

func (*PcloudNetworksPutNotFound) Error

func (o *PcloudNetworksPutNotFound) Error() string

func (*PcloudNetworksPutNotFound) GetPayload

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

func (*PcloudNetworksPutNotFound) IsClientError

func (o *PcloudNetworksPutNotFound) IsClientError() bool

IsClientError returns true when this pcloud networks put not found response has a 4xx status code

func (*PcloudNetworksPutNotFound) IsCode

func (o *PcloudNetworksPutNotFound) IsCode(code int) bool

IsCode returns true when this pcloud networks put not found response a status code equal to that given

func (*PcloudNetworksPutNotFound) IsRedirect

func (o *PcloudNetworksPutNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud networks put not found response has a 3xx status code

func (*PcloudNetworksPutNotFound) IsServerError

func (o *PcloudNetworksPutNotFound) IsServerError() bool

IsServerError returns true when this pcloud networks put not found response has a 5xx status code

func (*PcloudNetworksPutNotFound) IsSuccess

func (o *PcloudNetworksPutNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud networks put not found response has a 2xx status code

func (*PcloudNetworksPutNotFound) String

func (o *PcloudNetworksPutNotFound) String() string

type PcloudNetworksPutOK

type PcloudNetworksPutOK struct {
	Payload *models.Network
}

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

OK

func NewPcloudNetworksPutOK

func NewPcloudNetworksPutOK() *PcloudNetworksPutOK

NewPcloudNetworksPutOK creates a PcloudNetworksPutOK with default headers values

func (*PcloudNetworksPutOK) Code

func (o *PcloudNetworksPutOK) Code() int

Code gets the status code for the pcloud networks put o k response

func (*PcloudNetworksPutOK) Error

func (o *PcloudNetworksPutOK) Error() string

func (*PcloudNetworksPutOK) GetPayload

func (o *PcloudNetworksPutOK) GetPayload() *models.Network

func (*PcloudNetworksPutOK) IsClientError

func (o *PcloudNetworksPutOK) IsClientError() bool

IsClientError returns true when this pcloud networks put o k response has a 4xx status code

func (*PcloudNetworksPutOK) IsCode

func (o *PcloudNetworksPutOK) IsCode(code int) bool

IsCode returns true when this pcloud networks put o k response a status code equal to that given

func (*PcloudNetworksPutOK) IsRedirect

func (o *PcloudNetworksPutOK) IsRedirect() bool

IsRedirect returns true when this pcloud networks put o k response has a 3xx status code

func (*PcloudNetworksPutOK) IsServerError

func (o *PcloudNetworksPutOK) IsServerError() bool

IsServerError returns true when this pcloud networks put o k response has a 5xx status code

func (*PcloudNetworksPutOK) IsSuccess

func (o *PcloudNetworksPutOK) IsSuccess() bool

IsSuccess returns true when this pcloud networks put o k response has a 2xx status code

func (*PcloudNetworksPutOK) String

func (o *PcloudNetworksPutOK) String() string

type PcloudNetworksPutParams

type PcloudNetworksPutParams struct {

	/* Body.

	   Parameters to update a Network
	*/
	Body *models.NetworkUpdate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudNetworksPutParams contains all the parameters to send to the API endpoint

for the pcloud networks put operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPutParams

func NewPcloudNetworksPutParams() *PcloudNetworksPutParams

NewPcloudNetworksPutParams creates a new PcloudNetworksPutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPcloudNetworksPutParamsWithContext

func NewPcloudNetworksPutParamsWithContext(ctx context.Context) *PcloudNetworksPutParams

NewPcloudNetworksPutParamsWithContext creates a new PcloudNetworksPutParams object with the ability to set a context for a request.

func NewPcloudNetworksPutParamsWithHTTPClient

func NewPcloudNetworksPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPutParams

NewPcloudNetworksPutParamsWithHTTPClient creates a new PcloudNetworksPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudNetworksPutParamsWithTimeout

func NewPcloudNetworksPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPutParams

NewPcloudNetworksPutParamsWithTimeout creates a new PcloudNetworksPutParams object with the ability to set a timeout on a request.

func (*PcloudNetworksPutParams) SetBody

func (o *PcloudNetworksPutParams) SetBody(body *models.NetworkUpdate)

SetBody adds the body to the pcloud networks put params

func (*PcloudNetworksPutParams) SetCloudInstanceID

func (o *PcloudNetworksPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks put params

func (*PcloudNetworksPutParams) SetContext

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

SetContext adds the context to the pcloud networks put params

func (*PcloudNetworksPutParams) SetDefaults

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

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

WithContext adds the context to the pcloud networks put params

func (*PcloudNetworksPutParams) WithDefaults

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

WithTimeout adds the timeout to the pcloud networks put params

func (*PcloudNetworksPutParams) WriteToRequest

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

type PcloudNetworksPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudNetworksPutUnauthorized

func NewPcloudNetworksPutUnauthorized() *PcloudNetworksPutUnauthorized

NewPcloudNetworksPutUnauthorized creates a PcloudNetworksPutUnauthorized with default headers values

func (*PcloudNetworksPutUnauthorized) Code

Code gets the status code for the pcloud networks put unauthorized response

func (*PcloudNetworksPutUnauthorized) Error

func (*PcloudNetworksPutUnauthorized) GetPayload

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

func (*PcloudNetworksPutUnauthorized) IsClientError

func (o *PcloudNetworksPutUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud networks put unauthorized response has a 4xx status code

func (*PcloudNetworksPutUnauthorized) IsCode

func (o *PcloudNetworksPutUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud networks put unauthorized response a status code equal to that given

func (*PcloudNetworksPutUnauthorized) IsRedirect

func (o *PcloudNetworksPutUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud networks put unauthorized response has a 3xx status code

func (*PcloudNetworksPutUnauthorized) IsServerError

func (o *PcloudNetworksPutUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud networks put unauthorized response has a 5xx status code

func (*PcloudNetworksPutUnauthorized) IsSuccess

func (o *PcloudNetworksPutUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud networks put unauthorized response has a 2xx status code

func (*PcloudNetworksPutUnauthorized) String

type PcloudNetworksPutUnprocessableEntity

type PcloudNetworksPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudNetworksPutUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudNetworksPutUnprocessableEntity

func NewPcloudNetworksPutUnprocessableEntity() *PcloudNetworksPutUnprocessableEntity

NewPcloudNetworksPutUnprocessableEntity creates a PcloudNetworksPutUnprocessableEntity with default headers values

func (*PcloudNetworksPutUnprocessableEntity) Code

Code gets the status code for the pcloud networks put unprocessable entity response

func (*PcloudNetworksPutUnprocessableEntity) Error

func (*PcloudNetworksPutUnprocessableEntity) GetPayload

func (*PcloudNetworksPutUnprocessableEntity) IsClientError

func (o *PcloudNetworksPutUnprocessableEntity) IsClientError() bool

IsClientError returns true when this pcloud networks put unprocessable entity response has a 4xx status code

func (*PcloudNetworksPutUnprocessableEntity) IsCode

IsCode returns true when this pcloud networks put unprocessable entity response a status code equal to that given

func (*PcloudNetworksPutUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud networks put unprocessable entity response has a 3xx status code

func (*PcloudNetworksPutUnprocessableEntity) IsServerError

func (o *PcloudNetworksPutUnprocessableEntity) IsServerError() bool

IsServerError returns true when this pcloud networks put unprocessable entity response has a 5xx status code

func (*PcloudNetworksPutUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud networks put unprocessable entity response has a 2xx status code

func (*PcloudNetworksPutUnprocessableEntity) String

Jump to

Keyboard shortcuts

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