isolation_policy

package
v2.19.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 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 isolation policy API

func (*Client) CreateIsolationPolicy

func (a *Client) CreateIsolationPolicy(params *CreateIsolationPolicyParams, opts ...ClientOption) (*CreateIsolationPolicyOK, error)

CreateIsolationPolicy create isolation policy API

func (*Client) DeleteIsolationPolicy

func (a *Client) DeleteIsolationPolicy(params *DeleteIsolationPolicyParams, opts ...ClientOption) (*DeleteIsolationPolicyOK, error)

DeleteIsolationPolicy delete isolation policy API

func (*Client) GetIsolationPolicies

func (a *Client) GetIsolationPolicies(params *GetIsolationPoliciesParams, opts ...ClientOption) (*GetIsolationPoliciesOK, error)

GetIsolationPolicies get isolation policies API

func (*Client) GetIsolationPoliciesConnection

func (a *Client) GetIsolationPoliciesConnection(params *GetIsolationPoliciesConnectionParams, opts ...ClientOption) (*GetIsolationPoliciesConnectionOK, error)

GetIsolationPoliciesConnection get isolation policies connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateIsolationPolicy

func (a *Client) UpdateIsolationPolicy(params *UpdateIsolationPolicyParams, opts ...ClientOption) (*UpdateIsolationPolicyOK, error)

UpdateIsolationPolicy update isolation policy API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateIsolationPolicy(params *CreateIsolationPolicyParams, opts ...ClientOption) (*CreateIsolationPolicyOK, error)

	DeleteIsolationPolicy(params *DeleteIsolationPolicyParams, opts ...ClientOption) (*DeleteIsolationPolicyOK, error)

	GetIsolationPolicies(params *GetIsolationPoliciesParams, opts ...ClientOption) (*GetIsolationPoliciesOK, error)

	GetIsolationPoliciesConnection(params *GetIsolationPoliciesConnectionParams, opts ...ClientOption) (*GetIsolationPoliciesConnectionOK, error)

	UpdateIsolationPolicy(params *UpdateIsolationPolicyParams, opts ...ClientOption) (*UpdateIsolationPolicyOK, 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 isolation policy API client.

type CreateIsolationPolicyBadRequest

type CreateIsolationPolicyBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateIsolationPolicyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateIsolationPolicyBadRequest

func NewCreateIsolationPolicyBadRequest() *CreateIsolationPolicyBadRequest

NewCreateIsolationPolicyBadRequest creates a CreateIsolationPolicyBadRequest with default headers values

func (*CreateIsolationPolicyBadRequest) Error

func (*CreateIsolationPolicyBadRequest) GetPayload

type CreateIsolationPolicyInternalServerError

type CreateIsolationPolicyInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateIsolationPolicyInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateIsolationPolicyInternalServerError

func NewCreateIsolationPolicyInternalServerError() *CreateIsolationPolicyInternalServerError

NewCreateIsolationPolicyInternalServerError creates a CreateIsolationPolicyInternalServerError with default headers values

func (*CreateIsolationPolicyInternalServerError) Error

func (*CreateIsolationPolicyInternalServerError) GetPayload

type CreateIsolationPolicyNotFound

type CreateIsolationPolicyNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateIsolationPolicyNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateIsolationPolicyNotFound

func NewCreateIsolationPolicyNotFound() *CreateIsolationPolicyNotFound

NewCreateIsolationPolicyNotFound creates a CreateIsolationPolicyNotFound with default headers values

func (*CreateIsolationPolicyNotFound) Error

func (*CreateIsolationPolicyNotFound) GetPayload

type CreateIsolationPolicyOK

type CreateIsolationPolicyOK struct {
	XTowerRequestID string

	Payload *models.IsolationPolicy
}
CreateIsolationPolicyOK describes a response with status code 200, with default header values.

CreateIsolationPolicyOK create isolation policy o k

func NewCreateIsolationPolicyOK

func NewCreateIsolationPolicyOK() *CreateIsolationPolicyOK

NewCreateIsolationPolicyOK creates a CreateIsolationPolicyOK with default headers values

func (*CreateIsolationPolicyOK) Error

func (o *CreateIsolationPolicyOK) Error() string

func (*CreateIsolationPolicyOK) GetPayload

type CreateIsolationPolicyParams

type CreateIsolationPolicyParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.IsolationPolicyCreateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateIsolationPolicyParams contains all the parameters to send to the API endpoint

for the create isolation policy operation.

Typically these are written to a http.Request.

func NewCreateIsolationPolicyParams

func NewCreateIsolationPolicyParams() *CreateIsolationPolicyParams

NewCreateIsolationPolicyParams creates a new CreateIsolationPolicyParams 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 NewCreateIsolationPolicyParamsWithContext

func NewCreateIsolationPolicyParamsWithContext(ctx context.Context) *CreateIsolationPolicyParams

NewCreateIsolationPolicyParamsWithContext creates a new CreateIsolationPolicyParams object with the ability to set a context for a request.

func NewCreateIsolationPolicyParamsWithHTTPClient

func NewCreateIsolationPolicyParamsWithHTTPClient(client *http.Client) *CreateIsolationPolicyParams

NewCreateIsolationPolicyParamsWithHTTPClient creates a new CreateIsolationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIsolationPolicyParamsWithTimeout

func NewCreateIsolationPolicyParamsWithTimeout(timeout time.Duration) *CreateIsolationPolicyParams

NewCreateIsolationPolicyParamsWithTimeout creates a new CreateIsolationPolicyParams object with the ability to set a timeout on a request.

func (*CreateIsolationPolicyParams) SetContentLanguage

func (o *CreateIsolationPolicyParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create isolation policy params

func (*CreateIsolationPolicyParams) SetContext

func (o *CreateIsolationPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the create isolation policy params

func (*CreateIsolationPolicyParams) SetDefaults

func (o *CreateIsolationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the create isolation policy params (not the query body).

All values with no default are reset to their zero value.

func (*CreateIsolationPolicyParams) SetHTTPClient

func (o *CreateIsolationPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create isolation policy params

func (*CreateIsolationPolicyParams) SetRequestBody

func (o *CreateIsolationPolicyParams) SetRequestBody(requestBody *models.IsolationPolicyCreateParams)

SetRequestBody adds the requestBody to the create isolation policy params

func (*CreateIsolationPolicyParams) SetTimeout

func (o *CreateIsolationPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create isolation policy params

func (*CreateIsolationPolicyParams) WithContentLanguage

func (o *CreateIsolationPolicyParams) WithContentLanguage(contentLanguage *string) *CreateIsolationPolicyParams

WithContentLanguage adds the contentLanguage to the create isolation policy params

func (*CreateIsolationPolicyParams) WithContext

WithContext adds the context to the create isolation policy params

func (*CreateIsolationPolicyParams) WithDefaults

WithDefaults hydrates default values in the create isolation policy params (not the query body).

All values with no default are reset to their zero value.

func (*CreateIsolationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create isolation policy params

func (*CreateIsolationPolicyParams) WithRequestBody

WithRequestBody adds the requestBody to the create isolation policy params

func (*CreateIsolationPolicyParams) WithTimeout

WithTimeout adds the timeout to the create isolation policy params

func (*CreateIsolationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIsolationPolicyReader

type CreateIsolationPolicyReader struct {
	// contains filtered or unexported fields
}

CreateIsolationPolicyReader is a Reader for the CreateIsolationPolicy structure.

func (*CreateIsolationPolicyReader) ReadResponse

func (o *CreateIsolationPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteIsolationPolicyBadRequest

type DeleteIsolationPolicyBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteIsolationPolicyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteIsolationPolicyBadRequest

func NewDeleteIsolationPolicyBadRequest() *DeleteIsolationPolicyBadRequest

NewDeleteIsolationPolicyBadRequest creates a DeleteIsolationPolicyBadRequest with default headers values

func (*DeleteIsolationPolicyBadRequest) Error

func (*DeleteIsolationPolicyBadRequest) GetPayload

type DeleteIsolationPolicyInternalServerError

type DeleteIsolationPolicyInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteIsolationPolicyInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteIsolationPolicyInternalServerError

func NewDeleteIsolationPolicyInternalServerError() *DeleteIsolationPolicyInternalServerError

NewDeleteIsolationPolicyInternalServerError creates a DeleteIsolationPolicyInternalServerError with default headers values

func (*DeleteIsolationPolicyInternalServerError) Error

func (*DeleteIsolationPolicyInternalServerError) GetPayload

type DeleteIsolationPolicyNotFound

type DeleteIsolationPolicyNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteIsolationPolicyNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteIsolationPolicyNotFound

func NewDeleteIsolationPolicyNotFound() *DeleteIsolationPolicyNotFound

NewDeleteIsolationPolicyNotFound creates a DeleteIsolationPolicyNotFound with default headers values

func (*DeleteIsolationPolicyNotFound) Error

func (*DeleteIsolationPolicyNotFound) GetPayload

type DeleteIsolationPolicyOK

type DeleteIsolationPolicyOK struct {
	XTowerRequestID string

	Payload []*models.DeleteIsolationPolicy
}
DeleteIsolationPolicyOK describes a response with status code 200, with default header values.

DeleteIsolationPolicyOK delete isolation policy o k

func NewDeleteIsolationPolicyOK

func NewDeleteIsolationPolicyOK() *DeleteIsolationPolicyOK

NewDeleteIsolationPolicyOK creates a DeleteIsolationPolicyOK with default headers values

func (*DeleteIsolationPolicyOK) Error

func (o *DeleteIsolationPolicyOK) Error() string

func (*DeleteIsolationPolicyOK) GetPayload

type DeleteIsolationPolicyParams

type DeleteIsolationPolicyParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.IsolationPolicyDeleteParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteIsolationPolicyParams contains all the parameters to send to the API endpoint

for the delete isolation policy operation.

Typically these are written to a http.Request.

func NewDeleteIsolationPolicyParams

func NewDeleteIsolationPolicyParams() *DeleteIsolationPolicyParams

NewDeleteIsolationPolicyParams creates a new DeleteIsolationPolicyParams 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 NewDeleteIsolationPolicyParamsWithContext

func NewDeleteIsolationPolicyParamsWithContext(ctx context.Context) *DeleteIsolationPolicyParams

NewDeleteIsolationPolicyParamsWithContext creates a new DeleteIsolationPolicyParams object with the ability to set a context for a request.

func NewDeleteIsolationPolicyParamsWithHTTPClient

func NewDeleteIsolationPolicyParamsWithHTTPClient(client *http.Client) *DeleteIsolationPolicyParams

NewDeleteIsolationPolicyParamsWithHTTPClient creates a new DeleteIsolationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIsolationPolicyParamsWithTimeout

func NewDeleteIsolationPolicyParamsWithTimeout(timeout time.Duration) *DeleteIsolationPolicyParams

NewDeleteIsolationPolicyParamsWithTimeout creates a new DeleteIsolationPolicyParams object with the ability to set a timeout on a request.

func (*DeleteIsolationPolicyParams) SetContentLanguage

func (o *DeleteIsolationPolicyParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete isolation policy params

func (*DeleteIsolationPolicyParams) SetContext

func (o *DeleteIsolationPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the delete isolation policy params

func (*DeleteIsolationPolicyParams) SetDefaults

func (o *DeleteIsolationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the delete isolation policy params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteIsolationPolicyParams) SetHTTPClient

func (o *DeleteIsolationPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete isolation policy params

func (*DeleteIsolationPolicyParams) SetRequestBody

func (o *DeleteIsolationPolicyParams) SetRequestBody(requestBody *models.IsolationPolicyDeleteParams)

SetRequestBody adds the requestBody to the delete isolation policy params

func (*DeleteIsolationPolicyParams) SetTimeout

func (o *DeleteIsolationPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete isolation policy params

func (*DeleteIsolationPolicyParams) WithContentLanguage

func (o *DeleteIsolationPolicyParams) WithContentLanguage(contentLanguage *string) *DeleteIsolationPolicyParams

WithContentLanguage adds the contentLanguage to the delete isolation policy params

func (*DeleteIsolationPolicyParams) WithContext

WithContext adds the context to the delete isolation policy params

func (*DeleteIsolationPolicyParams) WithDefaults

WithDefaults hydrates default values in the delete isolation policy params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteIsolationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete isolation policy params

func (*DeleteIsolationPolicyParams) WithRequestBody

WithRequestBody adds the requestBody to the delete isolation policy params

func (*DeleteIsolationPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete isolation policy params

func (*DeleteIsolationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIsolationPolicyReader

type DeleteIsolationPolicyReader struct {
	// contains filtered or unexported fields
}

DeleteIsolationPolicyReader is a Reader for the DeleteIsolationPolicy structure.

func (*DeleteIsolationPolicyReader) ReadResponse

func (o *DeleteIsolationPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetIsolationPoliciesBadRequest

type GetIsolationPoliciesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIsolationPoliciesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetIsolationPoliciesBadRequest

func NewGetIsolationPoliciesBadRequest() *GetIsolationPoliciesBadRequest

NewGetIsolationPoliciesBadRequest creates a GetIsolationPoliciesBadRequest with default headers values

func (*GetIsolationPoliciesBadRequest) Error

func (*GetIsolationPoliciesBadRequest) GetPayload

type GetIsolationPoliciesConnectionBadRequest

type GetIsolationPoliciesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIsolationPoliciesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetIsolationPoliciesConnectionBadRequest

func NewGetIsolationPoliciesConnectionBadRequest() *GetIsolationPoliciesConnectionBadRequest

NewGetIsolationPoliciesConnectionBadRequest creates a GetIsolationPoliciesConnectionBadRequest with default headers values

func (*GetIsolationPoliciesConnectionBadRequest) Error

func (*GetIsolationPoliciesConnectionBadRequest) GetPayload

type GetIsolationPoliciesConnectionInternalServerError

type GetIsolationPoliciesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIsolationPoliciesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetIsolationPoliciesConnectionInternalServerError

func NewGetIsolationPoliciesConnectionInternalServerError() *GetIsolationPoliciesConnectionInternalServerError

NewGetIsolationPoliciesConnectionInternalServerError creates a GetIsolationPoliciesConnectionInternalServerError with default headers values

func (*GetIsolationPoliciesConnectionInternalServerError) Error

func (*GetIsolationPoliciesConnectionInternalServerError) GetPayload

type GetIsolationPoliciesConnectionNotFound

type GetIsolationPoliciesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIsolationPoliciesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetIsolationPoliciesConnectionNotFound

func NewGetIsolationPoliciesConnectionNotFound() *GetIsolationPoliciesConnectionNotFound

NewGetIsolationPoliciesConnectionNotFound creates a GetIsolationPoliciesConnectionNotFound with default headers values

func (*GetIsolationPoliciesConnectionNotFound) Error

func (*GetIsolationPoliciesConnectionNotFound) GetPayload

type GetIsolationPoliciesConnectionOK

type GetIsolationPoliciesConnectionOK struct {
	XTowerRequestID string

	Payload *models.IsolationPolicyConnection
}
GetIsolationPoliciesConnectionOK describes a response with status code 200, with default header values.

GetIsolationPoliciesConnectionOK get isolation policies connection o k

func NewGetIsolationPoliciesConnectionOK

func NewGetIsolationPoliciesConnectionOK() *GetIsolationPoliciesConnectionOK

NewGetIsolationPoliciesConnectionOK creates a GetIsolationPoliciesConnectionOK with default headers values

func (*GetIsolationPoliciesConnectionOK) Error

func (*GetIsolationPoliciesConnectionOK) GetPayload

type GetIsolationPoliciesConnectionParams

type GetIsolationPoliciesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetIsolationPoliciesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetIsolationPoliciesConnectionParams contains all the parameters to send to the API endpoint

for the get isolation policies connection operation.

Typically these are written to a http.Request.

func NewGetIsolationPoliciesConnectionParams

func NewGetIsolationPoliciesConnectionParams() *GetIsolationPoliciesConnectionParams

NewGetIsolationPoliciesConnectionParams creates a new GetIsolationPoliciesConnectionParams 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 NewGetIsolationPoliciesConnectionParamsWithContext

func NewGetIsolationPoliciesConnectionParamsWithContext(ctx context.Context) *GetIsolationPoliciesConnectionParams

NewGetIsolationPoliciesConnectionParamsWithContext creates a new GetIsolationPoliciesConnectionParams object with the ability to set a context for a request.

func NewGetIsolationPoliciesConnectionParamsWithHTTPClient

func NewGetIsolationPoliciesConnectionParamsWithHTTPClient(client *http.Client) *GetIsolationPoliciesConnectionParams

NewGetIsolationPoliciesConnectionParamsWithHTTPClient creates a new GetIsolationPoliciesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetIsolationPoliciesConnectionParamsWithTimeout

func NewGetIsolationPoliciesConnectionParamsWithTimeout(timeout time.Duration) *GetIsolationPoliciesConnectionParams

NewGetIsolationPoliciesConnectionParamsWithTimeout creates a new GetIsolationPoliciesConnectionParams object with the ability to set a timeout on a request.

func (*GetIsolationPoliciesConnectionParams) SetContentLanguage

func (o *GetIsolationPoliciesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) SetContext

SetContext adds the context to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) SetDefaults

func (o *GetIsolationPoliciesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get isolation policies connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetIsolationPoliciesConnectionParams) SetHTTPClient

func (o *GetIsolationPoliciesConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) SetTimeout

func (o *GetIsolationPoliciesConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) WithContentLanguage

func (o *GetIsolationPoliciesConnectionParams) WithContentLanguage(contentLanguage *string) *GetIsolationPoliciesConnectionParams

WithContentLanguage adds the contentLanguage to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) WithContext

WithContext adds the context to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get isolation policies connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetIsolationPoliciesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get isolation policies connection params

func (*GetIsolationPoliciesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIsolationPoliciesConnectionReader

type GetIsolationPoliciesConnectionReader struct {
	// contains filtered or unexported fields
}

GetIsolationPoliciesConnectionReader is a Reader for the GetIsolationPoliciesConnection structure.

func (*GetIsolationPoliciesConnectionReader) ReadResponse

func (o *GetIsolationPoliciesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetIsolationPoliciesInternalServerError

type GetIsolationPoliciesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIsolationPoliciesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetIsolationPoliciesInternalServerError

func NewGetIsolationPoliciesInternalServerError() *GetIsolationPoliciesInternalServerError

NewGetIsolationPoliciesInternalServerError creates a GetIsolationPoliciesInternalServerError with default headers values

func (*GetIsolationPoliciesInternalServerError) Error

func (*GetIsolationPoliciesInternalServerError) GetPayload

type GetIsolationPoliciesNotFound

type GetIsolationPoliciesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIsolationPoliciesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetIsolationPoliciesNotFound

func NewGetIsolationPoliciesNotFound() *GetIsolationPoliciesNotFound

NewGetIsolationPoliciesNotFound creates a GetIsolationPoliciesNotFound with default headers values

func (*GetIsolationPoliciesNotFound) Error

func (*GetIsolationPoliciesNotFound) GetPayload

type GetIsolationPoliciesOK

type GetIsolationPoliciesOK struct {
	XTowerRequestID string

	Payload []*models.IsolationPolicy
}
GetIsolationPoliciesOK describes a response with status code 200, with default header values.

GetIsolationPoliciesOK get isolation policies o k

func NewGetIsolationPoliciesOK

func NewGetIsolationPoliciesOK() *GetIsolationPoliciesOK

NewGetIsolationPoliciesOK creates a GetIsolationPoliciesOK with default headers values

func (*GetIsolationPoliciesOK) Error

func (o *GetIsolationPoliciesOK) Error() string

func (*GetIsolationPoliciesOK) GetPayload

func (o *GetIsolationPoliciesOK) GetPayload() []*models.IsolationPolicy

type GetIsolationPoliciesParams

type GetIsolationPoliciesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetIsolationPoliciesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetIsolationPoliciesParams contains all the parameters to send to the API endpoint

for the get isolation policies operation.

Typically these are written to a http.Request.

func NewGetIsolationPoliciesParams

func NewGetIsolationPoliciesParams() *GetIsolationPoliciesParams

NewGetIsolationPoliciesParams creates a new GetIsolationPoliciesParams 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 NewGetIsolationPoliciesParamsWithContext

func NewGetIsolationPoliciesParamsWithContext(ctx context.Context) *GetIsolationPoliciesParams

NewGetIsolationPoliciesParamsWithContext creates a new GetIsolationPoliciesParams object with the ability to set a context for a request.

func NewGetIsolationPoliciesParamsWithHTTPClient

func NewGetIsolationPoliciesParamsWithHTTPClient(client *http.Client) *GetIsolationPoliciesParams

NewGetIsolationPoliciesParamsWithHTTPClient creates a new GetIsolationPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetIsolationPoliciesParamsWithTimeout

func NewGetIsolationPoliciesParamsWithTimeout(timeout time.Duration) *GetIsolationPoliciesParams

NewGetIsolationPoliciesParamsWithTimeout creates a new GetIsolationPoliciesParams object with the ability to set a timeout on a request.

func (*GetIsolationPoliciesParams) SetContentLanguage

func (o *GetIsolationPoliciesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get isolation policies params

func (*GetIsolationPoliciesParams) SetContext

func (o *GetIsolationPoliciesParams) SetContext(ctx context.Context)

SetContext adds the context to the get isolation policies params

func (*GetIsolationPoliciesParams) SetDefaults

func (o *GetIsolationPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the get isolation policies params (not the query body).

All values with no default are reset to their zero value.

func (*GetIsolationPoliciesParams) SetHTTPClient

func (o *GetIsolationPoliciesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get isolation policies params

func (*GetIsolationPoliciesParams) SetRequestBody

func (o *GetIsolationPoliciesParams) SetRequestBody(requestBody *models.GetIsolationPoliciesRequestBody)

SetRequestBody adds the requestBody to the get isolation policies params

func (*GetIsolationPoliciesParams) SetTimeout

func (o *GetIsolationPoliciesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get isolation policies params

func (*GetIsolationPoliciesParams) WithContentLanguage

func (o *GetIsolationPoliciesParams) WithContentLanguage(contentLanguage *string) *GetIsolationPoliciesParams

WithContentLanguage adds the contentLanguage to the get isolation policies params

func (*GetIsolationPoliciesParams) WithContext

WithContext adds the context to the get isolation policies params

func (*GetIsolationPoliciesParams) WithDefaults

WithDefaults hydrates default values in the get isolation policies params (not the query body).

All values with no default are reset to their zero value.

func (*GetIsolationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get isolation policies params

func (*GetIsolationPoliciesParams) WithRequestBody

WithRequestBody adds the requestBody to the get isolation policies params

func (*GetIsolationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the get isolation policies params

func (*GetIsolationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIsolationPoliciesReader

type GetIsolationPoliciesReader struct {
	// contains filtered or unexported fields
}

GetIsolationPoliciesReader is a Reader for the GetIsolationPolicies structure.

func (*GetIsolationPoliciesReader) ReadResponse

func (o *GetIsolationPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateIsolationPolicyBadRequest

type UpdateIsolationPolicyBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateIsolationPolicyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateIsolationPolicyBadRequest

func NewUpdateIsolationPolicyBadRequest() *UpdateIsolationPolicyBadRequest

NewUpdateIsolationPolicyBadRequest creates a UpdateIsolationPolicyBadRequest with default headers values

func (*UpdateIsolationPolicyBadRequest) Error

func (*UpdateIsolationPolicyBadRequest) GetPayload

type UpdateIsolationPolicyInternalServerError

type UpdateIsolationPolicyInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateIsolationPolicyInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateIsolationPolicyInternalServerError

func NewUpdateIsolationPolicyInternalServerError() *UpdateIsolationPolicyInternalServerError

NewUpdateIsolationPolicyInternalServerError creates a UpdateIsolationPolicyInternalServerError with default headers values

func (*UpdateIsolationPolicyInternalServerError) Error

func (*UpdateIsolationPolicyInternalServerError) GetPayload

type UpdateIsolationPolicyNotFound

type UpdateIsolationPolicyNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateIsolationPolicyNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateIsolationPolicyNotFound

func NewUpdateIsolationPolicyNotFound() *UpdateIsolationPolicyNotFound

NewUpdateIsolationPolicyNotFound creates a UpdateIsolationPolicyNotFound with default headers values

func (*UpdateIsolationPolicyNotFound) Error

func (*UpdateIsolationPolicyNotFound) GetPayload

type UpdateIsolationPolicyOK

type UpdateIsolationPolicyOK struct {
	XTowerRequestID string

	Payload []*models.IsolationPolicy
}
UpdateIsolationPolicyOK describes a response with status code 200, with default header values.

UpdateIsolationPolicyOK update isolation policy o k

func NewUpdateIsolationPolicyOK

func NewUpdateIsolationPolicyOK() *UpdateIsolationPolicyOK

NewUpdateIsolationPolicyOK creates a UpdateIsolationPolicyOK with default headers values

func (*UpdateIsolationPolicyOK) Error

func (o *UpdateIsolationPolicyOK) Error() string

func (*UpdateIsolationPolicyOK) GetPayload

func (o *UpdateIsolationPolicyOK) GetPayload() []*models.IsolationPolicy

type UpdateIsolationPolicyParams

type UpdateIsolationPolicyParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.IsolationPolicyUpdateBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateIsolationPolicyParams contains all the parameters to send to the API endpoint

for the update isolation policy operation.

Typically these are written to a http.Request.

func NewUpdateIsolationPolicyParams

func NewUpdateIsolationPolicyParams() *UpdateIsolationPolicyParams

NewUpdateIsolationPolicyParams creates a new UpdateIsolationPolicyParams 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 NewUpdateIsolationPolicyParamsWithContext

func NewUpdateIsolationPolicyParamsWithContext(ctx context.Context) *UpdateIsolationPolicyParams

NewUpdateIsolationPolicyParamsWithContext creates a new UpdateIsolationPolicyParams object with the ability to set a context for a request.

func NewUpdateIsolationPolicyParamsWithHTTPClient

func NewUpdateIsolationPolicyParamsWithHTTPClient(client *http.Client) *UpdateIsolationPolicyParams

NewUpdateIsolationPolicyParamsWithHTTPClient creates a new UpdateIsolationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIsolationPolicyParamsWithTimeout

func NewUpdateIsolationPolicyParamsWithTimeout(timeout time.Duration) *UpdateIsolationPolicyParams

NewUpdateIsolationPolicyParamsWithTimeout creates a new UpdateIsolationPolicyParams object with the ability to set a timeout on a request.

func (*UpdateIsolationPolicyParams) SetContentLanguage

func (o *UpdateIsolationPolicyParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update isolation policy params

func (*UpdateIsolationPolicyParams) SetContext

func (o *UpdateIsolationPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the update isolation policy params

func (*UpdateIsolationPolicyParams) SetDefaults

func (o *UpdateIsolationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the update isolation policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIsolationPolicyParams) SetHTTPClient

func (o *UpdateIsolationPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update isolation policy params

func (*UpdateIsolationPolicyParams) SetRequestBody

func (o *UpdateIsolationPolicyParams) SetRequestBody(requestBody *models.IsolationPolicyUpdateBody)

SetRequestBody adds the requestBody to the update isolation policy params

func (*UpdateIsolationPolicyParams) SetTimeout

func (o *UpdateIsolationPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update isolation policy params

func (*UpdateIsolationPolicyParams) WithContentLanguage

func (o *UpdateIsolationPolicyParams) WithContentLanguage(contentLanguage *string) *UpdateIsolationPolicyParams

WithContentLanguage adds the contentLanguage to the update isolation policy params

func (*UpdateIsolationPolicyParams) WithContext

WithContext adds the context to the update isolation policy params

func (*UpdateIsolationPolicyParams) WithDefaults

WithDefaults hydrates default values in the update isolation policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIsolationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update isolation policy params

func (*UpdateIsolationPolicyParams) WithRequestBody

WithRequestBody adds the requestBody to the update isolation policy params

func (*UpdateIsolationPolicyParams) WithTimeout

WithTimeout adds the timeout to the update isolation policy params

func (*UpdateIsolationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateIsolationPolicyReader

type UpdateIsolationPolicyReader struct {
	// contains filtered or unexported fields
}

UpdateIsolationPolicyReader is a Reader for the UpdateIsolationPolicy structure.

func (*UpdateIsolationPolicyReader) ReadResponse

func (o *UpdateIsolationPolicyReader) 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