internal_operations_network_interfaces

package
v1.10.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 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 internal operations network interfaces API

func (*Client) InternalV1OperationsNetworkinterfacesDelete

InternalV1OperationsNetworkinterfacesDelete deletes a network interfaces c r n

func (*Client) InternalV1OperationsNetworkinterfacesPost

InternalV1OperationsNetworkinterfacesPost creates a c r n for a network interface

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	InternalV1OperationsNetworkinterfacesDelete(params *InternalV1OperationsNetworkinterfacesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworkinterfacesDeleteNoContent, error)

	InternalV1OperationsNetworkinterfacesPost(params *InternalV1OperationsNetworkinterfacesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworkinterfacesPostCreated, 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 internal operations network interfaces API client.

func NewClientWithBasicAuth

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

New creates a new internal operations network interfaces 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 internal operations network interfaces 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 InternalV1OperationsNetworkinterfacesDeleteBadRequest

type InternalV1OperationsNetworkinterfacesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewInternalV1OperationsNetworkinterfacesDeleteBadRequest

func NewInternalV1OperationsNetworkinterfacesDeleteBadRequest() *InternalV1OperationsNetworkinterfacesDeleteBadRequest

NewInternalV1OperationsNetworkinterfacesDeleteBadRequest creates a InternalV1OperationsNetworkinterfacesDeleteBadRequest with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) Code

Code gets the status code for the internal v1 operations networkinterfaces delete bad request response

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) Error

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete bad request response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete bad request response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete bad request response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete bad request response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete bad request response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) String

type InternalV1OperationsNetworkinterfacesDeleteForbidden

type InternalV1OperationsNetworkinterfacesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewInternalV1OperationsNetworkinterfacesDeleteForbidden

func NewInternalV1OperationsNetworkinterfacesDeleteForbidden() *InternalV1OperationsNetworkinterfacesDeleteForbidden

NewInternalV1OperationsNetworkinterfacesDeleteForbidden creates a InternalV1OperationsNetworkinterfacesDeleteForbidden with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) Code

Code gets the status code for the internal v1 operations networkinterfaces delete forbidden response

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) Error

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete forbidden response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete forbidden response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete forbidden response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete forbidden response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete forbidden response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) String

type InternalV1OperationsNetworkinterfacesDeleteGone

type InternalV1OperationsNetworkinterfacesDeleteGone struct {
	Payload *models.Error
}

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

Gone

func NewInternalV1OperationsNetworkinterfacesDeleteGone

func NewInternalV1OperationsNetworkinterfacesDeleteGone() *InternalV1OperationsNetworkinterfacesDeleteGone

NewInternalV1OperationsNetworkinterfacesDeleteGone creates a InternalV1OperationsNetworkinterfacesDeleteGone with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteGone) Code

Code gets the status code for the internal v1 operations networkinterfaces delete gone response

func (*InternalV1OperationsNetworkinterfacesDeleteGone) Error

func (*InternalV1OperationsNetworkinterfacesDeleteGone) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete gone response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete gone response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete gone response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete gone response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete gone response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteGone) String

type InternalV1OperationsNetworkinterfacesDeleteInternalServerError

type InternalV1OperationsNetworkinterfacesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewInternalV1OperationsNetworkinterfacesDeleteInternalServerError

func NewInternalV1OperationsNetworkinterfacesDeleteInternalServerError() *InternalV1OperationsNetworkinterfacesDeleteInternalServerError

NewInternalV1OperationsNetworkinterfacesDeleteInternalServerError creates a InternalV1OperationsNetworkinterfacesDeleteInternalServerError with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Code

Code gets the status code for the internal v1 operations networkinterfaces delete internal server error response

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Error

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete internal server error response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete internal server error response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete internal server error response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete internal server error response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete internal server error response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) String

type InternalV1OperationsNetworkinterfacesDeleteNoContent

type InternalV1OperationsNetworkinterfacesDeleteNoContent struct {
}

InternalV1OperationsNetworkinterfacesDeleteNoContent describes a response with status code 204, with default header values.

Deleted

func NewInternalV1OperationsNetworkinterfacesDeleteNoContent

func NewInternalV1OperationsNetworkinterfacesDeleteNoContent() *InternalV1OperationsNetworkinterfacesDeleteNoContent

NewInternalV1OperationsNetworkinterfacesDeleteNoContent creates a InternalV1OperationsNetworkinterfacesDeleteNoContent with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) Code

Code gets the status code for the internal v1 operations networkinterfaces delete no content response

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) Error

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete no content response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete no content response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete no content response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete no content response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete no content response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) String

type InternalV1OperationsNetworkinterfacesDeleteNotFound

type InternalV1OperationsNetworkinterfacesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewInternalV1OperationsNetworkinterfacesDeleteNotFound

func NewInternalV1OperationsNetworkinterfacesDeleteNotFound() *InternalV1OperationsNetworkinterfacesDeleteNotFound

NewInternalV1OperationsNetworkinterfacesDeleteNotFound creates a InternalV1OperationsNetworkinterfacesDeleteNotFound with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) Code

Code gets the status code for the internal v1 operations networkinterfaces delete not found response

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) Error

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete not found response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete not found response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete not found response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete not found response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete not found response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) String

type InternalV1OperationsNetworkinterfacesDeleteParams

type InternalV1OperationsNetworkinterfacesDeleteParams struct {

	/* Authorization.

	   Authentication of the service token
	*/
	Authorization string

	/* CRN.

	   the CRN of the workspace
	*/
	CRN string

	/* IBMUserAuthorization.

	   Authentication of the operation account user
	*/
	IBMUserAuthorization string

	/* ResourceCrn.

	   Encoded resource CRN, "/" to be encoded into "%2F", example 'crn:v1:staging:public:power-iaas:satloc_dal_clp2joc20ppo19876n50:a%2Fc7e6bd2517ad44eabbd61fcc25cf68d5:79bffc73-0035-4e7b-b34a-15da38927424:network:d8d51d44-053b-4df3-90b6-31fbe72ba600'
	*/
	ResourceCrn string

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

InternalV1OperationsNetworkinterfacesDeleteParams contains all the parameters to send to the API endpoint

for the internal v1 operations networkinterfaces delete operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsNetworkinterfacesDeleteParams

func NewInternalV1OperationsNetworkinterfacesDeleteParams() *InternalV1OperationsNetworkinterfacesDeleteParams

NewInternalV1OperationsNetworkinterfacesDeleteParams creates a new InternalV1OperationsNetworkinterfacesDeleteParams 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 NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext

func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesDeleteParams

NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext creates a new InternalV1OperationsNetworkinterfacesDeleteParams object with the ability to set a context for a request.

func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient

func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesDeleteParams

NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient creates a new InternalV1OperationsNetworkinterfacesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout

func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesDeleteParams

NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout creates a new InternalV1OperationsNetworkinterfacesDeleteParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetAuthorization

func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetCRN

SetCRN adds the cRN to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetContext

SetContext adds the context to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetDefaults

SetDefaults hydrates default values in the internal v1 operations networkinterfaces delete params (not the query body).

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

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetIBMUserAuthorization

func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetIBMUserAuthorization(iBMUserAuthorization string)

SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetResourceCrn

func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetResourceCrn(resourceCrn string)

SetResourceCrn adds the resourceCrn to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetTimeout

SetTimeout adds the timeout to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithAuthorization

WithAuthorization adds the authorization to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithCRN

WithCRN adds the cRN to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithContext

WithContext adds the context to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithDefaults

WithDefaults hydrates default values in the internal v1 operations networkinterfaces delete params (not the query body).

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

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithIBMUserAuthorization

WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithResourceCrn

WithResourceCrn adds the resourceCrn to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithTimeout

WithTimeout adds the timeout to the internal v1 operations networkinterfaces delete params

func (*InternalV1OperationsNetworkinterfacesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsNetworkinterfacesDeleteReader

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

InternalV1OperationsNetworkinterfacesDeleteReader is a Reader for the InternalV1OperationsNetworkinterfacesDelete structure.

func (*InternalV1OperationsNetworkinterfacesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1OperationsNetworkinterfacesDeleteTooManyRequests

type InternalV1OperationsNetworkinterfacesDeleteTooManyRequests struct {
	Payload *models.Error
}

InternalV1OperationsNetworkinterfacesDeleteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewInternalV1OperationsNetworkinterfacesDeleteTooManyRequests

func NewInternalV1OperationsNetworkinterfacesDeleteTooManyRequests() *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests

NewInternalV1OperationsNetworkinterfacesDeleteTooManyRequests creates a InternalV1OperationsNetworkinterfacesDeleteTooManyRequests with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Code

Code gets the status code for the internal v1 operations networkinterfaces delete too many requests response

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Error

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete too many requests response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete too many requests response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete too many requests response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete too many requests response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete too many requests response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) String

type InternalV1OperationsNetworkinterfacesDeleteUnauthorized

type InternalV1OperationsNetworkinterfacesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewInternalV1OperationsNetworkinterfacesDeleteUnauthorized

func NewInternalV1OperationsNetworkinterfacesDeleteUnauthorized() *InternalV1OperationsNetworkinterfacesDeleteUnauthorized

NewInternalV1OperationsNetworkinterfacesDeleteUnauthorized creates a InternalV1OperationsNetworkinterfacesDeleteUnauthorized with default headers values

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Code

Code gets the status code for the internal v1 operations networkinterfaces delete unauthorized response

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Error

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) GetPayload

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsCode

IsCode returns true when this internal v1 operations networkinterfaces delete unauthorized response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) String

type InternalV1OperationsNetworkinterfacesPostBadRequest

type InternalV1OperationsNetworkinterfacesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewInternalV1OperationsNetworkinterfacesPostBadRequest

func NewInternalV1OperationsNetworkinterfacesPostBadRequest() *InternalV1OperationsNetworkinterfacesPostBadRequest

NewInternalV1OperationsNetworkinterfacesPostBadRequest creates a InternalV1OperationsNetworkinterfacesPostBadRequest with default headers values

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) Code

Code gets the status code for the internal v1 operations networkinterfaces post bad request response

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) Error

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) GetPayload

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces post bad request response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsCode

IsCode returns true when this internal v1 operations networkinterfaces post bad request response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces post bad request response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces post bad request response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces post bad request response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesPostBadRequest) String

type InternalV1OperationsNetworkinterfacesPostCreated

type InternalV1OperationsNetworkinterfacesPostCreated struct {
	Payload *models.InternalOperationsResponse
}

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

Created

func NewInternalV1OperationsNetworkinterfacesPostCreated

func NewInternalV1OperationsNetworkinterfacesPostCreated() *InternalV1OperationsNetworkinterfacesPostCreated

NewInternalV1OperationsNetworkinterfacesPostCreated creates a InternalV1OperationsNetworkinterfacesPostCreated with default headers values

func (*InternalV1OperationsNetworkinterfacesPostCreated) Code

Code gets the status code for the internal v1 operations networkinterfaces post created response

func (*InternalV1OperationsNetworkinterfacesPostCreated) Error

func (*InternalV1OperationsNetworkinterfacesPostCreated) GetPayload

func (*InternalV1OperationsNetworkinterfacesPostCreated) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces post created response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesPostCreated) IsCode

IsCode returns true when this internal v1 operations networkinterfaces post created response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesPostCreated) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces post created response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesPostCreated) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces post created response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesPostCreated) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces post created response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesPostCreated) String

type InternalV1OperationsNetworkinterfacesPostForbidden

type InternalV1OperationsNetworkinterfacesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewInternalV1OperationsNetworkinterfacesPostForbidden

func NewInternalV1OperationsNetworkinterfacesPostForbidden() *InternalV1OperationsNetworkinterfacesPostForbidden

NewInternalV1OperationsNetworkinterfacesPostForbidden creates a InternalV1OperationsNetworkinterfacesPostForbidden with default headers values

func (*InternalV1OperationsNetworkinterfacesPostForbidden) Code

Code gets the status code for the internal v1 operations networkinterfaces post forbidden response

func (*InternalV1OperationsNetworkinterfacesPostForbidden) Error

func (*InternalV1OperationsNetworkinterfacesPostForbidden) GetPayload

func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces post forbidden response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsCode

IsCode returns true when this internal v1 operations networkinterfaces post forbidden response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces post forbidden response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces post forbidden response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces post forbidden response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesPostForbidden) String

type InternalV1OperationsNetworkinterfacesPostInternalServerError

type InternalV1OperationsNetworkinterfacesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewInternalV1OperationsNetworkinterfacesPostInternalServerError

func NewInternalV1OperationsNetworkinterfacesPostInternalServerError() *InternalV1OperationsNetworkinterfacesPostInternalServerError

NewInternalV1OperationsNetworkinterfacesPostInternalServerError creates a InternalV1OperationsNetworkinterfacesPostInternalServerError with default headers values

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) Code

Code gets the status code for the internal v1 operations networkinterfaces post internal server error response

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) Error

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) GetPayload

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces post internal server error response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsCode

IsCode returns true when this internal v1 operations networkinterfaces post internal server error response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces post internal server error response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces post internal server error response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces post internal server error response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) String

type InternalV1OperationsNetworkinterfacesPostParams

type InternalV1OperationsNetworkinterfacesPostParams struct {

	/* Authorization.

	   Authentication of the service token
	*/
	Authorization string

	/* CRN.

	   the CRN of the workspace
	*/
	CRN string

	/* IBMUserAuthorization.

	   Authentication of the operation account user
	*/
	IBMUserAuthorization string

	/* Body.

	   Parameters for creating a Network Interface CRN
	*/
	Body *models.InternalOperationsRequest

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

InternalV1OperationsNetworkinterfacesPostParams contains all the parameters to send to the API endpoint

for the internal v1 operations networkinterfaces post operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsNetworkinterfacesPostParams

func NewInternalV1OperationsNetworkinterfacesPostParams() *InternalV1OperationsNetworkinterfacesPostParams

NewInternalV1OperationsNetworkinterfacesPostParams creates a new InternalV1OperationsNetworkinterfacesPostParams 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 NewInternalV1OperationsNetworkinterfacesPostParamsWithContext

func NewInternalV1OperationsNetworkinterfacesPostParamsWithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesPostParams

NewInternalV1OperationsNetworkinterfacesPostParamsWithContext creates a new InternalV1OperationsNetworkinterfacesPostParams object with the ability to set a context for a request.

func NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient

func NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesPostParams

NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient creates a new InternalV1OperationsNetworkinterfacesPostParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout

func NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesPostParams

NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout creates a new InternalV1OperationsNetworkinterfacesPostParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsNetworkinterfacesPostParams) SetAuthorization

func (o *InternalV1OperationsNetworkinterfacesPostParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) SetBody

SetBody adds the body to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) SetCRN

SetCRN adds the cRN to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) SetContext

SetContext adds the context to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) SetDefaults

SetDefaults hydrates default values in the internal v1 operations networkinterfaces post params (not the query body).

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

func (*InternalV1OperationsNetworkinterfacesPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) SetIBMUserAuthorization

func (o *InternalV1OperationsNetworkinterfacesPostParams) SetIBMUserAuthorization(iBMUserAuthorization string)

SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) SetTimeout

SetTimeout adds the timeout to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithAuthorization

WithAuthorization adds the authorization to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithBody

WithBody adds the body to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithCRN

WithCRN adds the cRN to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithContext

WithContext adds the context to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithDefaults

WithDefaults hydrates default values in the internal v1 operations networkinterfaces post params (not the query body).

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

func (*InternalV1OperationsNetworkinterfacesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithIBMUserAuthorization

WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WithTimeout

WithTimeout adds the timeout to the internal v1 operations networkinterfaces post params

func (*InternalV1OperationsNetworkinterfacesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsNetworkinterfacesPostReader

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

InternalV1OperationsNetworkinterfacesPostReader is a Reader for the InternalV1OperationsNetworkinterfacesPost structure.

func (*InternalV1OperationsNetworkinterfacesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1OperationsNetworkinterfacesPostTooManyRequests

type InternalV1OperationsNetworkinterfacesPostTooManyRequests struct {
	Payload *models.Error
}

InternalV1OperationsNetworkinterfacesPostTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewInternalV1OperationsNetworkinterfacesPostTooManyRequests

func NewInternalV1OperationsNetworkinterfacesPostTooManyRequests() *InternalV1OperationsNetworkinterfacesPostTooManyRequests

NewInternalV1OperationsNetworkinterfacesPostTooManyRequests creates a InternalV1OperationsNetworkinterfacesPostTooManyRequests with default headers values

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) Code

Code gets the status code for the internal v1 operations networkinterfaces post too many requests response

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) Error

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) GetPayload

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces post too many requests response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsCode

IsCode returns true when this internal v1 operations networkinterfaces post too many requests response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces post too many requests response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces post too many requests response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces post too many requests response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) String

type InternalV1OperationsNetworkinterfacesPostUnauthorized

type InternalV1OperationsNetworkinterfacesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewInternalV1OperationsNetworkinterfacesPostUnauthorized

func NewInternalV1OperationsNetworkinterfacesPostUnauthorized() *InternalV1OperationsNetworkinterfacesPostUnauthorized

NewInternalV1OperationsNetworkinterfacesPostUnauthorized creates a InternalV1OperationsNetworkinterfacesPostUnauthorized with default headers values

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) Code

Code gets the status code for the internal v1 operations networkinterfaces post unauthorized response

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) Error

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) GetPayload

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsClientError

IsClientError returns true when this internal v1 operations networkinterfaces post unauthorized response has a 4xx status code

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsCode

IsCode returns true when this internal v1 operations networkinterfaces post unauthorized response a status code equal to that given

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsRedirect

IsRedirect returns true when this internal v1 operations networkinterfaces post unauthorized response has a 3xx status code

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsServerError

IsServerError returns true when this internal v1 operations networkinterfaces post unauthorized response has a 5xx status code

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsSuccess

IsSuccess returns true when this internal v1 operations networkinterfaces post unauthorized response has a 2xx status code

func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) String

Jump to

Keyboard shortcuts

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