networks

package
v1.8.0-beta18 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 11 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 networks API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) V1NetworksNetworkInterfacesDelete

func (a *Client) V1NetworksNetworkInterfacesDelete(params *V1NetworksNetworkInterfacesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesDeleteOK, error)

V1NetworksNetworkInterfacesDelete deletes a network interface

func (*Client) V1NetworksNetworkInterfacesGet

func (a *Client) V1NetworksNetworkInterfacesGet(params *V1NetworksNetworkInterfacesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesGetOK, error)

V1NetworksNetworkInterfacesGet gets a network interface s information

func (*Client) V1NetworksNetworkInterfacesGetall

func (a *Client) V1NetworksNetworkInterfacesGetall(params *V1NetworksNetworkInterfacesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesGetallOK, error)

V1NetworksNetworkInterfacesGetall gets all network interfaces for this network

func (*Client) V1NetworksNetworkInterfacesPost

V1NetworksNetworkInterfacesPost performs network interface addition deletion and listing

func (*Client) V1NetworksNetworkInterfacesPut

func (a *Client) V1NetworksNetworkInterfacesPut(params *V1NetworksNetworkInterfacesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesPutOK, error)

V1NetworksNetworkInterfacesPut updates a network interface s information

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	V1NetworksNetworkInterfacesDelete(params *V1NetworksNetworkInterfacesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesDeleteOK, error)

	V1NetworksNetworkInterfacesGet(params *V1NetworksNetworkInterfacesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesGetOK, error)

	V1NetworksNetworkInterfacesGetall(params *V1NetworksNetworkInterfacesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesGetallOK, error)

	V1NetworksNetworkInterfacesPost(params *V1NetworksNetworkInterfacesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesPostCreated, error)

	V1NetworksNetworkInterfacesPut(params *V1NetworksNetworkInterfacesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1NetworksNetworkInterfacesPutOK, 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 networks API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new networks API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new networks API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type V1NetworksNetworkInterfacesDeleteBadRequest

type V1NetworksNetworkInterfacesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1NetworksNetworkInterfacesDeleteBadRequest

func NewV1NetworksNetworkInterfacesDeleteBadRequest() *V1NetworksNetworkInterfacesDeleteBadRequest

NewV1NetworksNetworkInterfacesDeleteBadRequest creates a V1NetworksNetworkInterfacesDeleteBadRequest with default headers values

func (*V1NetworksNetworkInterfacesDeleteBadRequest) Code

Code gets the status code for the v1 networks network interfaces delete bad request response

func (*V1NetworksNetworkInterfacesDeleteBadRequest) Error

func (*V1NetworksNetworkInterfacesDeleteBadRequest) GetPayload

func (*V1NetworksNetworkInterfacesDeleteBadRequest) IsClientError

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

func (*V1NetworksNetworkInterfacesDeleteBadRequest) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteBadRequest) IsRedirect

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

func (*V1NetworksNetworkInterfacesDeleteBadRequest) IsServerError

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

func (*V1NetworksNetworkInterfacesDeleteBadRequest) IsSuccess

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

func (*V1NetworksNetworkInterfacesDeleteBadRequest) String

type V1NetworksNetworkInterfacesDeleteForbidden

type V1NetworksNetworkInterfacesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1NetworksNetworkInterfacesDeleteForbidden

func NewV1NetworksNetworkInterfacesDeleteForbidden() *V1NetworksNetworkInterfacesDeleteForbidden

NewV1NetworksNetworkInterfacesDeleteForbidden creates a V1NetworksNetworkInterfacesDeleteForbidden with default headers values

func (*V1NetworksNetworkInterfacesDeleteForbidden) Code

Code gets the status code for the v1 networks network interfaces delete forbidden response

func (*V1NetworksNetworkInterfacesDeleteForbidden) Error

func (*V1NetworksNetworkInterfacesDeleteForbidden) GetPayload

func (*V1NetworksNetworkInterfacesDeleteForbidden) IsClientError

IsClientError returns true when this v1 networks network interfaces delete forbidden response has a 4xx status code

func (*V1NetworksNetworkInterfacesDeleteForbidden) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteForbidden) IsRedirect

IsRedirect returns true when this v1 networks network interfaces delete forbidden response has a 3xx status code

func (*V1NetworksNetworkInterfacesDeleteForbidden) IsServerError

IsServerError returns true when this v1 networks network interfaces delete forbidden response has a 5xx status code

func (*V1NetworksNetworkInterfacesDeleteForbidden) IsSuccess

IsSuccess returns true when this v1 networks network interfaces delete forbidden response has a 2xx status code

func (*V1NetworksNetworkInterfacesDeleteForbidden) String

type V1NetworksNetworkInterfacesDeleteGone

type V1NetworksNetworkInterfacesDeleteGone struct {
	Payload *models.Error
}

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

Gone

func NewV1NetworksNetworkInterfacesDeleteGone

func NewV1NetworksNetworkInterfacesDeleteGone() *V1NetworksNetworkInterfacesDeleteGone

NewV1NetworksNetworkInterfacesDeleteGone creates a V1NetworksNetworkInterfacesDeleteGone with default headers values

func (*V1NetworksNetworkInterfacesDeleteGone) Code

Code gets the status code for the v1 networks network interfaces delete gone response

func (*V1NetworksNetworkInterfacesDeleteGone) Error

func (*V1NetworksNetworkInterfacesDeleteGone) GetPayload

func (*V1NetworksNetworkInterfacesDeleteGone) IsClientError

func (o *V1NetworksNetworkInterfacesDeleteGone) IsClientError() bool

IsClientError returns true when this v1 networks network interfaces delete gone response has a 4xx status code

func (*V1NetworksNetworkInterfacesDeleteGone) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteGone) IsRedirect

IsRedirect returns true when this v1 networks network interfaces delete gone response has a 3xx status code

func (*V1NetworksNetworkInterfacesDeleteGone) IsServerError

func (o *V1NetworksNetworkInterfacesDeleteGone) IsServerError() bool

IsServerError returns true when this v1 networks network interfaces delete gone response has a 5xx status code

func (*V1NetworksNetworkInterfacesDeleteGone) IsSuccess

IsSuccess returns true when this v1 networks network interfaces delete gone response has a 2xx status code

func (*V1NetworksNetworkInterfacesDeleteGone) String

type V1NetworksNetworkInterfacesDeleteInternalServerError

type V1NetworksNetworkInterfacesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1NetworksNetworkInterfacesDeleteInternalServerError

func NewV1NetworksNetworkInterfacesDeleteInternalServerError() *V1NetworksNetworkInterfacesDeleteInternalServerError

NewV1NetworksNetworkInterfacesDeleteInternalServerError creates a V1NetworksNetworkInterfacesDeleteInternalServerError with default headers values

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) Code

Code gets the status code for the v1 networks network interfaces delete internal server error response

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) Error

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) GetPayload

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) IsClientError

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

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) IsRedirect

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

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) IsServerError

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

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) IsSuccess

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

func (*V1NetworksNetworkInterfacesDeleteInternalServerError) String

type V1NetworksNetworkInterfacesDeleteNotFound

type V1NetworksNetworkInterfacesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1NetworksNetworkInterfacesDeleteNotFound

func NewV1NetworksNetworkInterfacesDeleteNotFound() *V1NetworksNetworkInterfacesDeleteNotFound

NewV1NetworksNetworkInterfacesDeleteNotFound creates a V1NetworksNetworkInterfacesDeleteNotFound with default headers values

func (*V1NetworksNetworkInterfacesDeleteNotFound) Code

Code gets the status code for the v1 networks network interfaces delete not found response

func (*V1NetworksNetworkInterfacesDeleteNotFound) Error

func (*V1NetworksNetworkInterfacesDeleteNotFound) GetPayload

func (*V1NetworksNetworkInterfacesDeleteNotFound) IsClientError

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

func (*V1NetworksNetworkInterfacesDeleteNotFound) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteNotFound) IsRedirect

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

func (*V1NetworksNetworkInterfacesDeleteNotFound) IsServerError

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

func (*V1NetworksNetworkInterfacesDeleteNotFound) IsSuccess

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

func (*V1NetworksNetworkInterfacesDeleteNotFound) String

type V1NetworksNetworkInterfacesDeleteOK

type V1NetworksNetworkInterfacesDeleteOK struct {
	Payload models.Object
}

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

OK

func NewV1NetworksNetworkInterfacesDeleteOK

func NewV1NetworksNetworkInterfacesDeleteOK() *V1NetworksNetworkInterfacesDeleteOK

NewV1NetworksNetworkInterfacesDeleteOK creates a V1NetworksNetworkInterfacesDeleteOK with default headers values

func (*V1NetworksNetworkInterfacesDeleteOK) Code

Code gets the status code for the v1 networks network interfaces delete o k response

func (*V1NetworksNetworkInterfacesDeleteOK) Error

func (*V1NetworksNetworkInterfacesDeleteOK) GetPayload

func (*V1NetworksNetworkInterfacesDeleteOK) IsClientError

func (o *V1NetworksNetworkInterfacesDeleteOK) IsClientError() bool

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

func (*V1NetworksNetworkInterfacesDeleteOK) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteOK) IsRedirect

func (o *V1NetworksNetworkInterfacesDeleteOK) IsRedirect() bool

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

func (*V1NetworksNetworkInterfacesDeleteOK) IsServerError

func (o *V1NetworksNetworkInterfacesDeleteOK) IsServerError() bool

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

func (*V1NetworksNetworkInterfacesDeleteOK) IsSuccess

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

func (*V1NetworksNetworkInterfacesDeleteOK) String

type V1NetworksNetworkInterfacesDeleteParams

type V1NetworksNetworkInterfacesDeleteParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* NetworkInterfaceID.

	   Network Interface ID
	*/
	NetworkInterfaceID string

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

V1NetworksNetworkInterfacesDeleteParams contains all the parameters to send to the API endpoint

for the v1 networks network interfaces delete operation.

Typically these are written to a http.Request.

func NewV1NetworksNetworkInterfacesDeleteParams

func NewV1NetworksNetworkInterfacesDeleteParams() *V1NetworksNetworkInterfacesDeleteParams

NewV1NetworksNetworkInterfacesDeleteParams creates a new V1NetworksNetworkInterfacesDeleteParams 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 NewV1NetworksNetworkInterfacesDeleteParamsWithContext

func NewV1NetworksNetworkInterfacesDeleteParamsWithContext(ctx context.Context) *V1NetworksNetworkInterfacesDeleteParams

NewV1NetworksNetworkInterfacesDeleteParamsWithContext creates a new V1NetworksNetworkInterfacesDeleteParams object with the ability to set a context for a request.

func NewV1NetworksNetworkInterfacesDeleteParamsWithHTTPClient

func NewV1NetworksNetworkInterfacesDeleteParamsWithHTTPClient(client *http.Client) *V1NetworksNetworkInterfacesDeleteParams

NewV1NetworksNetworkInterfacesDeleteParamsWithHTTPClient creates a new V1NetworksNetworkInterfacesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewV1NetworksNetworkInterfacesDeleteParamsWithTimeout

func NewV1NetworksNetworkInterfacesDeleteParamsWithTimeout(timeout time.Duration) *V1NetworksNetworkInterfacesDeleteParams

NewV1NetworksNetworkInterfacesDeleteParamsWithTimeout creates a new V1NetworksNetworkInterfacesDeleteParams object with the ability to set a timeout on a request.

func (*V1NetworksNetworkInterfacesDeleteParams) SetContext

SetContext adds the context to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) SetDefaults

func (o *V1NetworksNetworkInterfacesDeleteParams) SetDefaults()

SetDefaults hydrates default values in the v1 networks network interfaces delete params (not the query body).

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

func (*V1NetworksNetworkInterfacesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) SetNetworkID

func (o *V1NetworksNetworkInterfacesDeleteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) SetNetworkInterfaceID

func (o *V1NetworksNetworkInterfacesDeleteParams) SetNetworkInterfaceID(networkInterfaceID string)

SetNetworkInterfaceID adds the networkInterfaceId to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) WithContext

WithContext adds the context to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) WithDefaults

WithDefaults hydrates default values in the v1 networks network interfaces delete params (not the query body).

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

func (*V1NetworksNetworkInterfacesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) WithNetworkID

WithNetworkID adds the networkID to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) WithNetworkInterfaceID

func (o *V1NetworksNetworkInterfacesDeleteParams) WithNetworkInterfaceID(networkInterfaceID string) *V1NetworksNetworkInterfacesDeleteParams

WithNetworkInterfaceID adds the networkInterfaceID to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) WithTimeout

WithTimeout adds the timeout to the v1 networks network interfaces delete params

func (*V1NetworksNetworkInterfacesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1NetworksNetworkInterfacesDeleteReader

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

V1NetworksNetworkInterfacesDeleteReader is a Reader for the V1NetworksNetworkInterfacesDelete structure.

func (*V1NetworksNetworkInterfacesDeleteReader) ReadResponse

func (o *V1NetworksNetworkInterfacesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type V1NetworksNetworkInterfacesDeleteUnauthorized

type V1NetworksNetworkInterfacesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1NetworksNetworkInterfacesDeleteUnauthorized

func NewV1NetworksNetworkInterfacesDeleteUnauthorized() *V1NetworksNetworkInterfacesDeleteUnauthorized

NewV1NetworksNetworkInterfacesDeleteUnauthorized creates a V1NetworksNetworkInterfacesDeleteUnauthorized with default headers values

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) Code

Code gets the status code for the v1 networks network interfaces delete unauthorized response

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) Error

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) GetPayload

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) IsClientError

IsClientError returns true when this v1 networks network interfaces delete unauthorized response has a 4xx status code

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) IsCode

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

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) IsRedirect

IsRedirect returns true when this v1 networks network interfaces delete unauthorized response has a 3xx status code

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) IsServerError

IsServerError returns true when this v1 networks network interfaces delete unauthorized response has a 5xx status code

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) IsSuccess

IsSuccess returns true when this v1 networks network interfaces delete unauthorized response has a 2xx status code

func (*V1NetworksNetworkInterfacesDeleteUnauthorized) String

type V1NetworksNetworkInterfacesGetBadRequest

type V1NetworksNetworkInterfacesGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1NetworksNetworkInterfacesGetBadRequest

func NewV1NetworksNetworkInterfacesGetBadRequest() *V1NetworksNetworkInterfacesGetBadRequest

NewV1NetworksNetworkInterfacesGetBadRequest creates a V1NetworksNetworkInterfacesGetBadRequest with default headers values

func (*V1NetworksNetworkInterfacesGetBadRequest) Code

Code gets the status code for the v1 networks network interfaces get bad request response

func (*V1NetworksNetworkInterfacesGetBadRequest) Error

func (*V1NetworksNetworkInterfacesGetBadRequest) GetPayload

func (*V1NetworksNetworkInterfacesGetBadRequest) IsClientError

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

func (*V1NetworksNetworkInterfacesGetBadRequest) IsCode

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

func (*V1NetworksNetworkInterfacesGetBadRequest) IsRedirect

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

func (*V1NetworksNetworkInterfacesGetBadRequest) IsServerError

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

func (*V1NetworksNetworkInterfacesGetBadRequest) IsSuccess

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

func (*V1NetworksNetworkInterfacesGetBadRequest) String

type V1NetworksNetworkInterfacesGetForbidden

type V1NetworksNetworkInterfacesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1NetworksNetworkInterfacesGetForbidden

func NewV1NetworksNetworkInterfacesGetForbidden() *V1NetworksNetworkInterfacesGetForbidden

NewV1NetworksNetworkInterfacesGetForbidden creates a V1NetworksNetworkInterfacesGetForbidden with default headers values

func (*V1NetworksNetworkInterfacesGetForbidden) Code

Code gets the status code for the v1 networks network interfaces get forbidden response

func (*V1NetworksNetworkInterfacesGetForbidden) Error

func (*V1NetworksNetworkInterfacesGetForbidden) GetPayload

func (*V1NetworksNetworkInterfacesGetForbidden) IsClientError

func (o *V1NetworksNetworkInterfacesGetForbidden) IsClientError() bool

IsClientError returns true when this v1 networks network interfaces get forbidden response has a 4xx status code

func (*V1NetworksNetworkInterfacesGetForbidden) IsCode

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

func (*V1NetworksNetworkInterfacesGetForbidden) IsRedirect

IsRedirect returns true when this v1 networks network interfaces get forbidden response has a 3xx status code

func (*V1NetworksNetworkInterfacesGetForbidden) IsServerError

func (o *V1NetworksNetworkInterfacesGetForbidden) IsServerError() bool

IsServerError returns true when this v1 networks network interfaces get forbidden response has a 5xx status code

func (*V1NetworksNetworkInterfacesGetForbidden) IsSuccess

IsSuccess returns true when this v1 networks network interfaces get forbidden response has a 2xx status code

func (*V1NetworksNetworkInterfacesGetForbidden) String

type V1NetworksNetworkInterfacesGetInternalServerError

type V1NetworksNetworkInterfacesGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1NetworksNetworkInterfacesGetInternalServerError

func NewV1NetworksNetworkInterfacesGetInternalServerError() *V1NetworksNetworkInterfacesGetInternalServerError

NewV1NetworksNetworkInterfacesGetInternalServerError creates a V1NetworksNetworkInterfacesGetInternalServerError with default headers values

func (*V1NetworksNetworkInterfacesGetInternalServerError) Code

Code gets the status code for the v1 networks network interfaces get internal server error response

func (*V1NetworksNetworkInterfacesGetInternalServerError) Error

func (*V1NetworksNetworkInterfacesGetInternalServerError) GetPayload

func (*V1NetworksNetworkInterfacesGetInternalServerError) IsClientError

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

func (*V1NetworksNetworkInterfacesGetInternalServerError) IsCode

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

func (*V1NetworksNetworkInterfacesGetInternalServerError) IsRedirect

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

func (*V1NetworksNetworkInterfacesGetInternalServerError) IsServerError

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

func (*V1NetworksNetworkInterfacesGetInternalServerError) IsSuccess

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

func (*V1NetworksNetworkInterfacesGetInternalServerError) String

type V1NetworksNetworkInterfacesGetNotFound

type V1NetworksNetworkInterfacesGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1NetworksNetworkInterfacesGetNotFound

func NewV1NetworksNetworkInterfacesGetNotFound() *V1NetworksNetworkInterfacesGetNotFound

NewV1NetworksNetworkInterfacesGetNotFound creates a V1NetworksNetworkInterfacesGetNotFound with default headers values

func (*V1NetworksNetworkInterfacesGetNotFound) Code

Code gets the status code for the v1 networks network interfaces get not found response

func (*V1NetworksNetworkInterfacesGetNotFound) Error

func (*V1NetworksNetworkInterfacesGetNotFound) GetPayload

func (*V1NetworksNetworkInterfacesGetNotFound) IsClientError

func (o *V1NetworksNetworkInterfacesGetNotFound) IsClientError() bool

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

func (*V1NetworksNetworkInterfacesGetNotFound) IsCode

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

func (*V1NetworksNetworkInterfacesGetNotFound) IsRedirect

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

func (*V1NetworksNetworkInterfacesGetNotFound) IsServerError

func (o *V1NetworksNetworkInterfacesGetNotFound) IsServerError() bool

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

func (*V1NetworksNetworkInterfacesGetNotFound) IsSuccess

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

func (*V1NetworksNetworkInterfacesGetNotFound) String

type V1NetworksNetworkInterfacesGetOK

type V1NetworksNetworkInterfacesGetOK struct {
	Payload *models.NetworkInterface
}

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

OK

func NewV1NetworksNetworkInterfacesGetOK

func NewV1NetworksNetworkInterfacesGetOK() *V1NetworksNetworkInterfacesGetOK

NewV1NetworksNetworkInterfacesGetOK creates a V1NetworksNetworkInterfacesGetOK with default headers values

func (*V1NetworksNetworkInterfacesGetOK) Code

Code gets the status code for the v1 networks network interfaces get o k response

func (*V1NetworksNetworkInterfacesGetOK) Error

func (*V1NetworksNetworkInterfacesGetOK) GetPayload

func (*V1NetworksNetworkInterfacesGetOK) IsClientError

func (o *V1NetworksNetworkInterfacesGetOK) IsClientError() bool

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

func (*V1NetworksNetworkInterfacesGetOK) IsCode

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

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

func (*V1NetworksNetworkInterfacesGetOK) IsRedirect

func (o *V1NetworksNetworkInterfacesGetOK) IsRedirect() bool

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

func (*V1NetworksNetworkInterfacesGetOK) IsServerError

func (o *V1NetworksNetworkInterfacesGetOK) IsServerError() bool

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

func (*V1NetworksNetworkInterfacesGetOK) IsSuccess

func (o *V1NetworksNetworkInterfacesGetOK) IsSuccess() bool

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

func (*V1NetworksNetworkInterfacesGetOK) String

type V1NetworksNetworkInterfacesGetParams

type V1NetworksNetworkInterfacesGetParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* NetworkInterfaceID.

	   Network Interface ID
	*/
	NetworkInterfaceID string

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

V1NetworksNetworkInterfacesGetParams contains all the parameters to send to the API endpoint

for the v1 networks network interfaces get operation.

Typically these are written to a http.Request.

func NewV1NetworksNetworkInterfacesGetParams

func NewV1NetworksNetworkInterfacesGetParams() *V1NetworksNetworkInterfacesGetParams

NewV1NetworksNetworkInterfacesGetParams creates a new V1NetworksNetworkInterfacesGetParams 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 NewV1NetworksNetworkInterfacesGetParamsWithContext

func NewV1NetworksNetworkInterfacesGetParamsWithContext(ctx context.Context) *V1NetworksNetworkInterfacesGetParams

NewV1NetworksNetworkInterfacesGetParamsWithContext creates a new V1NetworksNetworkInterfacesGetParams object with the ability to set a context for a request.

func NewV1NetworksNetworkInterfacesGetParamsWithHTTPClient

func NewV1NetworksNetworkInterfacesGetParamsWithHTTPClient(client *http.Client) *V1NetworksNetworkInterfacesGetParams

NewV1NetworksNetworkInterfacesGetParamsWithHTTPClient creates a new V1NetworksNetworkInterfacesGetParams object with the ability to set a custom HTTPClient for a request.

func NewV1NetworksNetworkInterfacesGetParamsWithTimeout

func NewV1NetworksNetworkInterfacesGetParamsWithTimeout(timeout time.Duration) *V1NetworksNetworkInterfacesGetParams

NewV1NetworksNetworkInterfacesGetParamsWithTimeout creates a new V1NetworksNetworkInterfacesGetParams object with the ability to set a timeout on a request.

func (*V1NetworksNetworkInterfacesGetParams) SetContext

SetContext adds the context to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) SetDefaults

func (o *V1NetworksNetworkInterfacesGetParams) SetDefaults()

SetDefaults hydrates default values in the v1 networks network interfaces get params (not the query body).

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

func (*V1NetworksNetworkInterfacesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) SetNetworkID

func (o *V1NetworksNetworkInterfacesGetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) SetNetworkInterfaceID

func (o *V1NetworksNetworkInterfacesGetParams) SetNetworkInterfaceID(networkInterfaceID string)

SetNetworkInterfaceID adds the networkInterfaceId to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) SetTimeout

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

SetTimeout adds the timeout to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) WithContext

WithContext adds the context to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) WithDefaults

WithDefaults hydrates default values in the v1 networks network interfaces get params (not the query body).

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

func (*V1NetworksNetworkInterfacesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) WithNetworkID

WithNetworkID adds the networkID to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) WithNetworkInterfaceID

func (o *V1NetworksNetworkInterfacesGetParams) WithNetworkInterfaceID(networkInterfaceID string) *V1NetworksNetworkInterfacesGetParams

WithNetworkInterfaceID adds the networkInterfaceID to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) WithTimeout

WithTimeout adds the timeout to the v1 networks network interfaces get params

func (*V1NetworksNetworkInterfacesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1NetworksNetworkInterfacesGetReader

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

V1NetworksNetworkInterfacesGetReader is a Reader for the V1NetworksNetworkInterfacesGet structure.

func (*V1NetworksNetworkInterfacesGetReader) ReadResponse

func (o *V1NetworksNetworkInterfacesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type V1NetworksNetworkInterfacesGetUnauthorized

type V1NetworksNetworkInterfacesGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1NetworksNetworkInterfacesGetUnauthorized

func NewV1NetworksNetworkInterfacesGetUnauthorized() *V1NetworksNetworkInterfacesGetUnauthorized

NewV1NetworksNetworkInterfacesGetUnauthorized creates a V1NetworksNetworkInterfacesGetUnauthorized with default headers values

func (*V1NetworksNetworkInterfacesGetUnauthorized) Code

Code gets the status code for the v1 networks network interfaces get unauthorized response

func (*V1NetworksNetworkInterfacesGetUnauthorized) Error

func (*V1NetworksNetworkInterfacesGetUnauthorized) GetPayload

func (*V1NetworksNetworkInterfacesGetUnauthorized) IsClientError

IsClientError returns true when this v1 networks network interfaces get unauthorized response has a 4xx status code

func (*V1NetworksNetworkInterfacesGetUnauthorized) IsCode

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

func (*V1NetworksNetworkInterfacesGetUnauthorized) IsRedirect

IsRedirect returns true when this v1 networks network interfaces get unauthorized response has a 3xx status code

func (*V1NetworksNetworkInterfacesGetUnauthorized) IsServerError

IsServerError returns true when this v1 networks network interfaces get unauthorized response has a 5xx status code

func (*V1NetworksNetworkInterfacesGetUnauthorized) IsSuccess

IsSuccess returns true when this v1 networks network interfaces get unauthorized response has a 2xx status code

func (*V1NetworksNetworkInterfacesGetUnauthorized) String

type V1NetworksNetworkInterfacesGetallBadRequest

type V1NetworksNetworkInterfacesGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1NetworksNetworkInterfacesGetallBadRequest

func NewV1NetworksNetworkInterfacesGetallBadRequest() *V1NetworksNetworkInterfacesGetallBadRequest

NewV1NetworksNetworkInterfacesGetallBadRequest creates a V1NetworksNetworkInterfacesGetallBadRequest with default headers values

func (*V1NetworksNetworkInterfacesGetallBadRequest) Code

Code gets the status code for the v1 networks network interfaces getall bad request response

func (*V1NetworksNetworkInterfacesGetallBadRequest) Error

func (*V1NetworksNetworkInterfacesGetallBadRequest) GetPayload

func (*V1NetworksNetworkInterfacesGetallBadRequest) IsClientError

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

func (*V1NetworksNetworkInterfacesGetallBadRequest) IsCode

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

func (*V1NetworksNetworkInterfacesGetallBadRequest) IsRedirect

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

func (*V1NetworksNetworkInterfacesGetallBadRequest) IsServerError

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

func (*V1NetworksNetworkInterfacesGetallBadRequest) IsSuccess

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

func (*V1NetworksNetworkInterfacesGetallBadRequest) String

type V1NetworksNetworkInterfacesGetallForbidden

type V1NetworksNetworkInterfacesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1NetworksNetworkInterfacesGetallForbidden

func NewV1NetworksNetworkInterfacesGetallForbidden() *V1NetworksNetworkInterfacesGetallForbidden

NewV1NetworksNetworkInterfacesGetallForbidden creates a V1NetworksNetworkInterfacesGetallForbidden with default headers values

func (*V1NetworksNetworkInterfacesGetallForbidden) Code

Code gets the status code for the v1 networks network interfaces getall forbidden response

func (*V1NetworksNetworkInterfacesGetallForbidden) Error

func (*V1NetworksNetworkInterfacesGetallForbidden) GetPayload

func (*V1NetworksNetworkInterfacesGetallForbidden) IsClientError

IsClientError returns true when this v1 networks network interfaces getall forbidden response has a 4xx status code

func (*V1NetworksNetworkInterfacesGetallForbidden) IsCode

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

func (*V1NetworksNetworkInterfacesGetallForbidden) IsRedirect

IsRedirect returns true when this v1 networks network interfaces getall forbidden response has a 3xx status code

func (*V1NetworksNetworkInterfacesGetallForbidden) IsServerError

IsServerError returns true when this v1 networks network interfaces getall forbidden response has a 5xx status code

func (*V1NetworksNetworkInterfacesGetallForbidden) IsSuccess

IsSuccess returns true when this v1 networks network interfaces getall forbidden response has a 2xx status code

func (*V1NetworksNetworkInterfacesGetallForbidden) String

type V1NetworksNetworkInterfacesGetallInternalServerError

type V1NetworksNetworkInterfacesGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1NetworksNetworkInterfacesGetallInternalServerError

func NewV1NetworksNetworkInterfacesGetallInternalServerError() *V1NetworksNetworkInterfacesGetallInternalServerError

NewV1NetworksNetworkInterfacesGetallInternalServerError creates a V1NetworksNetworkInterfacesGetallInternalServerError with default headers values

func (*V1NetworksNetworkInterfacesGetallInternalServerError) Code

Code gets the status code for the v1 networks network interfaces getall internal server error response

func (*V1NetworksNetworkInterfacesGetallInternalServerError) Error

func (*V1NetworksNetworkInterfacesGetallInternalServerError) GetPayload

func (*V1NetworksNetworkInterfacesGetallInternalServerError) IsClientError

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

func (*V1NetworksNetworkInterfacesGetallInternalServerError) IsCode

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

func (*V1NetworksNetworkInterfacesGetallInternalServerError) IsRedirect

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

func (*V1NetworksNetworkInterfacesGetallInternalServerError) IsServerError

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

func (*V1NetworksNetworkInterfacesGetallInternalServerError) IsSuccess

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

func (*V1NetworksNetworkInterfacesGetallInternalServerError) String

type V1NetworksNetworkInterfacesGetallNotFound

type V1NetworksNetworkInterfacesGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1NetworksNetworkInterfacesGetallNotFound

func NewV1NetworksNetworkInterfacesGetallNotFound() *V1NetworksNetworkInterfacesGetallNotFound

NewV1NetworksNetworkInterfacesGetallNotFound creates a V1NetworksNetworkInterfacesGetallNotFound with default headers values

func (*V1NetworksNetworkInterfacesGetallNotFound) Code

Code gets the status code for the v1 networks network interfaces getall not found response

func (*V1NetworksNetworkInterfacesGetallNotFound) Error

func (*V1NetworksNetworkInterfacesGetallNotFound) GetPayload

func (*V1NetworksNetworkInterfacesGetallNotFound) IsClientError

IsClientError returns true when this v1 networks network interfaces getall not found response has a 4xx status code

func (*V1NetworksNetworkInterfacesGetallNotFound) IsCode

IsCode returns true when this v1 networks network interfaces getall not found response a status code equal to that given

func (*V1NetworksNetworkInterfacesGetallNotFound) IsRedirect

IsRedirect returns true when this v1 networks network interfaces getall not found response has a 3xx status code

func (*V1NetworksNetworkInterfacesGetallNotFound) IsServerError

IsServerError returns true when this v1 networks network interfaces getall not found response has a 5xx status code

func (*V1NetworksNetworkInterfacesGetallNotFound) IsSuccess

IsSuccess returns true when this v1 networks network interfaces getall not found response has a 2xx status code

func (*V1NetworksNetworkInterfacesGetallNotFound) String

type V1NetworksNetworkInterfacesGetallOK

type V1NetworksNetworkInterfacesGetallOK struct {
	Payload *models.NetworkInterfaces
}

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

OK

func NewV1NetworksNetworkInterfacesGetallOK

func NewV1NetworksNetworkInterfacesGetallOK() *V1NetworksNetworkInterfacesGetallOK

NewV1NetworksNetworkInterfacesGetallOK creates a V1NetworksNetworkInterfacesGetallOK with default headers values

func (*V1NetworksNetworkInterfacesGetallOK) Code

Code gets the status code for the v1 networks network interfaces getall o k response

func (*V1NetworksNetworkInterfacesGetallOK) Error

func (*V1NetworksNetworkInterfacesGetallOK) GetPayload

func (*V1NetworksNetworkInterfacesGetallOK) IsClientError

func (o *V1NetworksNetworkInterfacesGetallOK) IsClientError() bool

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

func (*V1NetworksNetworkInterfacesGetallOK) IsCode

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

func (*V1NetworksNetworkInterfacesGetallOK) IsRedirect

func (o *V1NetworksNetworkInterfacesGetallOK) IsRedirect() bool

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

func (*V1NetworksNetworkInterfacesGetallOK) IsServerError

func (o *V1NetworksNetworkInterfacesGetallOK) IsServerError() bool

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

func (*V1NetworksNetworkInterfacesGetallOK) IsSuccess

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

func (*V1NetworksNetworkInterfacesGetallOK) String

type V1NetworksNetworkInterfacesGetallParams

type V1NetworksNetworkInterfacesGetallParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

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

V1NetworksNetworkInterfacesGetallParams contains all the parameters to send to the API endpoint

for the v1 networks network interfaces getall operation.

Typically these are written to a http.Request.

func NewV1NetworksNetworkInterfacesGetallParams

func NewV1NetworksNetworkInterfacesGetallParams() *V1NetworksNetworkInterfacesGetallParams

NewV1NetworksNetworkInterfacesGetallParams creates a new V1NetworksNetworkInterfacesGetallParams 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 NewV1NetworksNetworkInterfacesGetallParamsWithContext

func NewV1NetworksNetworkInterfacesGetallParamsWithContext(ctx context.Context) *V1NetworksNetworkInterfacesGetallParams

NewV1NetworksNetworkInterfacesGetallParamsWithContext creates a new V1NetworksNetworkInterfacesGetallParams object with the ability to set a context for a request.

func NewV1NetworksNetworkInterfacesGetallParamsWithHTTPClient

func NewV1NetworksNetworkInterfacesGetallParamsWithHTTPClient(client *http.Client) *V1NetworksNetworkInterfacesGetallParams

NewV1NetworksNetworkInterfacesGetallParamsWithHTTPClient creates a new V1NetworksNetworkInterfacesGetallParams object with the ability to set a custom HTTPClient for a request.

func NewV1NetworksNetworkInterfacesGetallParamsWithTimeout

func NewV1NetworksNetworkInterfacesGetallParamsWithTimeout(timeout time.Duration) *V1NetworksNetworkInterfacesGetallParams

NewV1NetworksNetworkInterfacesGetallParamsWithTimeout creates a new V1NetworksNetworkInterfacesGetallParams object with the ability to set a timeout on a request.

func (*V1NetworksNetworkInterfacesGetallParams) SetContext

SetContext adds the context to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) SetDefaults

func (o *V1NetworksNetworkInterfacesGetallParams) SetDefaults()

SetDefaults hydrates default values in the v1 networks network interfaces getall params (not the query body).

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

func (*V1NetworksNetworkInterfacesGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) SetNetworkID

func (o *V1NetworksNetworkInterfacesGetallParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) SetTimeout

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

SetTimeout adds the timeout to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) WithContext

WithContext adds the context to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) WithDefaults

WithDefaults hydrates default values in the v1 networks network interfaces getall params (not the query body).

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

func (*V1NetworksNetworkInterfacesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) WithNetworkID

WithNetworkID adds the networkID to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) WithTimeout

WithTimeout adds the timeout to the v1 networks network interfaces getall params

func (*V1NetworksNetworkInterfacesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1NetworksNetworkInterfacesGetallReader

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

V1NetworksNetworkInterfacesGetallReader is a Reader for the V1NetworksNetworkInterfacesGetall structure.

func (*V1NetworksNetworkInterfacesGetallReader) ReadResponse

func (o *V1NetworksNetworkInterfacesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type V1NetworksNetworkInterfacesGetallUnauthorized

type V1NetworksNetworkInterfacesGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1NetworksNetworkInterfacesGetallUnauthorized

func NewV1NetworksNetworkInterfacesGetallUnauthorized() *V1NetworksNetworkInterfacesGetallUnauthorized

NewV1NetworksNetworkInterfacesGetallUnauthorized creates a V1NetworksNetworkInterfacesGetallUnauthorized with default headers values

func (*V1NetworksNetworkInterfacesGetallUnauthorized) Code

Code gets the status code for the v1 networks network interfaces getall unauthorized response

func (*V1NetworksNetworkInterfacesGetallUnauthorized) Error

func (*V1NetworksNetworkInterfacesGetallUnauthorized) GetPayload

func (*V1NetworksNetworkInterfacesGetallUnauthorized) IsClientError

IsClientError returns true when this v1 networks network interfaces getall unauthorized response has a 4xx status code

func (*V1NetworksNetworkInterfacesGetallUnauthorized) IsCode

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

func (*V1NetworksNetworkInterfacesGetallUnauthorized) IsRedirect

IsRedirect returns true when this v1 networks network interfaces getall unauthorized response has a 3xx status code

func (*V1NetworksNetworkInterfacesGetallUnauthorized) IsServerError

IsServerError returns true when this v1 networks network interfaces getall unauthorized response has a 5xx status code

func (*V1NetworksNetworkInterfacesGetallUnauthorized) IsSuccess

IsSuccess returns true when this v1 networks network interfaces getall unauthorized response has a 2xx status code

func (*V1NetworksNetworkInterfacesGetallUnauthorized) String

type V1NetworksNetworkInterfacesPostBadRequest

type V1NetworksNetworkInterfacesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1NetworksNetworkInterfacesPostBadRequest

func NewV1NetworksNetworkInterfacesPostBadRequest() *V1NetworksNetworkInterfacesPostBadRequest

NewV1NetworksNetworkInterfacesPostBadRequest creates a V1NetworksNetworkInterfacesPostBadRequest with default headers values

func (*V1NetworksNetworkInterfacesPostBadRequest) Code

Code gets the status code for the v1 networks network interfaces post bad request response

func (*V1NetworksNetworkInterfacesPostBadRequest) Error

func (*V1NetworksNetworkInterfacesPostBadRequest) GetPayload

func (*V1NetworksNetworkInterfacesPostBadRequest) IsClientError

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

func (*V1NetworksNetworkInterfacesPostBadRequest) IsCode

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

func (*V1NetworksNetworkInterfacesPostBadRequest) IsRedirect

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

func (*V1NetworksNetworkInterfacesPostBadRequest) IsServerError

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

func (*V1NetworksNetworkInterfacesPostBadRequest) IsSuccess

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

func (*V1NetworksNetworkInterfacesPostBadRequest) String

type V1NetworksNetworkInterfacesPostConflict

type V1NetworksNetworkInterfacesPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewV1NetworksNetworkInterfacesPostConflict

func NewV1NetworksNetworkInterfacesPostConflict() *V1NetworksNetworkInterfacesPostConflict

NewV1NetworksNetworkInterfacesPostConflict creates a V1NetworksNetworkInterfacesPostConflict with default headers values

func (*V1NetworksNetworkInterfacesPostConflict) Code

Code gets the status code for the v1 networks network interfaces post conflict response

func (*V1NetworksNetworkInterfacesPostConflict) Error

func (*V1NetworksNetworkInterfacesPostConflict) GetPayload

func (*V1NetworksNetworkInterfacesPostConflict) IsClientError

func (o *V1NetworksNetworkInterfacesPostConflict) IsClientError() bool

IsClientError returns true when this v1 networks network interfaces post conflict response has a 4xx status code

func (*V1NetworksNetworkInterfacesPostConflict) IsCode

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

func (*V1NetworksNetworkInterfacesPostConflict) IsRedirect

IsRedirect returns true when this v1 networks network interfaces post conflict response has a 3xx status code

func (*V1NetworksNetworkInterfacesPostConflict) IsServerError

func (o *V1NetworksNetworkInterfacesPostConflict) IsServerError() bool

IsServerError returns true when this v1 networks network interfaces post conflict response has a 5xx status code

func (*V1NetworksNetworkInterfacesPostConflict) IsSuccess

IsSuccess returns true when this v1 networks network interfaces post conflict response has a 2xx status code

func (*V1NetworksNetworkInterfacesPostConflict) String

type V1NetworksNetworkInterfacesPostCreated

type V1NetworksNetworkInterfacesPostCreated struct {
	Payload *models.NetworkInterface
}

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

Created

func NewV1NetworksNetworkInterfacesPostCreated

func NewV1NetworksNetworkInterfacesPostCreated() *V1NetworksNetworkInterfacesPostCreated

NewV1NetworksNetworkInterfacesPostCreated creates a V1NetworksNetworkInterfacesPostCreated with default headers values

func (*V1NetworksNetworkInterfacesPostCreated) Code

Code gets the status code for the v1 networks network interfaces post created response

func (*V1NetworksNetworkInterfacesPostCreated) Error

func (*V1NetworksNetworkInterfacesPostCreated) GetPayload

func (*V1NetworksNetworkInterfacesPostCreated) IsClientError

func (o *V1NetworksNetworkInterfacesPostCreated) IsClientError() bool

IsClientError returns true when this v1 networks network interfaces post created response has a 4xx status code

func (*V1NetworksNetworkInterfacesPostCreated) IsCode

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

func (*V1NetworksNetworkInterfacesPostCreated) IsRedirect

IsRedirect returns true when this v1 networks network interfaces post created response has a 3xx status code

func (*V1NetworksNetworkInterfacesPostCreated) IsServerError

func (o *V1NetworksNetworkInterfacesPostCreated) IsServerError() bool

IsServerError returns true when this v1 networks network interfaces post created response has a 5xx status code

func (*V1NetworksNetworkInterfacesPostCreated) IsSuccess

IsSuccess returns true when this v1 networks network interfaces post created response has a 2xx status code

func (*V1NetworksNetworkInterfacesPostCreated) String

type V1NetworksNetworkInterfacesPostForbidden

type V1NetworksNetworkInterfacesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1NetworksNetworkInterfacesPostForbidden

func NewV1NetworksNetworkInterfacesPostForbidden() *V1NetworksNetworkInterfacesPostForbidden

NewV1NetworksNetworkInterfacesPostForbidden creates a V1NetworksNetworkInterfacesPostForbidden with default headers values

func (*V1NetworksNetworkInterfacesPostForbidden) Code

Code gets the status code for the v1 networks network interfaces post forbidden response

func (*V1NetworksNetworkInterfacesPostForbidden) Error

func (*V1NetworksNetworkInterfacesPostForbidden) GetPayload

func (*V1NetworksNetworkInterfacesPostForbidden) IsClientError

IsClientError returns true when this v1 networks network interfaces post forbidden response has a 4xx status code

func (*V1NetworksNetworkInterfacesPostForbidden) IsCode

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

func (*V1NetworksNetworkInterfacesPostForbidden) IsRedirect

IsRedirect returns true when this v1 networks network interfaces post forbidden response has a 3xx status code

func (*V1NetworksNetworkInterfacesPostForbidden) IsServerError

IsServerError returns true when this v1 networks network interfaces post forbidden response has a 5xx status code

func (*V1NetworksNetworkInterfacesPostForbidden) IsSuccess

IsSuccess returns true when this v1 networks network interfaces post forbidden response has a 2xx status code

func (*V1NetworksNetworkInterfacesPostForbidden) String

type V1NetworksNetworkInterfacesPostInternalServerError

type V1NetworksNetworkInterfacesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1NetworksNetworkInterfacesPostInternalServerError

func NewV1NetworksNetworkInterfacesPostInternalServerError() *V1NetworksNetworkInterfacesPostInternalServerError

NewV1NetworksNetworkInterfacesPostInternalServerError creates a V1NetworksNetworkInterfacesPostInternalServerError with default headers values

func (*V1NetworksNetworkInterfacesPostInternalServerError) Code

Code gets the status code for the v1 networks network interfaces post internal server error response

func (*V1NetworksNetworkInterfacesPostInternalServerError) Error

func (*V1NetworksNetworkInterfacesPostInternalServerError) GetPayload

func (*V1NetworksNetworkInterfacesPostInternalServerError) IsClientError

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

func (*V1NetworksNetworkInterfacesPostInternalServerError) IsCode

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

func (*V1NetworksNetworkInterfacesPostInternalServerError) IsRedirect

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

func (*V1NetworksNetworkInterfacesPostInternalServerError) IsServerError

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

func (*V1NetworksNetworkInterfacesPostInternalServerError) IsSuccess

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

func (*V1NetworksNetworkInterfacesPostInternalServerError) String

type V1NetworksNetworkInterfacesPostNotFound

type V1NetworksNetworkInterfacesPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1NetworksNetworkInterfacesPostNotFound

func NewV1NetworksNetworkInterfacesPostNotFound() *V1NetworksNetworkInterfacesPostNotFound

NewV1NetworksNetworkInterfacesPostNotFound creates a V1NetworksNetworkInterfacesPostNotFound with default headers values

func (*V1NetworksNetworkInterfacesPostNotFound) Code

Code gets the status code for the v1 networks network interfaces post not found response

func (*V1NetworksNetworkInterfacesPostNotFound) Error

func (*V1NetworksNetworkInterfacesPostNotFound) GetPayload

func (*V1NetworksNetworkInterfacesPostNotFound) IsClientError

func (o *V1NetworksNetworkInterfacesPostNotFound) IsClientError() bool

IsClientError returns true when this v1 networks network interfaces post not found response has a 4xx status code

func (*V1NetworksNetworkInterfacesPostNotFound) IsCode

IsCode returns true when this v1 networks network interfaces post not found response a status code equal to that given

func (*V1NetworksNetworkInterfacesPostNotFound) IsRedirect

IsRedirect returns true when this v1 networks network interfaces post not found response has a 3xx status code

func (*V1NetworksNetworkInterfacesPostNotFound) IsServerError

func (o *V1NetworksNetworkInterfacesPostNotFound) IsServerError() bool

IsServerError returns true when this v1 networks network interfaces post not found response has a 5xx status code

func (*V1NetworksNetworkInterfacesPostNotFound) IsSuccess

IsSuccess returns true when this v1 networks network interfaces post not found response has a 2xx status code

func (*V1NetworksNetworkInterfacesPostNotFound) String

type V1NetworksNetworkInterfacesPostParams

type V1NetworksNetworkInterfacesPostParams struct {

	/* Body.

	   Create a Network Interface
	*/
	Body *models.NetworkInterfaceCreate

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

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

V1NetworksNetworkInterfacesPostParams contains all the parameters to send to the API endpoint

for the v1 networks network interfaces post operation.

Typically these are written to a http.Request.

func NewV1NetworksNetworkInterfacesPostParams

func NewV1NetworksNetworkInterfacesPostParams() *V1NetworksNetworkInterfacesPostParams

NewV1NetworksNetworkInterfacesPostParams creates a new V1NetworksNetworkInterfacesPostParams 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 NewV1NetworksNetworkInterfacesPostParamsWithContext

func NewV1NetworksNetworkInterfacesPostParamsWithContext(ctx context.Context) *V1NetworksNetworkInterfacesPostParams

NewV1NetworksNetworkInterfacesPostParamsWithContext creates a new V1NetworksNetworkInterfacesPostParams object with the ability to set a context for a request.

func NewV1NetworksNetworkInterfacesPostParamsWithHTTPClient

func NewV1NetworksNetworkInterfacesPostParamsWithHTTPClient(client *http.Client) *V1NetworksNetworkInterfacesPostParams

NewV1NetworksNetworkInterfacesPostParamsWithHTTPClient creates a new V1NetworksNetworkInterfacesPostParams object with the ability to set a custom HTTPClient for a request.

func NewV1NetworksNetworkInterfacesPostParamsWithTimeout

func NewV1NetworksNetworkInterfacesPostParamsWithTimeout(timeout time.Duration) *V1NetworksNetworkInterfacesPostParams

NewV1NetworksNetworkInterfacesPostParamsWithTimeout creates a new V1NetworksNetworkInterfacesPostParams object with the ability to set a timeout on a request.

func (*V1NetworksNetworkInterfacesPostParams) SetBody

SetBody adds the body to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) SetContext

SetContext adds the context to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) SetDefaults

func (o *V1NetworksNetworkInterfacesPostParams) SetDefaults()

SetDefaults hydrates default values in the v1 networks network interfaces post params (not the query body).

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

func (*V1NetworksNetworkInterfacesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) SetNetworkID

func (o *V1NetworksNetworkInterfacesPostParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) SetTimeout

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

SetTimeout adds the timeout to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) WithBody

WithBody adds the body to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) WithContext

WithContext adds the context to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) WithDefaults

WithDefaults hydrates default values in the v1 networks network interfaces post params (not the query body).

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

func (*V1NetworksNetworkInterfacesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) WithNetworkID

WithNetworkID adds the networkID to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) WithTimeout

WithTimeout adds the timeout to the v1 networks network interfaces post params

func (*V1NetworksNetworkInterfacesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1NetworksNetworkInterfacesPostReader

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

V1NetworksNetworkInterfacesPostReader is a Reader for the V1NetworksNetworkInterfacesPost structure.

func (*V1NetworksNetworkInterfacesPostReader) ReadResponse

func (o *V1NetworksNetworkInterfacesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type V1NetworksNetworkInterfacesPostUnauthorized

type V1NetworksNetworkInterfacesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1NetworksNetworkInterfacesPostUnauthorized

func NewV1NetworksNetworkInterfacesPostUnauthorized() *V1NetworksNetworkInterfacesPostUnauthorized

NewV1NetworksNetworkInterfacesPostUnauthorized creates a V1NetworksNetworkInterfacesPostUnauthorized with default headers values

func (*V1NetworksNetworkInterfacesPostUnauthorized) Code

Code gets the status code for the v1 networks network interfaces post unauthorized response

func (*V1NetworksNetworkInterfacesPostUnauthorized) Error

func (*V1NetworksNetworkInterfacesPostUnauthorized) GetPayload

func (*V1NetworksNetworkInterfacesPostUnauthorized) IsClientError

IsClientError returns true when this v1 networks network interfaces post unauthorized response has a 4xx status code

func (*V1NetworksNetworkInterfacesPostUnauthorized) IsCode

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

func (*V1NetworksNetworkInterfacesPostUnauthorized) IsRedirect

IsRedirect returns true when this v1 networks network interfaces post unauthorized response has a 3xx status code

func (*V1NetworksNetworkInterfacesPostUnauthorized) IsServerError

IsServerError returns true when this v1 networks network interfaces post unauthorized response has a 5xx status code

func (*V1NetworksNetworkInterfacesPostUnauthorized) IsSuccess

IsSuccess returns true when this v1 networks network interfaces post unauthorized response has a 2xx status code

func (*V1NetworksNetworkInterfacesPostUnauthorized) String

type V1NetworksNetworkInterfacesPostUnprocessableEntity

type V1NetworksNetworkInterfacesPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewV1NetworksNetworkInterfacesPostUnprocessableEntity

func NewV1NetworksNetworkInterfacesPostUnprocessableEntity() *V1NetworksNetworkInterfacesPostUnprocessableEntity

NewV1NetworksNetworkInterfacesPostUnprocessableEntity creates a V1NetworksNetworkInterfacesPostUnprocessableEntity with default headers values

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) Code

Code gets the status code for the v1 networks network interfaces post unprocessable entity response

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) Error

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) GetPayload

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) IsClientError

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

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) IsCode

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

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) IsRedirect

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

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) IsServerError

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

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) IsSuccess

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

func (*V1NetworksNetworkInterfacesPostUnprocessableEntity) String

type V1NetworksNetworkInterfacesPutBadRequest

type V1NetworksNetworkInterfacesPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1NetworksNetworkInterfacesPutBadRequest

func NewV1NetworksNetworkInterfacesPutBadRequest() *V1NetworksNetworkInterfacesPutBadRequest

NewV1NetworksNetworkInterfacesPutBadRequest creates a V1NetworksNetworkInterfacesPutBadRequest with default headers values

func (*V1NetworksNetworkInterfacesPutBadRequest) Code

Code gets the status code for the v1 networks network interfaces put bad request response

func (*V1NetworksNetworkInterfacesPutBadRequest) Error

func (*V1NetworksNetworkInterfacesPutBadRequest) GetPayload

func (*V1NetworksNetworkInterfacesPutBadRequest) IsClientError

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

func (*V1NetworksNetworkInterfacesPutBadRequest) IsCode

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

func (*V1NetworksNetworkInterfacesPutBadRequest) IsRedirect

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

func (*V1NetworksNetworkInterfacesPutBadRequest) IsServerError

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

func (*V1NetworksNetworkInterfacesPutBadRequest) IsSuccess

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

func (*V1NetworksNetworkInterfacesPutBadRequest) String

type V1NetworksNetworkInterfacesPutForbidden

type V1NetworksNetworkInterfacesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1NetworksNetworkInterfacesPutForbidden

func NewV1NetworksNetworkInterfacesPutForbidden() *V1NetworksNetworkInterfacesPutForbidden

NewV1NetworksNetworkInterfacesPutForbidden creates a V1NetworksNetworkInterfacesPutForbidden with default headers values

func (*V1NetworksNetworkInterfacesPutForbidden) Code

Code gets the status code for the v1 networks network interfaces put forbidden response

func (*V1NetworksNetworkInterfacesPutForbidden) Error

func (*V1NetworksNetworkInterfacesPutForbidden) GetPayload

func (*V1NetworksNetworkInterfacesPutForbidden) IsClientError

func (o *V1NetworksNetworkInterfacesPutForbidden) IsClientError() bool

IsClientError returns true when this v1 networks network interfaces put forbidden response has a 4xx status code

func (*V1NetworksNetworkInterfacesPutForbidden) IsCode

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

func (*V1NetworksNetworkInterfacesPutForbidden) IsRedirect

IsRedirect returns true when this v1 networks network interfaces put forbidden response has a 3xx status code

func (*V1NetworksNetworkInterfacesPutForbidden) IsServerError

func (o *V1NetworksNetworkInterfacesPutForbidden) IsServerError() bool

IsServerError returns true when this v1 networks network interfaces put forbidden response has a 5xx status code

func (*V1NetworksNetworkInterfacesPutForbidden) IsSuccess

IsSuccess returns true when this v1 networks network interfaces put forbidden response has a 2xx status code

func (*V1NetworksNetworkInterfacesPutForbidden) String

type V1NetworksNetworkInterfacesPutInternalServerError

type V1NetworksNetworkInterfacesPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewV1NetworksNetworkInterfacesPutInternalServerError

func NewV1NetworksNetworkInterfacesPutInternalServerError() *V1NetworksNetworkInterfacesPutInternalServerError

NewV1NetworksNetworkInterfacesPutInternalServerError creates a V1NetworksNetworkInterfacesPutInternalServerError with default headers values

func (*V1NetworksNetworkInterfacesPutInternalServerError) Code

Code gets the status code for the v1 networks network interfaces put internal server error response

func (*V1NetworksNetworkInterfacesPutInternalServerError) Error

func (*V1NetworksNetworkInterfacesPutInternalServerError) GetPayload

func (*V1NetworksNetworkInterfacesPutInternalServerError) IsClientError

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

func (*V1NetworksNetworkInterfacesPutInternalServerError) IsCode

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

func (*V1NetworksNetworkInterfacesPutInternalServerError) IsRedirect

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

func (*V1NetworksNetworkInterfacesPutInternalServerError) IsServerError

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

func (*V1NetworksNetworkInterfacesPutInternalServerError) IsSuccess

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

func (*V1NetworksNetworkInterfacesPutInternalServerError) String

type V1NetworksNetworkInterfacesPutNotFound

type V1NetworksNetworkInterfacesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1NetworksNetworkInterfacesPutNotFound

func NewV1NetworksNetworkInterfacesPutNotFound() *V1NetworksNetworkInterfacesPutNotFound

NewV1NetworksNetworkInterfacesPutNotFound creates a V1NetworksNetworkInterfacesPutNotFound with default headers values

func (*V1NetworksNetworkInterfacesPutNotFound) Code

Code gets the status code for the v1 networks network interfaces put not found response

func (*V1NetworksNetworkInterfacesPutNotFound) Error

func (*V1NetworksNetworkInterfacesPutNotFound) GetPayload

func (*V1NetworksNetworkInterfacesPutNotFound) IsClientError

func (o *V1NetworksNetworkInterfacesPutNotFound) IsClientError() bool

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

func (*V1NetworksNetworkInterfacesPutNotFound) IsCode

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

func (*V1NetworksNetworkInterfacesPutNotFound) IsRedirect

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

func (*V1NetworksNetworkInterfacesPutNotFound) IsServerError

func (o *V1NetworksNetworkInterfacesPutNotFound) IsServerError() bool

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

func (*V1NetworksNetworkInterfacesPutNotFound) IsSuccess

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

func (*V1NetworksNetworkInterfacesPutNotFound) String

type V1NetworksNetworkInterfacesPutOK

type V1NetworksNetworkInterfacesPutOK struct {
	Payload *models.NetworkInterface
}

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

OK

func NewV1NetworksNetworkInterfacesPutOK

func NewV1NetworksNetworkInterfacesPutOK() *V1NetworksNetworkInterfacesPutOK

NewV1NetworksNetworkInterfacesPutOK creates a V1NetworksNetworkInterfacesPutOK with default headers values

func (*V1NetworksNetworkInterfacesPutOK) Code

Code gets the status code for the v1 networks network interfaces put o k response

func (*V1NetworksNetworkInterfacesPutOK) Error

func (*V1NetworksNetworkInterfacesPutOK) GetPayload

func (*V1NetworksNetworkInterfacesPutOK) IsClientError

func (o *V1NetworksNetworkInterfacesPutOK) IsClientError() bool

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

func (*V1NetworksNetworkInterfacesPutOK) IsCode

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

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

func (*V1NetworksNetworkInterfacesPutOK) IsRedirect

func (o *V1NetworksNetworkInterfacesPutOK) IsRedirect() bool

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

func (*V1NetworksNetworkInterfacesPutOK) IsServerError

func (o *V1NetworksNetworkInterfacesPutOK) IsServerError() bool

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

func (*V1NetworksNetworkInterfacesPutOK) IsSuccess

func (o *V1NetworksNetworkInterfacesPutOK) IsSuccess() bool

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

func (*V1NetworksNetworkInterfacesPutOK) String

type V1NetworksNetworkInterfacesPutParams

type V1NetworksNetworkInterfacesPutParams struct {

	/* Body.

	   Parameters for updating a Network Interface
	*/
	Body *models.NetworkInterfaceUpdate

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* NetworkInterfaceID.

	   Network Interface ID
	*/
	NetworkInterfaceID string

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

V1NetworksNetworkInterfacesPutParams contains all the parameters to send to the API endpoint

for the v1 networks network interfaces put operation.

Typically these are written to a http.Request.

func NewV1NetworksNetworkInterfacesPutParams

func NewV1NetworksNetworkInterfacesPutParams() *V1NetworksNetworkInterfacesPutParams

NewV1NetworksNetworkInterfacesPutParams creates a new V1NetworksNetworkInterfacesPutParams 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 NewV1NetworksNetworkInterfacesPutParamsWithContext

func NewV1NetworksNetworkInterfacesPutParamsWithContext(ctx context.Context) *V1NetworksNetworkInterfacesPutParams

NewV1NetworksNetworkInterfacesPutParamsWithContext creates a new V1NetworksNetworkInterfacesPutParams object with the ability to set a context for a request.

func NewV1NetworksNetworkInterfacesPutParamsWithHTTPClient

func NewV1NetworksNetworkInterfacesPutParamsWithHTTPClient(client *http.Client) *V1NetworksNetworkInterfacesPutParams

NewV1NetworksNetworkInterfacesPutParamsWithHTTPClient creates a new V1NetworksNetworkInterfacesPutParams object with the ability to set a custom HTTPClient for a request.

func NewV1NetworksNetworkInterfacesPutParamsWithTimeout

func NewV1NetworksNetworkInterfacesPutParamsWithTimeout(timeout time.Duration) *V1NetworksNetworkInterfacesPutParams

NewV1NetworksNetworkInterfacesPutParamsWithTimeout creates a new V1NetworksNetworkInterfacesPutParams object with the ability to set a timeout on a request.

func (*V1NetworksNetworkInterfacesPutParams) SetBody

SetBody adds the body to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) SetContext

SetContext adds the context to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) SetDefaults

func (o *V1NetworksNetworkInterfacesPutParams) SetDefaults()

SetDefaults hydrates default values in the v1 networks network interfaces put params (not the query body).

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

func (*V1NetworksNetworkInterfacesPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) SetNetworkID

func (o *V1NetworksNetworkInterfacesPutParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) SetNetworkInterfaceID

func (o *V1NetworksNetworkInterfacesPutParams) SetNetworkInterfaceID(networkInterfaceID string)

SetNetworkInterfaceID adds the networkInterfaceId to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) SetTimeout

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

SetTimeout adds the timeout to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WithBody

WithBody adds the body to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WithContext

WithContext adds the context to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WithDefaults

WithDefaults hydrates default values in the v1 networks network interfaces put params (not the query body).

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

func (*V1NetworksNetworkInterfacesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WithNetworkID

WithNetworkID adds the networkID to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WithNetworkInterfaceID

func (o *V1NetworksNetworkInterfacesPutParams) WithNetworkInterfaceID(networkInterfaceID string) *V1NetworksNetworkInterfacesPutParams

WithNetworkInterfaceID adds the networkInterfaceID to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WithTimeout

WithTimeout adds the timeout to the v1 networks network interfaces put params

func (*V1NetworksNetworkInterfacesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V1NetworksNetworkInterfacesPutReader

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

V1NetworksNetworkInterfacesPutReader is a Reader for the V1NetworksNetworkInterfacesPut structure.

func (*V1NetworksNetworkInterfacesPutReader) ReadResponse

func (o *V1NetworksNetworkInterfacesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type V1NetworksNetworkInterfacesPutUnauthorized

type V1NetworksNetworkInterfacesPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1NetworksNetworkInterfacesPutUnauthorized

func NewV1NetworksNetworkInterfacesPutUnauthorized() *V1NetworksNetworkInterfacesPutUnauthorized

NewV1NetworksNetworkInterfacesPutUnauthorized creates a V1NetworksNetworkInterfacesPutUnauthorized with default headers values

func (*V1NetworksNetworkInterfacesPutUnauthorized) Code

Code gets the status code for the v1 networks network interfaces put unauthorized response

func (*V1NetworksNetworkInterfacesPutUnauthorized) Error

func (*V1NetworksNetworkInterfacesPutUnauthorized) GetPayload

func (*V1NetworksNetworkInterfacesPutUnauthorized) IsClientError

IsClientError returns true when this v1 networks network interfaces put unauthorized response has a 4xx status code

func (*V1NetworksNetworkInterfacesPutUnauthorized) IsCode

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

func (*V1NetworksNetworkInterfacesPutUnauthorized) IsRedirect

IsRedirect returns true when this v1 networks network interfaces put unauthorized response has a 3xx status code

func (*V1NetworksNetworkInterfacesPutUnauthorized) IsServerError

IsServerError returns true when this v1 networks network interfaces put unauthorized response has a 5xx status code

func (*V1NetworksNetworkInterfacesPutUnauthorized) IsSuccess

IsSuccess returns true when this v1 networks network interfaces put unauthorized response has a 2xx status code

func (*V1NetworksNetworkInterfacesPutUnauthorized) String

type V1NetworksNetworkInterfacesPutUnprocessableEntity

type V1NetworksNetworkInterfacesPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewV1NetworksNetworkInterfacesPutUnprocessableEntity

func NewV1NetworksNetworkInterfacesPutUnprocessableEntity() *V1NetworksNetworkInterfacesPutUnprocessableEntity

NewV1NetworksNetworkInterfacesPutUnprocessableEntity creates a V1NetworksNetworkInterfacesPutUnprocessableEntity with default headers values

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) Code

Code gets the status code for the v1 networks network interfaces put unprocessable entity response

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) Error

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) GetPayload

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) IsClientError

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

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) IsCode

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

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) IsRedirect

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

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) IsServerError

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

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) IsSuccess

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

func (*V1NetworksNetworkInterfacesPutUnprocessableEntity) String

Jump to

Keyboard shortcuts

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