Documentation ¶
Index ¶
- type AddSecurityGroupRuleBadRequest
- func (o *AddSecurityGroupRuleBadRequest) Code() int
- func (o *AddSecurityGroupRuleBadRequest) Error() string
- func (o *AddSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *AddSecurityGroupRuleBadRequest) IsClientError() bool
- func (o *AddSecurityGroupRuleBadRequest) IsCode(code int) bool
- func (o *AddSecurityGroupRuleBadRequest) IsRedirect() bool
- func (o *AddSecurityGroupRuleBadRequest) IsServerError() bool
- func (o *AddSecurityGroupRuleBadRequest) IsSuccess() bool
- func (o *AddSecurityGroupRuleBadRequest) String() string
- type AddSecurityGroupRuleConflict
- func (o *AddSecurityGroupRuleConflict) Code() int
- func (o *AddSecurityGroupRuleConflict) Error() string
- func (o *AddSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
- func (o *AddSecurityGroupRuleConflict) IsClientError() bool
- func (o *AddSecurityGroupRuleConflict) IsCode(code int) bool
- func (o *AddSecurityGroupRuleConflict) IsRedirect() bool
- func (o *AddSecurityGroupRuleConflict) IsServerError() bool
- func (o *AddSecurityGroupRuleConflict) IsSuccess() bool
- func (o *AddSecurityGroupRuleConflict) String() string
- type AddSecurityGroupRuleInternalServerError
- func (o *AddSecurityGroupRuleInternalServerError) Code() int
- func (o *AddSecurityGroupRuleInternalServerError) Error() string
- func (o *AddSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *AddSecurityGroupRuleInternalServerError) IsClientError() bool
- func (o *AddSecurityGroupRuleInternalServerError) IsCode(code int) bool
- func (o *AddSecurityGroupRuleInternalServerError) IsRedirect() bool
- func (o *AddSecurityGroupRuleInternalServerError) IsServerError() bool
- func (o *AddSecurityGroupRuleInternalServerError) IsSuccess() bool
- func (o *AddSecurityGroupRuleInternalServerError) String() string
- type AddSecurityGroupRuleNoContent
- func (o *AddSecurityGroupRuleNoContent) Code() int
- func (o *AddSecurityGroupRuleNoContent) Error() string
- func (o *AddSecurityGroupRuleNoContent) IsClientError() bool
- func (o *AddSecurityGroupRuleNoContent) IsCode(code int) bool
- func (o *AddSecurityGroupRuleNoContent) IsRedirect() bool
- func (o *AddSecurityGroupRuleNoContent) IsServerError() bool
- func (o *AddSecurityGroupRuleNoContent) IsSuccess() bool
- func (o *AddSecurityGroupRuleNoContent) String() string
- type AddSecurityGroupRuleNotFound
- func (o *AddSecurityGroupRuleNotFound) Code() int
- func (o *AddSecurityGroupRuleNotFound) Error() string
- func (o *AddSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *AddSecurityGroupRuleNotFound) IsClientError() bool
- func (o *AddSecurityGroupRuleNotFound) IsCode(code int) bool
- func (o *AddSecurityGroupRuleNotFound) IsRedirect() bool
- func (o *AddSecurityGroupRuleNotFound) IsServerError() bool
- func (o *AddSecurityGroupRuleNotFound) IsSuccess() bool
- func (o *AddSecurityGroupRuleNotFound) String() string
- type AddSecurityGroupRuleParams
- func NewAddSecurityGroupRuleParams() *AddSecurityGroupRuleParams
- func NewAddSecurityGroupRuleParamsWithContext(ctx context.Context) *AddSecurityGroupRuleParams
- func NewAddSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *AddSecurityGroupRuleParams
- func NewAddSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) SetBody(body *vproxy_client_model.SecurityGroupRuleCreate)
- func (o *AddSecurityGroupRuleParams) SetContext(ctx context.Context)
- func (o *AddSecurityGroupRuleParams) SetDefaults()
- func (o *AddSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
- func (o *AddSecurityGroupRuleParams) SetSecg(secg string)
- func (o *AddSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
- func (o *AddSecurityGroupRuleParams) WithBody(body *vproxy_client_model.SecurityGroupRuleCreate) *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) WithContext(ctx context.Context) *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) WithDefaults() *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) WithSecg(secg string) *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *AddSecurityGroupRuleParams
- func (o *AddSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSecurityGroupRuleReader
- type Client
- func (a *Client) AddSecurityGroupRule(params *AddSecurityGroupRuleParams, opts ...ClientOption) (*AddSecurityGroupRuleNoContent, error)
- func (a *Client) DescribeSecurityGroupRule(params *DescribeSecurityGroupRuleParams, opts ...ClientOption) (*DescribeSecurityGroupRuleOK, error)
- func (a *Client) GetSecurityGroupRule(params *GetSecurityGroupRuleParams, opts ...ClientOption) (*GetSecurityGroupRuleOK, error)
- func (a *Client) ListSecurityGroupRule(params *ListSecurityGroupRuleParams, opts ...ClientOption) (*ListSecurityGroupRuleOK, error)
- func (a *Client) RemoveSecurityGroupRule(params *RemoveSecurityGroupRuleParams, opts ...ClientOption) (*RemoveSecurityGroupRuleNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DescribeSecurityGroupRuleBadRequest
- func (o *DescribeSecurityGroupRuleBadRequest) Code() int
- func (o *DescribeSecurityGroupRuleBadRequest) Error() string
- func (o *DescribeSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *DescribeSecurityGroupRuleBadRequest) IsClientError() bool
- func (o *DescribeSecurityGroupRuleBadRequest) IsCode(code int) bool
- func (o *DescribeSecurityGroupRuleBadRequest) IsRedirect() bool
- func (o *DescribeSecurityGroupRuleBadRequest) IsServerError() bool
- func (o *DescribeSecurityGroupRuleBadRequest) IsSuccess() bool
- func (o *DescribeSecurityGroupRuleBadRequest) String() string
- type DescribeSecurityGroupRuleConflict
- func (o *DescribeSecurityGroupRuleConflict) Code() int
- func (o *DescribeSecurityGroupRuleConflict) Error() string
- func (o *DescribeSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
- func (o *DescribeSecurityGroupRuleConflict) IsClientError() bool
- func (o *DescribeSecurityGroupRuleConflict) IsCode(code int) bool
- func (o *DescribeSecurityGroupRuleConflict) IsRedirect() bool
- func (o *DescribeSecurityGroupRuleConflict) IsServerError() bool
- func (o *DescribeSecurityGroupRuleConflict) IsSuccess() bool
- func (o *DescribeSecurityGroupRuleConflict) String() string
- type DescribeSecurityGroupRuleInternalServerError
- func (o *DescribeSecurityGroupRuleInternalServerError) Code() int
- func (o *DescribeSecurityGroupRuleInternalServerError) Error() string
- func (o *DescribeSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *DescribeSecurityGroupRuleInternalServerError) IsClientError() bool
- func (o *DescribeSecurityGroupRuleInternalServerError) IsCode(code int) bool
- func (o *DescribeSecurityGroupRuleInternalServerError) IsRedirect() bool
- func (o *DescribeSecurityGroupRuleInternalServerError) IsServerError() bool
- func (o *DescribeSecurityGroupRuleInternalServerError) IsSuccess() bool
- func (o *DescribeSecurityGroupRuleInternalServerError) String() string
- type DescribeSecurityGroupRuleNotFound
- func (o *DescribeSecurityGroupRuleNotFound) Code() int
- func (o *DescribeSecurityGroupRuleNotFound) Error() string
- func (o *DescribeSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *DescribeSecurityGroupRuleNotFound) IsClientError() bool
- func (o *DescribeSecurityGroupRuleNotFound) IsCode(code int) bool
- func (o *DescribeSecurityGroupRuleNotFound) IsRedirect() bool
- func (o *DescribeSecurityGroupRuleNotFound) IsServerError() bool
- func (o *DescribeSecurityGroupRuleNotFound) IsSuccess() bool
- func (o *DescribeSecurityGroupRuleNotFound) String() string
- type DescribeSecurityGroupRuleOK
- func (o *DescribeSecurityGroupRuleOK) Code() int
- func (o *DescribeSecurityGroupRuleOK) Error() string
- func (o *DescribeSecurityGroupRuleOK) GetPayload() *vproxy_client_model.SecurityGroupRuleDetail
- func (o *DescribeSecurityGroupRuleOK) IsClientError() bool
- func (o *DescribeSecurityGroupRuleOK) IsCode(code int) bool
- func (o *DescribeSecurityGroupRuleOK) IsRedirect() bool
- func (o *DescribeSecurityGroupRuleOK) IsServerError() bool
- func (o *DescribeSecurityGroupRuleOK) IsSuccess() bool
- func (o *DescribeSecurityGroupRuleOK) String() string
- type DescribeSecurityGroupRuleParams
- func NewDescribeSecurityGroupRuleParams() *DescribeSecurityGroupRuleParams
- func NewDescribeSecurityGroupRuleParamsWithContext(ctx context.Context) *DescribeSecurityGroupRuleParams
- func NewDescribeSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *DescribeSecurityGroupRuleParams
- func NewDescribeSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) SetContext(ctx context.Context)
- func (o *DescribeSecurityGroupRuleParams) SetDefaults()
- func (o *DescribeSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
- func (o *DescribeSecurityGroupRuleParams) SetSecg(secg string)
- func (o *DescribeSecurityGroupRuleParams) SetSecgr(secgr string)
- func (o *DescribeSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
- func (o *DescribeSecurityGroupRuleParams) WithContext(ctx context.Context) *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) WithDefaults() *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) WithSecg(secg string) *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) WithSecgr(secgr string) *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *DescribeSecurityGroupRuleParams
- func (o *DescribeSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeSecurityGroupRuleReader
- type GetSecurityGroupRuleBadRequest
- func (o *GetSecurityGroupRuleBadRequest) Code() int
- func (o *GetSecurityGroupRuleBadRequest) Error() string
- func (o *GetSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *GetSecurityGroupRuleBadRequest) IsClientError() bool
- func (o *GetSecurityGroupRuleBadRequest) IsCode(code int) bool
- func (o *GetSecurityGroupRuleBadRequest) IsRedirect() bool
- func (o *GetSecurityGroupRuleBadRequest) IsServerError() bool
- func (o *GetSecurityGroupRuleBadRequest) IsSuccess() bool
- func (o *GetSecurityGroupRuleBadRequest) String() string
- type GetSecurityGroupRuleConflict
- func (o *GetSecurityGroupRuleConflict) Code() int
- func (o *GetSecurityGroupRuleConflict) Error() string
- func (o *GetSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
- func (o *GetSecurityGroupRuleConflict) IsClientError() bool
- func (o *GetSecurityGroupRuleConflict) IsCode(code int) bool
- func (o *GetSecurityGroupRuleConflict) IsRedirect() bool
- func (o *GetSecurityGroupRuleConflict) IsServerError() bool
- func (o *GetSecurityGroupRuleConflict) IsSuccess() bool
- func (o *GetSecurityGroupRuleConflict) String() string
- type GetSecurityGroupRuleInternalServerError
- func (o *GetSecurityGroupRuleInternalServerError) Code() int
- func (o *GetSecurityGroupRuleInternalServerError) Error() string
- func (o *GetSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *GetSecurityGroupRuleInternalServerError) IsClientError() bool
- func (o *GetSecurityGroupRuleInternalServerError) IsCode(code int) bool
- func (o *GetSecurityGroupRuleInternalServerError) IsRedirect() bool
- func (o *GetSecurityGroupRuleInternalServerError) IsServerError() bool
- func (o *GetSecurityGroupRuleInternalServerError) IsSuccess() bool
- func (o *GetSecurityGroupRuleInternalServerError) String() string
- type GetSecurityGroupRuleNotFound
- func (o *GetSecurityGroupRuleNotFound) Code() int
- func (o *GetSecurityGroupRuleNotFound) Error() string
- func (o *GetSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *GetSecurityGroupRuleNotFound) IsClientError() bool
- func (o *GetSecurityGroupRuleNotFound) IsCode(code int) bool
- func (o *GetSecurityGroupRuleNotFound) IsRedirect() bool
- func (o *GetSecurityGroupRuleNotFound) IsServerError() bool
- func (o *GetSecurityGroupRuleNotFound) IsSuccess() bool
- func (o *GetSecurityGroupRuleNotFound) String() string
- type GetSecurityGroupRuleOK
- func (o *GetSecurityGroupRuleOK) Code() int
- func (o *GetSecurityGroupRuleOK) Error() string
- func (o *GetSecurityGroupRuleOK) GetPayload() *vproxy_client_model.SecurityGroupRule
- func (o *GetSecurityGroupRuleOK) IsClientError() bool
- func (o *GetSecurityGroupRuleOK) IsCode(code int) bool
- func (o *GetSecurityGroupRuleOK) IsRedirect() bool
- func (o *GetSecurityGroupRuleOK) IsServerError() bool
- func (o *GetSecurityGroupRuleOK) IsSuccess() bool
- func (o *GetSecurityGroupRuleOK) String() string
- type GetSecurityGroupRuleParams
- func NewGetSecurityGroupRuleParams() *GetSecurityGroupRuleParams
- func NewGetSecurityGroupRuleParamsWithContext(ctx context.Context) *GetSecurityGroupRuleParams
- func NewGetSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *GetSecurityGroupRuleParams
- func NewGetSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) SetContext(ctx context.Context)
- func (o *GetSecurityGroupRuleParams) SetDefaults()
- func (o *GetSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityGroupRuleParams) SetSecg(secg string)
- func (o *GetSecurityGroupRuleParams) SetSecgr(secgr string)
- func (o *GetSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityGroupRuleParams) WithContext(ctx context.Context) *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) WithDefaults() *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) WithSecg(secg string) *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) WithSecgr(secgr string) *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *GetSecurityGroupRuleParams
- func (o *GetSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityGroupRuleReader
- type ListSecurityGroupRuleBadRequest
- func (o *ListSecurityGroupRuleBadRequest) Code() int
- func (o *ListSecurityGroupRuleBadRequest) Error() string
- func (o *ListSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *ListSecurityGroupRuleBadRequest) IsClientError() bool
- func (o *ListSecurityGroupRuleBadRequest) IsCode(code int) bool
- func (o *ListSecurityGroupRuleBadRequest) IsRedirect() bool
- func (o *ListSecurityGroupRuleBadRequest) IsServerError() bool
- func (o *ListSecurityGroupRuleBadRequest) IsSuccess() bool
- func (o *ListSecurityGroupRuleBadRequest) String() string
- type ListSecurityGroupRuleConflict
- func (o *ListSecurityGroupRuleConflict) Code() int
- func (o *ListSecurityGroupRuleConflict) Error() string
- func (o *ListSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
- func (o *ListSecurityGroupRuleConflict) IsClientError() bool
- func (o *ListSecurityGroupRuleConflict) IsCode(code int) bool
- func (o *ListSecurityGroupRuleConflict) IsRedirect() bool
- func (o *ListSecurityGroupRuleConflict) IsServerError() bool
- func (o *ListSecurityGroupRuleConflict) IsSuccess() bool
- func (o *ListSecurityGroupRuleConflict) String() string
- type ListSecurityGroupRuleInternalServerError
- func (o *ListSecurityGroupRuleInternalServerError) Code() int
- func (o *ListSecurityGroupRuleInternalServerError) Error() string
- func (o *ListSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *ListSecurityGroupRuleInternalServerError) IsClientError() bool
- func (o *ListSecurityGroupRuleInternalServerError) IsCode(code int) bool
- func (o *ListSecurityGroupRuleInternalServerError) IsRedirect() bool
- func (o *ListSecurityGroupRuleInternalServerError) IsServerError() bool
- func (o *ListSecurityGroupRuleInternalServerError) IsSuccess() bool
- func (o *ListSecurityGroupRuleInternalServerError) String() string
- type ListSecurityGroupRuleOK
- func (o *ListSecurityGroupRuleOK) Code() int
- func (o *ListSecurityGroupRuleOK) Error() string
- func (o *ListSecurityGroupRuleOK) GetPayload() []*vproxy_client_model.SecurityGroupRule
- func (o *ListSecurityGroupRuleOK) IsClientError() bool
- func (o *ListSecurityGroupRuleOK) IsCode(code int) bool
- func (o *ListSecurityGroupRuleOK) IsRedirect() bool
- func (o *ListSecurityGroupRuleOK) IsServerError() bool
- func (o *ListSecurityGroupRuleOK) IsSuccess() bool
- func (o *ListSecurityGroupRuleOK) String() string
- type ListSecurityGroupRuleParams
- func NewListSecurityGroupRuleParams() *ListSecurityGroupRuleParams
- func NewListSecurityGroupRuleParamsWithContext(ctx context.Context) *ListSecurityGroupRuleParams
- func NewListSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *ListSecurityGroupRuleParams
- func NewListSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *ListSecurityGroupRuleParams
- func (o *ListSecurityGroupRuleParams) SetContext(ctx context.Context)
- func (o *ListSecurityGroupRuleParams) SetDefaults()
- func (o *ListSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
- func (o *ListSecurityGroupRuleParams) SetSecg(secg string)
- func (o *ListSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
- func (o *ListSecurityGroupRuleParams) WithContext(ctx context.Context) *ListSecurityGroupRuleParams
- func (o *ListSecurityGroupRuleParams) WithDefaults() *ListSecurityGroupRuleParams
- func (o *ListSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *ListSecurityGroupRuleParams
- func (o *ListSecurityGroupRuleParams) WithSecg(secg string) *ListSecurityGroupRuleParams
- func (o *ListSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *ListSecurityGroupRuleParams
- func (o *ListSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSecurityGroupRuleReader
- type RemoveSecurityGroupRuleBadRequest
- func (o *RemoveSecurityGroupRuleBadRequest) Code() int
- func (o *RemoveSecurityGroupRuleBadRequest) Error() string
- func (o *RemoveSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *RemoveSecurityGroupRuleBadRequest) IsClientError() bool
- func (o *RemoveSecurityGroupRuleBadRequest) IsCode(code int) bool
- func (o *RemoveSecurityGroupRuleBadRequest) IsRedirect() bool
- func (o *RemoveSecurityGroupRuleBadRequest) IsServerError() bool
- func (o *RemoveSecurityGroupRuleBadRequest) IsSuccess() bool
- func (o *RemoveSecurityGroupRuleBadRequest) String() string
- type RemoveSecurityGroupRuleConflict
- func (o *RemoveSecurityGroupRuleConflict) Code() int
- func (o *RemoveSecurityGroupRuleConflict) Error() string
- func (o *RemoveSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
- func (o *RemoveSecurityGroupRuleConflict) IsClientError() bool
- func (o *RemoveSecurityGroupRuleConflict) IsCode(code int) bool
- func (o *RemoveSecurityGroupRuleConflict) IsRedirect() bool
- func (o *RemoveSecurityGroupRuleConflict) IsServerError() bool
- func (o *RemoveSecurityGroupRuleConflict) IsSuccess() bool
- func (o *RemoveSecurityGroupRuleConflict) String() string
- type RemoveSecurityGroupRuleInternalServerError
- func (o *RemoveSecurityGroupRuleInternalServerError) Code() int
- func (o *RemoveSecurityGroupRuleInternalServerError) Error() string
- func (o *RemoveSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *RemoveSecurityGroupRuleInternalServerError) IsClientError() bool
- func (o *RemoveSecurityGroupRuleInternalServerError) IsCode(code int) bool
- func (o *RemoveSecurityGroupRuleInternalServerError) IsRedirect() bool
- func (o *RemoveSecurityGroupRuleInternalServerError) IsServerError() bool
- func (o *RemoveSecurityGroupRuleInternalServerError) IsSuccess() bool
- func (o *RemoveSecurityGroupRuleInternalServerError) String() string
- type RemoveSecurityGroupRuleNoContent
- func (o *RemoveSecurityGroupRuleNoContent) Code() int
- func (o *RemoveSecurityGroupRuleNoContent) Error() string
- func (o *RemoveSecurityGroupRuleNoContent) IsClientError() bool
- func (o *RemoveSecurityGroupRuleNoContent) IsCode(code int) bool
- func (o *RemoveSecurityGroupRuleNoContent) IsRedirect() bool
- func (o *RemoveSecurityGroupRuleNoContent) IsServerError() bool
- func (o *RemoveSecurityGroupRuleNoContent) IsSuccess() bool
- func (o *RemoveSecurityGroupRuleNoContent) String() string
- type RemoveSecurityGroupRuleNotFound
- func (o *RemoveSecurityGroupRuleNotFound) Code() int
- func (o *RemoveSecurityGroupRuleNotFound) Error() string
- func (o *RemoveSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *RemoveSecurityGroupRuleNotFound) IsClientError() bool
- func (o *RemoveSecurityGroupRuleNotFound) IsCode(code int) bool
- func (o *RemoveSecurityGroupRuleNotFound) IsRedirect() bool
- func (o *RemoveSecurityGroupRuleNotFound) IsServerError() bool
- func (o *RemoveSecurityGroupRuleNotFound) IsSuccess() bool
- func (o *RemoveSecurityGroupRuleNotFound) String() string
- type RemoveSecurityGroupRuleParams
- func NewRemoveSecurityGroupRuleParams() *RemoveSecurityGroupRuleParams
- func NewRemoveSecurityGroupRuleParamsWithContext(ctx context.Context) *RemoveSecurityGroupRuleParams
- func NewRemoveSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *RemoveSecurityGroupRuleParams
- func NewRemoveSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) SetContext(ctx context.Context)
- func (o *RemoveSecurityGroupRuleParams) SetDefaults()
- func (o *RemoveSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
- func (o *RemoveSecurityGroupRuleParams) SetSecg(secg string)
- func (o *RemoveSecurityGroupRuleParams) SetSecgr(secgr string)
- func (o *RemoveSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
- func (o *RemoveSecurityGroupRuleParams) WithContext(ctx context.Context) *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) WithDefaults() *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) WithSecg(secg string) *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) WithSecgr(secgr string) *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *RemoveSecurityGroupRuleParams
- func (o *RemoveSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveSecurityGroupRuleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSecurityGroupRuleBadRequest ¶
type AddSecurityGroupRuleBadRequest struct {
Payload *vproxy_client_model.Error400
}
AddSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewAddSecurityGroupRuleBadRequest ¶
func NewAddSecurityGroupRuleBadRequest() *AddSecurityGroupRuleBadRequest
NewAddSecurityGroupRuleBadRequest creates a AddSecurityGroupRuleBadRequest with default headers values
func (*AddSecurityGroupRuleBadRequest) Code ¶
func (o *AddSecurityGroupRuleBadRequest) Code() int
Code gets the status code for the add security group rule bad request response
func (*AddSecurityGroupRuleBadRequest) Error ¶
func (o *AddSecurityGroupRuleBadRequest) Error() string
func (*AddSecurityGroupRuleBadRequest) GetPayload ¶
func (o *AddSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
func (*AddSecurityGroupRuleBadRequest) IsClientError ¶
func (o *AddSecurityGroupRuleBadRequest) IsClientError() bool
IsClientError returns true when this add security group rule bad request response has a 4xx status code
func (*AddSecurityGroupRuleBadRequest) IsCode ¶
func (o *AddSecurityGroupRuleBadRequest) IsCode(code int) bool
IsCode returns true when this add security group rule bad request response a status code equal to that given
func (*AddSecurityGroupRuleBadRequest) IsRedirect ¶
func (o *AddSecurityGroupRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this add security group rule bad request response has a 3xx status code
func (*AddSecurityGroupRuleBadRequest) IsServerError ¶
func (o *AddSecurityGroupRuleBadRequest) IsServerError() bool
IsServerError returns true when this add security group rule bad request response has a 5xx status code
func (*AddSecurityGroupRuleBadRequest) IsSuccess ¶
func (o *AddSecurityGroupRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this add security group rule bad request response has a 2xx status code
func (*AddSecurityGroupRuleBadRequest) String ¶
func (o *AddSecurityGroupRuleBadRequest) String() string
type AddSecurityGroupRuleConflict ¶
type AddSecurityGroupRuleConflict struct {
Payload *vproxy_client_model.Error409
}
AddSecurityGroupRuleConflict describes a response with status code 409, with default header values.
conflict
func NewAddSecurityGroupRuleConflict ¶
func NewAddSecurityGroupRuleConflict() *AddSecurityGroupRuleConflict
NewAddSecurityGroupRuleConflict creates a AddSecurityGroupRuleConflict with default headers values
func (*AddSecurityGroupRuleConflict) Code ¶
func (o *AddSecurityGroupRuleConflict) Code() int
Code gets the status code for the add security group rule conflict response
func (*AddSecurityGroupRuleConflict) Error ¶
func (o *AddSecurityGroupRuleConflict) Error() string
func (*AddSecurityGroupRuleConflict) GetPayload ¶
func (o *AddSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
func (*AddSecurityGroupRuleConflict) IsClientError ¶
func (o *AddSecurityGroupRuleConflict) IsClientError() bool
IsClientError returns true when this add security group rule conflict response has a 4xx status code
func (*AddSecurityGroupRuleConflict) IsCode ¶
func (o *AddSecurityGroupRuleConflict) IsCode(code int) bool
IsCode returns true when this add security group rule conflict response a status code equal to that given
func (*AddSecurityGroupRuleConflict) IsRedirect ¶
func (o *AddSecurityGroupRuleConflict) IsRedirect() bool
IsRedirect returns true when this add security group rule conflict response has a 3xx status code
func (*AddSecurityGroupRuleConflict) IsServerError ¶
func (o *AddSecurityGroupRuleConflict) IsServerError() bool
IsServerError returns true when this add security group rule conflict response has a 5xx status code
func (*AddSecurityGroupRuleConflict) IsSuccess ¶
func (o *AddSecurityGroupRuleConflict) IsSuccess() bool
IsSuccess returns true when this add security group rule conflict response has a 2xx status code
func (*AddSecurityGroupRuleConflict) String ¶
func (o *AddSecurityGroupRuleConflict) String() string
type AddSecurityGroupRuleInternalServerError ¶
type AddSecurityGroupRuleInternalServerError struct {
Payload *vproxy_client_model.Error500
}
AddSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.
internal error
func NewAddSecurityGroupRuleInternalServerError ¶
func NewAddSecurityGroupRuleInternalServerError() *AddSecurityGroupRuleInternalServerError
NewAddSecurityGroupRuleInternalServerError creates a AddSecurityGroupRuleInternalServerError with default headers values
func (*AddSecurityGroupRuleInternalServerError) Code ¶
func (o *AddSecurityGroupRuleInternalServerError) Code() int
Code gets the status code for the add security group rule internal server error response
func (*AddSecurityGroupRuleInternalServerError) Error ¶
func (o *AddSecurityGroupRuleInternalServerError) Error() string
func (*AddSecurityGroupRuleInternalServerError) GetPayload ¶
func (o *AddSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*AddSecurityGroupRuleInternalServerError) IsClientError ¶
func (o *AddSecurityGroupRuleInternalServerError) IsClientError() bool
IsClientError returns true when this add security group rule internal server error response has a 4xx status code
func (*AddSecurityGroupRuleInternalServerError) IsCode ¶
func (o *AddSecurityGroupRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this add security group rule internal server error response a status code equal to that given
func (*AddSecurityGroupRuleInternalServerError) IsRedirect ¶
func (o *AddSecurityGroupRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this add security group rule internal server error response has a 3xx status code
func (*AddSecurityGroupRuleInternalServerError) IsServerError ¶
func (o *AddSecurityGroupRuleInternalServerError) IsServerError() bool
IsServerError returns true when this add security group rule internal server error response has a 5xx status code
func (*AddSecurityGroupRuleInternalServerError) IsSuccess ¶
func (o *AddSecurityGroupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this add security group rule internal server error response has a 2xx status code
func (*AddSecurityGroupRuleInternalServerError) String ¶
func (o *AddSecurityGroupRuleInternalServerError) String() string
type AddSecurityGroupRuleNoContent ¶
type AddSecurityGroupRuleNoContent struct { }
AddSecurityGroupRuleNoContent describes a response with status code 204, with default header values.
ok
func NewAddSecurityGroupRuleNoContent ¶
func NewAddSecurityGroupRuleNoContent() *AddSecurityGroupRuleNoContent
NewAddSecurityGroupRuleNoContent creates a AddSecurityGroupRuleNoContent with default headers values
func (*AddSecurityGroupRuleNoContent) Code ¶
func (o *AddSecurityGroupRuleNoContent) Code() int
Code gets the status code for the add security group rule no content response
func (*AddSecurityGroupRuleNoContent) Error ¶
func (o *AddSecurityGroupRuleNoContent) Error() string
func (*AddSecurityGroupRuleNoContent) IsClientError ¶
func (o *AddSecurityGroupRuleNoContent) IsClientError() bool
IsClientError returns true when this add security group rule no content response has a 4xx status code
func (*AddSecurityGroupRuleNoContent) IsCode ¶
func (o *AddSecurityGroupRuleNoContent) IsCode(code int) bool
IsCode returns true when this add security group rule no content response a status code equal to that given
func (*AddSecurityGroupRuleNoContent) IsRedirect ¶
func (o *AddSecurityGroupRuleNoContent) IsRedirect() bool
IsRedirect returns true when this add security group rule no content response has a 3xx status code
func (*AddSecurityGroupRuleNoContent) IsServerError ¶
func (o *AddSecurityGroupRuleNoContent) IsServerError() bool
IsServerError returns true when this add security group rule no content response has a 5xx status code
func (*AddSecurityGroupRuleNoContent) IsSuccess ¶
func (o *AddSecurityGroupRuleNoContent) IsSuccess() bool
IsSuccess returns true when this add security group rule no content response has a 2xx status code
func (*AddSecurityGroupRuleNoContent) String ¶
func (o *AddSecurityGroupRuleNoContent) String() string
type AddSecurityGroupRuleNotFound ¶
type AddSecurityGroupRuleNotFound struct {
Payload *vproxy_client_model.Error404
}
AddSecurityGroupRuleNotFound describes a response with status code 404, with default header values.
resource not found
func NewAddSecurityGroupRuleNotFound ¶
func NewAddSecurityGroupRuleNotFound() *AddSecurityGroupRuleNotFound
NewAddSecurityGroupRuleNotFound creates a AddSecurityGroupRuleNotFound with default headers values
func (*AddSecurityGroupRuleNotFound) Code ¶
func (o *AddSecurityGroupRuleNotFound) Code() int
Code gets the status code for the add security group rule not found response
func (*AddSecurityGroupRuleNotFound) Error ¶
func (o *AddSecurityGroupRuleNotFound) Error() string
func (*AddSecurityGroupRuleNotFound) GetPayload ¶
func (o *AddSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
func (*AddSecurityGroupRuleNotFound) IsClientError ¶
func (o *AddSecurityGroupRuleNotFound) IsClientError() bool
IsClientError returns true when this add security group rule not found response has a 4xx status code
func (*AddSecurityGroupRuleNotFound) IsCode ¶
func (o *AddSecurityGroupRuleNotFound) IsCode(code int) bool
IsCode returns true when this add security group rule not found response a status code equal to that given
func (*AddSecurityGroupRuleNotFound) IsRedirect ¶
func (o *AddSecurityGroupRuleNotFound) IsRedirect() bool
IsRedirect returns true when this add security group rule not found response has a 3xx status code
func (*AddSecurityGroupRuleNotFound) IsServerError ¶
func (o *AddSecurityGroupRuleNotFound) IsServerError() bool
IsServerError returns true when this add security group rule not found response has a 5xx status code
func (*AddSecurityGroupRuleNotFound) IsSuccess ¶
func (o *AddSecurityGroupRuleNotFound) IsSuccess() bool
IsSuccess returns true when this add security group rule not found response has a 2xx status code
func (*AddSecurityGroupRuleNotFound) String ¶
func (o *AddSecurityGroupRuleNotFound) String() string
type AddSecurityGroupRuleParams ¶
type AddSecurityGroupRuleParams struct { // Body. Body *vproxy_client_model.SecurityGroupRuleCreate /* Secg. name of the security-group */ Secg string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddSecurityGroupRuleParams contains all the parameters to send to the API endpoint
for the add security group rule operation. Typically these are written to a http.Request.
func NewAddSecurityGroupRuleParams ¶
func NewAddSecurityGroupRuleParams() *AddSecurityGroupRuleParams
NewAddSecurityGroupRuleParams creates a new AddSecurityGroupRuleParams 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 NewAddSecurityGroupRuleParamsWithContext ¶
func NewAddSecurityGroupRuleParamsWithContext(ctx context.Context) *AddSecurityGroupRuleParams
NewAddSecurityGroupRuleParamsWithContext creates a new AddSecurityGroupRuleParams object with the ability to set a context for a request.
func NewAddSecurityGroupRuleParamsWithHTTPClient ¶
func NewAddSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *AddSecurityGroupRuleParams
NewAddSecurityGroupRuleParamsWithHTTPClient creates a new AddSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.
func NewAddSecurityGroupRuleParamsWithTimeout ¶
func NewAddSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *AddSecurityGroupRuleParams
NewAddSecurityGroupRuleParamsWithTimeout creates a new AddSecurityGroupRuleParams object with the ability to set a timeout on a request.
func (*AddSecurityGroupRuleParams) SetBody ¶
func (o *AddSecurityGroupRuleParams) SetBody(body *vproxy_client_model.SecurityGroupRuleCreate)
SetBody adds the body to the add security group rule params
func (*AddSecurityGroupRuleParams) SetContext ¶
func (o *AddSecurityGroupRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the add security group rule params
func (*AddSecurityGroupRuleParams) SetDefaults ¶
func (o *AddSecurityGroupRuleParams) SetDefaults()
SetDefaults hydrates default values in the add security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*AddSecurityGroupRuleParams) SetHTTPClient ¶
func (o *AddSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add security group rule params
func (*AddSecurityGroupRuleParams) SetSecg ¶
func (o *AddSecurityGroupRuleParams) SetSecg(secg string)
SetSecg adds the secg to the add security group rule params
func (*AddSecurityGroupRuleParams) SetTimeout ¶
func (o *AddSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add security group rule params
func (*AddSecurityGroupRuleParams) WithBody ¶
func (o *AddSecurityGroupRuleParams) WithBody(body *vproxy_client_model.SecurityGroupRuleCreate) *AddSecurityGroupRuleParams
WithBody adds the body to the add security group rule params
func (*AddSecurityGroupRuleParams) WithContext ¶
func (o *AddSecurityGroupRuleParams) WithContext(ctx context.Context) *AddSecurityGroupRuleParams
WithContext adds the context to the add security group rule params
func (*AddSecurityGroupRuleParams) WithDefaults ¶
func (o *AddSecurityGroupRuleParams) WithDefaults() *AddSecurityGroupRuleParams
WithDefaults hydrates default values in the add security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*AddSecurityGroupRuleParams) WithHTTPClient ¶
func (o *AddSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *AddSecurityGroupRuleParams
WithHTTPClient adds the HTTPClient to the add security group rule params
func (*AddSecurityGroupRuleParams) WithSecg ¶
func (o *AddSecurityGroupRuleParams) WithSecg(secg string) *AddSecurityGroupRuleParams
WithSecg adds the secg to the add security group rule params
func (*AddSecurityGroupRuleParams) WithTimeout ¶
func (o *AddSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *AddSecurityGroupRuleParams
WithTimeout adds the timeout to the add security group rule params
func (*AddSecurityGroupRuleParams) WriteToRequest ¶
func (o *AddSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSecurityGroupRuleReader ¶
type AddSecurityGroupRuleReader struct {
// contains filtered or unexported fields
}
AddSecurityGroupRuleReader is a Reader for the AddSecurityGroupRule structure.
func (*AddSecurityGroupRuleReader) ReadResponse ¶
func (o *AddSecurityGroupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for security group rule API
func (*Client) AddSecurityGroupRule ¶
func (a *Client) AddSecurityGroupRule(params *AddSecurityGroupRuleParams, opts ...ClientOption) (*AddSecurityGroupRuleNoContent, error)
AddSecurityGroupRule adds security group rule into security group
func (*Client) DescribeSecurityGroupRule ¶
func (a *Client) DescribeSecurityGroupRule(params *DescribeSecurityGroupRuleParams, opts ...ClientOption) (*DescribeSecurityGroupRuleOK, error)
DescribeSecurityGroupRule gets detailed info of one security group rule in security group
func (*Client) GetSecurityGroupRule ¶
func (a *Client) GetSecurityGroupRule(params *GetSecurityGroupRuleParams, opts ...ClientOption) (*GetSecurityGroupRuleOK, error)
GetSecurityGroupRule gets security group rule in security group
func (*Client) ListSecurityGroupRule ¶
func (a *Client) ListSecurityGroupRule(params *ListSecurityGroupRuleParams, opts ...ClientOption) (*ListSecurityGroupRuleOK, error)
ListSecurityGroupRule retrieves security group rule list from security group
func (*Client) RemoveSecurityGroupRule ¶
func (a *Client) RemoveSecurityGroupRule(params *RemoveSecurityGroupRuleParams, opts ...ClientOption) (*RemoveSecurityGroupRuleNoContent, error)
RemoveSecurityGroupRule removes security group rule from security group
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 is the option for Client methods
type ClientService ¶
type ClientService interface { AddSecurityGroupRule(params *AddSecurityGroupRuleParams, opts ...ClientOption) (*AddSecurityGroupRuleNoContent, error) DescribeSecurityGroupRule(params *DescribeSecurityGroupRuleParams, opts ...ClientOption) (*DescribeSecurityGroupRuleOK, error) GetSecurityGroupRule(params *GetSecurityGroupRuleParams, opts ...ClientOption) (*GetSecurityGroupRuleOK, error) ListSecurityGroupRule(params *ListSecurityGroupRuleParams, opts ...ClientOption) (*ListSecurityGroupRuleOK, error) RemoveSecurityGroupRule(params *RemoveSecurityGroupRuleParams, opts ...ClientOption) (*RemoveSecurityGroupRuleNoContent, 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 security group rule API client.
type DescribeSecurityGroupRuleBadRequest ¶
type DescribeSecurityGroupRuleBadRequest struct {
Payload *vproxy_client_model.Error400
}
DescribeSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewDescribeSecurityGroupRuleBadRequest ¶
func NewDescribeSecurityGroupRuleBadRequest() *DescribeSecurityGroupRuleBadRequest
NewDescribeSecurityGroupRuleBadRequest creates a DescribeSecurityGroupRuleBadRequest with default headers values
func (*DescribeSecurityGroupRuleBadRequest) Code ¶
func (o *DescribeSecurityGroupRuleBadRequest) Code() int
Code gets the status code for the describe security group rule bad request response
func (*DescribeSecurityGroupRuleBadRequest) Error ¶
func (o *DescribeSecurityGroupRuleBadRequest) Error() string
func (*DescribeSecurityGroupRuleBadRequest) GetPayload ¶
func (o *DescribeSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
func (*DescribeSecurityGroupRuleBadRequest) IsClientError ¶
func (o *DescribeSecurityGroupRuleBadRequest) IsClientError() bool
IsClientError returns true when this describe security group rule bad request response has a 4xx status code
func (*DescribeSecurityGroupRuleBadRequest) IsCode ¶
func (o *DescribeSecurityGroupRuleBadRequest) IsCode(code int) bool
IsCode returns true when this describe security group rule bad request response a status code equal to that given
func (*DescribeSecurityGroupRuleBadRequest) IsRedirect ¶
func (o *DescribeSecurityGroupRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this describe security group rule bad request response has a 3xx status code
func (*DescribeSecurityGroupRuleBadRequest) IsServerError ¶
func (o *DescribeSecurityGroupRuleBadRequest) IsServerError() bool
IsServerError returns true when this describe security group rule bad request response has a 5xx status code
func (*DescribeSecurityGroupRuleBadRequest) IsSuccess ¶
func (o *DescribeSecurityGroupRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this describe security group rule bad request response has a 2xx status code
func (*DescribeSecurityGroupRuleBadRequest) String ¶
func (o *DescribeSecurityGroupRuleBadRequest) String() string
type DescribeSecurityGroupRuleConflict ¶
type DescribeSecurityGroupRuleConflict struct {
Payload *vproxy_client_model.Error409
}
DescribeSecurityGroupRuleConflict describes a response with status code 409, with default header values.
conflict
func NewDescribeSecurityGroupRuleConflict ¶
func NewDescribeSecurityGroupRuleConflict() *DescribeSecurityGroupRuleConflict
NewDescribeSecurityGroupRuleConflict creates a DescribeSecurityGroupRuleConflict with default headers values
func (*DescribeSecurityGroupRuleConflict) Code ¶
func (o *DescribeSecurityGroupRuleConflict) Code() int
Code gets the status code for the describe security group rule conflict response
func (*DescribeSecurityGroupRuleConflict) Error ¶
func (o *DescribeSecurityGroupRuleConflict) Error() string
func (*DescribeSecurityGroupRuleConflict) GetPayload ¶
func (o *DescribeSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
func (*DescribeSecurityGroupRuleConflict) IsClientError ¶
func (o *DescribeSecurityGroupRuleConflict) IsClientError() bool
IsClientError returns true when this describe security group rule conflict response has a 4xx status code
func (*DescribeSecurityGroupRuleConflict) IsCode ¶
func (o *DescribeSecurityGroupRuleConflict) IsCode(code int) bool
IsCode returns true when this describe security group rule conflict response a status code equal to that given
func (*DescribeSecurityGroupRuleConflict) IsRedirect ¶
func (o *DescribeSecurityGroupRuleConflict) IsRedirect() bool
IsRedirect returns true when this describe security group rule conflict response has a 3xx status code
func (*DescribeSecurityGroupRuleConflict) IsServerError ¶
func (o *DescribeSecurityGroupRuleConflict) IsServerError() bool
IsServerError returns true when this describe security group rule conflict response has a 5xx status code
func (*DescribeSecurityGroupRuleConflict) IsSuccess ¶
func (o *DescribeSecurityGroupRuleConflict) IsSuccess() bool
IsSuccess returns true when this describe security group rule conflict response has a 2xx status code
func (*DescribeSecurityGroupRuleConflict) String ¶
func (o *DescribeSecurityGroupRuleConflict) String() string
type DescribeSecurityGroupRuleInternalServerError ¶
type DescribeSecurityGroupRuleInternalServerError struct {
Payload *vproxy_client_model.Error500
}
DescribeSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.
internal error
func NewDescribeSecurityGroupRuleInternalServerError ¶
func NewDescribeSecurityGroupRuleInternalServerError() *DescribeSecurityGroupRuleInternalServerError
NewDescribeSecurityGroupRuleInternalServerError creates a DescribeSecurityGroupRuleInternalServerError with default headers values
func (*DescribeSecurityGroupRuleInternalServerError) Code ¶
func (o *DescribeSecurityGroupRuleInternalServerError) Code() int
Code gets the status code for the describe security group rule internal server error response
func (*DescribeSecurityGroupRuleInternalServerError) Error ¶
func (o *DescribeSecurityGroupRuleInternalServerError) Error() string
func (*DescribeSecurityGroupRuleInternalServerError) GetPayload ¶
func (o *DescribeSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*DescribeSecurityGroupRuleInternalServerError) IsClientError ¶
func (o *DescribeSecurityGroupRuleInternalServerError) IsClientError() bool
IsClientError returns true when this describe security group rule internal server error response has a 4xx status code
func (*DescribeSecurityGroupRuleInternalServerError) IsCode ¶
func (o *DescribeSecurityGroupRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this describe security group rule internal server error response a status code equal to that given
func (*DescribeSecurityGroupRuleInternalServerError) IsRedirect ¶
func (o *DescribeSecurityGroupRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this describe security group rule internal server error response has a 3xx status code
func (*DescribeSecurityGroupRuleInternalServerError) IsServerError ¶
func (o *DescribeSecurityGroupRuleInternalServerError) IsServerError() bool
IsServerError returns true when this describe security group rule internal server error response has a 5xx status code
func (*DescribeSecurityGroupRuleInternalServerError) IsSuccess ¶
func (o *DescribeSecurityGroupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this describe security group rule internal server error response has a 2xx status code
func (*DescribeSecurityGroupRuleInternalServerError) String ¶
func (o *DescribeSecurityGroupRuleInternalServerError) String() string
type DescribeSecurityGroupRuleNotFound ¶
type DescribeSecurityGroupRuleNotFound struct {
Payload *vproxy_client_model.Error404
}
DescribeSecurityGroupRuleNotFound describes a response with status code 404, with default header values.
resource not found
func NewDescribeSecurityGroupRuleNotFound ¶
func NewDescribeSecurityGroupRuleNotFound() *DescribeSecurityGroupRuleNotFound
NewDescribeSecurityGroupRuleNotFound creates a DescribeSecurityGroupRuleNotFound with default headers values
func (*DescribeSecurityGroupRuleNotFound) Code ¶
func (o *DescribeSecurityGroupRuleNotFound) Code() int
Code gets the status code for the describe security group rule not found response
func (*DescribeSecurityGroupRuleNotFound) Error ¶
func (o *DescribeSecurityGroupRuleNotFound) Error() string
func (*DescribeSecurityGroupRuleNotFound) GetPayload ¶
func (o *DescribeSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
func (*DescribeSecurityGroupRuleNotFound) IsClientError ¶
func (o *DescribeSecurityGroupRuleNotFound) IsClientError() bool
IsClientError returns true when this describe security group rule not found response has a 4xx status code
func (*DescribeSecurityGroupRuleNotFound) IsCode ¶
func (o *DescribeSecurityGroupRuleNotFound) IsCode(code int) bool
IsCode returns true when this describe security group rule not found response a status code equal to that given
func (*DescribeSecurityGroupRuleNotFound) IsRedirect ¶
func (o *DescribeSecurityGroupRuleNotFound) IsRedirect() bool
IsRedirect returns true when this describe security group rule not found response has a 3xx status code
func (*DescribeSecurityGroupRuleNotFound) IsServerError ¶
func (o *DescribeSecurityGroupRuleNotFound) IsServerError() bool
IsServerError returns true when this describe security group rule not found response has a 5xx status code
func (*DescribeSecurityGroupRuleNotFound) IsSuccess ¶
func (o *DescribeSecurityGroupRuleNotFound) IsSuccess() bool
IsSuccess returns true when this describe security group rule not found response has a 2xx status code
func (*DescribeSecurityGroupRuleNotFound) String ¶
func (o *DescribeSecurityGroupRuleNotFound) String() string
type DescribeSecurityGroupRuleOK ¶
type DescribeSecurityGroupRuleOK struct {
Payload *vproxy_client_model.SecurityGroupRuleDetail
}
DescribeSecurityGroupRuleOK describes a response with status code 200, with default header values.
ok
func NewDescribeSecurityGroupRuleOK ¶
func NewDescribeSecurityGroupRuleOK() *DescribeSecurityGroupRuleOK
NewDescribeSecurityGroupRuleOK creates a DescribeSecurityGroupRuleOK with default headers values
func (*DescribeSecurityGroupRuleOK) Code ¶
func (o *DescribeSecurityGroupRuleOK) Code() int
Code gets the status code for the describe security group rule o k response
func (*DescribeSecurityGroupRuleOK) Error ¶
func (o *DescribeSecurityGroupRuleOK) Error() string
func (*DescribeSecurityGroupRuleOK) GetPayload ¶
func (o *DescribeSecurityGroupRuleOK) GetPayload() *vproxy_client_model.SecurityGroupRuleDetail
func (*DescribeSecurityGroupRuleOK) IsClientError ¶
func (o *DescribeSecurityGroupRuleOK) IsClientError() bool
IsClientError returns true when this describe security group rule o k response has a 4xx status code
func (*DescribeSecurityGroupRuleOK) IsCode ¶
func (o *DescribeSecurityGroupRuleOK) IsCode(code int) bool
IsCode returns true when this describe security group rule o k response a status code equal to that given
func (*DescribeSecurityGroupRuleOK) IsRedirect ¶
func (o *DescribeSecurityGroupRuleOK) IsRedirect() bool
IsRedirect returns true when this describe security group rule o k response has a 3xx status code
func (*DescribeSecurityGroupRuleOK) IsServerError ¶
func (o *DescribeSecurityGroupRuleOK) IsServerError() bool
IsServerError returns true when this describe security group rule o k response has a 5xx status code
func (*DescribeSecurityGroupRuleOK) IsSuccess ¶
func (o *DescribeSecurityGroupRuleOK) IsSuccess() bool
IsSuccess returns true when this describe security group rule o k response has a 2xx status code
func (*DescribeSecurityGroupRuleOK) String ¶
func (o *DescribeSecurityGroupRuleOK) String() string
type DescribeSecurityGroupRuleParams ¶
type DescribeSecurityGroupRuleParams struct { /* Secg. name of the security-group */ Secg string /* Secgr. name of the security-group-rule */ Secgr string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeSecurityGroupRuleParams contains all the parameters to send to the API endpoint
for the describe security group rule operation. Typically these are written to a http.Request.
func NewDescribeSecurityGroupRuleParams ¶
func NewDescribeSecurityGroupRuleParams() *DescribeSecurityGroupRuleParams
NewDescribeSecurityGroupRuleParams creates a new DescribeSecurityGroupRuleParams 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 NewDescribeSecurityGroupRuleParamsWithContext ¶
func NewDescribeSecurityGroupRuleParamsWithContext(ctx context.Context) *DescribeSecurityGroupRuleParams
NewDescribeSecurityGroupRuleParamsWithContext creates a new DescribeSecurityGroupRuleParams object with the ability to set a context for a request.
func NewDescribeSecurityGroupRuleParamsWithHTTPClient ¶
func NewDescribeSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *DescribeSecurityGroupRuleParams
NewDescribeSecurityGroupRuleParamsWithHTTPClient creates a new DescribeSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDescribeSecurityGroupRuleParamsWithTimeout ¶
func NewDescribeSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *DescribeSecurityGroupRuleParams
NewDescribeSecurityGroupRuleParamsWithTimeout creates a new DescribeSecurityGroupRuleParams object with the ability to set a timeout on a request.
func (*DescribeSecurityGroupRuleParams) SetContext ¶
func (o *DescribeSecurityGroupRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) SetDefaults ¶
func (o *DescribeSecurityGroupRuleParams) SetDefaults()
SetDefaults hydrates default values in the describe security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeSecurityGroupRuleParams) SetHTTPClient ¶
func (o *DescribeSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) SetSecg ¶
func (o *DescribeSecurityGroupRuleParams) SetSecg(secg string)
SetSecg adds the secg to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) SetSecgr ¶
func (o *DescribeSecurityGroupRuleParams) SetSecgr(secgr string)
SetSecgr adds the secgr to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) SetTimeout ¶
func (o *DescribeSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) WithContext ¶
func (o *DescribeSecurityGroupRuleParams) WithContext(ctx context.Context) *DescribeSecurityGroupRuleParams
WithContext adds the context to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) WithDefaults ¶
func (o *DescribeSecurityGroupRuleParams) WithDefaults() *DescribeSecurityGroupRuleParams
WithDefaults hydrates default values in the describe security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeSecurityGroupRuleParams) WithHTTPClient ¶
func (o *DescribeSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *DescribeSecurityGroupRuleParams
WithHTTPClient adds the HTTPClient to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) WithSecg ¶
func (o *DescribeSecurityGroupRuleParams) WithSecg(secg string) *DescribeSecurityGroupRuleParams
WithSecg adds the secg to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) WithSecgr ¶
func (o *DescribeSecurityGroupRuleParams) WithSecgr(secgr string) *DescribeSecurityGroupRuleParams
WithSecgr adds the secgr to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) WithTimeout ¶
func (o *DescribeSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *DescribeSecurityGroupRuleParams
WithTimeout adds the timeout to the describe security group rule params
func (*DescribeSecurityGroupRuleParams) WriteToRequest ¶
func (o *DescribeSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeSecurityGroupRuleReader ¶
type DescribeSecurityGroupRuleReader struct {
// contains filtered or unexported fields
}
DescribeSecurityGroupRuleReader is a Reader for the DescribeSecurityGroupRule structure.
func (*DescribeSecurityGroupRuleReader) ReadResponse ¶
func (o *DescribeSecurityGroupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityGroupRuleBadRequest ¶
type GetSecurityGroupRuleBadRequest struct {
Payload *vproxy_client_model.Error400
}
GetSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewGetSecurityGroupRuleBadRequest ¶
func NewGetSecurityGroupRuleBadRequest() *GetSecurityGroupRuleBadRequest
NewGetSecurityGroupRuleBadRequest creates a GetSecurityGroupRuleBadRequest with default headers values
func (*GetSecurityGroupRuleBadRequest) Code ¶
func (o *GetSecurityGroupRuleBadRequest) Code() int
Code gets the status code for the get security group rule bad request response
func (*GetSecurityGroupRuleBadRequest) Error ¶
func (o *GetSecurityGroupRuleBadRequest) Error() string
func (*GetSecurityGroupRuleBadRequest) GetPayload ¶
func (o *GetSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
func (*GetSecurityGroupRuleBadRequest) IsClientError ¶
func (o *GetSecurityGroupRuleBadRequest) IsClientError() bool
IsClientError returns true when this get security group rule bad request response has a 4xx status code
func (*GetSecurityGroupRuleBadRequest) IsCode ¶
func (o *GetSecurityGroupRuleBadRequest) IsCode(code int) bool
IsCode returns true when this get security group rule bad request response a status code equal to that given
func (*GetSecurityGroupRuleBadRequest) IsRedirect ¶
func (o *GetSecurityGroupRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this get security group rule bad request response has a 3xx status code
func (*GetSecurityGroupRuleBadRequest) IsServerError ¶
func (o *GetSecurityGroupRuleBadRequest) IsServerError() bool
IsServerError returns true when this get security group rule bad request response has a 5xx status code
func (*GetSecurityGroupRuleBadRequest) IsSuccess ¶
func (o *GetSecurityGroupRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this get security group rule bad request response has a 2xx status code
func (*GetSecurityGroupRuleBadRequest) String ¶
func (o *GetSecurityGroupRuleBadRequest) String() string
type GetSecurityGroupRuleConflict ¶
type GetSecurityGroupRuleConflict struct {
Payload *vproxy_client_model.Error409
}
GetSecurityGroupRuleConflict describes a response with status code 409, with default header values.
conflict
func NewGetSecurityGroupRuleConflict ¶
func NewGetSecurityGroupRuleConflict() *GetSecurityGroupRuleConflict
NewGetSecurityGroupRuleConflict creates a GetSecurityGroupRuleConflict with default headers values
func (*GetSecurityGroupRuleConflict) Code ¶
func (o *GetSecurityGroupRuleConflict) Code() int
Code gets the status code for the get security group rule conflict response
func (*GetSecurityGroupRuleConflict) Error ¶
func (o *GetSecurityGroupRuleConflict) Error() string
func (*GetSecurityGroupRuleConflict) GetPayload ¶
func (o *GetSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
func (*GetSecurityGroupRuleConflict) IsClientError ¶
func (o *GetSecurityGroupRuleConflict) IsClientError() bool
IsClientError returns true when this get security group rule conflict response has a 4xx status code
func (*GetSecurityGroupRuleConflict) IsCode ¶
func (o *GetSecurityGroupRuleConflict) IsCode(code int) bool
IsCode returns true when this get security group rule conflict response a status code equal to that given
func (*GetSecurityGroupRuleConflict) IsRedirect ¶
func (o *GetSecurityGroupRuleConflict) IsRedirect() bool
IsRedirect returns true when this get security group rule conflict response has a 3xx status code
func (*GetSecurityGroupRuleConflict) IsServerError ¶
func (o *GetSecurityGroupRuleConflict) IsServerError() bool
IsServerError returns true when this get security group rule conflict response has a 5xx status code
func (*GetSecurityGroupRuleConflict) IsSuccess ¶
func (o *GetSecurityGroupRuleConflict) IsSuccess() bool
IsSuccess returns true when this get security group rule conflict response has a 2xx status code
func (*GetSecurityGroupRuleConflict) String ¶
func (o *GetSecurityGroupRuleConflict) String() string
type GetSecurityGroupRuleInternalServerError ¶
type GetSecurityGroupRuleInternalServerError struct {
Payload *vproxy_client_model.Error500
}
GetSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetSecurityGroupRuleInternalServerError ¶
func NewGetSecurityGroupRuleInternalServerError() *GetSecurityGroupRuleInternalServerError
NewGetSecurityGroupRuleInternalServerError creates a GetSecurityGroupRuleInternalServerError with default headers values
func (*GetSecurityGroupRuleInternalServerError) Code ¶
func (o *GetSecurityGroupRuleInternalServerError) Code() int
Code gets the status code for the get security group rule internal server error response
func (*GetSecurityGroupRuleInternalServerError) Error ¶
func (o *GetSecurityGroupRuleInternalServerError) Error() string
func (*GetSecurityGroupRuleInternalServerError) GetPayload ¶
func (o *GetSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*GetSecurityGroupRuleInternalServerError) IsClientError ¶
func (o *GetSecurityGroupRuleInternalServerError) IsClientError() bool
IsClientError returns true when this get security group rule internal server error response has a 4xx status code
func (*GetSecurityGroupRuleInternalServerError) IsCode ¶
func (o *GetSecurityGroupRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this get security group rule internal server error response a status code equal to that given
func (*GetSecurityGroupRuleInternalServerError) IsRedirect ¶
func (o *GetSecurityGroupRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get security group rule internal server error response has a 3xx status code
func (*GetSecurityGroupRuleInternalServerError) IsServerError ¶
func (o *GetSecurityGroupRuleInternalServerError) IsServerError() bool
IsServerError returns true when this get security group rule internal server error response has a 5xx status code
func (*GetSecurityGroupRuleInternalServerError) IsSuccess ¶
func (o *GetSecurityGroupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get security group rule internal server error response has a 2xx status code
func (*GetSecurityGroupRuleInternalServerError) String ¶
func (o *GetSecurityGroupRuleInternalServerError) String() string
type GetSecurityGroupRuleNotFound ¶
type GetSecurityGroupRuleNotFound struct {
Payload *vproxy_client_model.Error404
}
GetSecurityGroupRuleNotFound describes a response with status code 404, with default header values.
resource not found
func NewGetSecurityGroupRuleNotFound ¶
func NewGetSecurityGroupRuleNotFound() *GetSecurityGroupRuleNotFound
NewGetSecurityGroupRuleNotFound creates a GetSecurityGroupRuleNotFound with default headers values
func (*GetSecurityGroupRuleNotFound) Code ¶
func (o *GetSecurityGroupRuleNotFound) Code() int
Code gets the status code for the get security group rule not found response
func (*GetSecurityGroupRuleNotFound) Error ¶
func (o *GetSecurityGroupRuleNotFound) Error() string
func (*GetSecurityGroupRuleNotFound) GetPayload ¶
func (o *GetSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
func (*GetSecurityGroupRuleNotFound) IsClientError ¶
func (o *GetSecurityGroupRuleNotFound) IsClientError() bool
IsClientError returns true when this get security group rule not found response has a 4xx status code
func (*GetSecurityGroupRuleNotFound) IsCode ¶
func (o *GetSecurityGroupRuleNotFound) IsCode(code int) bool
IsCode returns true when this get security group rule not found response a status code equal to that given
func (*GetSecurityGroupRuleNotFound) IsRedirect ¶
func (o *GetSecurityGroupRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get security group rule not found response has a 3xx status code
func (*GetSecurityGroupRuleNotFound) IsServerError ¶
func (o *GetSecurityGroupRuleNotFound) IsServerError() bool
IsServerError returns true when this get security group rule not found response has a 5xx status code
func (*GetSecurityGroupRuleNotFound) IsSuccess ¶
func (o *GetSecurityGroupRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get security group rule not found response has a 2xx status code
func (*GetSecurityGroupRuleNotFound) String ¶
func (o *GetSecurityGroupRuleNotFound) String() string
type GetSecurityGroupRuleOK ¶
type GetSecurityGroupRuleOK struct {
Payload *vproxy_client_model.SecurityGroupRule
}
GetSecurityGroupRuleOK describes a response with status code 200, with default header values.
ok
func NewGetSecurityGroupRuleOK ¶
func NewGetSecurityGroupRuleOK() *GetSecurityGroupRuleOK
NewGetSecurityGroupRuleOK creates a GetSecurityGroupRuleOK with default headers values
func (*GetSecurityGroupRuleOK) Code ¶
func (o *GetSecurityGroupRuleOK) Code() int
Code gets the status code for the get security group rule o k response
func (*GetSecurityGroupRuleOK) Error ¶
func (o *GetSecurityGroupRuleOK) Error() string
func (*GetSecurityGroupRuleOK) GetPayload ¶
func (o *GetSecurityGroupRuleOK) GetPayload() *vproxy_client_model.SecurityGroupRule
func (*GetSecurityGroupRuleOK) IsClientError ¶
func (o *GetSecurityGroupRuleOK) IsClientError() bool
IsClientError returns true when this get security group rule o k response has a 4xx status code
func (*GetSecurityGroupRuleOK) IsCode ¶
func (o *GetSecurityGroupRuleOK) IsCode(code int) bool
IsCode returns true when this get security group rule o k response a status code equal to that given
func (*GetSecurityGroupRuleOK) IsRedirect ¶
func (o *GetSecurityGroupRuleOK) IsRedirect() bool
IsRedirect returns true when this get security group rule o k response has a 3xx status code
func (*GetSecurityGroupRuleOK) IsServerError ¶
func (o *GetSecurityGroupRuleOK) IsServerError() bool
IsServerError returns true when this get security group rule o k response has a 5xx status code
func (*GetSecurityGroupRuleOK) IsSuccess ¶
func (o *GetSecurityGroupRuleOK) IsSuccess() bool
IsSuccess returns true when this get security group rule o k response has a 2xx status code
func (*GetSecurityGroupRuleOK) String ¶
func (o *GetSecurityGroupRuleOK) String() string
type GetSecurityGroupRuleParams ¶
type GetSecurityGroupRuleParams struct { /* Secg. name of the security-group */ Secg string /* Secgr. name of the security-group-rule */ Secgr string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityGroupRuleParams contains all the parameters to send to the API endpoint
for the get security group rule operation. Typically these are written to a http.Request.
func NewGetSecurityGroupRuleParams ¶
func NewGetSecurityGroupRuleParams() *GetSecurityGroupRuleParams
NewGetSecurityGroupRuleParams creates a new GetSecurityGroupRuleParams 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 NewGetSecurityGroupRuleParamsWithContext ¶
func NewGetSecurityGroupRuleParamsWithContext(ctx context.Context) *GetSecurityGroupRuleParams
NewGetSecurityGroupRuleParamsWithContext creates a new GetSecurityGroupRuleParams object with the ability to set a context for a request.
func NewGetSecurityGroupRuleParamsWithHTTPClient ¶
func NewGetSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *GetSecurityGroupRuleParams
NewGetSecurityGroupRuleParamsWithHTTPClient creates a new GetSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityGroupRuleParamsWithTimeout ¶
func NewGetSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *GetSecurityGroupRuleParams
NewGetSecurityGroupRuleParamsWithTimeout creates a new GetSecurityGroupRuleParams object with the ability to set a timeout on a request.
func (*GetSecurityGroupRuleParams) SetContext ¶
func (o *GetSecurityGroupRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get security group rule params
func (*GetSecurityGroupRuleParams) SetDefaults ¶
func (o *GetSecurityGroupRuleParams) SetDefaults()
SetDefaults hydrates default values in the get security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityGroupRuleParams) SetHTTPClient ¶
func (o *GetSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security group rule params
func (*GetSecurityGroupRuleParams) SetSecg ¶
func (o *GetSecurityGroupRuleParams) SetSecg(secg string)
SetSecg adds the secg to the get security group rule params
func (*GetSecurityGroupRuleParams) SetSecgr ¶
func (o *GetSecurityGroupRuleParams) SetSecgr(secgr string)
SetSecgr adds the secgr to the get security group rule params
func (*GetSecurityGroupRuleParams) SetTimeout ¶
func (o *GetSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security group rule params
func (*GetSecurityGroupRuleParams) WithContext ¶
func (o *GetSecurityGroupRuleParams) WithContext(ctx context.Context) *GetSecurityGroupRuleParams
WithContext adds the context to the get security group rule params
func (*GetSecurityGroupRuleParams) WithDefaults ¶
func (o *GetSecurityGroupRuleParams) WithDefaults() *GetSecurityGroupRuleParams
WithDefaults hydrates default values in the get security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityGroupRuleParams) WithHTTPClient ¶
func (o *GetSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *GetSecurityGroupRuleParams
WithHTTPClient adds the HTTPClient to the get security group rule params
func (*GetSecurityGroupRuleParams) WithSecg ¶
func (o *GetSecurityGroupRuleParams) WithSecg(secg string) *GetSecurityGroupRuleParams
WithSecg adds the secg to the get security group rule params
func (*GetSecurityGroupRuleParams) WithSecgr ¶
func (o *GetSecurityGroupRuleParams) WithSecgr(secgr string) *GetSecurityGroupRuleParams
WithSecgr adds the secgr to the get security group rule params
func (*GetSecurityGroupRuleParams) WithTimeout ¶
func (o *GetSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *GetSecurityGroupRuleParams
WithTimeout adds the timeout to the get security group rule params
func (*GetSecurityGroupRuleParams) WriteToRequest ¶
func (o *GetSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityGroupRuleReader ¶
type GetSecurityGroupRuleReader struct {
// contains filtered or unexported fields
}
GetSecurityGroupRuleReader is a Reader for the GetSecurityGroupRule structure.
func (*GetSecurityGroupRuleReader) ReadResponse ¶
func (o *GetSecurityGroupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSecurityGroupRuleBadRequest ¶
type ListSecurityGroupRuleBadRequest struct {
Payload *vproxy_client_model.Error400
}
ListSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewListSecurityGroupRuleBadRequest ¶
func NewListSecurityGroupRuleBadRequest() *ListSecurityGroupRuleBadRequest
NewListSecurityGroupRuleBadRequest creates a ListSecurityGroupRuleBadRequest with default headers values
func (*ListSecurityGroupRuleBadRequest) Code ¶
func (o *ListSecurityGroupRuleBadRequest) Code() int
Code gets the status code for the list security group rule bad request response
func (*ListSecurityGroupRuleBadRequest) Error ¶
func (o *ListSecurityGroupRuleBadRequest) Error() string
func (*ListSecurityGroupRuleBadRequest) GetPayload ¶
func (o *ListSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
func (*ListSecurityGroupRuleBadRequest) IsClientError ¶
func (o *ListSecurityGroupRuleBadRequest) IsClientError() bool
IsClientError returns true when this list security group rule bad request response has a 4xx status code
func (*ListSecurityGroupRuleBadRequest) IsCode ¶
func (o *ListSecurityGroupRuleBadRequest) IsCode(code int) bool
IsCode returns true when this list security group rule bad request response a status code equal to that given
func (*ListSecurityGroupRuleBadRequest) IsRedirect ¶
func (o *ListSecurityGroupRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this list security group rule bad request response has a 3xx status code
func (*ListSecurityGroupRuleBadRequest) IsServerError ¶
func (o *ListSecurityGroupRuleBadRequest) IsServerError() bool
IsServerError returns true when this list security group rule bad request response has a 5xx status code
func (*ListSecurityGroupRuleBadRequest) IsSuccess ¶
func (o *ListSecurityGroupRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this list security group rule bad request response has a 2xx status code
func (*ListSecurityGroupRuleBadRequest) String ¶
func (o *ListSecurityGroupRuleBadRequest) String() string
type ListSecurityGroupRuleConflict ¶
type ListSecurityGroupRuleConflict struct {
Payload *vproxy_client_model.Error409
}
ListSecurityGroupRuleConflict describes a response with status code 409, with default header values.
conflict
func NewListSecurityGroupRuleConflict ¶
func NewListSecurityGroupRuleConflict() *ListSecurityGroupRuleConflict
NewListSecurityGroupRuleConflict creates a ListSecurityGroupRuleConflict with default headers values
func (*ListSecurityGroupRuleConflict) Code ¶
func (o *ListSecurityGroupRuleConflict) Code() int
Code gets the status code for the list security group rule conflict response
func (*ListSecurityGroupRuleConflict) Error ¶
func (o *ListSecurityGroupRuleConflict) Error() string
func (*ListSecurityGroupRuleConflict) GetPayload ¶
func (o *ListSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
func (*ListSecurityGroupRuleConflict) IsClientError ¶
func (o *ListSecurityGroupRuleConflict) IsClientError() bool
IsClientError returns true when this list security group rule conflict response has a 4xx status code
func (*ListSecurityGroupRuleConflict) IsCode ¶
func (o *ListSecurityGroupRuleConflict) IsCode(code int) bool
IsCode returns true when this list security group rule conflict response a status code equal to that given
func (*ListSecurityGroupRuleConflict) IsRedirect ¶
func (o *ListSecurityGroupRuleConflict) IsRedirect() bool
IsRedirect returns true when this list security group rule conflict response has a 3xx status code
func (*ListSecurityGroupRuleConflict) IsServerError ¶
func (o *ListSecurityGroupRuleConflict) IsServerError() bool
IsServerError returns true when this list security group rule conflict response has a 5xx status code
func (*ListSecurityGroupRuleConflict) IsSuccess ¶
func (o *ListSecurityGroupRuleConflict) IsSuccess() bool
IsSuccess returns true when this list security group rule conflict response has a 2xx status code
func (*ListSecurityGroupRuleConflict) String ¶
func (o *ListSecurityGroupRuleConflict) String() string
type ListSecurityGroupRuleInternalServerError ¶
type ListSecurityGroupRuleInternalServerError struct {
Payload *vproxy_client_model.Error500
}
ListSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListSecurityGroupRuleInternalServerError ¶
func NewListSecurityGroupRuleInternalServerError() *ListSecurityGroupRuleInternalServerError
NewListSecurityGroupRuleInternalServerError creates a ListSecurityGroupRuleInternalServerError with default headers values
func (*ListSecurityGroupRuleInternalServerError) Code ¶
func (o *ListSecurityGroupRuleInternalServerError) Code() int
Code gets the status code for the list security group rule internal server error response
func (*ListSecurityGroupRuleInternalServerError) Error ¶
func (o *ListSecurityGroupRuleInternalServerError) Error() string
func (*ListSecurityGroupRuleInternalServerError) GetPayload ¶
func (o *ListSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*ListSecurityGroupRuleInternalServerError) IsClientError ¶
func (o *ListSecurityGroupRuleInternalServerError) IsClientError() bool
IsClientError returns true when this list security group rule internal server error response has a 4xx status code
func (*ListSecurityGroupRuleInternalServerError) IsCode ¶
func (o *ListSecurityGroupRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this list security group rule internal server error response a status code equal to that given
func (*ListSecurityGroupRuleInternalServerError) IsRedirect ¶
func (o *ListSecurityGroupRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this list security group rule internal server error response has a 3xx status code
func (*ListSecurityGroupRuleInternalServerError) IsServerError ¶
func (o *ListSecurityGroupRuleInternalServerError) IsServerError() bool
IsServerError returns true when this list security group rule internal server error response has a 5xx status code
func (*ListSecurityGroupRuleInternalServerError) IsSuccess ¶
func (o *ListSecurityGroupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this list security group rule internal server error response has a 2xx status code
func (*ListSecurityGroupRuleInternalServerError) String ¶
func (o *ListSecurityGroupRuleInternalServerError) String() string
type ListSecurityGroupRuleOK ¶
type ListSecurityGroupRuleOK struct {
Payload []*vproxy_client_model.SecurityGroupRule
}
ListSecurityGroupRuleOK describes a response with status code 200, with default header values.
ok
func NewListSecurityGroupRuleOK ¶
func NewListSecurityGroupRuleOK() *ListSecurityGroupRuleOK
NewListSecurityGroupRuleOK creates a ListSecurityGroupRuleOK with default headers values
func (*ListSecurityGroupRuleOK) Code ¶
func (o *ListSecurityGroupRuleOK) Code() int
Code gets the status code for the list security group rule o k response
func (*ListSecurityGroupRuleOK) Error ¶
func (o *ListSecurityGroupRuleOK) Error() string
func (*ListSecurityGroupRuleOK) GetPayload ¶
func (o *ListSecurityGroupRuleOK) GetPayload() []*vproxy_client_model.SecurityGroupRule
func (*ListSecurityGroupRuleOK) IsClientError ¶
func (o *ListSecurityGroupRuleOK) IsClientError() bool
IsClientError returns true when this list security group rule o k response has a 4xx status code
func (*ListSecurityGroupRuleOK) IsCode ¶
func (o *ListSecurityGroupRuleOK) IsCode(code int) bool
IsCode returns true when this list security group rule o k response a status code equal to that given
func (*ListSecurityGroupRuleOK) IsRedirect ¶
func (o *ListSecurityGroupRuleOK) IsRedirect() bool
IsRedirect returns true when this list security group rule o k response has a 3xx status code
func (*ListSecurityGroupRuleOK) IsServerError ¶
func (o *ListSecurityGroupRuleOK) IsServerError() bool
IsServerError returns true when this list security group rule o k response has a 5xx status code
func (*ListSecurityGroupRuleOK) IsSuccess ¶
func (o *ListSecurityGroupRuleOK) IsSuccess() bool
IsSuccess returns true when this list security group rule o k response has a 2xx status code
func (*ListSecurityGroupRuleOK) String ¶
func (o *ListSecurityGroupRuleOK) String() string
type ListSecurityGroupRuleParams ¶
type ListSecurityGroupRuleParams struct { /* Secg. name of the security-group */ Secg string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSecurityGroupRuleParams contains all the parameters to send to the API endpoint
for the list security group rule operation. Typically these are written to a http.Request.
func NewListSecurityGroupRuleParams ¶
func NewListSecurityGroupRuleParams() *ListSecurityGroupRuleParams
NewListSecurityGroupRuleParams creates a new ListSecurityGroupRuleParams 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 NewListSecurityGroupRuleParamsWithContext ¶
func NewListSecurityGroupRuleParamsWithContext(ctx context.Context) *ListSecurityGroupRuleParams
NewListSecurityGroupRuleParamsWithContext creates a new ListSecurityGroupRuleParams object with the ability to set a context for a request.
func NewListSecurityGroupRuleParamsWithHTTPClient ¶
func NewListSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *ListSecurityGroupRuleParams
NewListSecurityGroupRuleParamsWithHTTPClient creates a new ListSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.
func NewListSecurityGroupRuleParamsWithTimeout ¶
func NewListSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *ListSecurityGroupRuleParams
NewListSecurityGroupRuleParamsWithTimeout creates a new ListSecurityGroupRuleParams object with the ability to set a timeout on a request.
func (*ListSecurityGroupRuleParams) SetContext ¶
func (o *ListSecurityGroupRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the list security group rule params
func (*ListSecurityGroupRuleParams) SetDefaults ¶
func (o *ListSecurityGroupRuleParams) SetDefaults()
SetDefaults hydrates default values in the list security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*ListSecurityGroupRuleParams) SetHTTPClient ¶
func (o *ListSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list security group rule params
func (*ListSecurityGroupRuleParams) SetSecg ¶
func (o *ListSecurityGroupRuleParams) SetSecg(secg string)
SetSecg adds the secg to the list security group rule params
func (*ListSecurityGroupRuleParams) SetTimeout ¶
func (o *ListSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list security group rule params
func (*ListSecurityGroupRuleParams) WithContext ¶
func (o *ListSecurityGroupRuleParams) WithContext(ctx context.Context) *ListSecurityGroupRuleParams
WithContext adds the context to the list security group rule params
func (*ListSecurityGroupRuleParams) WithDefaults ¶
func (o *ListSecurityGroupRuleParams) WithDefaults() *ListSecurityGroupRuleParams
WithDefaults hydrates default values in the list security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*ListSecurityGroupRuleParams) WithHTTPClient ¶
func (o *ListSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *ListSecurityGroupRuleParams
WithHTTPClient adds the HTTPClient to the list security group rule params
func (*ListSecurityGroupRuleParams) WithSecg ¶
func (o *ListSecurityGroupRuleParams) WithSecg(secg string) *ListSecurityGroupRuleParams
WithSecg adds the secg to the list security group rule params
func (*ListSecurityGroupRuleParams) WithTimeout ¶
func (o *ListSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *ListSecurityGroupRuleParams
WithTimeout adds the timeout to the list security group rule params
func (*ListSecurityGroupRuleParams) WriteToRequest ¶
func (o *ListSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSecurityGroupRuleReader ¶
type ListSecurityGroupRuleReader struct {
// contains filtered or unexported fields
}
ListSecurityGroupRuleReader is a Reader for the ListSecurityGroupRule structure.
func (*ListSecurityGroupRuleReader) ReadResponse ¶
func (o *ListSecurityGroupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveSecurityGroupRuleBadRequest ¶
type RemoveSecurityGroupRuleBadRequest struct {
Payload *vproxy_client_model.Error400
}
RemoveSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewRemoveSecurityGroupRuleBadRequest ¶
func NewRemoveSecurityGroupRuleBadRequest() *RemoveSecurityGroupRuleBadRequest
NewRemoveSecurityGroupRuleBadRequest creates a RemoveSecurityGroupRuleBadRequest with default headers values
func (*RemoveSecurityGroupRuleBadRequest) Code ¶
func (o *RemoveSecurityGroupRuleBadRequest) Code() int
Code gets the status code for the remove security group rule bad request response
func (*RemoveSecurityGroupRuleBadRequest) Error ¶
func (o *RemoveSecurityGroupRuleBadRequest) Error() string
func (*RemoveSecurityGroupRuleBadRequest) GetPayload ¶
func (o *RemoveSecurityGroupRuleBadRequest) GetPayload() *vproxy_client_model.Error400
func (*RemoveSecurityGroupRuleBadRequest) IsClientError ¶
func (o *RemoveSecurityGroupRuleBadRequest) IsClientError() bool
IsClientError returns true when this remove security group rule bad request response has a 4xx status code
func (*RemoveSecurityGroupRuleBadRequest) IsCode ¶
func (o *RemoveSecurityGroupRuleBadRequest) IsCode(code int) bool
IsCode returns true when this remove security group rule bad request response a status code equal to that given
func (*RemoveSecurityGroupRuleBadRequest) IsRedirect ¶
func (o *RemoveSecurityGroupRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this remove security group rule bad request response has a 3xx status code
func (*RemoveSecurityGroupRuleBadRequest) IsServerError ¶
func (o *RemoveSecurityGroupRuleBadRequest) IsServerError() bool
IsServerError returns true when this remove security group rule bad request response has a 5xx status code
func (*RemoveSecurityGroupRuleBadRequest) IsSuccess ¶
func (o *RemoveSecurityGroupRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this remove security group rule bad request response has a 2xx status code
func (*RemoveSecurityGroupRuleBadRequest) String ¶
func (o *RemoveSecurityGroupRuleBadRequest) String() string
type RemoveSecurityGroupRuleConflict ¶
type RemoveSecurityGroupRuleConflict struct {
Payload *vproxy_client_model.Error409
}
RemoveSecurityGroupRuleConflict describes a response with status code 409, with default header values.
conflict
func NewRemoveSecurityGroupRuleConflict ¶
func NewRemoveSecurityGroupRuleConflict() *RemoveSecurityGroupRuleConflict
NewRemoveSecurityGroupRuleConflict creates a RemoveSecurityGroupRuleConflict with default headers values
func (*RemoveSecurityGroupRuleConflict) Code ¶
func (o *RemoveSecurityGroupRuleConflict) Code() int
Code gets the status code for the remove security group rule conflict response
func (*RemoveSecurityGroupRuleConflict) Error ¶
func (o *RemoveSecurityGroupRuleConflict) Error() string
func (*RemoveSecurityGroupRuleConflict) GetPayload ¶
func (o *RemoveSecurityGroupRuleConflict) GetPayload() *vproxy_client_model.Error409
func (*RemoveSecurityGroupRuleConflict) IsClientError ¶
func (o *RemoveSecurityGroupRuleConflict) IsClientError() bool
IsClientError returns true when this remove security group rule conflict response has a 4xx status code
func (*RemoveSecurityGroupRuleConflict) IsCode ¶
func (o *RemoveSecurityGroupRuleConflict) IsCode(code int) bool
IsCode returns true when this remove security group rule conflict response a status code equal to that given
func (*RemoveSecurityGroupRuleConflict) IsRedirect ¶
func (o *RemoveSecurityGroupRuleConflict) IsRedirect() bool
IsRedirect returns true when this remove security group rule conflict response has a 3xx status code
func (*RemoveSecurityGroupRuleConflict) IsServerError ¶
func (o *RemoveSecurityGroupRuleConflict) IsServerError() bool
IsServerError returns true when this remove security group rule conflict response has a 5xx status code
func (*RemoveSecurityGroupRuleConflict) IsSuccess ¶
func (o *RemoveSecurityGroupRuleConflict) IsSuccess() bool
IsSuccess returns true when this remove security group rule conflict response has a 2xx status code
func (*RemoveSecurityGroupRuleConflict) String ¶
func (o *RemoveSecurityGroupRuleConflict) String() string
type RemoveSecurityGroupRuleInternalServerError ¶
type RemoveSecurityGroupRuleInternalServerError struct {
Payload *vproxy_client_model.Error500
}
RemoveSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.
internal error
func NewRemoveSecurityGroupRuleInternalServerError ¶
func NewRemoveSecurityGroupRuleInternalServerError() *RemoveSecurityGroupRuleInternalServerError
NewRemoveSecurityGroupRuleInternalServerError creates a RemoveSecurityGroupRuleInternalServerError with default headers values
func (*RemoveSecurityGroupRuleInternalServerError) Code ¶
func (o *RemoveSecurityGroupRuleInternalServerError) Code() int
Code gets the status code for the remove security group rule internal server error response
func (*RemoveSecurityGroupRuleInternalServerError) Error ¶
func (o *RemoveSecurityGroupRuleInternalServerError) Error() string
func (*RemoveSecurityGroupRuleInternalServerError) GetPayload ¶
func (o *RemoveSecurityGroupRuleInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*RemoveSecurityGroupRuleInternalServerError) IsClientError ¶
func (o *RemoveSecurityGroupRuleInternalServerError) IsClientError() bool
IsClientError returns true when this remove security group rule internal server error response has a 4xx status code
func (*RemoveSecurityGroupRuleInternalServerError) IsCode ¶
func (o *RemoveSecurityGroupRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this remove security group rule internal server error response a status code equal to that given
func (*RemoveSecurityGroupRuleInternalServerError) IsRedirect ¶
func (o *RemoveSecurityGroupRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove security group rule internal server error response has a 3xx status code
func (*RemoveSecurityGroupRuleInternalServerError) IsServerError ¶
func (o *RemoveSecurityGroupRuleInternalServerError) IsServerError() bool
IsServerError returns true when this remove security group rule internal server error response has a 5xx status code
func (*RemoveSecurityGroupRuleInternalServerError) IsSuccess ¶
func (o *RemoveSecurityGroupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove security group rule internal server error response has a 2xx status code
func (*RemoveSecurityGroupRuleInternalServerError) String ¶
func (o *RemoveSecurityGroupRuleInternalServerError) String() string
type RemoveSecurityGroupRuleNoContent ¶
type RemoveSecurityGroupRuleNoContent struct { }
RemoveSecurityGroupRuleNoContent describes a response with status code 204, with default header values.
ok
func NewRemoveSecurityGroupRuleNoContent ¶
func NewRemoveSecurityGroupRuleNoContent() *RemoveSecurityGroupRuleNoContent
NewRemoveSecurityGroupRuleNoContent creates a RemoveSecurityGroupRuleNoContent with default headers values
func (*RemoveSecurityGroupRuleNoContent) Code ¶
func (o *RemoveSecurityGroupRuleNoContent) Code() int
Code gets the status code for the remove security group rule no content response
func (*RemoveSecurityGroupRuleNoContent) Error ¶
func (o *RemoveSecurityGroupRuleNoContent) Error() string
func (*RemoveSecurityGroupRuleNoContent) IsClientError ¶
func (o *RemoveSecurityGroupRuleNoContent) IsClientError() bool
IsClientError returns true when this remove security group rule no content response has a 4xx status code
func (*RemoveSecurityGroupRuleNoContent) IsCode ¶
func (o *RemoveSecurityGroupRuleNoContent) IsCode(code int) bool
IsCode returns true when this remove security group rule no content response a status code equal to that given
func (*RemoveSecurityGroupRuleNoContent) IsRedirect ¶
func (o *RemoveSecurityGroupRuleNoContent) IsRedirect() bool
IsRedirect returns true when this remove security group rule no content response has a 3xx status code
func (*RemoveSecurityGroupRuleNoContent) IsServerError ¶
func (o *RemoveSecurityGroupRuleNoContent) IsServerError() bool
IsServerError returns true when this remove security group rule no content response has a 5xx status code
func (*RemoveSecurityGroupRuleNoContent) IsSuccess ¶
func (o *RemoveSecurityGroupRuleNoContent) IsSuccess() bool
IsSuccess returns true when this remove security group rule no content response has a 2xx status code
func (*RemoveSecurityGroupRuleNoContent) String ¶
func (o *RemoveSecurityGroupRuleNoContent) String() string
type RemoveSecurityGroupRuleNotFound ¶
type RemoveSecurityGroupRuleNotFound struct {
Payload *vproxy_client_model.Error404
}
RemoveSecurityGroupRuleNotFound describes a response with status code 404, with default header values.
resource not found
func NewRemoveSecurityGroupRuleNotFound ¶
func NewRemoveSecurityGroupRuleNotFound() *RemoveSecurityGroupRuleNotFound
NewRemoveSecurityGroupRuleNotFound creates a RemoveSecurityGroupRuleNotFound with default headers values
func (*RemoveSecurityGroupRuleNotFound) Code ¶
func (o *RemoveSecurityGroupRuleNotFound) Code() int
Code gets the status code for the remove security group rule not found response
func (*RemoveSecurityGroupRuleNotFound) Error ¶
func (o *RemoveSecurityGroupRuleNotFound) Error() string
func (*RemoveSecurityGroupRuleNotFound) GetPayload ¶
func (o *RemoveSecurityGroupRuleNotFound) GetPayload() *vproxy_client_model.Error404
func (*RemoveSecurityGroupRuleNotFound) IsClientError ¶
func (o *RemoveSecurityGroupRuleNotFound) IsClientError() bool
IsClientError returns true when this remove security group rule not found response has a 4xx status code
func (*RemoveSecurityGroupRuleNotFound) IsCode ¶
func (o *RemoveSecurityGroupRuleNotFound) IsCode(code int) bool
IsCode returns true when this remove security group rule not found response a status code equal to that given
func (*RemoveSecurityGroupRuleNotFound) IsRedirect ¶
func (o *RemoveSecurityGroupRuleNotFound) IsRedirect() bool
IsRedirect returns true when this remove security group rule not found response has a 3xx status code
func (*RemoveSecurityGroupRuleNotFound) IsServerError ¶
func (o *RemoveSecurityGroupRuleNotFound) IsServerError() bool
IsServerError returns true when this remove security group rule not found response has a 5xx status code
func (*RemoveSecurityGroupRuleNotFound) IsSuccess ¶
func (o *RemoveSecurityGroupRuleNotFound) IsSuccess() bool
IsSuccess returns true when this remove security group rule not found response has a 2xx status code
func (*RemoveSecurityGroupRuleNotFound) String ¶
func (o *RemoveSecurityGroupRuleNotFound) String() string
type RemoveSecurityGroupRuleParams ¶
type RemoveSecurityGroupRuleParams struct { /* Secg. name of the security-group */ Secg string /* Secgr. name of the security-group-rule */ Secgr string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveSecurityGroupRuleParams contains all the parameters to send to the API endpoint
for the remove security group rule operation. Typically these are written to a http.Request.
func NewRemoveSecurityGroupRuleParams ¶
func NewRemoveSecurityGroupRuleParams() *RemoveSecurityGroupRuleParams
NewRemoveSecurityGroupRuleParams creates a new RemoveSecurityGroupRuleParams 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 NewRemoveSecurityGroupRuleParamsWithContext ¶
func NewRemoveSecurityGroupRuleParamsWithContext(ctx context.Context) *RemoveSecurityGroupRuleParams
NewRemoveSecurityGroupRuleParamsWithContext creates a new RemoveSecurityGroupRuleParams object with the ability to set a context for a request.
func NewRemoveSecurityGroupRuleParamsWithHTTPClient ¶
func NewRemoveSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *RemoveSecurityGroupRuleParams
NewRemoveSecurityGroupRuleParamsWithHTTPClient creates a new RemoveSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveSecurityGroupRuleParamsWithTimeout ¶
func NewRemoveSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *RemoveSecurityGroupRuleParams
NewRemoveSecurityGroupRuleParamsWithTimeout creates a new RemoveSecurityGroupRuleParams object with the ability to set a timeout on a request.
func (*RemoveSecurityGroupRuleParams) SetContext ¶
func (o *RemoveSecurityGroupRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) SetDefaults ¶
func (o *RemoveSecurityGroupRuleParams) SetDefaults()
SetDefaults hydrates default values in the remove security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveSecurityGroupRuleParams) SetHTTPClient ¶
func (o *RemoveSecurityGroupRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) SetSecg ¶
func (o *RemoveSecurityGroupRuleParams) SetSecg(secg string)
SetSecg adds the secg to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) SetSecgr ¶
func (o *RemoveSecurityGroupRuleParams) SetSecgr(secgr string)
SetSecgr adds the secgr to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) SetTimeout ¶
func (o *RemoveSecurityGroupRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) WithContext ¶
func (o *RemoveSecurityGroupRuleParams) WithContext(ctx context.Context) *RemoveSecurityGroupRuleParams
WithContext adds the context to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) WithDefaults ¶
func (o *RemoveSecurityGroupRuleParams) WithDefaults() *RemoveSecurityGroupRuleParams
WithDefaults hydrates default values in the remove security group rule params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveSecurityGroupRuleParams) WithHTTPClient ¶
func (o *RemoveSecurityGroupRuleParams) WithHTTPClient(client *http.Client) *RemoveSecurityGroupRuleParams
WithHTTPClient adds the HTTPClient to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) WithSecg ¶
func (o *RemoveSecurityGroupRuleParams) WithSecg(secg string) *RemoveSecurityGroupRuleParams
WithSecg adds the secg to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) WithSecgr ¶
func (o *RemoveSecurityGroupRuleParams) WithSecgr(secgr string) *RemoveSecurityGroupRuleParams
WithSecgr adds the secgr to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) WithTimeout ¶
func (o *RemoveSecurityGroupRuleParams) WithTimeout(timeout time.Duration) *RemoveSecurityGroupRuleParams
WithTimeout adds the timeout to the remove security group rule params
func (*RemoveSecurityGroupRuleParams) WriteToRequest ¶
func (o *RemoveSecurityGroupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveSecurityGroupRuleReader ¶
type RemoveSecurityGroupRuleReader struct {
// contains filtered or unexported fields
}
RemoveSecurityGroupRuleReader is a Reader for the RemoveSecurityGroupRule structure.
func (*RemoveSecurityGroupRuleReader) ReadResponse ¶
func (o *RemoveSecurityGroupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_security_group_rule_parameters.go
- add_security_group_rule_responses.go
- describe_security_group_rule_parameters.go
- describe_security_group_rule_responses.go
- get_security_group_rule_parameters.go
- get_security_group_rule_responses.go
- list_security_group_rule_parameters.go
- list_security_group_rule_responses.go
- remove_security_group_rule_parameters.go
- remove_security_group_rule_responses.go
- security_group_rule_client.go