internal_operations_networks

package
v1.9.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 internal operations networks API

func (*Client) InternalV1OperationsNetworksDelete

InternalV1OperationsNetworksDelete deletes a network c r n

func (*Client) InternalV1OperationsNetworksPost

InternalV1OperationsNetworksPost creates a c r n for a network

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	InternalV1OperationsNetworksDelete(params *InternalV1OperationsNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworksDeleteNoContent, error)

	InternalV1OperationsNetworksPost(params *InternalV1OperationsNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworksPostCreated, 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 networks API client.

func NewClientWithBasicAuth

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

New creates a new internal operations 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 internal operations 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 InternalV1OperationsNetworksDeleteBadRequest

type InternalV1OperationsNetworksDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewInternalV1OperationsNetworksDeleteBadRequest

func NewInternalV1OperationsNetworksDeleteBadRequest() *InternalV1OperationsNetworksDeleteBadRequest

NewInternalV1OperationsNetworksDeleteBadRequest creates a InternalV1OperationsNetworksDeleteBadRequest with default headers values

func (*InternalV1OperationsNetworksDeleteBadRequest) Code

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

func (*InternalV1OperationsNetworksDeleteBadRequest) Error

func (*InternalV1OperationsNetworksDeleteBadRequest) GetPayload

func (*InternalV1OperationsNetworksDeleteBadRequest) IsClientError

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

func (*InternalV1OperationsNetworksDeleteBadRequest) IsCode

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

func (*InternalV1OperationsNetworksDeleteBadRequest) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteBadRequest) IsServerError

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

func (*InternalV1OperationsNetworksDeleteBadRequest) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteBadRequest) String

type InternalV1OperationsNetworksDeleteForbidden

type InternalV1OperationsNetworksDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewInternalV1OperationsNetworksDeleteForbidden

func NewInternalV1OperationsNetworksDeleteForbidden() *InternalV1OperationsNetworksDeleteForbidden

NewInternalV1OperationsNetworksDeleteForbidden creates a InternalV1OperationsNetworksDeleteForbidden with default headers values

func (*InternalV1OperationsNetworksDeleteForbidden) Code

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

func (*InternalV1OperationsNetworksDeleteForbidden) Error

func (*InternalV1OperationsNetworksDeleteForbidden) GetPayload

func (*InternalV1OperationsNetworksDeleteForbidden) IsClientError

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

func (*InternalV1OperationsNetworksDeleteForbidden) IsCode

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

func (*InternalV1OperationsNetworksDeleteForbidden) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteForbidden) IsServerError

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

func (*InternalV1OperationsNetworksDeleteForbidden) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteForbidden) String

type InternalV1OperationsNetworksDeleteGone

type InternalV1OperationsNetworksDeleteGone struct {
	Payload *models.Error
}

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

Gone

func NewInternalV1OperationsNetworksDeleteGone

func NewInternalV1OperationsNetworksDeleteGone() *InternalV1OperationsNetworksDeleteGone

NewInternalV1OperationsNetworksDeleteGone creates a InternalV1OperationsNetworksDeleteGone with default headers values

func (*InternalV1OperationsNetworksDeleteGone) Code

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

func (*InternalV1OperationsNetworksDeleteGone) Error

func (*InternalV1OperationsNetworksDeleteGone) GetPayload

func (*InternalV1OperationsNetworksDeleteGone) IsClientError

func (o *InternalV1OperationsNetworksDeleteGone) IsClientError() bool

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

func (*InternalV1OperationsNetworksDeleteGone) IsCode

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

func (*InternalV1OperationsNetworksDeleteGone) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteGone) IsServerError

func (o *InternalV1OperationsNetworksDeleteGone) IsServerError() bool

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

func (*InternalV1OperationsNetworksDeleteGone) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteGone) String

type InternalV1OperationsNetworksDeleteInternalServerError

type InternalV1OperationsNetworksDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewInternalV1OperationsNetworksDeleteInternalServerError

func NewInternalV1OperationsNetworksDeleteInternalServerError() *InternalV1OperationsNetworksDeleteInternalServerError

NewInternalV1OperationsNetworksDeleteInternalServerError creates a InternalV1OperationsNetworksDeleteInternalServerError with default headers values

func (*InternalV1OperationsNetworksDeleteInternalServerError) Code

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

func (*InternalV1OperationsNetworksDeleteInternalServerError) Error

func (*InternalV1OperationsNetworksDeleteInternalServerError) GetPayload

func (*InternalV1OperationsNetworksDeleteInternalServerError) IsClientError

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

func (*InternalV1OperationsNetworksDeleteInternalServerError) IsCode

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

func (*InternalV1OperationsNetworksDeleteInternalServerError) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteInternalServerError) IsServerError

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

func (*InternalV1OperationsNetworksDeleteInternalServerError) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteInternalServerError) String

type InternalV1OperationsNetworksDeleteNoContent

type InternalV1OperationsNetworksDeleteNoContent struct {
}

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

Deleted

func NewInternalV1OperationsNetworksDeleteNoContent

func NewInternalV1OperationsNetworksDeleteNoContent() *InternalV1OperationsNetworksDeleteNoContent

NewInternalV1OperationsNetworksDeleteNoContent creates a InternalV1OperationsNetworksDeleteNoContent with default headers values

func (*InternalV1OperationsNetworksDeleteNoContent) Code

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

func (*InternalV1OperationsNetworksDeleteNoContent) Error

func (*InternalV1OperationsNetworksDeleteNoContent) IsClientError

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

func (*InternalV1OperationsNetworksDeleteNoContent) IsCode

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

func (*InternalV1OperationsNetworksDeleteNoContent) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteNoContent) IsServerError

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

func (*InternalV1OperationsNetworksDeleteNoContent) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteNoContent) String

type InternalV1OperationsNetworksDeleteNotFound

type InternalV1OperationsNetworksDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewInternalV1OperationsNetworksDeleteNotFound

func NewInternalV1OperationsNetworksDeleteNotFound() *InternalV1OperationsNetworksDeleteNotFound

NewInternalV1OperationsNetworksDeleteNotFound creates a InternalV1OperationsNetworksDeleteNotFound with default headers values

func (*InternalV1OperationsNetworksDeleteNotFound) Code

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

func (*InternalV1OperationsNetworksDeleteNotFound) Error

func (*InternalV1OperationsNetworksDeleteNotFound) GetPayload

func (*InternalV1OperationsNetworksDeleteNotFound) IsClientError

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

func (*InternalV1OperationsNetworksDeleteNotFound) IsCode

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

func (*InternalV1OperationsNetworksDeleteNotFound) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteNotFound) IsServerError

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

func (*InternalV1OperationsNetworksDeleteNotFound) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteNotFound) String

type InternalV1OperationsNetworksDeleteParams

type InternalV1OperationsNetworksDeleteParams struct {

	/* 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
}

InternalV1OperationsNetworksDeleteParams contains all the parameters to send to the API endpoint

for the internal v1 operations networks delete operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsNetworksDeleteParams

func NewInternalV1OperationsNetworksDeleteParams() *InternalV1OperationsNetworksDeleteParams

NewInternalV1OperationsNetworksDeleteParams creates a new InternalV1OperationsNetworksDeleteParams 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 NewInternalV1OperationsNetworksDeleteParamsWithContext

func NewInternalV1OperationsNetworksDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsNetworksDeleteParams

NewInternalV1OperationsNetworksDeleteParamsWithContext creates a new InternalV1OperationsNetworksDeleteParams object with the ability to set a context for a request.

func NewInternalV1OperationsNetworksDeleteParamsWithHTTPClient

func NewInternalV1OperationsNetworksDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworksDeleteParams

NewInternalV1OperationsNetworksDeleteParamsWithHTTPClient creates a new InternalV1OperationsNetworksDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsNetworksDeleteParamsWithTimeout

func NewInternalV1OperationsNetworksDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworksDeleteParams

NewInternalV1OperationsNetworksDeleteParamsWithTimeout creates a new InternalV1OperationsNetworksDeleteParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsNetworksDeleteParams) SetContext

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

func (*InternalV1OperationsNetworksDeleteParams) SetDefaults

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

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

func (*InternalV1OperationsNetworksDeleteParams) SetHTTPClient

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

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

func (*InternalV1OperationsNetworksDeleteParams) SetResourceCrn

func (o *InternalV1OperationsNetworksDeleteParams) SetResourceCrn(resourceCrn string)

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

func (*InternalV1OperationsNetworksDeleteParams) SetTimeout

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

func (*InternalV1OperationsNetworksDeleteParams) WithContext

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

func (*InternalV1OperationsNetworksDeleteParams) WithDefaults

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

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

func (*InternalV1OperationsNetworksDeleteParams) WithHTTPClient

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

func (*InternalV1OperationsNetworksDeleteParams) WithResourceCrn

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

func (*InternalV1OperationsNetworksDeleteParams) WithTimeout

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

func (*InternalV1OperationsNetworksDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsNetworksDeleteReader

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

InternalV1OperationsNetworksDeleteReader is a Reader for the InternalV1OperationsNetworksDelete structure.

func (*InternalV1OperationsNetworksDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1OperationsNetworksDeleteTooManyRequests

type InternalV1OperationsNetworksDeleteTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewInternalV1OperationsNetworksDeleteTooManyRequests

func NewInternalV1OperationsNetworksDeleteTooManyRequests() *InternalV1OperationsNetworksDeleteTooManyRequests

NewInternalV1OperationsNetworksDeleteTooManyRequests creates a InternalV1OperationsNetworksDeleteTooManyRequests with default headers values

func (*InternalV1OperationsNetworksDeleteTooManyRequests) Code

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

func (*InternalV1OperationsNetworksDeleteTooManyRequests) Error

func (*InternalV1OperationsNetworksDeleteTooManyRequests) GetPayload

func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsClientError

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

func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsCode

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

func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsServerError

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

func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteTooManyRequests) String

type InternalV1OperationsNetworksDeleteUnauthorized

type InternalV1OperationsNetworksDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewInternalV1OperationsNetworksDeleteUnauthorized

func NewInternalV1OperationsNetworksDeleteUnauthorized() *InternalV1OperationsNetworksDeleteUnauthorized

NewInternalV1OperationsNetworksDeleteUnauthorized creates a InternalV1OperationsNetworksDeleteUnauthorized with default headers values

func (*InternalV1OperationsNetworksDeleteUnauthorized) Code

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

func (*InternalV1OperationsNetworksDeleteUnauthorized) Error

func (*InternalV1OperationsNetworksDeleteUnauthorized) GetPayload

func (*InternalV1OperationsNetworksDeleteUnauthorized) IsClientError

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

func (*InternalV1OperationsNetworksDeleteUnauthorized) IsCode

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

func (*InternalV1OperationsNetworksDeleteUnauthorized) IsRedirect

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

func (*InternalV1OperationsNetworksDeleteUnauthorized) IsServerError

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

func (*InternalV1OperationsNetworksDeleteUnauthorized) IsSuccess

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

func (*InternalV1OperationsNetworksDeleteUnauthorized) String

type InternalV1OperationsNetworksPostBadRequest

type InternalV1OperationsNetworksPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewInternalV1OperationsNetworksPostBadRequest

func NewInternalV1OperationsNetworksPostBadRequest() *InternalV1OperationsNetworksPostBadRequest

NewInternalV1OperationsNetworksPostBadRequest creates a InternalV1OperationsNetworksPostBadRequest with default headers values

func (*InternalV1OperationsNetworksPostBadRequest) Code

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

func (*InternalV1OperationsNetworksPostBadRequest) Error

func (*InternalV1OperationsNetworksPostBadRequest) GetPayload

func (*InternalV1OperationsNetworksPostBadRequest) IsClientError

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

func (*InternalV1OperationsNetworksPostBadRequest) IsCode

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

func (*InternalV1OperationsNetworksPostBadRequest) IsRedirect

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

func (*InternalV1OperationsNetworksPostBadRequest) IsServerError

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

func (*InternalV1OperationsNetworksPostBadRequest) IsSuccess

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

func (*InternalV1OperationsNetworksPostBadRequest) String

type InternalV1OperationsNetworksPostCreated

type InternalV1OperationsNetworksPostCreated struct {
	Payload *models.InternalOperationsResponse
}

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

Created

func NewInternalV1OperationsNetworksPostCreated

func NewInternalV1OperationsNetworksPostCreated() *InternalV1OperationsNetworksPostCreated

NewInternalV1OperationsNetworksPostCreated creates a InternalV1OperationsNetworksPostCreated with default headers values

func (*InternalV1OperationsNetworksPostCreated) Code

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

func (*InternalV1OperationsNetworksPostCreated) Error

func (*InternalV1OperationsNetworksPostCreated) GetPayload

func (*InternalV1OperationsNetworksPostCreated) IsClientError

func (o *InternalV1OperationsNetworksPostCreated) IsClientError() bool

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

func (*InternalV1OperationsNetworksPostCreated) IsCode

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

func (*InternalV1OperationsNetworksPostCreated) IsRedirect

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

func (*InternalV1OperationsNetworksPostCreated) IsServerError

func (o *InternalV1OperationsNetworksPostCreated) IsServerError() bool

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

func (*InternalV1OperationsNetworksPostCreated) IsSuccess

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

func (*InternalV1OperationsNetworksPostCreated) String

type InternalV1OperationsNetworksPostForbidden

type InternalV1OperationsNetworksPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewInternalV1OperationsNetworksPostForbidden

func NewInternalV1OperationsNetworksPostForbidden() *InternalV1OperationsNetworksPostForbidden

NewInternalV1OperationsNetworksPostForbidden creates a InternalV1OperationsNetworksPostForbidden with default headers values

func (*InternalV1OperationsNetworksPostForbidden) Code

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

func (*InternalV1OperationsNetworksPostForbidden) Error

func (*InternalV1OperationsNetworksPostForbidden) GetPayload

func (*InternalV1OperationsNetworksPostForbidden) IsClientError

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

func (*InternalV1OperationsNetworksPostForbidden) IsCode

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

func (*InternalV1OperationsNetworksPostForbidden) IsRedirect

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

func (*InternalV1OperationsNetworksPostForbidden) IsServerError

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

func (*InternalV1OperationsNetworksPostForbidden) IsSuccess

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

func (*InternalV1OperationsNetworksPostForbidden) String

type InternalV1OperationsNetworksPostInternalServerError

type InternalV1OperationsNetworksPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewInternalV1OperationsNetworksPostInternalServerError

func NewInternalV1OperationsNetworksPostInternalServerError() *InternalV1OperationsNetworksPostInternalServerError

NewInternalV1OperationsNetworksPostInternalServerError creates a InternalV1OperationsNetworksPostInternalServerError with default headers values

func (*InternalV1OperationsNetworksPostInternalServerError) Code

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

func (*InternalV1OperationsNetworksPostInternalServerError) Error

func (*InternalV1OperationsNetworksPostInternalServerError) GetPayload

func (*InternalV1OperationsNetworksPostInternalServerError) IsClientError

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

func (*InternalV1OperationsNetworksPostInternalServerError) IsCode

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

func (*InternalV1OperationsNetworksPostInternalServerError) IsRedirect

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

func (*InternalV1OperationsNetworksPostInternalServerError) IsServerError

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

func (*InternalV1OperationsNetworksPostInternalServerError) IsSuccess

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

func (*InternalV1OperationsNetworksPostInternalServerError) String

type InternalV1OperationsNetworksPostParams

type InternalV1OperationsNetworksPostParams struct {

	/* Body.

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

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

InternalV1OperationsNetworksPostParams contains all the parameters to send to the API endpoint

for the internal v1 operations networks post operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsNetworksPostParams

func NewInternalV1OperationsNetworksPostParams() *InternalV1OperationsNetworksPostParams

NewInternalV1OperationsNetworksPostParams creates a new InternalV1OperationsNetworksPostParams 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 NewInternalV1OperationsNetworksPostParamsWithContext

func NewInternalV1OperationsNetworksPostParamsWithContext(ctx context.Context) *InternalV1OperationsNetworksPostParams

NewInternalV1OperationsNetworksPostParamsWithContext creates a new InternalV1OperationsNetworksPostParams object with the ability to set a context for a request.

func NewInternalV1OperationsNetworksPostParamsWithHTTPClient

func NewInternalV1OperationsNetworksPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworksPostParams

NewInternalV1OperationsNetworksPostParamsWithHTTPClient creates a new InternalV1OperationsNetworksPostParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsNetworksPostParamsWithTimeout

func NewInternalV1OperationsNetworksPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworksPostParams

NewInternalV1OperationsNetworksPostParamsWithTimeout creates a new InternalV1OperationsNetworksPostParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsNetworksPostParams) SetBody

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

func (*InternalV1OperationsNetworksPostParams) SetContext

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

func (*InternalV1OperationsNetworksPostParams) SetDefaults

func (o *InternalV1OperationsNetworksPostParams) SetDefaults()

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

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

func (*InternalV1OperationsNetworksPostParams) SetHTTPClient

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

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

func (*InternalV1OperationsNetworksPostParams) SetTimeout

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

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

func (*InternalV1OperationsNetworksPostParams) WithBody

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

func (*InternalV1OperationsNetworksPostParams) WithContext

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

func (*InternalV1OperationsNetworksPostParams) WithDefaults

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

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

func (*InternalV1OperationsNetworksPostParams) WithHTTPClient

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

func (*InternalV1OperationsNetworksPostParams) WithTimeout

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

func (*InternalV1OperationsNetworksPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsNetworksPostReader

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

InternalV1OperationsNetworksPostReader is a Reader for the InternalV1OperationsNetworksPost structure.

func (*InternalV1OperationsNetworksPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1OperationsNetworksPostTooManyRequests

type InternalV1OperationsNetworksPostTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewInternalV1OperationsNetworksPostTooManyRequests

func NewInternalV1OperationsNetworksPostTooManyRequests() *InternalV1OperationsNetworksPostTooManyRequests

NewInternalV1OperationsNetworksPostTooManyRequests creates a InternalV1OperationsNetworksPostTooManyRequests with default headers values

func (*InternalV1OperationsNetworksPostTooManyRequests) Code

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

func (*InternalV1OperationsNetworksPostTooManyRequests) Error

func (*InternalV1OperationsNetworksPostTooManyRequests) GetPayload

func (*InternalV1OperationsNetworksPostTooManyRequests) IsClientError

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

func (*InternalV1OperationsNetworksPostTooManyRequests) IsCode

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

func (*InternalV1OperationsNetworksPostTooManyRequests) IsRedirect

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

func (*InternalV1OperationsNetworksPostTooManyRequests) IsServerError

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

func (*InternalV1OperationsNetworksPostTooManyRequests) IsSuccess

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

func (*InternalV1OperationsNetworksPostTooManyRequests) String

type InternalV1OperationsNetworksPostUnauthorized

type InternalV1OperationsNetworksPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewInternalV1OperationsNetworksPostUnauthorized

func NewInternalV1OperationsNetworksPostUnauthorized() *InternalV1OperationsNetworksPostUnauthorized

NewInternalV1OperationsNetworksPostUnauthorized creates a InternalV1OperationsNetworksPostUnauthorized with default headers values

func (*InternalV1OperationsNetworksPostUnauthorized) Code

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

func (*InternalV1OperationsNetworksPostUnauthorized) Error

func (*InternalV1OperationsNetworksPostUnauthorized) GetPayload

func (*InternalV1OperationsNetworksPostUnauthorized) IsClientError

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

func (*InternalV1OperationsNetworksPostUnauthorized) IsCode

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

func (*InternalV1OperationsNetworksPostUnauthorized) IsRedirect

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

func (*InternalV1OperationsNetworksPostUnauthorized) IsServerError

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

func (*InternalV1OperationsNetworksPostUnauthorized) IsSuccess

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

func (*InternalV1OperationsNetworksPostUnauthorized) String

Jump to

Keyboard shortcuts

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