security_group

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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

type CreateSecurityGroupBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*CreateSecurityGroupBadRequest) GetPayload

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 (*CreateSecurityGroupInternalServerError) GetPayload

type CreateSecurityGroupNotFound

type CreateSecurityGroupNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the create security group params

func (*CreateSecurityGroupParams) WithDefaults

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

WithRequestBody adds the requestBody to the create security group params

func (*CreateSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the create security group params

func (*CreateSecurityGroupParams) WriteToRequest

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

type DeleteSecurityGroupBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*DeleteSecurityGroupBadRequest) GetPayload

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 (*DeleteSecurityGroupInternalServerError) GetPayload

type DeleteSecurityGroupNotFound

type DeleteSecurityGroupNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the delete security group params

func (*DeleteSecurityGroupParams) WithDefaults

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

WithRequestBody adds the requestBody to the delete security group params

func (*DeleteSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the delete security group params

func (*DeleteSecurityGroupParams) WriteToRequest

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

type GetSecurityGroupsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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 (*GetSecurityGroupsConnectionBadRequest) GetPayload

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 (*GetSecurityGroupsConnectionInternalServerError) GetPayload

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 (*GetSecurityGroupsConnectionNotFound) GetPayload

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 (*GetSecurityGroupsConnectionOK) GetPayload

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

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

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

WithContext adds the context to the get security groups connection params

func (*GetSecurityGroupsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get security groups connection params

func (*GetSecurityGroupsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get security groups connection params

func (*GetSecurityGroupsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get security groups connection params

func (*GetSecurityGroupsConnectionParams) WriteToRequest

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 (*GetSecurityGroupsInternalServerError) GetPayload

type GetSecurityGroupsNotFound

type GetSecurityGroupsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

WithContext adds the context to the get security groups params

func (*GetSecurityGroupsParams) WithDefaults

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

WithRequestBody adds the requestBody to the get security groups params

func (*GetSecurityGroupsParams) WithTimeout

WithTimeout adds the timeout to the get security groups params

func (*GetSecurityGroupsParams) WriteToRequest

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

type UpdateSecurityGroupBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateSecurityGroupBadRequest) GetPayload

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 (*UpdateSecurityGroupInternalServerError) GetPayload

type UpdateSecurityGroupNotFound

type UpdateSecurityGroupNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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

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

WithContext adds the context to the update security group params

func (*UpdateSecurityGroupParams) WithDefaults

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

WithRequestBody adds the requestBody to the update security group params

func (*UpdateSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the update security group params

func (*UpdateSecurityGroupParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL