security_groups

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 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 groups API

func (*Client) SecurityGroupCreateUsingPUT

SecurityGroupCreateUsingPUT creates

Create security group in NSX-T

func (*Client) SecurityGroupDeleteUsingDELETE

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

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

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 (*SecurityGroupCreateUsingPUTBadRequest) GetPayload added in v1.2.0

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

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

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

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

WithContext adds the context to the security group create using p u t params

func (*SecurityGroupCreateUsingPUTParams) WithDefaults added in v1.2.4

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

WithHTTPClient adds the HTTPClient to the security group create using p u t params

func (*SecurityGroupCreateUsingPUTParams) WithSecurityGroup

WithSecurityGroup adds the securityGroup to the security group create using p u t params

func (*SecurityGroupCreateUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the security group create using p u t params

func (*SecurityGroupCreateUsingPUTParams) WriteToRequest

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 (*SecurityGroupDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

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 (*SecurityGroupDeleteUsingDELETECreated) GetPayload added in v1.1.0

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

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

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

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

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

WithGroupID adds the groupID to the security group delete using d e l e t e params

func (*SecurityGroupDeleteUsingDELETEParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the security group delete using d e l e t e params

func (*SecurityGroupDeleteUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the security group delete using d e l e t e params

func (*SecurityGroupDeleteUsingDELETEParams) WriteToRequest

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 (*SecurityGroupGetUsingGETBadRequest) GetPayload added in v1.2.0

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

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

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

WithContext adds the context to the security group get using g e t params

func (*SecurityGroupGetUsingGETParams) WithDefaults added in v1.2.4

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

WithGroupID adds the groupID to the security group get using g e t params

func (*SecurityGroupGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the security group get using g e t params

func (*SecurityGroupGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the security group get using g e t params

func (*SecurityGroupGetUsingGETParams) WriteToRequest

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 (*SecurityGroupListUsingGETBadRequest) GetPayload added in v1.2.0

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

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

WithContext adds the context to the security group list using g e t params

func (*SecurityGroupListUsingGETParams) WithDefaults added in v1.2.4

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

WithDisplayName adds the displayName to the security group list using g e t params

func (*SecurityGroupListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the security group list using g e t params

func (*SecurityGroupListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the security group list using g e t params

func (*SecurityGroupListUsingGETParams) WriteToRequest

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 (*SecurityGroupUpdateUsingPUTBadRequest) GetPayload added in v1.2.0

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 (*SecurityGroupUpdateUsingPUTCreated) GetPayload added in v1.1.0

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

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

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

WithContext adds the context to the security group update using p u t params

func (*SecurityGroupUpdateUsingPUTParams) WithDefaults added in v1.2.4

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

WithGroupID adds the groupID to the security group update using p u t params

func (*SecurityGroupUpdateUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the security group update using p u t params

func (*SecurityGroupUpdateUsingPUTParams) WithSecurityGroup

WithSecurityGroup adds the securityGroup to the security group update using p u t params

func (*SecurityGroupUpdateUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the security group update using p u t params

func (*SecurityGroupUpdateUsingPUTParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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