p_cloud_networks

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

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 added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	PcloudNetworksDelete(params *PcloudNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksDeleteOK, error)

	PcloudNetworksGet(params *PcloudNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksGetOK, error)

	PcloudNetworksGetall(params *PcloudNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksGetallOK, error)

	PcloudNetworksPortsDelete(params *PcloudNetworksPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsDeleteOK, error)

	PcloudNetworksPortsGet(params *PcloudNetworksPortsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsGetOK, error)

	PcloudNetworksPortsGetall(params *PcloudNetworksPortsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsGetallOK, error)

	PcloudNetworksPortsPost(params *PcloudNetworksPortsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsPostCreated, error)

	PcloudNetworksPortsPut(params *PcloudNetworksPortsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPortsPutOK, error)

	PcloudNetworksPost(params *PcloudNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPostOK, *PcloudNetworksPostCreated, error)

	PcloudNetworksPut(params *PcloudNetworksPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudNetworksPutOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new p cloud networks API client.

type PcloudNetworksDeleteBadRequest

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

func (*PcloudNetworksDeleteBadRequest) GetPayload added in v1.1.0

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

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

func (o *PcloudNetworksDeleteGone) Error() string

func (*PcloudNetworksDeleteGone) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksDeleteInternalServerError) GetPayload added in v1.1.0

type PcloudNetworksDeleteNotFound added in v1.1.9

type PcloudNetworksDeleteNotFound struct {
	Payload *models.Error
}
PcloudNetworksDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudNetworksDeleteNotFound added in v1.1.9

func NewPcloudNetworksDeleteNotFound() *PcloudNetworksDeleteNotFound

NewPcloudNetworksDeleteNotFound creates a PcloudNetworksDeleteNotFound with default headers values

func (*PcloudNetworksDeleteNotFound) Error added in v1.1.9

func (*PcloudNetworksDeleteNotFound) GetPayload added in v1.1.9

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

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

func (o *PcloudNetworksDeleteOK) Error() string

func (*PcloudNetworksDeleteOK) GetPayload added in v1.1.0

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

type PcloudNetworksDeleteParams

type PcloudNetworksDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

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

PcloudNetworksDeleteParams contains all the parameters to send to the API endpoint

for the pcloud networks delete operation.

Typically these are written to a http.Request.

func NewPcloudNetworksDeleteParams

func NewPcloudNetworksDeleteParams() *PcloudNetworksDeleteParams

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

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

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

func NewPcloudNetworksDeleteParamsWithContext

func NewPcloudNetworksDeleteParamsWithContext(ctx context.Context) *PcloudNetworksDeleteParams

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

func NewPcloudNetworksDeleteParamsWithHTTPClient

func NewPcloudNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksDeleteParams

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

func NewPcloudNetworksDeleteParamsWithTimeout

func NewPcloudNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksDeleteParams

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

func (*PcloudNetworksDeleteParams) SetCloudInstanceID

func (o *PcloudNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) SetContext

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

SetContext adds the context to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksDeleteParams) SetHTTPClient

func (o *PcloudNetworksDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) SetNetworkID

func (o *PcloudNetworksDeleteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) SetTimeout

func (o *PcloudNetworksDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) WithCloudInstanceID

func (o *PcloudNetworksDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) WithContext

WithContext adds the context to the pcloud networks delete params

func (*PcloudNetworksDeleteParams) WithDefaults added in v1.1.0

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

type PcloudNetworksDeleteUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksDeleteUnauthorized added in v1.0.59

func NewPcloudNetworksDeleteUnauthorized() *PcloudNetworksDeleteUnauthorized

NewPcloudNetworksDeleteUnauthorized creates a PcloudNetworksDeleteUnauthorized with default headers values

func (*PcloudNetworksDeleteUnauthorized) Error added in v1.0.59

func (*PcloudNetworksDeleteUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksGetBadRequest) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksGetInternalServerError) GetPayload added in v1.1.0

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

func (o *PcloudNetworksGetNotFound) Error() string

func (*PcloudNetworksGetNotFound) GetPayload added in v1.1.0

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

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

func (o *PcloudNetworksGetOK) Error() string

func (*PcloudNetworksGetOK) GetPayload added in v1.1.0

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

type PcloudNetworksGetParams

type PcloudNetworksGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

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

PcloudNetworksGetParams contains all the parameters to send to the API endpoint

for the pcloud networks get operation.

Typically these are written to a http.Request.

func NewPcloudNetworksGetParams

func NewPcloudNetworksGetParams() *PcloudNetworksGetParams

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

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

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

func NewPcloudNetworksGetParamsWithContext

func NewPcloudNetworksGetParamsWithContext(ctx context.Context) *PcloudNetworksGetParams

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

func NewPcloudNetworksGetParamsWithHTTPClient

func NewPcloudNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetParams

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

func NewPcloudNetworksGetParamsWithTimeout

func NewPcloudNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetParams

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

func (*PcloudNetworksGetParams) SetCloudInstanceID

func (o *PcloudNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks get params

func (*PcloudNetworksGetParams) SetContext

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

SetContext adds the context to the pcloud networks get params

func (*PcloudNetworksGetParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksGetParams) SetHTTPClient

func (o *PcloudNetworksGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks get params

func (*PcloudNetworksGetParams) SetNetworkID

func (o *PcloudNetworksGetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks get params

func (*PcloudNetworksGetParams) SetTimeout

func (o *PcloudNetworksGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks get params

func (*PcloudNetworksGetParams) WithCloudInstanceID

func (o *PcloudNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud networks get params

func (*PcloudNetworksGetParams) WithContext

WithContext adds the context to the pcloud networks get params

func (*PcloudNetworksGetParams) WithDefaults added in v1.1.0

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

type PcloudNetworksGetUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksGetUnauthorized added in v1.0.59

func NewPcloudNetworksGetUnauthorized() *PcloudNetworksGetUnauthorized

NewPcloudNetworksGetUnauthorized creates a PcloudNetworksGetUnauthorized with default headers values

func (*PcloudNetworksGetUnauthorized) Error added in v1.0.59

func (*PcloudNetworksGetUnauthorized) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksGetallBadRequest) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksGetallInternalServerError) GetPayload added in v1.1.0

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

func (o *PcloudNetworksGetallOK) Error() string

func (*PcloudNetworksGetallOK) GetPayload added in v1.1.0

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

type PcloudNetworksGetallParams

type PcloudNetworksGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* Filter.

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

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

PcloudNetworksGetallParams contains all the parameters to send to the API endpoint

for the pcloud networks getall operation.

Typically these are written to a http.Request.

func NewPcloudNetworksGetallParams

func NewPcloudNetworksGetallParams() *PcloudNetworksGetallParams

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

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

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

func NewPcloudNetworksGetallParamsWithContext

func NewPcloudNetworksGetallParamsWithContext(ctx context.Context) *PcloudNetworksGetallParams

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

func NewPcloudNetworksGetallParamsWithHTTPClient

func NewPcloudNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksGetallParams

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

func NewPcloudNetworksGetallParamsWithTimeout

func NewPcloudNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksGetallParams

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

func (*PcloudNetworksGetallParams) SetCloudInstanceID

func (o *PcloudNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks getall params

func (*PcloudNetworksGetallParams) SetContext

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

SetContext adds the context to the pcloud networks getall params

func (*PcloudNetworksGetallParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksGetallParams) SetFilter

func (o *PcloudNetworksGetallParams) SetFilter(filter *string)

SetFilter adds the filter to the pcloud networks getall params

func (*PcloudNetworksGetallParams) SetHTTPClient

func (o *PcloudNetworksGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks getall params

func (*PcloudNetworksGetallParams) SetTimeout

func (o *PcloudNetworksGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WithCloudInstanceID

func (o *PcloudNetworksGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WithContext

WithContext adds the context to the pcloud networks getall params

func (*PcloudNetworksGetallParams) WithDefaults added in v1.1.0

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

type PcloudNetworksGetallUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksGetallUnauthorized added in v1.0.59

func NewPcloudNetworksGetallUnauthorized() *PcloudNetworksGetallUnauthorized

NewPcloudNetworksGetallUnauthorized creates a PcloudNetworksGetallUnauthorized with default headers values

func (*PcloudNetworksGetallUnauthorized) Error added in v1.0.59

func (*PcloudNetworksGetallUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsDeleteBadRequest) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsDeleteGone) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksPortsDeleteInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsDeleteOK) GetPayload added in v1.1.0

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

type PcloudNetworksPortsDeleteParams

type PcloudNetworksPortsDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortID.

	   Port ID
	*/
	PortID string

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

PcloudNetworksPortsDeleteParams contains all the parameters to send to the API endpoint

for the pcloud networks ports delete operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsDeleteParams

func NewPcloudNetworksPortsDeleteParams() *PcloudNetworksPortsDeleteParams

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

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

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

func NewPcloudNetworksPortsDeleteParamsWithContext

func NewPcloudNetworksPortsDeleteParamsWithContext(ctx context.Context) *PcloudNetworksPortsDeleteParams

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

func NewPcloudNetworksPortsDeleteParamsWithHTTPClient

func NewPcloudNetworksPortsDeleteParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsDeleteParams

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

func NewPcloudNetworksPortsDeleteParamsWithTimeout

func NewPcloudNetworksPortsDeleteParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsDeleteParams

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

func (*PcloudNetworksPortsDeleteParams) SetCloudInstanceID

func (o *PcloudNetworksPortsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetContext

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

SetContext adds the context to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksPortsDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks ports delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPortsDeleteParams) SetHTTPClient

func (o *PcloudNetworksPortsDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetNetworkID

func (o *PcloudNetworksPortsDeleteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetPortID

func (o *PcloudNetworksPortsDeleteParams) SetPortID(portID string)

SetPortID adds the portId to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) SetTimeout

func (o *PcloudNetworksPortsDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithCloudInstanceID

func (o *PcloudNetworksPortsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithContext

WithContext adds the context to the pcloud networks ports delete params

func (*PcloudNetworksPortsDeleteParams) WithDefaults added in v1.1.0

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

type PcloudNetworksPortsDeleteUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPortsDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPortsDeleteUnauthorized added in v1.0.59

func NewPcloudNetworksPortsDeleteUnauthorized() *PcloudNetworksPortsDeleteUnauthorized

NewPcloudNetworksPortsDeleteUnauthorized creates a PcloudNetworksPortsDeleteUnauthorized with default headers values

func (*PcloudNetworksPortsDeleteUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPortsDeleteUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsGetInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsGetNotFound) GetPayload added in v1.1.0

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

type PcloudNetworksPortsGetOK

type PcloudNetworksPortsGetOK struct {
	Payload *models.NetworkPort
}
PcloudNetworksPortsGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudNetworksPortsGetOK

func NewPcloudNetworksPortsGetOK() *PcloudNetworksPortsGetOK

NewPcloudNetworksPortsGetOK creates a PcloudNetworksPortsGetOK with default headers values

func (*PcloudNetworksPortsGetOK) Error

func (o *PcloudNetworksPortsGetOK) Error() string

func (*PcloudNetworksPortsGetOK) GetPayload added in v1.1.0

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

type PcloudNetworksPortsGetParams

type PcloudNetworksPortsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortID.

	   Port ID
	*/
	PortID string

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

PcloudNetworksPortsGetParams contains all the parameters to send to the API endpoint

for the pcloud networks ports get operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsGetParams

func NewPcloudNetworksPortsGetParams() *PcloudNetworksPortsGetParams

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

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

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

func NewPcloudNetworksPortsGetParamsWithContext

func NewPcloudNetworksPortsGetParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetParams

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

func NewPcloudNetworksPortsGetParamsWithHTTPClient

func NewPcloudNetworksPortsGetParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetParams

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

func NewPcloudNetworksPortsGetParamsWithTimeout

func NewPcloudNetworksPortsGetParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetParams

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

func (*PcloudNetworksPortsGetParams) SetCloudInstanceID

func (o *PcloudNetworksPortsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetContext

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

SetContext adds the context to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksPortsGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks ports get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPortsGetParams) SetHTTPClient

func (o *PcloudNetworksPortsGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetNetworkID

func (o *PcloudNetworksPortsGetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetPortID

func (o *PcloudNetworksPortsGetParams) SetPortID(portID string)

SetPortID adds the portId to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) SetTimeout

func (o *PcloudNetworksPortsGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithCloudInstanceID

func (o *PcloudNetworksPortsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithContext

WithContext adds the context to the pcloud networks ports get params

func (*PcloudNetworksPortsGetParams) WithDefaults added in v1.1.0

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

type PcloudNetworksPortsGetUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPortsGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPortsGetUnauthorized added in v1.0.59

func NewPcloudNetworksPortsGetUnauthorized() *PcloudNetworksPortsGetUnauthorized

NewPcloudNetworksPortsGetUnauthorized creates a PcloudNetworksPortsGetUnauthorized with default headers values

func (*PcloudNetworksPortsGetUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPortsGetUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsGetallBadRequest) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsGetallInternalServerError) GetPayload added in v1.1.0

type PcloudNetworksPortsGetallOK

type PcloudNetworksPortsGetallOK struct {
	Payload *models.NetworkPorts
}
PcloudNetworksPortsGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudNetworksPortsGetallOK

func NewPcloudNetworksPortsGetallOK() *PcloudNetworksPortsGetallOK

NewPcloudNetworksPortsGetallOK creates a PcloudNetworksPortsGetallOK with default headers values

func (*PcloudNetworksPortsGetallOK) Error

func (*PcloudNetworksPortsGetallOK) GetPayload added in v1.1.0

type PcloudNetworksPortsGetallParams

type PcloudNetworksPortsGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

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

PcloudNetworksPortsGetallParams contains all the parameters to send to the API endpoint

for the pcloud networks ports getall operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsGetallParams

func NewPcloudNetworksPortsGetallParams() *PcloudNetworksPortsGetallParams

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

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

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

func NewPcloudNetworksPortsGetallParamsWithContext

func NewPcloudNetworksPortsGetallParamsWithContext(ctx context.Context) *PcloudNetworksPortsGetallParams

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

func NewPcloudNetworksPortsGetallParamsWithHTTPClient

func NewPcloudNetworksPortsGetallParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsGetallParams

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

func NewPcloudNetworksPortsGetallParamsWithTimeout

func NewPcloudNetworksPortsGetallParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsGetallParams

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

func (*PcloudNetworksPortsGetallParams) SetCloudInstanceID

func (o *PcloudNetworksPortsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) SetContext

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

SetContext adds the context to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksPortsGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks ports getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPortsGetallParams) SetHTTPClient

func (o *PcloudNetworksPortsGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) SetNetworkID

func (o *PcloudNetworksPortsGetallParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) SetTimeout

func (o *PcloudNetworksPortsGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WithCloudInstanceID

func (o *PcloudNetworksPortsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudNetworksPortsGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WithContext

WithContext adds the context to the pcloud networks ports getall params

func (*PcloudNetworksPortsGetallParams) WithDefaults added in v1.1.0

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

type PcloudNetworksPortsGetallUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPortsGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPortsGetallUnauthorized added in v1.0.59

func NewPcloudNetworksPortsGetallUnauthorized() *PcloudNetworksPortsGetallUnauthorized

NewPcloudNetworksPortsGetallUnauthorized creates a PcloudNetworksPortsGetallUnauthorized with default headers values

func (*PcloudNetworksPortsGetallUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPortsGetallUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPostBadRequest) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPostConflict) GetPayload added in v1.1.0

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

type PcloudNetworksPortsPostCreated

type PcloudNetworksPortsPostCreated struct {
	Payload *models.NetworkPort
}
PcloudNetworksPortsPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudNetworksPortsPostCreated

func NewPcloudNetworksPortsPostCreated() *PcloudNetworksPortsPostCreated

NewPcloudNetworksPortsPostCreated creates a PcloudNetworksPortsPostCreated with default headers values

func (*PcloudNetworksPortsPostCreated) Error

func (*PcloudNetworksPortsPostCreated) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPostInternalServerError) GetPayload added in v1.1.0

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 added in v1.1.0

func (o *PcloudNetworksPortsPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks ports post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPortsPostParams) SetHTTPClient

func (o *PcloudNetworksPortsPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) SetNetworkID

func (o *PcloudNetworksPortsPostParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) SetTimeout

func (o *PcloudNetworksPortsPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks ports post params

func (*PcloudNetworksPortsPostParams) WithBody

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 added in v1.1.0

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

type PcloudNetworksPortsPostUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPortsPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPortsPostUnauthorized added in v1.0.59

func NewPcloudNetworksPortsPostUnauthorized() *PcloudNetworksPortsPostUnauthorized

NewPcloudNetworksPortsPostUnauthorized creates a PcloudNetworksPortsPostUnauthorized with default headers values

func (*PcloudNetworksPortsPostUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPortsPostUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPostUnprocessableEntity) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPutBadRequest) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPutInternalServerError) GetPayload added in v1.1.0

type PcloudNetworksPortsPutOK

type PcloudNetworksPortsPutOK struct {
	Payload *models.NetworkPort
}
PcloudNetworksPortsPutOK describes a response with status code 200, with default header values.

OK

func NewPcloudNetworksPortsPutOK

func NewPcloudNetworksPortsPutOK() *PcloudNetworksPortsPutOK

NewPcloudNetworksPortsPutOK creates a PcloudNetworksPortsPutOK with default headers values

func (*PcloudNetworksPortsPutOK) Error

func (o *PcloudNetworksPortsPutOK) Error() string

func (*PcloudNetworksPortsPutOK) GetPayload added in v1.1.0

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

type PcloudNetworksPortsPutParams

type PcloudNetworksPortsPutParams struct {

	/* Body.

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

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortID.

	   Port ID
	*/
	PortID string

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

PcloudNetworksPortsPutParams contains all the parameters to send to the API endpoint

for the pcloud networks ports put operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPortsPutParams

func NewPcloudNetworksPortsPutParams() *PcloudNetworksPortsPutParams

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

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

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

func NewPcloudNetworksPortsPutParamsWithContext

func NewPcloudNetworksPortsPutParamsWithContext(ctx context.Context) *PcloudNetworksPortsPutParams

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

func NewPcloudNetworksPortsPutParamsWithHTTPClient

func NewPcloudNetworksPortsPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPortsPutParams

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

func NewPcloudNetworksPortsPutParamsWithTimeout

func NewPcloudNetworksPortsPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPortsPutParams

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

func (*PcloudNetworksPortsPutParams) SetBody

SetBody adds the body to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) SetCloudInstanceID

func (o *PcloudNetworksPortsPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) SetContext

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

SetContext adds the context to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksPortsPutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks ports put params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPortsPutParams) SetHTTPClient

func (o *PcloudNetworksPortsPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) SetNetworkID

func (o *PcloudNetworksPortsPutParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) SetPortID

func (o *PcloudNetworksPortsPutParams) SetPortID(portID string)

SetPortID adds the portId to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) SetTimeout

func (o *PcloudNetworksPortsPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks ports put params

func (*PcloudNetworksPortsPutParams) WithBody

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 added in v1.1.0

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

type PcloudNetworksPortsPutUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPortsPutUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPortsPutUnauthorized added in v1.0.59

func NewPcloudNetworksPortsPutUnauthorized() *PcloudNetworksPortsPutUnauthorized

NewPcloudNetworksPortsPutUnauthorized creates a PcloudNetworksPortsPutUnauthorized with default headers values

func (*PcloudNetworksPortsPutUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPortsPutUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudNetworksPortsPutUnprocessableEntity) GetPayload added in v1.1.0

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

func (*PcloudNetworksPostBadRequest) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksPostConflict) GetPayload added in v1.1.0

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

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

func (o *PcloudNetworksPostCreated) Error() string

func (*PcloudNetworksPostCreated) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksPostInternalServerError) GetPayload added in v1.1.0

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

func (o *PcloudNetworksPostOK) Error() string

func (*PcloudNetworksPostOK) GetPayload added in v1.1.0

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

type PcloudNetworksPostParams

type PcloudNetworksPostParams struct {

	/* Body.

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

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudNetworksPostParams contains all the parameters to send to the API endpoint

for the pcloud networks post operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPostParams

func NewPcloudNetworksPostParams() *PcloudNetworksPostParams

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

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

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

func NewPcloudNetworksPostParamsWithContext

func NewPcloudNetworksPostParamsWithContext(ctx context.Context) *PcloudNetworksPostParams

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

func NewPcloudNetworksPostParamsWithHTTPClient

func NewPcloudNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudNetworksPostParams

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

func NewPcloudNetworksPostParamsWithTimeout

func NewPcloudNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudNetworksPostParams

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

func (*PcloudNetworksPostParams) SetBody

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

SetBody adds the body to the pcloud networks post params

func (*PcloudNetworksPostParams) SetCloudInstanceID

func (o *PcloudNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks post params

func (*PcloudNetworksPostParams) SetContext

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

SetContext adds the context to the pcloud networks post params

func (*PcloudNetworksPostParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPostParams) SetHTTPClient

func (o *PcloudNetworksPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks post params

func (*PcloudNetworksPostParams) SetTimeout

func (o *PcloudNetworksPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks post params

func (*PcloudNetworksPostParams) WithBody

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 added in v1.1.0

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

type PcloudNetworksPostUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPostUnauthorized added in v1.0.59

func NewPcloudNetworksPostUnauthorized() *PcloudNetworksPostUnauthorized

NewPcloudNetworksPostUnauthorized creates a PcloudNetworksPostUnauthorized with default headers values

func (*PcloudNetworksPostUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPostUnauthorized) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksPostUnprocessableEntity) GetPayload added in v1.1.0

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

func (*PcloudNetworksPutBadRequest) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksPutInternalServerError) GetPayload added in v1.1.0

type PcloudNetworksPutNotFound added in v1.1.9

type PcloudNetworksPutNotFound struct {
	Payload *models.Error
}
PcloudNetworksPutNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudNetworksPutNotFound added in v1.1.9

func NewPcloudNetworksPutNotFound() *PcloudNetworksPutNotFound

NewPcloudNetworksPutNotFound creates a PcloudNetworksPutNotFound with default headers values

func (*PcloudNetworksPutNotFound) Error added in v1.1.9

func (o *PcloudNetworksPutNotFound) Error() string

func (*PcloudNetworksPutNotFound) GetPayload added in v1.1.9

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

type PcloudNetworksPutOK

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

func (o *PcloudNetworksPutOK) Error() string

func (*PcloudNetworksPutOK) GetPayload added in v1.1.0

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

type PcloudNetworksPutParams

type PcloudNetworksPutParams struct {

	/* Body.

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

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

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

PcloudNetworksPutParams contains all the parameters to send to the API endpoint

for the pcloud networks put operation.

Typically these are written to a http.Request.

func NewPcloudNetworksPutParams

func NewPcloudNetworksPutParams() *PcloudNetworksPutParams

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

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

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

func NewPcloudNetworksPutParamsWithContext

func NewPcloudNetworksPutParamsWithContext(ctx context.Context) *PcloudNetworksPutParams

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

func NewPcloudNetworksPutParamsWithHTTPClient

func NewPcloudNetworksPutParamsWithHTTPClient(client *http.Client) *PcloudNetworksPutParams

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

func NewPcloudNetworksPutParamsWithTimeout

func NewPcloudNetworksPutParamsWithTimeout(timeout time.Duration) *PcloudNetworksPutParams

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

func (*PcloudNetworksPutParams) SetBody

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

SetBody adds the body to the pcloud networks put params

func (*PcloudNetworksPutParams) SetCloudInstanceID

func (o *PcloudNetworksPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud networks put params

func (*PcloudNetworksPutParams) SetContext

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

SetContext adds the context to the pcloud networks put params

func (*PcloudNetworksPutParams) SetDefaults added in v1.1.0

func (o *PcloudNetworksPutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud networks put params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudNetworksPutParams) SetHTTPClient

func (o *PcloudNetworksPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud networks put params

func (*PcloudNetworksPutParams) SetNetworkID

func (o *PcloudNetworksPutParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud networks put params

func (*PcloudNetworksPutParams) SetTimeout

func (o *PcloudNetworksPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud networks put params

func (*PcloudNetworksPutParams) WithBody

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 added in v1.1.0

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

type PcloudNetworksPutUnauthorized struct {
	Payload *models.Error
}
PcloudNetworksPutUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudNetworksPutUnauthorized added in v1.0.59

func NewPcloudNetworksPutUnauthorized() *PcloudNetworksPutUnauthorized

NewPcloudNetworksPutUnauthorized creates a PcloudNetworksPutUnauthorized with default headers values

func (*PcloudNetworksPutUnauthorized) Error added in v1.0.59

func (*PcloudNetworksPutUnauthorized) GetPayload added in v1.1.0

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

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

func (*PcloudNetworksPutUnprocessableEntity) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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