Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSecurityGroup(params *CreateSecurityGroupParams, opts ...ClientOption) (*CreateSecurityGroupOK, error)
- func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams, opts ...ClientOption) (*DeleteSecurityGroupOK, error)
- func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error)
- func (a *Client) GetSecurityGroupsConnection(params *GetSecurityGroupsConnectionParams, opts ...ClientOption) (*GetSecurityGroupsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, error)
- type ClientOption
- type ClientService
- type CreateSecurityGroupBadRequest
- type CreateSecurityGroupInternalServerError
- type CreateSecurityGroupNotFound
- type CreateSecurityGroupOK
- type CreateSecurityGroupParams
- func NewCreateSecurityGroupParams() *CreateSecurityGroupParams
- func NewCreateSecurityGroupParamsWithContext(ctx context.Context) *CreateSecurityGroupParams
- func NewCreateSecurityGroupParamsWithHTTPClient(client *http.Client) *CreateSecurityGroupParams
- func NewCreateSecurityGroupParamsWithTimeout(timeout time.Duration) *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateSecurityGroupParams) SetContext(ctx context.Context)
- func (o *CreateSecurityGroupParams) SetDefaults()
- func (o *CreateSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateSecurityGroupParams) SetRequestBody(requestBody *models.SecurityGroupCreateParams)
- func (o *CreateSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateSecurityGroupParams) WithContentLanguage(contentLanguage *string) *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) WithContext(ctx context.Context) *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) WithDefaults() *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) WithHTTPClient(client *http.Client) *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) WithRequestBody(requestBody *models.SecurityGroupCreateParams) *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) WithTimeout(timeout time.Duration) *CreateSecurityGroupParams
- func (o *CreateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSecurityGroupReader
- type DeleteSecurityGroupBadRequest
- type DeleteSecurityGroupInternalServerError
- type DeleteSecurityGroupNotFound
- type DeleteSecurityGroupOK
- type DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteSecurityGroupParams) SetContext(ctx context.Context)
- func (o *DeleteSecurityGroupParams) SetDefaults()
- func (o *DeleteSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSecurityGroupParams) SetRequestBody(requestBody *models.SecurityGroupDeleteParams)
- func (o *DeleteSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSecurityGroupParams) WithContentLanguage(contentLanguage *string) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithContext(ctx context.Context) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithDefaults() *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithRequestBody(requestBody *models.SecurityGroupDeleteParams) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSecurityGroupReader
- type GetSecurityGroupsBadRequest
- type GetSecurityGroupsConnectionBadRequest
- type GetSecurityGroupsConnectionInternalServerError
- type GetSecurityGroupsConnectionNotFound
- type GetSecurityGroupsConnectionOK
- type GetSecurityGroupsConnectionParams
- func NewGetSecurityGroupsConnectionParams() *GetSecurityGroupsConnectionParams
- func NewGetSecurityGroupsConnectionParamsWithContext(ctx context.Context) *GetSecurityGroupsConnectionParams
- func NewGetSecurityGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsConnectionParams
- func NewGetSecurityGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSecurityGroupsConnectionParams) SetContext(ctx context.Context)
- func (o *GetSecurityGroupsConnectionParams) SetDefaults()
- func (o *GetSecurityGroupsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityGroupsConnectionParams) SetRequestBody(requestBody *models.GetSecurityGroupsConnectionRequestBody)
- func (o *GetSecurityGroupsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) WithContext(ctx context.Context) *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) WithDefaults() *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) WithRequestBody(requestBody *models.GetSecurityGroupsConnectionRequestBody) *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetSecurityGroupsConnectionParams
- func (o *GetSecurityGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityGroupsConnectionReader
- type GetSecurityGroupsInternalServerError
- type GetSecurityGroupsNotFound
- type GetSecurityGroupsOK
- type GetSecurityGroupsParams
- func NewGetSecurityGroupsParams() *GetSecurityGroupsParams
- func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams
- func NewGetSecurityGroupsParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsParams
- func NewGetSecurityGroupsParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSecurityGroupsParams) SetContext(ctx context.Context)
- func (o *GetSecurityGroupsParams) SetDefaults()
- func (o *GetSecurityGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityGroupsParams) SetRequestBody(requestBody *models.GetSecurityGroupsRequestBody)
- func (o *GetSecurityGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityGroupsParams) WithContentLanguage(contentLanguage *string) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithContext(ctx context.Context) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithDefaults() *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithHTTPClient(client *http.Client) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithRequestBody(requestBody *models.GetSecurityGroupsRequestBody) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithTimeout(timeout time.Duration) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityGroupsReader
- type UpdateSecurityGroupBadRequest
- type UpdateSecurityGroupInternalServerError
- type UpdateSecurityGroupNotFound
- type UpdateSecurityGroupOK
- type UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParams() *UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParamsWithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParamsWithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateSecurityGroupParams) SetContext(ctx context.Context)
- func (o *UpdateSecurityGroupParams) SetDefaults()
- func (o *UpdateSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSecurityGroupParams) SetRequestBody(requestBody *models.SecurityGroupUpdateBody)
- func (o *UpdateSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSecurityGroupParams) WithContentLanguage(contentLanguage *string) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithContext(ctx context.Context) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithDefaults() *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithRequestBody(requestBody *models.SecurityGroupUpdateBody) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSecurityGroupReader
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 group API
func (*Client) CreateSecurityGroup ¶
func (a *Client) CreateSecurityGroup(params *CreateSecurityGroupParams, opts ...ClientOption) (*CreateSecurityGroupOK, error)
CreateSecurityGroup create security group API
func (*Client) DeleteSecurityGroup ¶
func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams, opts ...ClientOption) (*DeleteSecurityGroupOK, error)
DeleteSecurityGroup delete security group API
func (*Client) GetSecurityGroups ¶
func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error)
GetSecurityGroups get security groups API
func (*Client) GetSecurityGroupsConnection ¶
func (a *Client) GetSecurityGroupsConnection(params *GetSecurityGroupsConnectionParams, opts ...ClientOption) (*GetSecurityGroupsConnectionOK, error)
GetSecurityGroupsConnection get security groups connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSecurityGroup ¶
func (a *Client) UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, error)
UpdateSecurityGroup update security group API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSecurityGroup(params *CreateSecurityGroupParams, opts ...ClientOption) (*CreateSecurityGroupOK, error) DeleteSecurityGroup(params *DeleteSecurityGroupParams, opts ...ClientOption) (*DeleteSecurityGroupOK, error) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error) GetSecurityGroupsConnection(params *GetSecurityGroupsConnectionParams, opts ...ClientOption) (*GetSecurityGroupsConnectionOK, error) UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, 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 API client.
type CreateSecurityGroupBadRequest ¶
CreateSecurityGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateSecurityGroupBadRequest ¶
func NewCreateSecurityGroupBadRequest() *CreateSecurityGroupBadRequest
NewCreateSecurityGroupBadRequest creates a CreateSecurityGroupBadRequest with default headers values
func (*CreateSecurityGroupBadRequest) Error ¶
func (o *CreateSecurityGroupBadRequest) Error() string
func (*CreateSecurityGroupBadRequest) GetPayload ¶
func (o *CreateSecurityGroupBadRequest) GetPayload() *models.ErrorBody
type CreateSecurityGroupInternalServerError ¶
type CreateSecurityGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateSecurityGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateSecurityGroupInternalServerError ¶
func NewCreateSecurityGroupInternalServerError() *CreateSecurityGroupInternalServerError
NewCreateSecurityGroupInternalServerError creates a CreateSecurityGroupInternalServerError with default headers values
func (*CreateSecurityGroupInternalServerError) Error ¶
func (o *CreateSecurityGroupInternalServerError) Error() string
func (*CreateSecurityGroupInternalServerError) GetPayload ¶
func (o *CreateSecurityGroupInternalServerError) GetPayload() *models.ErrorBody
type CreateSecurityGroupNotFound ¶
CreateSecurityGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateSecurityGroupNotFound ¶
func NewCreateSecurityGroupNotFound() *CreateSecurityGroupNotFound
NewCreateSecurityGroupNotFound creates a CreateSecurityGroupNotFound with default headers values
func (*CreateSecurityGroupNotFound) Error ¶
func (o *CreateSecurityGroupNotFound) Error() string
func (*CreateSecurityGroupNotFound) GetPayload ¶
func (o *CreateSecurityGroupNotFound) GetPayload() *models.ErrorBody
type CreateSecurityGroupOK ¶
type CreateSecurityGroupOK struct { XTowerRequestID string Payload *models.WithTaskSecurityGroup }
CreateSecurityGroupOK describes a response with status code 200, with default header values.
CreateSecurityGroupOK create security group o k
func NewCreateSecurityGroupOK ¶
func NewCreateSecurityGroupOK() *CreateSecurityGroupOK
NewCreateSecurityGroupOK creates a CreateSecurityGroupOK with default headers values
func (*CreateSecurityGroupOK) Error ¶
func (o *CreateSecurityGroupOK) Error() string
func (*CreateSecurityGroupOK) GetPayload ¶
func (o *CreateSecurityGroupOK) GetPayload() *models.WithTaskSecurityGroup
type CreateSecurityGroupParams ¶
type CreateSecurityGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SecurityGroupCreateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSecurityGroupParams contains all the parameters to send to the API endpoint
for the create security group operation. Typically these are written to a http.Request.
func NewCreateSecurityGroupParams ¶
func NewCreateSecurityGroupParams() *CreateSecurityGroupParams
NewCreateSecurityGroupParams creates a new CreateSecurityGroupParams 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 NewCreateSecurityGroupParamsWithContext ¶
func NewCreateSecurityGroupParamsWithContext(ctx context.Context) *CreateSecurityGroupParams
NewCreateSecurityGroupParamsWithContext creates a new CreateSecurityGroupParams object with the ability to set a context for a request.
func NewCreateSecurityGroupParamsWithHTTPClient ¶
func NewCreateSecurityGroupParamsWithHTTPClient(client *http.Client) *CreateSecurityGroupParams
NewCreateSecurityGroupParamsWithHTTPClient creates a new CreateSecurityGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSecurityGroupParamsWithTimeout ¶
func NewCreateSecurityGroupParamsWithTimeout(timeout time.Duration) *CreateSecurityGroupParams
NewCreateSecurityGroupParamsWithTimeout creates a new CreateSecurityGroupParams object with the ability to set a timeout on a request.
func (*CreateSecurityGroupParams) SetContentLanguage ¶
func (o *CreateSecurityGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create security group params
func (*CreateSecurityGroupParams) SetContext ¶
func (o *CreateSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create security group params
func (*CreateSecurityGroupParams) SetDefaults ¶
func (o *CreateSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the create security group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSecurityGroupParams) SetHTTPClient ¶
func (o *CreateSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create security group params
func (*CreateSecurityGroupParams) SetRequestBody ¶
func (o *CreateSecurityGroupParams) SetRequestBody(requestBody *models.SecurityGroupCreateParams)
SetRequestBody adds the requestBody to the create security group params
func (*CreateSecurityGroupParams) SetTimeout ¶
func (o *CreateSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create security group params
func (*CreateSecurityGroupParams) WithContentLanguage ¶
func (o *CreateSecurityGroupParams) WithContentLanguage(contentLanguage *string) *CreateSecurityGroupParams
WithContentLanguage adds the contentLanguage to the create security group params
func (*CreateSecurityGroupParams) WithContext ¶
func (o *CreateSecurityGroupParams) WithContext(ctx context.Context) *CreateSecurityGroupParams
WithContext adds the context to the create security group params
func (*CreateSecurityGroupParams) WithDefaults ¶
func (o *CreateSecurityGroupParams) WithDefaults() *CreateSecurityGroupParams
WithDefaults hydrates default values in the create security group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSecurityGroupParams) WithHTTPClient ¶
func (o *CreateSecurityGroupParams) WithHTTPClient(client *http.Client) *CreateSecurityGroupParams
WithHTTPClient adds the HTTPClient to the create security group params
func (*CreateSecurityGroupParams) WithRequestBody ¶
func (o *CreateSecurityGroupParams) WithRequestBody(requestBody *models.SecurityGroupCreateParams) *CreateSecurityGroupParams
WithRequestBody adds the requestBody to the create security group params
func (*CreateSecurityGroupParams) WithTimeout ¶
func (o *CreateSecurityGroupParams) WithTimeout(timeout time.Duration) *CreateSecurityGroupParams
WithTimeout adds the timeout to the create security group params
func (*CreateSecurityGroupParams) WriteToRequest ¶
func (o *CreateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSecurityGroupReader ¶
type CreateSecurityGroupReader struct {
// contains filtered or unexported fields
}
CreateSecurityGroupReader is a Reader for the CreateSecurityGroup structure.
func (*CreateSecurityGroupReader) ReadResponse ¶
func (o *CreateSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSecurityGroupBadRequest ¶
DeleteSecurityGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteSecurityGroupBadRequest ¶
func NewDeleteSecurityGroupBadRequest() *DeleteSecurityGroupBadRequest
NewDeleteSecurityGroupBadRequest creates a DeleteSecurityGroupBadRequest with default headers values
func (*DeleteSecurityGroupBadRequest) Error ¶
func (o *DeleteSecurityGroupBadRequest) Error() string
func (*DeleteSecurityGroupBadRequest) GetPayload ¶
func (o *DeleteSecurityGroupBadRequest) GetPayload() *models.ErrorBody
type DeleteSecurityGroupInternalServerError ¶
type DeleteSecurityGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteSecurityGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteSecurityGroupInternalServerError ¶
func NewDeleteSecurityGroupInternalServerError() *DeleteSecurityGroupInternalServerError
NewDeleteSecurityGroupInternalServerError creates a DeleteSecurityGroupInternalServerError with default headers values
func (*DeleteSecurityGroupInternalServerError) Error ¶
func (o *DeleteSecurityGroupInternalServerError) Error() string
func (*DeleteSecurityGroupInternalServerError) GetPayload ¶
func (o *DeleteSecurityGroupInternalServerError) GetPayload() *models.ErrorBody
type DeleteSecurityGroupNotFound ¶
DeleteSecurityGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteSecurityGroupNotFound ¶
func NewDeleteSecurityGroupNotFound() *DeleteSecurityGroupNotFound
NewDeleteSecurityGroupNotFound creates a DeleteSecurityGroupNotFound with default headers values
func (*DeleteSecurityGroupNotFound) Error ¶
func (o *DeleteSecurityGroupNotFound) Error() string
func (*DeleteSecurityGroupNotFound) GetPayload ¶
func (o *DeleteSecurityGroupNotFound) GetPayload() *models.ErrorBody
type DeleteSecurityGroupOK ¶
type DeleteSecurityGroupOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteSecurityGroup }
DeleteSecurityGroupOK describes a response with status code 200, with default header values.
DeleteSecurityGroupOK delete security group o k
func NewDeleteSecurityGroupOK ¶
func NewDeleteSecurityGroupOK() *DeleteSecurityGroupOK
NewDeleteSecurityGroupOK creates a DeleteSecurityGroupOK with default headers values
func (*DeleteSecurityGroupOK) Error ¶
func (o *DeleteSecurityGroupOK) Error() string
func (*DeleteSecurityGroupOK) GetPayload ¶
func (o *DeleteSecurityGroupOK) GetPayload() []*models.WithTaskDeleteSecurityGroup
type DeleteSecurityGroupParams ¶
type DeleteSecurityGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SecurityGroupDeleteParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSecurityGroupParams contains all the parameters to send to the API endpoint
for the delete security group operation. Typically these are written to a http.Request.
func NewDeleteSecurityGroupParams ¶
func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
NewDeleteSecurityGroupParams creates a new DeleteSecurityGroupParams 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 NewDeleteSecurityGroupParamsWithContext ¶
func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithContext creates a new DeleteSecurityGroupParams object with the ability to set a context for a request.
func NewDeleteSecurityGroupParamsWithHTTPClient ¶
func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithHTTPClient creates a new DeleteSecurityGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSecurityGroupParamsWithTimeout ¶
func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithTimeout creates a new DeleteSecurityGroupParams object with the ability to set a timeout on a request.
func (*DeleteSecurityGroupParams) SetContentLanguage ¶
func (o *DeleteSecurityGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete security group params
func (*DeleteSecurityGroupParams) SetContext ¶
func (o *DeleteSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete security group params
func (*DeleteSecurityGroupParams) SetDefaults ¶
func (o *DeleteSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete security group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSecurityGroupParams) SetHTTPClient ¶
func (o *DeleteSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete security group params
func (*DeleteSecurityGroupParams) SetRequestBody ¶
func (o *DeleteSecurityGroupParams) SetRequestBody(requestBody *models.SecurityGroupDeleteParams)
SetRequestBody adds the requestBody to the delete security group params
func (*DeleteSecurityGroupParams) SetTimeout ¶
func (o *DeleteSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete security group params
func (*DeleteSecurityGroupParams) WithContentLanguage ¶
func (o *DeleteSecurityGroupParams) WithContentLanguage(contentLanguage *string) *DeleteSecurityGroupParams
WithContentLanguage adds the contentLanguage to the delete security group params
func (*DeleteSecurityGroupParams) WithContext ¶
func (o *DeleteSecurityGroupParams) WithContext(ctx context.Context) *DeleteSecurityGroupParams
WithContext adds the context to the delete security group params
func (*DeleteSecurityGroupParams) WithDefaults ¶
func (o *DeleteSecurityGroupParams) WithDefaults() *DeleteSecurityGroupParams
WithDefaults hydrates default values in the delete security group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSecurityGroupParams) WithHTTPClient ¶
func (o *DeleteSecurityGroupParams) WithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
WithHTTPClient adds the HTTPClient to the delete security group params
func (*DeleteSecurityGroupParams) WithRequestBody ¶
func (o *DeleteSecurityGroupParams) WithRequestBody(requestBody *models.SecurityGroupDeleteParams) *DeleteSecurityGroupParams
WithRequestBody adds the requestBody to the delete security group params
func (*DeleteSecurityGroupParams) WithTimeout ¶
func (o *DeleteSecurityGroupParams) WithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
WithTimeout adds the timeout to the delete security group params
func (*DeleteSecurityGroupParams) WriteToRequest ¶
func (o *DeleteSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSecurityGroupReader ¶
type DeleteSecurityGroupReader struct {
// contains filtered or unexported fields
}
DeleteSecurityGroupReader is a Reader for the DeleteSecurityGroup structure.
func (*DeleteSecurityGroupReader) ReadResponse ¶
func (o *DeleteSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityGroupsBadRequest ¶
GetSecurityGroupsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSecurityGroupsBadRequest ¶
func NewGetSecurityGroupsBadRequest() *GetSecurityGroupsBadRequest
NewGetSecurityGroupsBadRequest creates a GetSecurityGroupsBadRequest with default headers values
func (*GetSecurityGroupsBadRequest) Error ¶
func (o *GetSecurityGroupsBadRequest) Error() string
func (*GetSecurityGroupsBadRequest) GetPayload ¶
func (o *GetSecurityGroupsBadRequest) GetPayload() *models.ErrorBody
type GetSecurityGroupsConnectionBadRequest ¶
type GetSecurityGroupsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityGroupsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSecurityGroupsConnectionBadRequest ¶
func NewGetSecurityGroupsConnectionBadRequest() *GetSecurityGroupsConnectionBadRequest
NewGetSecurityGroupsConnectionBadRequest creates a GetSecurityGroupsConnectionBadRequest with default headers values
func (*GetSecurityGroupsConnectionBadRequest) Error ¶
func (o *GetSecurityGroupsConnectionBadRequest) Error() string
func (*GetSecurityGroupsConnectionBadRequest) GetPayload ¶
func (o *GetSecurityGroupsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetSecurityGroupsConnectionInternalServerError ¶
type GetSecurityGroupsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityGroupsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSecurityGroupsConnectionInternalServerError ¶
func NewGetSecurityGroupsConnectionInternalServerError() *GetSecurityGroupsConnectionInternalServerError
NewGetSecurityGroupsConnectionInternalServerError creates a GetSecurityGroupsConnectionInternalServerError with default headers values
func (*GetSecurityGroupsConnectionInternalServerError) Error ¶
func (o *GetSecurityGroupsConnectionInternalServerError) Error() string
func (*GetSecurityGroupsConnectionInternalServerError) GetPayload ¶
func (o *GetSecurityGroupsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetSecurityGroupsConnectionNotFound ¶
type GetSecurityGroupsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityGroupsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSecurityGroupsConnectionNotFound ¶
func NewGetSecurityGroupsConnectionNotFound() *GetSecurityGroupsConnectionNotFound
NewGetSecurityGroupsConnectionNotFound creates a GetSecurityGroupsConnectionNotFound with default headers values
func (*GetSecurityGroupsConnectionNotFound) Error ¶
func (o *GetSecurityGroupsConnectionNotFound) Error() string
func (*GetSecurityGroupsConnectionNotFound) GetPayload ¶
func (o *GetSecurityGroupsConnectionNotFound) GetPayload() *models.ErrorBody
type GetSecurityGroupsConnectionOK ¶
type GetSecurityGroupsConnectionOK struct { XTowerRequestID string Payload *models.SecurityGroupConnection }
GetSecurityGroupsConnectionOK describes a response with status code 200, with default header values.
GetSecurityGroupsConnectionOK get security groups connection o k
func NewGetSecurityGroupsConnectionOK ¶
func NewGetSecurityGroupsConnectionOK() *GetSecurityGroupsConnectionOK
NewGetSecurityGroupsConnectionOK creates a GetSecurityGroupsConnectionOK with default headers values
func (*GetSecurityGroupsConnectionOK) Error ¶
func (o *GetSecurityGroupsConnectionOK) Error() string
func (*GetSecurityGroupsConnectionOK) GetPayload ¶
func (o *GetSecurityGroupsConnectionOK) GetPayload() *models.SecurityGroupConnection
type GetSecurityGroupsConnectionParams ¶
type GetSecurityGroupsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSecurityGroupsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityGroupsConnectionParams contains all the parameters to send to the API endpoint
for the get security groups connection operation. Typically these are written to a http.Request.
func NewGetSecurityGroupsConnectionParams ¶
func NewGetSecurityGroupsConnectionParams() *GetSecurityGroupsConnectionParams
NewGetSecurityGroupsConnectionParams creates a new GetSecurityGroupsConnectionParams 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 NewGetSecurityGroupsConnectionParamsWithContext ¶
func NewGetSecurityGroupsConnectionParamsWithContext(ctx context.Context) *GetSecurityGroupsConnectionParams
NewGetSecurityGroupsConnectionParamsWithContext creates a new GetSecurityGroupsConnectionParams object with the ability to set a context for a request.
func NewGetSecurityGroupsConnectionParamsWithHTTPClient ¶
func NewGetSecurityGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsConnectionParams
NewGetSecurityGroupsConnectionParamsWithHTTPClient creates a new GetSecurityGroupsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityGroupsConnectionParamsWithTimeout ¶
func NewGetSecurityGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsConnectionParams
NewGetSecurityGroupsConnectionParamsWithTimeout creates a new GetSecurityGroupsConnectionParams object with the ability to set a timeout on a request.
func (*GetSecurityGroupsConnectionParams) SetContentLanguage ¶
func (o *GetSecurityGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) SetContext ¶
func (o *GetSecurityGroupsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) SetDefaults ¶
func (o *GetSecurityGroupsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get security groups connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityGroupsConnectionParams) SetHTTPClient ¶
func (o *GetSecurityGroupsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) SetRequestBody ¶
func (o *GetSecurityGroupsConnectionParams) SetRequestBody(requestBody *models.GetSecurityGroupsConnectionRequestBody)
SetRequestBody adds the requestBody to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) SetTimeout ¶
func (o *GetSecurityGroupsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) WithContentLanguage ¶
func (o *GetSecurityGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSecurityGroupsConnectionParams
WithContentLanguage adds the contentLanguage to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) WithContext ¶
func (o *GetSecurityGroupsConnectionParams) WithContext(ctx context.Context) *GetSecurityGroupsConnectionParams
WithContext adds the context to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) WithDefaults ¶
func (o *GetSecurityGroupsConnectionParams) WithDefaults() *GetSecurityGroupsConnectionParams
WithDefaults hydrates default values in the get security groups connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityGroupsConnectionParams) WithHTTPClient ¶
func (o *GetSecurityGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetSecurityGroupsConnectionParams
WithHTTPClient adds the HTTPClient to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) WithRequestBody ¶
func (o *GetSecurityGroupsConnectionParams) WithRequestBody(requestBody *models.GetSecurityGroupsConnectionRequestBody) *GetSecurityGroupsConnectionParams
WithRequestBody adds the requestBody to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) WithTimeout ¶
func (o *GetSecurityGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetSecurityGroupsConnectionParams
WithTimeout adds the timeout to the get security groups connection params
func (*GetSecurityGroupsConnectionParams) WriteToRequest ¶
func (o *GetSecurityGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityGroupsConnectionReader ¶
type GetSecurityGroupsConnectionReader struct {
// contains filtered or unexported fields
}
GetSecurityGroupsConnectionReader is a Reader for the GetSecurityGroupsConnection structure.
func (*GetSecurityGroupsConnectionReader) ReadResponse ¶
func (o *GetSecurityGroupsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityGroupsInternalServerError ¶
type GetSecurityGroupsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityGroupsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSecurityGroupsInternalServerError ¶
func NewGetSecurityGroupsInternalServerError() *GetSecurityGroupsInternalServerError
NewGetSecurityGroupsInternalServerError creates a GetSecurityGroupsInternalServerError with default headers values
func (*GetSecurityGroupsInternalServerError) Error ¶
func (o *GetSecurityGroupsInternalServerError) Error() string
func (*GetSecurityGroupsInternalServerError) GetPayload ¶
func (o *GetSecurityGroupsInternalServerError) GetPayload() *models.ErrorBody
type GetSecurityGroupsNotFound ¶
GetSecurityGroupsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSecurityGroupsNotFound ¶
func NewGetSecurityGroupsNotFound() *GetSecurityGroupsNotFound
NewGetSecurityGroupsNotFound creates a GetSecurityGroupsNotFound with default headers values
func (*GetSecurityGroupsNotFound) Error ¶
func (o *GetSecurityGroupsNotFound) Error() string
func (*GetSecurityGroupsNotFound) GetPayload ¶
func (o *GetSecurityGroupsNotFound) GetPayload() *models.ErrorBody
type GetSecurityGroupsOK ¶
type GetSecurityGroupsOK struct { XTowerRequestID string Payload []*models.SecurityGroup }
GetSecurityGroupsOK describes a response with status code 200, with default header values.
GetSecurityGroupsOK get security groups o k
func NewGetSecurityGroupsOK ¶
func NewGetSecurityGroupsOK() *GetSecurityGroupsOK
NewGetSecurityGroupsOK creates a GetSecurityGroupsOK with default headers values
func (*GetSecurityGroupsOK) Error ¶
func (o *GetSecurityGroupsOK) Error() string
func (*GetSecurityGroupsOK) GetPayload ¶
func (o *GetSecurityGroupsOK) GetPayload() []*models.SecurityGroup
type GetSecurityGroupsParams ¶
type GetSecurityGroupsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSecurityGroupsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityGroupsParams contains all the parameters to send to the API endpoint
for the get security groups operation. Typically these are written to a http.Request.
func NewGetSecurityGroupsParams ¶
func NewGetSecurityGroupsParams() *GetSecurityGroupsParams
NewGetSecurityGroupsParams creates a new GetSecurityGroupsParams 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 NewGetSecurityGroupsParamsWithContext ¶
func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithContext creates a new GetSecurityGroupsParams object with the ability to set a context for a request.
func NewGetSecurityGroupsParamsWithHTTPClient ¶
func NewGetSecurityGroupsParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithHTTPClient creates a new GetSecurityGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityGroupsParamsWithTimeout ¶
func NewGetSecurityGroupsParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithTimeout creates a new GetSecurityGroupsParams object with the ability to set a timeout on a request.
func (*GetSecurityGroupsParams) SetContentLanguage ¶
func (o *GetSecurityGroupsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get security groups params
func (*GetSecurityGroupsParams) SetContext ¶
func (o *GetSecurityGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get security groups params
func (*GetSecurityGroupsParams) SetDefaults ¶
func (o *GetSecurityGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get security groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityGroupsParams) SetHTTPClient ¶
func (o *GetSecurityGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security groups params
func (*GetSecurityGroupsParams) SetRequestBody ¶
func (o *GetSecurityGroupsParams) SetRequestBody(requestBody *models.GetSecurityGroupsRequestBody)
SetRequestBody adds the requestBody to the get security groups params
func (*GetSecurityGroupsParams) SetTimeout ¶
func (o *GetSecurityGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security groups params
func (*GetSecurityGroupsParams) WithContentLanguage ¶
func (o *GetSecurityGroupsParams) WithContentLanguage(contentLanguage *string) *GetSecurityGroupsParams
WithContentLanguage adds the contentLanguage to the get security groups params
func (*GetSecurityGroupsParams) WithContext ¶
func (o *GetSecurityGroupsParams) WithContext(ctx context.Context) *GetSecurityGroupsParams
WithContext adds the context to the get security groups params
func (*GetSecurityGroupsParams) WithDefaults ¶
func (o *GetSecurityGroupsParams) WithDefaults() *GetSecurityGroupsParams
WithDefaults hydrates default values in the get security groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityGroupsParams) WithHTTPClient ¶
func (o *GetSecurityGroupsParams) WithHTTPClient(client *http.Client) *GetSecurityGroupsParams
WithHTTPClient adds the HTTPClient to the get security groups params
func (*GetSecurityGroupsParams) WithRequestBody ¶
func (o *GetSecurityGroupsParams) WithRequestBody(requestBody *models.GetSecurityGroupsRequestBody) *GetSecurityGroupsParams
WithRequestBody adds the requestBody to the get security groups params
func (*GetSecurityGroupsParams) WithTimeout ¶
func (o *GetSecurityGroupsParams) WithTimeout(timeout time.Duration) *GetSecurityGroupsParams
WithTimeout adds the timeout to the get security groups params
func (*GetSecurityGroupsParams) WriteToRequest ¶
func (o *GetSecurityGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityGroupsReader ¶
type GetSecurityGroupsReader struct {
// contains filtered or unexported fields
}
GetSecurityGroupsReader is a Reader for the GetSecurityGroups structure.
func (*GetSecurityGroupsReader) ReadResponse ¶
func (o *GetSecurityGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSecurityGroupBadRequest ¶
UpdateSecurityGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateSecurityGroupBadRequest ¶
func NewUpdateSecurityGroupBadRequest() *UpdateSecurityGroupBadRequest
NewUpdateSecurityGroupBadRequest creates a UpdateSecurityGroupBadRequest with default headers values
func (*UpdateSecurityGroupBadRequest) Error ¶
func (o *UpdateSecurityGroupBadRequest) Error() string
func (*UpdateSecurityGroupBadRequest) GetPayload ¶
func (o *UpdateSecurityGroupBadRequest) GetPayload() *models.ErrorBody
type UpdateSecurityGroupInternalServerError ¶
type UpdateSecurityGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateSecurityGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateSecurityGroupInternalServerError ¶
func NewUpdateSecurityGroupInternalServerError() *UpdateSecurityGroupInternalServerError
NewUpdateSecurityGroupInternalServerError creates a UpdateSecurityGroupInternalServerError with default headers values
func (*UpdateSecurityGroupInternalServerError) Error ¶
func (o *UpdateSecurityGroupInternalServerError) Error() string
func (*UpdateSecurityGroupInternalServerError) GetPayload ¶
func (o *UpdateSecurityGroupInternalServerError) GetPayload() *models.ErrorBody
type UpdateSecurityGroupNotFound ¶
UpdateSecurityGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateSecurityGroupNotFound ¶
func NewUpdateSecurityGroupNotFound() *UpdateSecurityGroupNotFound
NewUpdateSecurityGroupNotFound creates a UpdateSecurityGroupNotFound with default headers values
func (*UpdateSecurityGroupNotFound) Error ¶
func (o *UpdateSecurityGroupNotFound) Error() string
func (*UpdateSecurityGroupNotFound) GetPayload ¶
func (o *UpdateSecurityGroupNotFound) GetPayload() *models.ErrorBody
type UpdateSecurityGroupOK ¶
type UpdateSecurityGroupOK struct { XTowerRequestID string Payload []*models.WithTaskSecurityGroup }
UpdateSecurityGroupOK describes a response with status code 200, with default header values.
UpdateSecurityGroupOK update security group o k
func NewUpdateSecurityGroupOK ¶
func NewUpdateSecurityGroupOK() *UpdateSecurityGroupOK
NewUpdateSecurityGroupOK creates a UpdateSecurityGroupOK with default headers values
func (*UpdateSecurityGroupOK) Error ¶
func (o *UpdateSecurityGroupOK) Error() string
func (*UpdateSecurityGroupOK) GetPayload ¶
func (o *UpdateSecurityGroupOK) GetPayload() []*models.WithTaskSecurityGroup
type UpdateSecurityGroupParams ¶
type UpdateSecurityGroupParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SecurityGroupUpdateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSecurityGroupParams contains all the parameters to send to the API endpoint
for the update security group operation. Typically these are written to a http.Request.
func NewUpdateSecurityGroupParams ¶
func NewUpdateSecurityGroupParams() *UpdateSecurityGroupParams
NewUpdateSecurityGroupParams creates a new UpdateSecurityGroupParams 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 NewUpdateSecurityGroupParamsWithContext ¶
func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithContext creates a new UpdateSecurityGroupParams object with the ability to set a context for a request.
func NewUpdateSecurityGroupParamsWithHTTPClient ¶
func NewUpdateSecurityGroupParamsWithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithHTTPClient creates a new UpdateSecurityGroupParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSecurityGroupParamsWithTimeout ¶
func NewUpdateSecurityGroupParamsWithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithTimeout creates a new UpdateSecurityGroupParams object with the ability to set a timeout on a request.
func (*UpdateSecurityGroupParams) SetContentLanguage ¶
func (o *UpdateSecurityGroupParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update security group params
func (*UpdateSecurityGroupParams) SetContext ¶
func (o *UpdateSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update security group params
func (*UpdateSecurityGroupParams) SetDefaults ¶
func (o *UpdateSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the update security group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecurityGroupParams) SetHTTPClient ¶
func (o *UpdateSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update security group params
func (*UpdateSecurityGroupParams) SetRequestBody ¶
func (o *UpdateSecurityGroupParams) SetRequestBody(requestBody *models.SecurityGroupUpdateBody)
SetRequestBody adds the requestBody to the update security group params
func (*UpdateSecurityGroupParams) SetTimeout ¶
func (o *UpdateSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update security group params
func (*UpdateSecurityGroupParams) WithContentLanguage ¶
func (o *UpdateSecurityGroupParams) WithContentLanguage(contentLanguage *string) *UpdateSecurityGroupParams
WithContentLanguage adds the contentLanguage to the update security group params
func (*UpdateSecurityGroupParams) WithContext ¶
func (o *UpdateSecurityGroupParams) WithContext(ctx context.Context) *UpdateSecurityGroupParams
WithContext adds the context to the update security group params
func (*UpdateSecurityGroupParams) WithDefaults ¶
func (o *UpdateSecurityGroupParams) WithDefaults() *UpdateSecurityGroupParams
WithDefaults hydrates default values in the update security group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecurityGroupParams) WithHTTPClient ¶
func (o *UpdateSecurityGroupParams) WithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
WithHTTPClient adds the HTTPClient to the update security group params
func (*UpdateSecurityGroupParams) WithRequestBody ¶
func (o *UpdateSecurityGroupParams) WithRequestBody(requestBody *models.SecurityGroupUpdateBody) *UpdateSecurityGroupParams
WithRequestBody adds the requestBody to the update security group params
func (*UpdateSecurityGroupParams) WithTimeout ¶
func (o *UpdateSecurityGroupParams) WithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
WithTimeout adds the timeout to the update security group params
func (*UpdateSecurityGroupParams) WriteToRequest ¶
func (o *UpdateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSecurityGroupReader ¶
type UpdateSecurityGroupReader struct {
// contains filtered or unexported fields
}
UpdateSecurityGroupReader is a Reader for the UpdateSecurityGroup structure.
func (*UpdateSecurityGroupReader) ReadResponse ¶
func (o *UpdateSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_security_group_parameters.go
- create_security_group_responses.go
- delete_security_group_parameters.go
- delete_security_group_responses.go
- get_security_groups_connection_parameters.go
- get_security_groups_connection_responses.go
- get_security_groups_parameters.go
- get_security_groups_responses.go
- security_group_client.go
- update_security_group_parameters.go
- update_security_group_responses.go