Documentation ¶
Index ¶
- type Client
- func (a *Client) InternalV1OperationsNetworksDelete(params *InternalV1OperationsNetworksDeleteParams, ...) (*InternalV1OperationsNetworksDeleteNoContent, error)
- func (a *Client) InternalV1OperationsNetworksPost(params *InternalV1OperationsNetworksPostParams, ...) (*InternalV1OperationsNetworksPostCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type InternalV1OperationsNetworksDeleteBadRequest
- func (o *InternalV1OperationsNetworksDeleteBadRequest) Code() int
- func (o *InternalV1OperationsNetworksDeleteBadRequest) Error() string
- func (o *InternalV1OperationsNetworksDeleteBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteBadRequest) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteBadRequest) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteBadRequest) String() string
- type InternalV1OperationsNetworksDeleteForbidden
- func (o *InternalV1OperationsNetworksDeleteForbidden) Code() int
- func (o *InternalV1OperationsNetworksDeleteForbidden) Error() string
- func (o *InternalV1OperationsNetworksDeleteForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteForbidden) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteForbidden) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteForbidden) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteForbidden) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteForbidden) String() string
- type InternalV1OperationsNetworksDeleteGone
- func (o *InternalV1OperationsNetworksDeleteGone) Code() int
- func (o *InternalV1OperationsNetworksDeleteGone) Error() string
- func (o *InternalV1OperationsNetworksDeleteGone) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteGone) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteGone) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteGone) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteGone) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteGone) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteGone) String() string
- type InternalV1OperationsNetworksDeleteInternalServerError
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) Code() int
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) Error() string
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteInternalServerError) String() string
- type InternalV1OperationsNetworksDeleteNoContent
- func (o *InternalV1OperationsNetworksDeleteNoContent) Code() int
- func (o *InternalV1OperationsNetworksDeleteNoContent) Error() string
- func (o *InternalV1OperationsNetworksDeleteNoContent) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteNoContent) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteNoContent) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteNoContent) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteNoContent) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteNoContent) String() string
- type InternalV1OperationsNetworksDeleteNotFound
- func (o *InternalV1OperationsNetworksDeleteNotFound) Code() int
- func (o *InternalV1OperationsNetworksDeleteNotFound) Error() string
- func (o *InternalV1OperationsNetworksDeleteNotFound) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteNotFound) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteNotFound) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteNotFound) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteNotFound) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteNotFound) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteNotFound) String() string
- type InternalV1OperationsNetworksDeleteParams
- func NewInternalV1OperationsNetworksDeleteParams() *InternalV1OperationsNetworksDeleteParams
- func NewInternalV1OperationsNetworksDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsNetworksDeleteParams
- func NewInternalV1OperationsNetworksDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworksDeleteParams
- func NewInternalV1OperationsNetworksDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworksDeleteParams
- func (o *InternalV1OperationsNetworksDeleteParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsNetworksDeleteParams) SetDefaults()
- func (o *InternalV1OperationsNetworksDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsNetworksDeleteParams) SetResourceCrn(resourceCrn string)
- func (o *InternalV1OperationsNetworksDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsNetworksDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsNetworksDeleteParams
- func (o *InternalV1OperationsNetworksDeleteParams) WithDefaults() *InternalV1OperationsNetworksDeleteParams
- func (o *InternalV1OperationsNetworksDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworksDeleteParams
- func (o *InternalV1OperationsNetworksDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsNetworksDeleteParams
- func (o *InternalV1OperationsNetworksDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworksDeleteParams
- func (o *InternalV1OperationsNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsNetworksDeleteReader
- type InternalV1OperationsNetworksDeleteTooManyRequests
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) Code() int
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) Error() string
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteTooManyRequests) String() string
- type InternalV1OperationsNetworksDeleteUnauthorized
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) Code() int
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) Error() string
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsNetworksDeleteUnauthorized) String() string
- type InternalV1OperationsNetworksPostBadRequest
- func (o *InternalV1OperationsNetworksPostBadRequest) Code() int
- func (o *InternalV1OperationsNetworksPostBadRequest) Error() string
- func (o *InternalV1OperationsNetworksPostBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksPostBadRequest) IsClientError() bool
- func (o *InternalV1OperationsNetworksPostBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksPostBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsNetworksPostBadRequest) IsServerError() bool
- func (o *InternalV1OperationsNetworksPostBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsNetworksPostBadRequest) String() string
- type InternalV1OperationsNetworksPostCreated
- func (o *InternalV1OperationsNetworksPostCreated) Code() int
- func (o *InternalV1OperationsNetworksPostCreated) Error() string
- func (o *InternalV1OperationsNetworksPostCreated) GetPayload() *models.InternalOperationsResponse
- func (o *InternalV1OperationsNetworksPostCreated) IsClientError() bool
- func (o *InternalV1OperationsNetworksPostCreated) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksPostCreated) IsRedirect() bool
- func (o *InternalV1OperationsNetworksPostCreated) IsServerError() bool
- func (o *InternalV1OperationsNetworksPostCreated) IsSuccess() bool
- func (o *InternalV1OperationsNetworksPostCreated) String() string
- type InternalV1OperationsNetworksPostForbidden
- func (o *InternalV1OperationsNetworksPostForbidden) Code() int
- func (o *InternalV1OperationsNetworksPostForbidden) Error() string
- func (o *InternalV1OperationsNetworksPostForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksPostForbidden) IsClientError() bool
- func (o *InternalV1OperationsNetworksPostForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksPostForbidden) IsRedirect() bool
- func (o *InternalV1OperationsNetworksPostForbidden) IsServerError() bool
- func (o *InternalV1OperationsNetworksPostForbidden) IsSuccess() bool
- func (o *InternalV1OperationsNetworksPostForbidden) String() string
- type InternalV1OperationsNetworksPostInternalServerError
- func (o *InternalV1OperationsNetworksPostInternalServerError) Code() int
- func (o *InternalV1OperationsNetworksPostInternalServerError) Error() string
- func (o *InternalV1OperationsNetworksPostInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksPostInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsNetworksPostInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksPostInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsNetworksPostInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsNetworksPostInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsNetworksPostInternalServerError) String() string
- type InternalV1OperationsNetworksPostParams
- func NewInternalV1OperationsNetworksPostParams() *InternalV1OperationsNetworksPostParams
- func NewInternalV1OperationsNetworksPostParamsWithContext(ctx context.Context) *InternalV1OperationsNetworksPostParams
- func NewInternalV1OperationsNetworksPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworksPostParams
- func NewInternalV1OperationsNetworksPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworksPostParams
- func (o *InternalV1OperationsNetworksPostParams) SetBody(body *models.InternalOperationsRequest)
- func (o *InternalV1OperationsNetworksPostParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsNetworksPostParams) SetDefaults()
- func (o *InternalV1OperationsNetworksPostParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsNetworksPostParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsNetworksPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsNetworksPostParams
- func (o *InternalV1OperationsNetworksPostParams) WithContext(ctx context.Context) *InternalV1OperationsNetworksPostParams
- func (o *InternalV1OperationsNetworksPostParams) WithDefaults() *InternalV1OperationsNetworksPostParams
- func (o *InternalV1OperationsNetworksPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworksPostParams
- func (o *InternalV1OperationsNetworksPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworksPostParams
- func (o *InternalV1OperationsNetworksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsNetworksPostReader
- type InternalV1OperationsNetworksPostTooManyRequests
- func (o *InternalV1OperationsNetworksPostTooManyRequests) Code() int
- func (o *InternalV1OperationsNetworksPostTooManyRequests) Error() string
- func (o *InternalV1OperationsNetworksPostTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksPostTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsNetworksPostTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksPostTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsNetworksPostTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsNetworksPostTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsNetworksPostTooManyRequests) String() string
- type InternalV1OperationsNetworksPostUnauthorized
- func (o *InternalV1OperationsNetworksPostUnauthorized) Code() int
- func (o *InternalV1OperationsNetworksPostUnauthorized) Error() string
- func (o *InternalV1OperationsNetworksPostUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworksPostUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsNetworksPostUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsNetworksPostUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsNetworksPostUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsNetworksPostUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsNetworksPostUnauthorized) String() string
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 ¶
func (a *Client) InternalV1OperationsNetworksDelete(params *InternalV1OperationsNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworksDeleteNoContent, error)
InternalV1OperationsNetworksDelete deletes a network c r n
func (*Client) InternalV1OperationsNetworksPost ¶
func (a *Client) InternalV1OperationsNetworksPost(params *InternalV1OperationsNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworksPostCreated, error)
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 ¶
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 ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) Code() int
Code gets the status code for the internal v1 operations networks delete bad request response
func (*InternalV1OperationsNetworksDeleteBadRequest) Error ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) Error() string
func (*InternalV1OperationsNetworksDeleteBadRequest) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsNetworksDeleteBadRequest) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete bad request response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteBadRequest) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete bad request response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteBadRequest) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete bad request response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteBadRequest) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete bad request response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteBadRequest) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete bad request response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteBadRequest) String ¶
func (o *InternalV1OperationsNetworksDeleteBadRequest) String() string
type InternalV1OperationsNetworksDeleteForbidden ¶
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 ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) Code() int
Code gets the status code for the internal v1 operations networks delete forbidden response
func (*InternalV1OperationsNetworksDeleteForbidden) Error ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) Error() string
func (*InternalV1OperationsNetworksDeleteForbidden) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) GetPayload() *models.Error
func (*InternalV1OperationsNetworksDeleteForbidden) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete forbidden response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteForbidden) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete forbidden response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteForbidden) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete forbidden response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteForbidden) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete forbidden response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteForbidden) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete forbidden response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteForbidden) String ¶
func (o *InternalV1OperationsNetworksDeleteForbidden) String() string
type InternalV1OperationsNetworksDeleteGone ¶
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 ¶
func (o *InternalV1OperationsNetworksDeleteGone) Code() int
Code gets the status code for the internal v1 operations networks delete gone response
func (*InternalV1OperationsNetworksDeleteGone) Error ¶
func (o *InternalV1OperationsNetworksDeleteGone) Error() string
func (*InternalV1OperationsNetworksDeleteGone) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteGone) GetPayload() *models.Error
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 ¶
func (o *InternalV1OperationsNetworksDeleteGone) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete gone response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteGone) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteGone) IsRedirect() bool
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 ¶
func (o *InternalV1OperationsNetworksDeleteGone) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete gone response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteGone) String ¶
func (o *InternalV1OperationsNetworksDeleteGone) String() string
type InternalV1OperationsNetworksDeleteInternalServerError ¶
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 ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) Code() int
Code gets the status code for the internal v1 operations networks delete internal server error response
func (*InternalV1OperationsNetworksDeleteInternalServerError) Error ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) Error() string
func (*InternalV1OperationsNetworksDeleteInternalServerError) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsNetworksDeleteInternalServerError) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete internal server error response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteInternalServerError) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete internal server error response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete internal server error response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteInternalServerError) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete internal server error response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete internal server error response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteInternalServerError) String ¶
func (o *InternalV1OperationsNetworksDeleteInternalServerError) String() 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 ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) Code() int
Code gets the status code for the internal v1 operations networks delete no content response
func (*InternalV1OperationsNetworksDeleteNoContent) Error ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) Error() string
func (*InternalV1OperationsNetworksDeleteNoContent) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete no content response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteNoContent) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete no content response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteNoContent) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete no content response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteNoContent) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete no content response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteNoContent) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete no content response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteNoContent) String ¶
func (o *InternalV1OperationsNetworksDeleteNoContent) String() string
type InternalV1OperationsNetworksDeleteNotFound ¶
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 ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) Code() int
Code gets the status code for the internal v1 operations networks delete not found response
func (*InternalV1OperationsNetworksDeleteNotFound) Error ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) Error() string
func (*InternalV1OperationsNetworksDeleteNotFound) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) GetPayload() *models.Error
func (*InternalV1OperationsNetworksDeleteNotFound) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete not found response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteNotFound) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete not found response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteNotFound) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete not found response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteNotFound) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete not found response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteNotFound) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete not found response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteNotFound) String ¶
func (o *InternalV1OperationsNetworksDeleteNotFound) String() 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 ¶
func (o *InternalV1OperationsNetworksDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 operations networks delete params
func (*InternalV1OperationsNetworksDeleteParams) SetDefaults ¶
func (o *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 ¶
func (o *InternalV1OperationsNetworksDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 operations networks delete params
func (*InternalV1OperationsNetworksDeleteParams) WithContext ¶
func (o *InternalV1OperationsNetworksDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsNetworksDeleteParams
WithContext adds the context to the internal v1 operations networks delete params
func (*InternalV1OperationsNetworksDeleteParams) WithDefaults ¶
func (o *InternalV1OperationsNetworksDeleteParams) WithDefaults() *InternalV1OperationsNetworksDeleteParams
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 ¶
func (o *InternalV1OperationsNetworksDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworksDeleteParams
WithHTTPClient adds the HTTPClient to the internal v1 operations networks delete params
func (*InternalV1OperationsNetworksDeleteParams) WithResourceCrn ¶
func (o *InternalV1OperationsNetworksDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsNetworksDeleteParams
WithResourceCrn adds the resourceCrn to the internal v1 operations networks delete params
func (*InternalV1OperationsNetworksDeleteParams) WithTimeout ¶
func (o *InternalV1OperationsNetworksDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworksDeleteParams
WithTimeout adds the timeout to the internal v1 operations networks delete params
func (*InternalV1OperationsNetworksDeleteParams) WriteToRequest ¶
func (o *InternalV1OperationsNetworksDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) Code() int
Code gets the status code for the internal v1 operations networks delete too many requests response
func (*InternalV1OperationsNetworksDeleteTooManyRequests) Error ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) Error() string
func (*InternalV1OperationsNetworksDeleteTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete too many requests response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete too many requests response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete too many requests response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete too many requests response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete too many requests response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteTooManyRequests) String ¶
func (o *InternalV1OperationsNetworksDeleteTooManyRequests) String() string
type InternalV1OperationsNetworksDeleteUnauthorized ¶
type InternalV1OperationsNetworksDeleteUnauthorized struct {
}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 ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) Code() int
Code gets the status code for the internal v1 operations networks delete unauthorized response
func (*InternalV1OperationsNetworksDeleteUnauthorized) Error ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) Error() string
func (*InternalV1OperationsNetworksDeleteUnauthorized) GetPayload ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsNetworksDeleteUnauthorized) IsClientError ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations networks delete unauthorized response has a 4xx status code
func (*InternalV1OperationsNetworksDeleteUnauthorized) IsCode ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks delete unauthorized response a status code equal to that given
func (*InternalV1OperationsNetworksDeleteUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks delete unauthorized response has a 3xx status code
func (*InternalV1OperationsNetworksDeleteUnauthorized) IsServerError ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations networks delete unauthorized response has a 5xx status code
func (*InternalV1OperationsNetworksDeleteUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks delete unauthorized response has a 2xx status code
func (*InternalV1OperationsNetworksDeleteUnauthorized) String ¶
func (o *InternalV1OperationsNetworksDeleteUnauthorized) String() string
type InternalV1OperationsNetworksPostBadRequest ¶
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 ¶
func (o *InternalV1OperationsNetworksPostBadRequest) Code() int
Code gets the status code for the internal v1 operations networks post bad request response
func (*InternalV1OperationsNetworksPostBadRequest) Error ¶
func (o *InternalV1OperationsNetworksPostBadRequest) Error() string
func (*InternalV1OperationsNetworksPostBadRequest) GetPayload ¶
func (o *InternalV1OperationsNetworksPostBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsNetworksPostBadRequest) IsClientError ¶
func (o *InternalV1OperationsNetworksPostBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations networks post bad request response has a 4xx status code
func (*InternalV1OperationsNetworksPostBadRequest) IsCode ¶
func (o *InternalV1OperationsNetworksPostBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks post bad request response a status code equal to that given
func (*InternalV1OperationsNetworksPostBadRequest) IsRedirect ¶
func (o *InternalV1OperationsNetworksPostBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks post bad request response has a 3xx status code
func (*InternalV1OperationsNetworksPostBadRequest) IsServerError ¶
func (o *InternalV1OperationsNetworksPostBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations networks post bad request response has a 5xx status code
func (*InternalV1OperationsNetworksPostBadRequest) IsSuccess ¶
func (o *InternalV1OperationsNetworksPostBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks post bad request response has a 2xx status code
func (*InternalV1OperationsNetworksPostBadRequest) String ¶
func (o *InternalV1OperationsNetworksPostBadRequest) String() 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 ¶
func (o *InternalV1OperationsNetworksPostCreated) Code() int
Code gets the status code for the internal v1 operations networks post created response
func (*InternalV1OperationsNetworksPostCreated) Error ¶
func (o *InternalV1OperationsNetworksPostCreated) Error() string
func (*InternalV1OperationsNetworksPostCreated) GetPayload ¶
func (o *InternalV1OperationsNetworksPostCreated) GetPayload() *models.InternalOperationsResponse
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 ¶
func (o *InternalV1OperationsNetworksPostCreated) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks post created response a status code equal to that given
func (*InternalV1OperationsNetworksPostCreated) IsRedirect ¶
func (o *InternalV1OperationsNetworksPostCreated) IsRedirect() bool
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 ¶
func (o *InternalV1OperationsNetworksPostCreated) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks post created response has a 2xx status code
func (*InternalV1OperationsNetworksPostCreated) String ¶
func (o *InternalV1OperationsNetworksPostCreated) String() string
type InternalV1OperationsNetworksPostForbidden ¶
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 ¶
func (o *InternalV1OperationsNetworksPostForbidden) Code() int
Code gets the status code for the internal v1 operations networks post forbidden response
func (*InternalV1OperationsNetworksPostForbidden) Error ¶
func (o *InternalV1OperationsNetworksPostForbidden) Error() string
func (*InternalV1OperationsNetworksPostForbidden) GetPayload ¶
func (o *InternalV1OperationsNetworksPostForbidden) GetPayload() *models.Error
func (*InternalV1OperationsNetworksPostForbidden) IsClientError ¶
func (o *InternalV1OperationsNetworksPostForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations networks post forbidden response has a 4xx status code
func (*InternalV1OperationsNetworksPostForbidden) IsCode ¶
func (o *InternalV1OperationsNetworksPostForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks post forbidden response a status code equal to that given
func (*InternalV1OperationsNetworksPostForbidden) IsRedirect ¶
func (o *InternalV1OperationsNetworksPostForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks post forbidden response has a 3xx status code
func (*InternalV1OperationsNetworksPostForbidden) IsServerError ¶
func (o *InternalV1OperationsNetworksPostForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations networks post forbidden response has a 5xx status code
func (*InternalV1OperationsNetworksPostForbidden) IsSuccess ¶
func (o *InternalV1OperationsNetworksPostForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks post forbidden response has a 2xx status code
func (*InternalV1OperationsNetworksPostForbidden) String ¶
func (o *InternalV1OperationsNetworksPostForbidden) String() string
type InternalV1OperationsNetworksPostInternalServerError ¶
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 ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) Code() int
Code gets the status code for the internal v1 operations networks post internal server error response
func (*InternalV1OperationsNetworksPostInternalServerError) Error ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) Error() string
func (*InternalV1OperationsNetworksPostInternalServerError) GetPayload ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsNetworksPostInternalServerError) IsClientError ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations networks post internal server error response has a 4xx status code
func (*InternalV1OperationsNetworksPostInternalServerError) IsCode ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks post internal server error response a status code equal to that given
func (*InternalV1OperationsNetworksPostInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks post internal server error response has a 3xx status code
func (*InternalV1OperationsNetworksPostInternalServerError) IsServerError ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations networks post internal server error response has a 5xx status code
func (*InternalV1OperationsNetworksPostInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks post internal server error response has a 2xx status code
func (*InternalV1OperationsNetworksPostInternalServerError) String ¶
func (o *InternalV1OperationsNetworksPostInternalServerError) String() 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 ¶
func (o *InternalV1OperationsNetworksPostParams) SetBody(body *models.InternalOperationsRequest)
SetBody adds the body to the internal v1 operations networks post params
func (*InternalV1OperationsNetworksPostParams) SetContext ¶
func (o *InternalV1OperationsNetworksPostParams) SetContext(ctx context.Context)
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 ¶
func (o *InternalV1OperationsNetworksPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsNetworksPostParams
WithBody adds the body to the internal v1 operations networks post params
func (*InternalV1OperationsNetworksPostParams) WithContext ¶
func (o *InternalV1OperationsNetworksPostParams) WithContext(ctx context.Context) *InternalV1OperationsNetworksPostParams
WithContext adds the context to the internal v1 operations networks post params
func (*InternalV1OperationsNetworksPostParams) WithDefaults ¶
func (o *InternalV1OperationsNetworksPostParams) WithDefaults() *InternalV1OperationsNetworksPostParams
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 ¶
func (o *InternalV1OperationsNetworksPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworksPostParams
WithHTTPClient adds the HTTPClient to the internal v1 operations networks post params
func (*InternalV1OperationsNetworksPostParams) WithTimeout ¶
func (o *InternalV1OperationsNetworksPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworksPostParams
WithTimeout adds the timeout to the internal v1 operations networks post params
func (*InternalV1OperationsNetworksPostParams) WriteToRequest ¶
func (o *InternalV1OperationsNetworksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) Code() int
Code gets the status code for the internal v1 operations networks post too many requests response
func (*InternalV1OperationsNetworksPostTooManyRequests) Error ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) Error() string
func (*InternalV1OperationsNetworksPostTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsNetworksPostTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations networks post too many requests response has a 4xx status code
func (*InternalV1OperationsNetworksPostTooManyRequests) IsCode ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks post too many requests response a status code equal to that given
func (*InternalV1OperationsNetworksPostTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks post too many requests response has a 3xx status code
func (*InternalV1OperationsNetworksPostTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations networks post too many requests response has a 5xx status code
func (*InternalV1OperationsNetworksPostTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks post too many requests response has a 2xx status code
func (*InternalV1OperationsNetworksPostTooManyRequests) String ¶
func (o *InternalV1OperationsNetworksPostTooManyRequests) String() string
type InternalV1OperationsNetworksPostUnauthorized ¶
type InternalV1OperationsNetworksPostUnauthorized struct {
}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 ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) Code() int
Code gets the status code for the internal v1 operations networks post unauthorized response
func (*InternalV1OperationsNetworksPostUnauthorized) Error ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) Error() string
func (*InternalV1OperationsNetworksPostUnauthorized) GetPayload ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsNetworksPostUnauthorized) IsClientError ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations networks post unauthorized response has a 4xx status code
func (*InternalV1OperationsNetworksPostUnauthorized) IsCode ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations networks post unauthorized response a status code equal to that given
func (*InternalV1OperationsNetworksPostUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networks post unauthorized response has a 3xx status code
func (*InternalV1OperationsNetworksPostUnauthorized) IsServerError ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations networks post unauthorized response has a 5xx status code
func (*InternalV1OperationsNetworksPostUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networks post unauthorized response has a 2xx status code
func (*InternalV1OperationsNetworksPostUnauthorized) String ¶
func (o *InternalV1OperationsNetworksPostUnauthorized) String() string