Documentation
¶
Index ¶
- type Client
- func (a *Client) SecurityGroupCreateUsingPUT(params *SecurityGroupCreateUsingPUTParams, opts ...ClientOption) (*SecurityGroupCreateUsingPUTOK, *SecurityGroupCreateUsingPUTCreated, error)
- func (a *Client) SecurityGroupDeleteUsingDELETE(params *SecurityGroupDeleteUsingDELETEParams, opts ...ClientOption) (*SecurityGroupDeleteUsingDELETEOK, *SecurityGroupDeleteUsingDELETECreated, ...)
- func (a *Client) SecurityGroupGetUsingGET(params *SecurityGroupGetUsingGETParams, opts ...ClientOption) (*SecurityGroupGetUsingGETOK, error)
- func (a *Client) SecurityGroupListUsingGET(params *SecurityGroupListUsingGETParams, opts ...ClientOption) (*SecurityGroupListUsingGETOK, error)
- func (a *Client) SecurityGroupUpdateUsingPUT(params *SecurityGroupUpdateUsingPUTParams, opts ...ClientOption) (*SecurityGroupUpdateUsingPUTOK, *SecurityGroupUpdateUsingPUTCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type SecurityGroupCreateUsingPUTBadRequest
- type SecurityGroupCreateUsingPUTCreated
- type SecurityGroupCreateUsingPUTOK
- type SecurityGroupCreateUsingPUTParams
- func NewSecurityGroupCreateUsingPUTParams() *SecurityGroupCreateUsingPUTParams
- func NewSecurityGroupCreateUsingPUTParamsWithContext(ctx context.Context) *SecurityGroupCreateUsingPUTParams
- func NewSecurityGroupCreateUsingPUTParamsWithHTTPClient(client *http.Client) *SecurityGroupCreateUsingPUTParams
- func NewSecurityGroupCreateUsingPUTParamsWithTimeout(timeout time.Duration) *SecurityGroupCreateUsingPUTParams
- func (o *SecurityGroupCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *SecurityGroupCreateUsingPUTParams) SetDefaults()
- func (o *SecurityGroupCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *SecurityGroupCreateUsingPUTParams) SetSecurityGroup(securityGroup *models.SecurityGroup)
- func (o *SecurityGroupCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *SecurityGroupCreateUsingPUTParams) WithContext(ctx context.Context) *SecurityGroupCreateUsingPUTParams
- func (o *SecurityGroupCreateUsingPUTParams) WithDefaults() *SecurityGroupCreateUsingPUTParams
- func (o *SecurityGroupCreateUsingPUTParams) WithHTTPClient(client *http.Client) *SecurityGroupCreateUsingPUTParams
- func (o *SecurityGroupCreateUsingPUTParams) WithSecurityGroup(securityGroup *models.SecurityGroup) *SecurityGroupCreateUsingPUTParams
- func (o *SecurityGroupCreateUsingPUTParams) WithTimeout(timeout time.Duration) *SecurityGroupCreateUsingPUTParams
- func (o *SecurityGroupCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecurityGroupCreateUsingPUTReader
- type SecurityGroupDeleteUsingDELETEBadRequest
- type SecurityGroupDeleteUsingDELETECreated
- type SecurityGroupDeleteUsingDELETEOK
- type SecurityGroupDeleteUsingDELETEParams
- func NewSecurityGroupDeleteUsingDELETEParams() *SecurityGroupDeleteUsingDELETEParams
- func NewSecurityGroupDeleteUsingDELETEParamsWithContext(ctx context.Context) *SecurityGroupDeleteUsingDELETEParams
- func NewSecurityGroupDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *SecurityGroupDeleteUsingDELETEParams
- func NewSecurityGroupDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *SecurityGroupDeleteUsingDELETEParams
- func (o *SecurityGroupDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *SecurityGroupDeleteUsingDELETEParams) SetDefaults()
- func (o *SecurityGroupDeleteUsingDELETEParams) SetGroupID(groupID string)
- func (o *SecurityGroupDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *SecurityGroupDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *SecurityGroupDeleteUsingDELETEParams) WithContext(ctx context.Context) *SecurityGroupDeleteUsingDELETEParams
- func (o *SecurityGroupDeleteUsingDELETEParams) WithDefaults() *SecurityGroupDeleteUsingDELETEParams
- func (o *SecurityGroupDeleteUsingDELETEParams) WithGroupID(groupID string) *SecurityGroupDeleteUsingDELETEParams
- func (o *SecurityGroupDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *SecurityGroupDeleteUsingDELETEParams
- func (o *SecurityGroupDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *SecurityGroupDeleteUsingDELETEParams
- func (o *SecurityGroupDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecurityGroupDeleteUsingDELETEReader
- type SecurityGroupGetUsingGETBadRequest
- type SecurityGroupGetUsingGETNotFound
- type SecurityGroupGetUsingGETOK
- type SecurityGroupGetUsingGETParams
- func NewSecurityGroupGetUsingGETParams() *SecurityGroupGetUsingGETParams
- func NewSecurityGroupGetUsingGETParamsWithContext(ctx context.Context) *SecurityGroupGetUsingGETParams
- func NewSecurityGroupGetUsingGETParamsWithHTTPClient(client *http.Client) *SecurityGroupGetUsingGETParams
- func NewSecurityGroupGetUsingGETParamsWithTimeout(timeout time.Duration) *SecurityGroupGetUsingGETParams
- func (o *SecurityGroupGetUsingGETParams) SetContext(ctx context.Context)
- func (o *SecurityGroupGetUsingGETParams) SetDefaults()
- func (o *SecurityGroupGetUsingGETParams) SetGroupID(groupID string)
- func (o *SecurityGroupGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *SecurityGroupGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *SecurityGroupGetUsingGETParams) WithContext(ctx context.Context) *SecurityGroupGetUsingGETParams
- func (o *SecurityGroupGetUsingGETParams) WithDefaults() *SecurityGroupGetUsingGETParams
- func (o *SecurityGroupGetUsingGETParams) WithGroupID(groupID string) *SecurityGroupGetUsingGETParams
- func (o *SecurityGroupGetUsingGETParams) WithHTTPClient(client *http.Client) *SecurityGroupGetUsingGETParams
- func (o *SecurityGroupGetUsingGETParams) WithTimeout(timeout time.Duration) *SecurityGroupGetUsingGETParams
- func (o *SecurityGroupGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecurityGroupGetUsingGETReader
- type SecurityGroupListUsingGETBadRequest
- type SecurityGroupListUsingGETOK
- type SecurityGroupListUsingGETParams
- func NewSecurityGroupListUsingGETParams() *SecurityGroupListUsingGETParams
- func NewSecurityGroupListUsingGETParamsWithContext(ctx context.Context) *SecurityGroupListUsingGETParams
- func NewSecurityGroupListUsingGETParamsWithHTTPClient(client *http.Client) *SecurityGroupListUsingGETParams
- func NewSecurityGroupListUsingGETParamsWithTimeout(timeout time.Duration) *SecurityGroupListUsingGETParams
- func (o *SecurityGroupListUsingGETParams) SetContext(ctx context.Context)
- func (o *SecurityGroupListUsingGETParams) SetDefaults()
- func (o *SecurityGroupListUsingGETParams) SetDisplayName(displayName *string)
- func (o *SecurityGroupListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *SecurityGroupListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *SecurityGroupListUsingGETParams) WithContext(ctx context.Context) *SecurityGroupListUsingGETParams
- func (o *SecurityGroupListUsingGETParams) WithDefaults() *SecurityGroupListUsingGETParams
- func (o *SecurityGroupListUsingGETParams) WithDisplayName(displayName *string) *SecurityGroupListUsingGETParams
- func (o *SecurityGroupListUsingGETParams) WithHTTPClient(client *http.Client) *SecurityGroupListUsingGETParams
- func (o *SecurityGroupListUsingGETParams) WithTimeout(timeout time.Duration) *SecurityGroupListUsingGETParams
- func (o *SecurityGroupListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecurityGroupListUsingGETReader
- type SecurityGroupUpdateUsingPUTBadRequest
- type SecurityGroupUpdateUsingPUTCreated
- type SecurityGroupUpdateUsingPUTOK
- type SecurityGroupUpdateUsingPUTParams
- func NewSecurityGroupUpdateUsingPUTParams() *SecurityGroupUpdateUsingPUTParams
- func NewSecurityGroupUpdateUsingPUTParamsWithContext(ctx context.Context) *SecurityGroupUpdateUsingPUTParams
- func NewSecurityGroupUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *SecurityGroupUpdateUsingPUTParams
- func NewSecurityGroupUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *SecurityGroupUpdateUsingPUTParams) SetDefaults()
- func (o *SecurityGroupUpdateUsingPUTParams) SetGroupID(groupID string)
- func (o *SecurityGroupUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *SecurityGroupUpdateUsingPUTParams) SetSecurityGroup(securityGroup *models.SecurityGroup)
- func (o *SecurityGroupUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *SecurityGroupUpdateUsingPUTParams) WithContext(ctx context.Context) *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) WithDefaults() *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) WithGroupID(groupID string) *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) WithSecurityGroup(securityGroup *models.SecurityGroup) *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *SecurityGroupUpdateUsingPUTParams
- func (o *SecurityGroupUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecurityGroupUpdateUsingPUTReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for security groups API
func (*Client) SecurityGroupCreateUsingPUT ¶
func (a *Client) SecurityGroupCreateUsingPUT(params *SecurityGroupCreateUsingPUTParams, opts ...ClientOption) (*SecurityGroupCreateUsingPUTOK, *SecurityGroupCreateUsingPUTCreated, error)
SecurityGroupCreateUsingPUT creates
Create security group in NSX-T
func (*Client) SecurityGroupDeleteUsingDELETE ¶
func (a *Client) SecurityGroupDeleteUsingDELETE(params *SecurityGroupDeleteUsingDELETEParams, opts ...ClientOption) (*SecurityGroupDeleteUsingDELETEOK, *SecurityGroupDeleteUsingDELETECreated, error)
SecurityGroupDeleteUsingDELETE deletes
Delete security group from NSX-T
func (*Client) SecurityGroupGetUsingGET ¶
func (a *Client) SecurityGroupGetUsingGET(params *SecurityGroupGetUsingGETParams, opts ...ClientOption) (*SecurityGroupGetUsingGETOK, error)
SecurityGroupGetUsingGET gets
Get security group from NSX-T
func (*Client) SecurityGroupListUsingGET ¶
func (a *Client) SecurityGroupListUsingGET(params *SecurityGroupListUsingGETParams, opts ...ClientOption) (*SecurityGroupListUsingGETOK, error)
SecurityGroupListUsingGET lists
List security groups from NSX-T
func (*Client) SecurityGroupUpdateUsingPUT ¶
func (a *Client) SecurityGroupUpdateUsingPUT(params *SecurityGroupUpdateUsingPUTParams, opts ...ClientOption) (*SecurityGroupUpdateUsingPUTOK, *SecurityGroupUpdateUsingPUTCreated, error)
SecurityGroupUpdateUsingPUT updates
Update security group from NSX-T
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SecurityGroupCreateUsingPUT(params *SecurityGroupCreateUsingPUTParams, opts ...ClientOption) (*SecurityGroupCreateUsingPUTOK, *SecurityGroupCreateUsingPUTCreated, error) SecurityGroupDeleteUsingDELETE(params *SecurityGroupDeleteUsingDELETEParams, opts ...ClientOption) (*SecurityGroupDeleteUsingDELETEOK, *SecurityGroupDeleteUsingDELETECreated, error) SecurityGroupGetUsingGET(params *SecurityGroupGetUsingGETParams, opts ...ClientOption) (*SecurityGroupGetUsingGETOK, error) SecurityGroupListUsingGET(params *SecurityGroupListUsingGETParams, opts ...ClientOption) (*SecurityGroupListUsingGETOK, error) SecurityGroupUpdateUsingPUT(params *SecurityGroupUpdateUsingPUTParams, opts ...ClientOption) (*SecurityGroupUpdateUsingPUTOK, *SecurityGroupUpdateUsingPUTCreated, 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 groups API client.
type SecurityGroupCreateUsingPUTBadRequest ¶
type SecurityGroupCreateUsingPUTBadRequest struct {
Payload *models.ProxyResponseMessage
}
SecurityGroupCreateUsingPUTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewSecurityGroupCreateUsingPUTBadRequest ¶
func NewSecurityGroupCreateUsingPUTBadRequest() *SecurityGroupCreateUsingPUTBadRequest
NewSecurityGroupCreateUsingPUTBadRequest creates a SecurityGroupCreateUsingPUTBadRequest with default headers values
func (*SecurityGroupCreateUsingPUTBadRequest) Error ¶
func (o *SecurityGroupCreateUsingPUTBadRequest) Error() string
func (*SecurityGroupCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *SecurityGroupCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type SecurityGroupCreateUsingPUTCreated ¶
type SecurityGroupCreateUsingPUTCreated struct {
Payload *models.CreateSecurityGroupResponse
}
SecurityGroupCreateUsingPUTCreated describes a response with status code 201, with default header values.
Entity has been created
func NewSecurityGroupCreateUsingPUTCreated ¶
func NewSecurityGroupCreateUsingPUTCreated() *SecurityGroupCreateUsingPUTCreated
NewSecurityGroupCreateUsingPUTCreated creates a SecurityGroupCreateUsingPUTCreated with default headers values
func (*SecurityGroupCreateUsingPUTCreated) Error ¶
func (o *SecurityGroupCreateUsingPUTCreated) Error() string
func (*SecurityGroupCreateUsingPUTCreated) GetPayload ¶
func (o *SecurityGroupCreateUsingPUTCreated) GetPayload() *models.CreateSecurityGroupResponse
type SecurityGroupCreateUsingPUTOK ¶
type SecurityGroupCreateUsingPUTOK struct {
Payload *models.CreateSecurityGroupResponse
}
SecurityGroupCreateUsingPUTOK describes a response with status code 200, with default header values.
OK
func NewSecurityGroupCreateUsingPUTOK ¶
func NewSecurityGroupCreateUsingPUTOK() *SecurityGroupCreateUsingPUTOK
NewSecurityGroupCreateUsingPUTOK creates a SecurityGroupCreateUsingPUTOK with default headers values
func (*SecurityGroupCreateUsingPUTOK) Error ¶
func (o *SecurityGroupCreateUsingPUTOK) Error() string
func (*SecurityGroupCreateUsingPUTOK) GetPayload ¶
func (o *SecurityGroupCreateUsingPUTOK) GetPayload() *models.CreateSecurityGroupResponse
type SecurityGroupCreateUsingPUTParams ¶
type SecurityGroupCreateUsingPUTParams struct { /* SecurityGroup. securityGroup */ SecurityGroup *models.SecurityGroup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecurityGroupCreateUsingPUTParams contains all the parameters to send to the API endpoint
for the security group create using p u t operation. Typically these are written to a http.Request.
func NewSecurityGroupCreateUsingPUTParams ¶
func NewSecurityGroupCreateUsingPUTParams() *SecurityGroupCreateUsingPUTParams
NewSecurityGroupCreateUsingPUTParams creates a new SecurityGroupCreateUsingPUTParams 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 NewSecurityGroupCreateUsingPUTParamsWithContext ¶
func NewSecurityGroupCreateUsingPUTParamsWithContext(ctx context.Context) *SecurityGroupCreateUsingPUTParams
NewSecurityGroupCreateUsingPUTParamsWithContext creates a new SecurityGroupCreateUsingPUTParams object with the ability to set a context for a request.
func NewSecurityGroupCreateUsingPUTParamsWithHTTPClient ¶
func NewSecurityGroupCreateUsingPUTParamsWithHTTPClient(client *http.Client) *SecurityGroupCreateUsingPUTParams
NewSecurityGroupCreateUsingPUTParamsWithHTTPClient creates a new SecurityGroupCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewSecurityGroupCreateUsingPUTParamsWithTimeout ¶
func NewSecurityGroupCreateUsingPUTParamsWithTimeout(timeout time.Duration) *SecurityGroupCreateUsingPUTParams
NewSecurityGroupCreateUsingPUTParamsWithTimeout creates a new SecurityGroupCreateUsingPUTParams object with the ability to set a timeout on a request.
func (*SecurityGroupCreateUsingPUTParams) SetContext ¶
func (o *SecurityGroupCreateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *SecurityGroupCreateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the security group create using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupCreateUsingPUTParams) SetHTTPClient ¶
func (o *SecurityGroupCreateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) SetSecurityGroup ¶
func (o *SecurityGroupCreateUsingPUTParams) SetSecurityGroup(securityGroup *models.SecurityGroup)
SetSecurityGroup adds the securityGroup to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) SetTimeout ¶
func (o *SecurityGroupCreateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) WithContext ¶
func (o *SecurityGroupCreateUsingPUTParams) WithContext(ctx context.Context) *SecurityGroupCreateUsingPUTParams
WithContext adds the context to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *SecurityGroupCreateUsingPUTParams) WithDefaults() *SecurityGroupCreateUsingPUTParams
WithDefaults hydrates default values in the security group create using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupCreateUsingPUTParams) WithHTTPClient ¶
func (o *SecurityGroupCreateUsingPUTParams) WithHTTPClient(client *http.Client) *SecurityGroupCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) WithSecurityGroup ¶
func (o *SecurityGroupCreateUsingPUTParams) WithSecurityGroup(securityGroup *models.SecurityGroup) *SecurityGroupCreateUsingPUTParams
WithSecurityGroup adds the securityGroup to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) WithTimeout ¶
func (o *SecurityGroupCreateUsingPUTParams) WithTimeout(timeout time.Duration) *SecurityGroupCreateUsingPUTParams
WithTimeout adds the timeout to the security group create using p u t params
func (*SecurityGroupCreateUsingPUTParams) WriteToRequest ¶
func (o *SecurityGroupCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecurityGroupCreateUsingPUTReader ¶
type SecurityGroupCreateUsingPUTReader struct {
// contains filtered or unexported fields
}
SecurityGroupCreateUsingPUTReader is a Reader for the SecurityGroupCreateUsingPUT structure.
func (*SecurityGroupCreateUsingPUTReader) ReadResponse ¶
func (o *SecurityGroupCreateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecurityGroupDeleteUsingDELETEBadRequest ¶
type SecurityGroupDeleteUsingDELETEBadRequest struct {
Payload *models.ProxyResponseMessage
}
SecurityGroupDeleteUsingDELETEBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewSecurityGroupDeleteUsingDELETEBadRequest ¶
func NewSecurityGroupDeleteUsingDELETEBadRequest() *SecurityGroupDeleteUsingDELETEBadRequest
NewSecurityGroupDeleteUsingDELETEBadRequest creates a SecurityGroupDeleteUsingDELETEBadRequest with default headers values
func (*SecurityGroupDeleteUsingDELETEBadRequest) Error ¶
func (o *SecurityGroupDeleteUsingDELETEBadRequest) Error() string
func (*SecurityGroupDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *SecurityGroupDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
type SecurityGroupDeleteUsingDELETECreated ¶ added in v1.1.0
type SecurityGroupDeleteUsingDELETECreated struct {
Payload *models.DeleteSecurityGroupResponse
}
SecurityGroupDeleteUsingDELETECreated describes a response with status code 201, with default header values.
Entity has been deleted
func NewSecurityGroupDeleteUsingDELETECreated ¶ added in v1.1.0
func NewSecurityGroupDeleteUsingDELETECreated() *SecurityGroupDeleteUsingDELETECreated
NewSecurityGroupDeleteUsingDELETECreated creates a SecurityGroupDeleteUsingDELETECreated with default headers values
func (*SecurityGroupDeleteUsingDELETECreated) Error ¶ added in v1.1.0
func (o *SecurityGroupDeleteUsingDELETECreated) Error() string
func (*SecurityGroupDeleteUsingDELETECreated) GetPayload ¶ added in v1.1.0
func (o *SecurityGroupDeleteUsingDELETECreated) GetPayload() *models.DeleteSecurityGroupResponse
type SecurityGroupDeleteUsingDELETEOK ¶
type SecurityGroupDeleteUsingDELETEOK struct {
Payload *models.DeleteSecurityGroupResponse
}
SecurityGroupDeleteUsingDELETEOK describes a response with status code 200, with default header values.
OK
func NewSecurityGroupDeleteUsingDELETEOK ¶
func NewSecurityGroupDeleteUsingDELETEOK() *SecurityGroupDeleteUsingDELETEOK
NewSecurityGroupDeleteUsingDELETEOK creates a SecurityGroupDeleteUsingDELETEOK with default headers values
func (*SecurityGroupDeleteUsingDELETEOK) Error ¶
func (o *SecurityGroupDeleteUsingDELETEOK) Error() string
func (*SecurityGroupDeleteUsingDELETEOK) GetPayload ¶
func (o *SecurityGroupDeleteUsingDELETEOK) GetPayload() *models.DeleteSecurityGroupResponse
type SecurityGroupDeleteUsingDELETEParams ¶
type SecurityGroupDeleteUsingDELETEParams struct { /* GroupID. groupId */ GroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecurityGroupDeleteUsingDELETEParams contains all the parameters to send to the API endpoint
for the security group delete using d e l e t e operation. Typically these are written to a http.Request.
func NewSecurityGroupDeleteUsingDELETEParams ¶
func NewSecurityGroupDeleteUsingDELETEParams() *SecurityGroupDeleteUsingDELETEParams
NewSecurityGroupDeleteUsingDELETEParams creates a new SecurityGroupDeleteUsingDELETEParams 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 NewSecurityGroupDeleteUsingDELETEParamsWithContext ¶
func NewSecurityGroupDeleteUsingDELETEParamsWithContext(ctx context.Context) *SecurityGroupDeleteUsingDELETEParams
NewSecurityGroupDeleteUsingDELETEParamsWithContext creates a new SecurityGroupDeleteUsingDELETEParams object with the ability to set a context for a request.
func NewSecurityGroupDeleteUsingDELETEParamsWithHTTPClient ¶
func NewSecurityGroupDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *SecurityGroupDeleteUsingDELETEParams
NewSecurityGroupDeleteUsingDELETEParamsWithHTTPClient creates a new SecurityGroupDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewSecurityGroupDeleteUsingDELETEParamsWithTimeout ¶
func NewSecurityGroupDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *SecurityGroupDeleteUsingDELETEParams
NewSecurityGroupDeleteUsingDELETEParamsWithTimeout creates a new SecurityGroupDeleteUsingDELETEParams object with the ability to set a timeout on a request.
func (*SecurityGroupDeleteUsingDELETEParams) SetContext ¶
func (o *SecurityGroupDeleteUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) SetDefaults ¶ added in v1.2.4
func (o *SecurityGroupDeleteUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the security group delete using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupDeleteUsingDELETEParams) SetGroupID ¶
func (o *SecurityGroupDeleteUsingDELETEParams) SetGroupID(groupID string)
SetGroupID adds the groupId to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) SetHTTPClient ¶
func (o *SecurityGroupDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) SetTimeout ¶
func (o *SecurityGroupDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) WithContext ¶
func (o *SecurityGroupDeleteUsingDELETEParams) WithContext(ctx context.Context) *SecurityGroupDeleteUsingDELETEParams
WithContext adds the context to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) WithDefaults ¶ added in v1.2.4
func (o *SecurityGroupDeleteUsingDELETEParams) WithDefaults() *SecurityGroupDeleteUsingDELETEParams
WithDefaults hydrates default values in the security group delete using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupDeleteUsingDELETEParams) WithGroupID ¶
func (o *SecurityGroupDeleteUsingDELETEParams) WithGroupID(groupID string) *SecurityGroupDeleteUsingDELETEParams
WithGroupID adds the groupID to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) WithHTTPClient ¶
func (o *SecurityGroupDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *SecurityGroupDeleteUsingDELETEParams
WithHTTPClient adds the HTTPClient to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) WithTimeout ¶
func (o *SecurityGroupDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *SecurityGroupDeleteUsingDELETEParams
WithTimeout adds the timeout to the security group delete using d e l e t e params
func (*SecurityGroupDeleteUsingDELETEParams) WriteToRequest ¶
func (o *SecurityGroupDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecurityGroupDeleteUsingDELETEReader ¶
type SecurityGroupDeleteUsingDELETEReader struct {
// contains filtered or unexported fields
}
SecurityGroupDeleteUsingDELETEReader is a Reader for the SecurityGroupDeleteUsingDELETE structure.
func (*SecurityGroupDeleteUsingDELETEReader) ReadResponse ¶
func (o *SecurityGroupDeleteUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecurityGroupGetUsingGETBadRequest ¶
type SecurityGroupGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
SecurityGroupGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewSecurityGroupGetUsingGETBadRequest ¶
func NewSecurityGroupGetUsingGETBadRequest() *SecurityGroupGetUsingGETBadRequest
NewSecurityGroupGetUsingGETBadRequest creates a SecurityGroupGetUsingGETBadRequest with default headers values
func (*SecurityGroupGetUsingGETBadRequest) Error ¶
func (o *SecurityGroupGetUsingGETBadRequest) Error() string
func (*SecurityGroupGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *SecurityGroupGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type SecurityGroupGetUsingGETNotFound ¶
type SecurityGroupGetUsingGETNotFound struct { }
SecurityGroupGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewSecurityGroupGetUsingGETNotFound ¶
func NewSecurityGroupGetUsingGETNotFound() *SecurityGroupGetUsingGETNotFound
NewSecurityGroupGetUsingGETNotFound creates a SecurityGroupGetUsingGETNotFound with default headers values
func (*SecurityGroupGetUsingGETNotFound) Error ¶
func (o *SecurityGroupGetUsingGETNotFound) Error() string
type SecurityGroupGetUsingGETOK ¶
type SecurityGroupGetUsingGETOK struct {
Payload *models.SecurityGroupGetResponse
}
SecurityGroupGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewSecurityGroupGetUsingGETOK ¶
func NewSecurityGroupGetUsingGETOK() *SecurityGroupGetUsingGETOK
NewSecurityGroupGetUsingGETOK creates a SecurityGroupGetUsingGETOK with default headers values
func (*SecurityGroupGetUsingGETOK) Error ¶
func (o *SecurityGroupGetUsingGETOK) Error() string
func (*SecurityGroupGetUsingGETOK) GetPayload ¶
func (o *SecurityGroupGetUsingGETOK) GetPayload() *models.SecurityGroupGetResponse
type SecurityGroupGetUsingGETParams ¶
type SecurityGroupGetUsingGETParams struct { /* GroupID. groupId */ GroupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecurityGroupGetUsingGETParams contains all the parameters to send to the API endpoint
for the security group get using g e t operation. Typically these are written to a http.Request.
func NewSecurityGroupGetUsingGETParams ¶
func NewSecurityGroupGetUsingGETParams() *SecurityGroupGetUsingGETParams
NewSecurityGroupGetUsingGETParams creates a new SecurityGroupGetUsingGETParams 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 NewSecurityGroupGetUsingGETParamsWithContext ¶
func NewSecurityGroupGetUsingGETParamsWithContext(ctx context.Context) *SecurityGroupGetUsingGETParams
NewSecurityGroupGetUsingGETParamsWithContext creates a new SecurityGroupGetUsingGETParams object with the ability to set a context for a request.
func NewSecurityGroupGetUsingGETParamsWithHTTPClient ¶
func NewSecurityGroupGetUsingGETParamsWithHTTPClient(client *http.Client) *SecurityGroupGetUsingGETParams
NewSecurityGroupGetUsingGETParamsWithHTTPClient creates a new SecurityGroupGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewSecurityGroupGetUsingGETParamsWithTimeout ¶
func NewSecurityGroupGetUsingGETParamsWithTimeout(timeout time.Duration) *SecurityGroupGetUsingGETParams
NewSecurityGroupGetUsingGETParamsWithTimeout creates a new SecurityGroupGetUsingGETParams object with the ability to set a timeout on a request.
func (*SecurityGroupGetUsingGETParams) SetContext ¶
func (o *SecurityGroupGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *SecurityGroupGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the security group get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupGetUsingGETParams) SetGroupID ¶
func (o *SecurityGroupGetUsingGETParams) SetGroupID(groupID string)
SetGroupID adds the groupId to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) SetHTTPClient ¶
func (o *SecurityGroupGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) SetTimeout ¶
func (o *SecurityGroupGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) WithContext ¶
func (o *SecurityGroupGetUsingGETParams) WithContext(ctx context.Context) *SecurityGroupGetUsingGETParams
WithContext adds the context to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *SecurityGroupGetUsingGETParams) WithDefaults() *SecurityGroupGetUsingGETParams
WithDefaults hydrates default values in the security group get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupGetUsingGETParams) WithGroupID ¶
func (o *SecurityGroupGetUsingGETParams) WithGroupID(groupID string) *SecurityGroupGetUsingGETParams
WithGroupID adds the groupID to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) WithHTTPClient ¶
func (o *SecurityGroupGetUsingGETParams) WithHTTPClient(client *http.Client) *SecurityGroupGetUsingGETParams
WithHTTPClient adds the HTTPClient to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) WithTimeout ¶
func (o *SecurityGroupGetUsingGETParams) WithTimeout(timeout time.Duration) *SecurityGroupGetUsingGETParams
WithTimeout adds the timeout to the security group get using g e t params
func (*SecurityGroupGetUsingGETParams) WriteToRequest ¶
func (o *SecurityGroupGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecurityGroupGetUsingGETReader ¶
type SecurityGroupGetUsingGETReader struct {
// contains filtered or unexported fields
}
SecurityGroupGetUsingGETReader is a Reader for the SecurityGroupGetUsingGET structure.
func (*SecurityGroupGetUsingGETReader) ReadResponse ¶
func (o *SecurityGroupGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecurityGroupListUsingGETBadRequest ¶
type SecurityGroupListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
SecurityGroupListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewSecurityGroupListUsingGETBadRequest ¶
func NewSecurityGroupListUsingGETBadRequest() *SecurityGroupListUsingGETBadRequest
NewSecurityGroupListUsingGETBadRequest creates a SecurityGroupListUsingGETBadRequest with default headers values
func (*SecurityGroupListUsingGETBadRequest) Error ¶
func (o *SecurityGroupListUsingGETBadRequest) Error() string
func (*SecurityGroupListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *SecurityGroupListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type SecurityGroupListUsingGETOK ¶
type SecurityGroupListUsingGETOK struct {
Payload *models.SecurityGroupListResponse
}
SecurityGroupListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewSecurityGroupListUsingGETOK ¶
func NewSecurityGroupListUsingGETOK() *SecurityGroupListUsingGETOK
NewSecurityGroupListUsingGETOK creates a SecurityGroupListUsingGETOK with default headers values
func (*SecurityGroupListUsingGETOK) Error ¶
func (o *SecurityGroupListUsingGETOK) Error() string
func (*SecurityGroupListUsingGETOK) GetPayload ¶
func (o *SecurityGroupListUsingGETOK) GetPayload() *models.SecurityGroupListResponse
type SecurityGroupListUsingGETParams ¶
type SecurityGroupListUsingGETParams struct { /* DisplayName. displayName */ DisplayName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecurityGroupListUsingGETParams contains all the parameters to send to the API endpoint
for the security group list using g e t operation. Typically these are written to a http.Request.
func NewSecurityGroupListUsingGETParams ¶
func NewSecurityGroupListUsingGETParams() *SecurityGroupListUsingGETParams
NewSecurityGroupListUsingGETParams creates a new SecurityGroupListUsingGETParams 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 NewSecurityGroupListUsingGETParamsWithContext ¶
func NewSecurityGroupListUsingGETParamsWithContext(ctx context.Context) *SecurityGroupListUsingGETParams
NewSecurityGroupListUsingGETParamsWithContext creates a new SecurityGroupListUsingGETParams object with the ability to set a context for a request.
func NewSecurityGroupListUsingGETParamsWithHTTPClient ¶
func NewSecurityGroupListUsingGETParamsWithHTTPClient(client *http.Client) *SecurityGroupListUsingGETParams
NewSecurityGroupListUsingGETParamsWithHTTPClient creates a new SecurityGroupListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewSecurityGroupListUsingGETParamsWithTimeout ¶
func NewSecurityGroupListUsingGETParamsWithTimeout(timeout time.Duration) *SecurityGroupListUsingGETParams
NewSecurityGroupListUsingGETParamsWithTimeout creates a new SecurityGroupListUsingGETParams object with the ability to set a timeout on a request.
func (*SecurityGroupListUsingGETParams) SetContext ¶
func (o *SecurityGroupListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *SecurityGroupListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the security group list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupListUsingGETParams) SetDisplayName ¶
func (o *SecurityGroupListUsingGETParams) SetDisplayName(displayName *string)
SetDisplayName adds the displayName to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) SetHTTPClient ¶
func (o *SecurityGroupListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) SetTimeout ¶
func (o *SecurityGroupListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) WithContext ¶
func (o *SecurityGroupListUsingGETParams) WithContext(ctx context.Context) *SecurityGroupListUsingGETParams
WithContext adds the context to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *SecurityGroupListUsingGETParams) WithDefaults() *SecurityGroupListUsingGETParams
WithDefaults hydrates default values in the security group list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupListUsingGETParams) WithDisplayName ¶
func (o *SecurityGroupListUsingGETParams) WithDisplayName(displayName *string) *SecurityGroupListUsingGETParams
WithDisplayName adds the displayName to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) WithHTTPClient ¶
func (o *SecurityGroupListUsingGETParams) WithHTTPClient(client *http.Client) *SecurityGroupListUsingGETParams
WithHTTPClient adds the HTTPClient to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) WithTimeout ¶
func (o *SecurityGroupListUsingGETParams) WithTimeout(timeout time.Duration) *SecurityGroupListUsingGETParams
WithTimeout adds the timeout to the security group list using g e t params
func (*SecurityGroupListUsingGETParams) WriteToRequest ¶
func (o *SecurityGroupListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecurityGroupListUsingGETReader ¶
type SecurityGroupListUsingGETReader struct {
// contains filtered or unexported fields
}
SecurityGroupListUsingGETReader is a Reader for the SecurityGroupListUsingGET structure.
func (*SecurityGroupListUsingGETReader) ReadResponse ¶
func (o *SecurityGroupListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecurityGroupUpdateUsingPUTBadRequest ¶
type SecurityGroupUpdateUsingPUTBadRequest struct {
Payload *models.ProxyResponseMessage
}
SecurityGroupUpdateUsingPUTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewSecurityGroupUpdateUsingPUTBadRequest ¶
func NewSecurityGroupUpdateUsingPUTBadRequest() *SecurityGroupUpdateUsingPUTBadRequest
NewSecurityGroupUpdateUsingPUTBadRequest creates a SecurityGroupUpdateUsingPUTBadRequest with default headers values
func (*SecurityGroupUpdateUsingPUTBadRequest) Error ¶
func (o *SecurityGroupUpdateUsingPUTBadRequest) Error() string
func (*SecurityGroupUpdateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *SecurityGroupUpdateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type SecurityGroupUpdateUsingPUTCreated ¶ added in v1.1.0
type SecurityGroupUpdateUsingPUTCreated struct {
Payload *models.UpdateSecurityGroupResponse
}
SecurityGroupUpdateUsingPUTCreated describes a response with status code 201, with default header values.
Entity has been updated
func NewSecurityGroupUpdateUsingPUTCreated ¶ added in v1.1.0
func NewSecurityGroupUpdateUsingPUTCreated() *SecurityGroupUpdateUsingPUTCreated
NewSecurityGroupUpdateUsingPUTCreated creates a SecurityGroupUpdateUsingPUTCreated with default headers values
func (*SecurityGroupUpdateUsingPUTCreated) Error ¶ added in v1.1.0
func (o *SecurityGroupUpdateUsingPUTCreated) Error() string
func (*SecurityGroupUpdateUsingPUTCreated) GetPayload ¶ added in v1.1.0
func (o *SecurityGroupUpdateUsingPUTCreated) GetPayload() *models.UpdateSecurityGroupResponse
type SecurityGroupUpdateUsingPUTOK ¶
type SecurityGroupUpdateUsingPUTOK struct {
Payload *models.UpdateSecurityGroupResponse
}
SecurityGroupUpdateUsingPUTOK describes a response with status code 200, with default header values.
OK
func NewSecurityGroupUpdateUsingPUTOK ¶
func NewSecurityGroupUpdateUsingPUTOK() *SecurityGroupUpdateUsingPUTOK
NewSecurityGroupUpdateUsingPUTOK creates a SecurityGroupUpdateUsingPUTOK with default headers values
func (*SecurityGroupUpdateUsingPUTOK) Error ¶
func (o *SecurityGroupUpdateUsingPUTOK) Error() string
func (*SecurityGroupUpdateUsingPUTOK) GetPayload ¶
func (o *SecurityGroupUpdateUsingPUTOK) GetPayload() *models.UpdateSecurityGroupResponse
type SecurityGroupUpdateUsingPUTParams ¶
type SecurityGroupUpdateUsingPUTParams struct { /* GroupID. groupId */ GroupID string /* SecurityGroup. securityGroup */ SecurityGroup *models.SecurityGroup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecurityGroupUpdateUsingPUTParams contains all the parameters to send to the API endpoint
for the security group update using p u t operation. Typically these are written to a http.Request.
func NewSecurityGroupUpdateUsingPUTParams ¶
func NewSecurityGroupUpdateUsingPUTParams() *SecurityGroupUpdateUsingPUTParams
NewSecurityGroupUpdateUsingPUTParams creates a new SecurityGroupUpdateUsingPUTParams 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 NewSecurityGroupUpdateUsingPUTParamsWithContext ¶
func NewSecurityGroupUpdateUsingPUTParamsWithContext(ctx context.Context) *SecurityGroupUpdateUsingPUTParams
NewSecurityGroupUpdateUsingPUTParamsWithContext creates a new SecurityGroupUpdateUsingPUTParams object with the ability to set a context for a request.
func NewSecurityGroupUpdateUsingPUTParamsWithHTTPClient ¶
func NewSecurityGroupUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *SecurityGroupUpdateUsingPUTParams
NewSecurityGroupUpdateUsingPUTParamsWithHTTPClient creates a new SecurityGroupUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewSecurityGroupUpdateUsingPUTParamsWithTimeout ¶
func NewSecurityGroupUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *SecurityGroupUpdateUsingPUTParams
NewSecurityGroupUpdateUsingPUTParamsWithTimeout creates a new SecurityGroupUpdateUsingPUTParams object with the ability to set a timeout on a request.
func (*SecurityGroupUpdateUsingPUTParams) SetContext ¶
func (o *SecurityGroupUpdateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *SecurityGroupUpdateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the security group update using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupUpdateUsingPUTParams) SetGroupID ¶
func (o *SecurityGroupUpdateUsingPUTParams) SetGroupID(groupID string)
SetGroupID adds the groupId to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) SetHTTPClient ¶
func (o *SecurityGroupUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) SetSecurityGroup ¶
func (o *SecurityGroupUpdateUsingPUTParams) SetSecurityGroup(securityGroup *models.SecurityGroup)
SetSecurityGroup adds the securityGroup to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) SetTimeout ¶
func (o *SecurityGroupUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) WithContext ¶
func (o *SecurityGroupUpdateUsingPUTParams) WithContext(ctx context.Context) *SecurityGroupUpdateUsingPUTParams
WithContext adds the context to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *SecurityGroupUpdateUsingPUTParams) WithDefaults() *SecurityGroupUpdateUsingPUTParams
WithDefaults hydrates default values in the security group update using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*SecurityGroupUpdateUsingPUTParams) WithGroupID ¶
func (o *SecurityGroupUpdateUsingPUTParams) WithGroupID(groupID string) *SecurityGroupUpdateUsingPUTParams
WithGroupID adds the groupID to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) WithHTTPClient ¶
func (o *SecurityGroupUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *SecurityGroupUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) WithSecurityGroup ¶
func (o *SecurityGroupUpdateUsingPUTParams) WithSecurityGroup(securityGroup *models.SecurityGroup) *SecurityGroupUpdateUsingPUTParams
WithSecurityGroup adds the securityGroup to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) WithTimeout ¶
func (o *SecurityGroupUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *SecurityGroupUpdateUsingPUTParams
WithTimeout adds the timeout to the security group update using p u t params
func (*SecurityGroupUpdateUsingPUTParams) WriteToRequest ¶
func (o *SecurityGroupUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecurityGroupUpdateUsingPUTReader ¶
type SecurityGroupUpdateUsingPUTReader struct {
// contains filtered or unexported fields
}
SecurityGroupUpdateUsingPUTReader is a Reader for the SecurityGroupUpdateUsingPUT structure.
func (*SecurityGroupUpdateUsingPUTReader) ReadResponse ¶
func (o *SecurityGroupUpdateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- security_group_create_using_p_u_t_parameters.go
- security_group_create_using_p_u_t_responses.go
- security_group_delete_using_d_e_l_e_t_e_parameters.go
- security_group_delete_using_d_e_l_e_t_e_responses.go
- security_group_get_using_g_e_t_parameters.go
- security_group_get_using_g_e_t_responses.go
- security_group_list_using_g_e_t_parameters.go
- security_group_list_using_g_e_t_responses.go
- security_group_update_using_p_u_t_parameters.go
- security_group_update_using_p_u_t_responses.go
- security_groups_client.go