Documentation
¶
Index ¶
- type Client
- func (a *Client) InternalV1OperationsNetworkinterfacesDelete(params *InternalV1OperationsNetworkinterfacesDeleteParams, ...) (*InternalV1OperationsNetworkinterfacesDeleteNoContent, error)
- func (a *Client) InternalV1OperationsNetworkinterfacesPost(params *InternalV1OperationsNetworkinterfacesPostParams, ...) (*InternalV1OperationsNetworkinterfacesPostCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type InternalV1OperationsNetworkinterfacesDeleteBadRequest
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) String() string
- type InternalV1OperationsNetworkinterfacesDeleteForbidden
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) String() string
- type InternalV1OperationsNetworkinterfacesDeleteGone
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteGone) String() string
- type InternalV1OperationsNetworkinterfacesDeleteInternalServerError
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) String() string
- type InternalV1OperationsNetworkinterfacesDeleteNoContent
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) String() string
- type InternalV1OperationsNetworkinterfacesDeleteNotFound
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) String() string
- type InternalV1OperationsNetworkinterfacesDeleteParams
- func NewInternalV1OperationsNetworkinterfacesDeleteParams() *InternalV1OperationsNetworkinterfacesDeleteParams
- func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesDeleteParams
- func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesDeleteParams
- func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetAuthorization(authorization string)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetCRN(cRN string)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetDefaults()
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetIBMUserAuthorization(iBMUserAuthorization string)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetResourceCrn(resourceCrn string)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithAuthorization(authorization string) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithCRN(cRN string) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithDefaults() *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesDeleteParams
- func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsNetworkinterfacesDeleteReader
- type InternalV1OperationsNetworkinterfacesDeleteTooManyRequests
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) String() string
- type InternalV1OperationsNetworkinterfacesDeleteUnauthorized
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Code() int
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Error() string
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) String() string
- type InternalV1OperationsNetworkinterfacesPostBadRequest
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) Code() int
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) Error() string
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) String() string
- type InternalV1OperationsNetworkinterfacesPostCreated
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) Code() int
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) Error() string
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) GetPayload() *models.InternalOperationsResponse
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesPostCreated) String() string
- type InternalV1OperationsNetworkinterfacesPostForbidden
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) Code() int
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) Error() string
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesPostForbidden) String() string
- type InternalV1OperationsNetworkinterfacesPostInternalServerError
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) Code() int
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) Error() string
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) String() string
- type InternalV1OperationsNetworkinterfacesPostParams
- func NewInternalV1OperationsNetworkinterfacesPostParams() *InternalV1OperationsNetworkinterfacesPostParams
- func NewInternalV1OperationsNetworkinterfacesPostParamsWithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesPostParams
- func NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesPostParams
- func NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetAuthorization(authorization string)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetBody(body *models.InternalOperationsRequest)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetCRN(cRN string)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetDefaults()
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetIBMUserAuthorization(iBMUserAuthorization string)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithAuthorization(authorization string) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithCRN(cRN string) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithDefaults() *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesPostParams
- func (o *InternalV1OperationsNetworkinterfacesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsNetworkinterfacesPostReader
- type InternalV1OperationsNetworkinterfacesPostTooManyRequests
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) Code() int
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) Error() string
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) String() string
- type InternalV1OperationsNetworkinterfacesPostUnauthorized
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) Code() int
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) Error() string
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) 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 network interfaces API
func (*Client) InternalV1OperationsNetworkinterfacesDelete ¶
func (a *Client) InternalV1OperationsNetworkinterfacesDelete(params *InternalV1OperationsNetworkinterfacesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworkinterfacesDeleteNoContent, error)
InternalV1OperationsNetworkinterfacesDelete deletes a network interfaces c r n
func (*Client) InternalV1OperationsNetworkinterfacesPost ¶
func (a *Client) InternalV1OperationsNetworkinterfacesPost(params *InternalV1OperationsNetworkinterfacesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworkinterfacesPostCreated, error)
InternalV1OperationsNetworkinterfacesPost creates a c r n for a network interface
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { InternalV1OperationsNetworkinterfacesDelete(params *InternalV1OperationsNetworkinterfacesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworkinterfacesDeleteNoContent, error) InternalV1OperationsNetworkinterfacesPost(params *InternalV1OperationsNetworkinterfacesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworkinterfacesPostCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new internal operations network interfaces API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new internal operations network interfaces API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new internal operations network interfaces API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type InternalV1OperationsNetworkinterfacesDeleteBadRequest ¶
InternalV1OperationsNetworkinterfacesDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInternalV1OperationsNetworkinterfacesDeleteBadRequest ¶
func NewInternalV1OperationsNetworkinterfacesDeleteBadRequest() *InternalV1OperationsNetworkinterfacesDeleteBadRequest
NewInternalV1OperationsNetworkinterfacesDeleteBadRequest creates a InternalV1OperationsNetworkinterfacesDeleteBadRequest with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete bad request response
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete bad request response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete bad request response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete bad request response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete bad request response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete bad request response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteBadRequest) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteBadRequest) String() string
type InternalV1OperationsNetworkinterfacesDeleteForbidden ¶
InternalV1OperationsNetworkinterfacesDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1OperationsNetworkinterfacesDeleteForbidden ¶
func NewInternalV1OperationsNetworkinterfacesDeleteForbidden() *InternalV1OperationsNetworkinterfacesDeleteForbidden
NewInternalV1OperationsNetworkinterfacesDeleteForbidden creates a InternalV1OperationsNetworkinterfacesDeleteForbidden with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete forbidden response
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete forbidden response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete forbidden response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete forbidden response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete forbidden response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete forbidden response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteForbidden) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteForbidden) String() string
type InternalV1OperationsNetworkinterfacesDeleteGone ¶
InternalV1OperationsNetworkinterfacesDeleteGone describes a response with status code 410, with default header values.
Gone
func NewInternalV1OperationsNetworkinterfacesDeleteGone ¶
func NewInternalV1OperationsNetworkinterfacesDeleteGone() *InternalV1OperationsNetworkinterfacesDeleteGone
NewInternalV1OperationsNetworkinterfacesDeleteGone creates a InternalV1OperationsNetworkinterfacesDeleteGone with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteGone) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete gone response
func (*InternalV1OperationsNetworkinterfacesDeleteGone) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteGone) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete gone response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete gone response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete gone response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete gone response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteGone) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete gone response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteGone) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteGone) String() string
type InternalV1OperationsNetworkinterfacesDeleteInternalServerError ¶
type InternalV1OperationsNetworkinterfacesDeleteInternalServerError struct {
Payload *models.Error
}
InternalV1OperationsNetworkinterfacesDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1OperationsNetworkinterfacesDeleteInternalServerError ¶
func NewInternalV1OperationsNetworkinterfacesDeleteInternalServerError() *InternalV1OperationsNetworkinterfacesDeleteInternalServerError
NewInternalV1OperationsNetworkinterfacesDeleteInternalServerError creates a InternalV1OperationsNetworkinterfacesDeleteInternalServerError with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete internal server error response
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete internal server error response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete internal server error response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete internal server error response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete internal server error response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete internal server error response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteInternalServerError) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteInternalServerError) String() string
type InternalV1OperationsNetworkinterfacesDeleteNoContent ¶
type InternalV1OperationsNetworkinterfacesDeleteNoContent struct { }
InternalV1OperationsNetworkinterfacesDeleteNoContent describes a response with status code 204, with default header values.
Deleted
func NewInternalV1OperationsNetworkinterfacesDeleteNoContent ¶
func NewInternalV1OperationsNetworkinterfacesDeleteNoContent() *InternalV1OperationsNetworkinterfacesDeleteNoContent
NewInternalV1OperationsNetworkinterfacesDeleteNoContent creates a InternalV1OperationsNetworkinterfacesDeleteNoContent with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete no content response
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete no content response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete no content response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete no content response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete no content response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete no content response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNoContent) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNoContent) String() string
type InternalV1OperationsNetworkinterfacesDeleteNotFound ¶
InternalV1OperationsNetworkinterfacesDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewInternalV1OperationsNetworkinterfacesDeleteNotFound ¶
func NewInternalV1OperationsNetworkinterfacesDeleteNotFound() *InternalV1OperationsNetworkinterfacesDeleteNotFound
NewInternalV1OperationsNetworkinterfacesDeleteNotFound creates a InternalV1OperationsNetworkinterfacesDeleteNotFound with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete not found response
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete not found response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete not found response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete not found response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete not found response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete not found response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteNotFound) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteNotFound) String() string
type InternalV1OperationsNetworkinterfacesDeleteParams ¶
type InternalV1OperationsNetworkinterfacesDeleteParams struct { /* Authorization. Authentication of the service token */ Authorization string /* CRN. the CRN of the workspace */ CRN string /* IBMUserAuthorization. Authentication of the operation account user */ IBMUserAuthorization string /* ResourceCrn. Encoded resource CRN, "/" to be encoded into "%2F", example 'crn:v1:staging:public:power-iaas:satloc_dal_clp2joc20ppo19876n50:a%2Fc7e6bd2517ad44eabbd61fcc25cf68d5:79bffc73-0035-4e7b-b34a-15da38927424:network:d8d51d44-053b-4df3-90b6-31fbe72ba600' */ ResourceCrn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1OperationsNetworkinterfacesDeleteParams contains all the parameters to send to the API endpoint
for the internal v1 operations networkinterfaces delete operation. Typically these are written to a http.Request.
func NewInternalV1OperationsNetworkinterfacesDeleteParams ¶
func NewInternalV1OperationsNetworkinterfacesDeleteParams() *InternalV1OperationsNetworkinterfacesDeleteParams
NewInternalV1OperationsNetworkinterfacesDeleteParams creates a new InternalV1OperationsNetworkinterfacesDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext ¶
func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesDeleteParams
NewInternalV1OperationsNetworkinterfacesDeleteParamsWithContext creates a new InternalV1OperationsNetworkinterfacesDeleteParams object with the ability to set a context for a request.
func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient ¶
func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesDeleteParams
NewInternalV1OperationsNetworkinterfacesDeleteParamsWithHTTPClient creates a new InternalV1OperationsNetworkinterfacesDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout ¶
func NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesDeleteParams
NewInternalV1OperationsNetworkinterfacesDeleteParamsWithTimeout creates a new InternalV1OperationsNetworkinterfacesDeleteParams object with the ability to set a timeout on a request.
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetCRN ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetCRN(cRN string)
SetCRN adds the cRN to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetContext ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetDefaults ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 operations networkinterfaces delete params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetHTTPClient ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetIBMUserAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetIBMUserAuthorization(iBMUserAuthorization string)
SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetResourceCrn ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetResourceCrn(resourceCrn string)
SetResourceCrn adds the resourceCrn to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) SetTimeout ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithAuthorization(authorization string) *InternalV1OperationsNetworkinterfacesDeleteParams
WithAuthorization adds the authorization to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithCRN ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithCRN(cRN string) *InternalV1OperationsNetworkinterfacesDeleteParams
WithCRN adds the cRN to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithContext ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesDeleteParams
WithContext adds the context to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithDefaults ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithDefaults() *InternalV1OperationsNetworkinterfacesDeleteParams
WithDefaults hydrates default values in the internal v1 operations networkinterfaces delete params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithHTTPClient ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesDeleteParams
WithHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithIBMUserAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsNetworkinterfacesDeleteParams
WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithResourceCrn ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsNetworkinterfacesDeleteParams
WithResourceCrn adds the resourceCrn to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WithTimeout ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesDeleteParams
WithTimeout adds the timeout to the internal v1 operations networkinterfaces delete params
func (*InternalV1OperationsNetworkinterfacesDeleteParams) WriteToRequest ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1OperationsNetworkinterfacesDeleteReader ¶
type InternalV1OperationsNetworkinterfacesDeleteReader struct {
// contains filtered or unexported fields
}
InternalV1OperationsNetworkinterfacesDeleteReader is a Reader for the InternalV1OperationsNetworkinterfacesDelete structure.
func (*InternalV1OperationsNetworkinterfacesDeleteReader) ReadResponse ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1OperationsNetworkinterfacesDeleteTooManyRequests ¶
InternalV1OperationsNetworkinterfacesDeleteTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewInternalV1OperationsNetworkinterfacesDeleteTooManyRequests ¶
func NewInternalV1OperationsNetworkinterfacesDeleteTooManyRequests() *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests
NewInternalV1OperationsNetworkinterfacesDeleteTooManyRequests creates a InternalV1OperationsNetworkinterfacesDeleteTooManyRequests with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete too many requests response
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete too many requests response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete too many requests response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete too many requests response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete too many requests response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete too many requests response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteTooManyRequests) String() string
type InternalV1OperationsNetworkinterfacesDeleteUnauthorized ¶
type InternalV1OperationsNetworkinterfacesDeleteUnauthorized struct {
}InternalV1OperationsNetworkinterfacesDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1OperationsNetworkinterfacesDeleteUnauthorized ¶
func NewInternalV1OperationsNetworkinterfacesDeleteUnauthorized() *InternalV1OperationsNetworkinterfacesDeleteUnauthorized
NewInternalV1OperationsNetworkinterfacesDeleteUnauthorized creates a InternalV1OperationsNetworkinterfacesDeleteUnauthorized with default headers values
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Code ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Code() int
Code gets the status code for the internal v1 operations networkinterfaces delete unauthorized response
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Error ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) Error() string
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces delete unauthorized response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces delete unauthorized response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesDeleteUnauthorized) String ¶
func (o *InternalV1OperationsNetworkinterfacesDeleteUnauthorized) String() string
type InternalV1OperationsNetworkinterfacesPostBadRequest ¶
InternalV1OperationsNetworkinterfacesPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInternalV1OperationsNetworkinterfacesPostBadRequest ¶
func NewInternalV1OperationsNetworkinterfacesPostBadRequest() *InternalV1OperationsNetworkinterfacesPostBadRequest
NewInternalV1OperationsNetworkinterfacesPostBadRequest creates a InternalV1OperationsNetworkinterfacesPostBadRequest with default headers values
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) Code ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) Code() int
Code gets the status code for the internal v1 operations networkinterfaces post bad request response
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) Error ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) Error() string
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces post bad request response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces post bad request response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces post bad request response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces post bad request response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces post bad request response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesPostBadRequest) String ¶
func (o *InternalV1OperationsNetworkinterfacesPostBadRequest) String() string
type InternalV1OperationsNetworkinterfacesPostCreated ¶
type InternalV1OperationsNetworkinterfacesPostCreated struct {
Payload *models.InternalOperationsResponse
}
InternalV1OperationsNetworkinterfacesPostCreated describes a response with status code 201, with default header values.
Created
func NewInternalV1OperationsNetworkinterfacesPostCreated ¶
func NewInternalV1OperationsNetworkinterfacesPostCreated() *InternalV1OperationsNetworkinterfacesPostCreated
NewInternalV1OperationsNetworkinterfacesPostCreated creates a InternalV1OperationsNetworkinterfacesPostCreated with default headers values
func (*InternalV1OperationsNetworkinterfacesPostCreated) Code ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) Code() int
Code gets the status code for the internal v1 operations networkinterfaces post created response
func (*InternalV1OperationsNetworkinterfacesPostCreated) Error ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) Error() string
func (*InternalV1OperationsNetworkinterfacesPostCreated) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) GetPayload() *models.InternalOperationsResponse
func (*InternalV1OperationsNetworkinterfacesPostCreated) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces post created response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesPostCreated) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces post created response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesPostCreated) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces post created response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesPostCreated) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces post created response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesPostCreated) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces post created response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesPostCreated) String ¶
func (o *InternalV1OperationsNetworkinterfacesPostCreated) String() string
type InternalV1OperationsNetworkinterfacesPostForbidden ¶
InternalV1OperationsNetworkinterfacesPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1OperationsNetworkinterfacesPostForbidden ¶
func NewInternalV1OperationsNetworkinterfacesPostForbidden() *InternalV1OperationsNetworkinterfacesPostForbidden
NewInternalV1OperationsNetworkinterfacesPostForbidden creates a InternalV1OperationsNetworkinterfacesPostForbidden with default headers values
func (*InternalV1OperationsNetworkinterfacesPostForbidden) Code ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) Code() int
Code gets the status code for the internal v1 operations networkinterfaces post forbidden response
func (*InternalV1OperationsNetworkinterfacesPostForbidden) Error ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) Error() string
func (*InternalV1OperationsNetworkinterfacesPostForbidden) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces post forbidden response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces post forbidden response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces post forbidden response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces post forbidden response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesPostForbidden) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces post forbidden response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesPostForbidden) String ¶
func (o *InternalV1OperationsNetworkinterfacesPostForbidden) String() string
type InternalV1OperationsNetworkinterfacesPostInternalServerError ¶
InternalV1OperationsNetworkinterfacesPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1OperationsNetworkinterfacesPostInternalServerError ¶
func NewInternalV1OperationsNetworkinterfacesPostInternalServerError() *InternalV1OperationsNetworkinterfacesPostInternalServerError
NewInternalV1OperationsNetworkinterfacesPostInternalServerError creates a InternalV1OperationsNetworkinterfacesPostInternalServerError with default headers values
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) Code ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) Code() int
Code gets the status code for the internal v1 operations networkinterfaces post internal server error response
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) Error ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) Error() string
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces post internal server error response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces post internal server error response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces post internal server error response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces post internal server error response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces post internal server error response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesPostInternalServerError) String ¶
func (o *InternalV1OperationsNetworkinterfacesPostInternalServerError) String() string
type InternalV1OperationsNetworkinterfacesPostParams ¶
type InternalV1OperationsNetworkinterfacesPostParams struct { /* Authorization. Authentication of the service token */ Authorization string /* CRN. the CRN of the workspace */ CRN string /* IBMUserAuthorization. Authentication of the operation account user */ IBMUserAuthorization string /* Body. Parameters for creating a Network Interface CRN */ Body *models.InternalOperationsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1OperationsNetworkinterfacesPostParams contains all the parameters to send to the API endpoint
for the internal v1 operations networkinterfaces post operation. Typically these are written to a http.Request.
func NewInternalV1OperationsNetworkinterfacesPostParams ¶
func NewInternalV1OperationsNetworkinterfacesPostParams() *InternalV1OperationsNetworkinterfacesPostParams
NewInternalV1OperationsNetworkinterfacesPostParams creates a new InternalV1OperationsNetworkinterfacesPostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1OperationsNetworkinterfacesPostParamsWithContext ¶
func NewInternalV1OperationsNetworkinterfacesPostParamsWithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesPostParams
NewInternalV1OperationsNetworkinterfacesPostParamsWithContext creates a new InternalV1OperationsNetworkinterfacesPostParams object with the ability to set a context for a request.
func NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient ¶
func NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesPostParams
NewInternalV1OperationsNetworkinterfacesPostParamsWithHTTPClient creates a new InternalV1OperationsNetworkinterfacesPostParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout ¶
func NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesPostParams
NewInternalV1OperationsNetworkinterfacesPostParamsWithTimeout creates a new InternalV1OperationsNetworkinterfacesPostParams object with the ability to set a timeout on a request.
func (*InternalV1OperationsNetworkinterfacesPostParams) SetAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) SetBody ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetBody(body *models.InternalOperationsRequest)
SetBody adds the body to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) SetCRN ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetCRN(cRN string)
SetCRN adds the cRN to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) SetContext ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) SetDefaults ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 operations networkinterfaces post params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsNetworkinterfacesPostParams) SetHTTPClient ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) SetIBMUserAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetIBMUserAuthorization(iBMUserAuthorization string)
SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) SetTimeout ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithAuthorization(authorization string) *InternalV1OperationsNetworkinterfacesPostParams
WithAuthorization adds the authorization to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithBody ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsNetworkinterfacesPostParams
WithBody adds the body to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithCRN ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithCRN(cRN string) *InternalV1OperationsNetworkinterfacesPostParams
WithCRN adds the cRN to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithContext ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithContext(ctx context.Context) *InternalV1OperationsNetworkinterfacesPostParams
WithContext adds the context to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithDefaults ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithDefaults() *InternalV1OperationsNetworkinterfacesPostParams
WithDefaults hydrates default values in the internal v1 operations networkinterfaces post params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsNetworkinterfacesPostParams) WithHTTPClient ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsNetworkinterfacesPostParams
WithHTTPClient adds the HTTPClient to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithIBMUserAuthorization ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsNetworkinterfacesPostParams
WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WithTimeout ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsNetworkinterfacesPostParams
WithTimeout adds the timeout to the internal v1 operations networkinterfaces post params
func (*InternalV1OperationsNetworkinterfacesPostParams) WriteToRequest ¶
func (o *InternalV1OperationsNetworkinterfacesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1OperationsNetworkinterfacesPostReader ¶
type InternalV1OperationsNetworkinterfacesPostReader struct {
// contains filtered or unexported fields
}
InternalV1OperationsNetworkinterfacesPostReader is a Reader for the InternalV1OperationsNetworkinterfacesPost structure.
func (*InternalV1OperationsNetworkinterfacesPostReader) ReadResponse ¶
func (o *InternalV1OperationsNetworkinterfacesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1OperationsNetworkinterfacesPostTooManyRequests ¶
InternalV1OperationsNetworkinterfacesPostTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewInternalV1OperationsNetworkinterfacesPostTooManyRequests ¶
func NewInternalV1OperationsNetworkinterfacesPostTooManyRequests() *InternalV1OperationsNetworkinterfacesPostTooManyRequests
NewInternalV1OperationsNetworkinterfacesPostTooManyRequests creates a InternalV1OperationsNetworkinterfacesPostTooManyRequests with default headers values
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) Code ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) Code() int
Code gets the status code for the internal v1 operations networkinterfaces post too many requests response
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) Error ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) Error() string
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces post too many requests response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces post too many requests response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces post too many requests response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces post too many requests response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces post too many requests response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesPostTooManyRequests) String ¶
func (o *InternalV1OperationsNetworkinterfacesPostTooManyRequests) String() string
type InternalV1OperationsNetworkinterfacesPostUnauthorized ¶
type InternalV1OperationsNetworkinterfacesPostUnauthorized struct {
}InternalV1OperationsNetworkinterfacesPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1OperationsNetworkinterfacesPostUnauthorized ¶
func NewInternalV1OperationsNetworkinterfacesPostUnauthorized() *InternalV1OperationsNetworkinterfacesPostUnauthorized
NewInternalV1OperationsNetworkinterfacesPostUnauthorized creates a InternalV1OperationsNetworkinterfacesPostUnauthorized with default headers values
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) Code ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) Code() int
Code gets the status code for the internal v1 operations networkinterfaces post unauthorized response
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) Error ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) Error() string
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) GetPayload ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsClientError ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations networkinterfaces post unauthorized response has a 4xx status code
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsCode ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations networkinterfaces post unauthorized response a status code equal to that given
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations networkinterfaces post unauthorized response has a 3xx status code
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsServerError ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations networkinterfaces post unauthorized response has a 5xx status code
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations networkinterfaces post unauthorized response has a 2xx status code
func (*InternalV1OperationsNetworkinterfacesPostUnauthorized) String ¶
func (o *InternalV1OperationsNetworkinterfacesPostUnauthorized) String() string