prevention_policies

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 11 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 prevention policies API

func (*Client) CreatePreventionPolicies

func (a *Client) CreatePreventionPolicies(params *CreatePreventionPoliciesParams, opts ...ClientOption) (*CreatePreventionPoliciesCreated, error)

CreatePreventionPolicies creates prevention policies by specifying details about the policy to create

func (*Client) DeletePreventionPolicies

func (a *Client) DeletePreventionPolicies(params *DeletePreventionPoliciesParams, opts ...ClientOption) (*DeletePreventionPoliciesOK, error)

DeletePreventionPolicies deletes a set of prevention policies by specifying their i ds

func (*Client) GetPreventionPolicies

func (a *Client) GetPreventionPolicies(params *GetPreventionPoliciesParams, opts ...ClientOption) (*GetPreventionPoliciesOK, error)

GetPreventionPolicies retrieves a set of prevention policies by specifying their i ds

func (*Client) PerformPreventionPoliciesAction

func (a *Client) PerformPreventionPoliciesAction(params *PerformPreventionPoliciesActionParams, opts ...ClientOption) (*PerformPreventionPoliciesActionOK, error)

PerformPreventionPoliciesAction performs the specified action on the prevention policies specified in the request

func (*Client) QueryCombinedPreventionPolicies

func (a *Client) QueryCombinedPreventionPolicies(params *QueryCombinedPreventionPoliciesParams, opts ...ClientOption) (*QueryCombinedPreventionPoliciesOK, error)

QueryCombinedPreventionPolicies searches for prevention policies in your environment by providing an f q l filter and paging details returns a set of prevention policies which match the filter criteria

func (*Client) QueryCombinedPreventionPolicyMembers

func (a *Client) QueryCombinedPreventionPolicyMembers(params *QueryCombinedPreventionPolicyMembersParams, opts ...ClientOption) (*QueryCombinedPreventionPolicyMembersOK, error)

QueryCombinedPreventionPolicyMembers searches for members of a prevention policy in your environment by providing an f q l filter and paging details returns a set of host details which match the filter criteria

func (*Client) QueryPreventionPolicies

func (a *Client) QueryPreventionPolicies(params *QueryPreventionPoliciesParams, opts ...ClientOption) (*QueryPreventionPoliciesOK, error)

QueryPreventionPolicies searches for prevention policies in your environment by providing an f q l filter and paging details returns a set of prevention policy i ds which match the filter criteria

func (*Client) QueryPreventionPolicyMembers

func (a *Client) QueryPreventionPolicyMembers(params *QueryPreventionPolicyMembersParams, opts ...ClientOption) (*QueryPreventionPolicyMembersOK, error)

QueryPreventionPolicyMembers searches for members of a prevention policy in your environment by providing an f q l filter and paging details returns a set of agent i ds which match the filter criteria

func (*Client) SetPreventionPoliciesPrecedence

func (a *Client) SetPreventionPoliciesPrecedence(params *SetPreventionPoliciesPrecedenceParams, opts ...ClientOption) (*SetPreventionPoliciesPrecedenceOK, error)

SetPreventionPoliciesPrecedence sets the precedence of prevention policies based on the order of i ds specified in the request the first ID specified will have the highest precedence and the last ID specified will have the lowest you must specify all non default policies for a platform when updating precedence

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePreventionPolicies

func (a *Client) UpdatePreventionPolicies(params *UpdatePreventionPoliciesParams, opts ...ClientOption) (*UpdatePreventionPoliciesOK, error)

UpdatePreventionPolicies updates prevention policies by specifying the ID of the policy and details to update

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreatePreventionPolicies(params *CreatePreventionPoliciesParams, opts ...ClientOption) (*CreatePreventionPoliciesCreated, error)

	DeletePreventionPolicies(params *DeletePreventionPoliciesParams, opts ...ClientOption) (*DeletePreventionPoliciesOK, error)

	GetPreventionPolicies(params *GetPreventionPoliciesParams, opts ...ClientOption) (*GetPreventionPoliciesOK, error)

	PerformPreventionPoliciesAction(params *PerformPreventionPoliciesActionParams, opts ...ClientOption) (*PerformPreventionPoliciesActionOK, error)

	QueryCombinedPreventionPolicies(params *QueryCombinedPreventionPoliciesParams, opts ...ClientOption) (*QueryCombinedPreventionPoliciesOK, error)

	QueryCombinedPreventionPolicyMembers(params *QueryCombinedPreventionPolicyMembersParams, opts ...ClientOption) (*QueryCombinedPreventionPolicyMembersOK, error)

	QueryPreventionPolicies(params *QueryPreventionPoliciesParams, opts ...ClientOption) (*QueryPreventionPoliciesOK, error)

	QueryPreventionPolicyMembers(params *QueryPreventionPolicyMembersParams, opts ...ClientOption) (*QueryPreventionPolicyMembersOK, error)

	SetPreventionPoliciesPrecedence(params *SetPreventionPoliciesPrecedenceParams, opts ...ClientOption) (*SetPreventionPoliciesPrecedenceOK, error)

	UpdatePreventionPolicies(params *UpdatePreventionPoliciesParams, opts ...ClientOption) (*UpdatePreventionPoliciesOK, 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 prevention policies API client.

type CreatePreventionPoliciesBadRequest

type CreatePreventionPoliciesBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

CreatePreventionPoliciesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreatePreventionPoliciesBadRequest

func NewCreatePreventionPoliciesBadRequest() *CreatePreventionPoliciesBadRequest

NewCreatePreventionPoliciesBadRequest creates a CreatePreventionPoliciesBadRequest with default headers values

func (*CreatePreventionPoliciesBadRequest) Code added in v0.2.33

Code gets the status code for the create prevention policies bad request response

func (*CreatePreventionPoliciesBadRequest) Error

func (*CreatePreventionPoliciesBadRequest) GetPayload

func (*CreatePreventionPoliciesBadRequest) IsClientError added in v0.2.27

func (o *CreatePreventionPoliciesBadRequest) IsClientError() bool

IsClientError returns true when this create prevention policies bad request response has a 4xx status code

func (*CreatePreventionPoliciesBadRequest) IsCode added in v0.2.27

IsCode returns true when this create prevention policies bad request response a status code equal to that given

func (*CreatePreventionPoliciesBadRequest) IsRedirect added in v0.2.27

func (o *CreatePreventionPoliciesBadRequest) IsRedirect() bool

IsRedirect returns true when this create prevention policies bad request response has a 3xx status code

func (*CreatePreventionPoliciesBadRequest) IsServerError added in v0.2.27

func (o *CreatePreventionPoliciesBadRequest) IsServerError() bool

IsServerError returns true when this create prevention policies bad request response has a 5xx status code

func (*CreatePreventionPoliciesBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this create prevention policies bad request response has a 2xx status code

func (*CreatePreventionPoliciesBadRequest) String added in v0.2.27

type CreatePreventionPoliciesCreated

type CreatePreventionPoliciesCreated struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

CreatePreventionPoliciesCreated describes a response with status code 201, with default header values.

Created

func NewCreatePreventionPoliciesCreated

func NewCreatePreventionPoliciesCreated() *CreatePreventionPoliciesCreated

NewCreatePreventionPoliciesCreated creates a CreatePreventionPoliciesCreated with default headers values

func (*CreatePreventionPoliciesCreated) Code added in v0.2.33

Code gets the status code for the create prevention policies created response

func (*CreatePreventionPoliciesCreated) Error

func (*CreatePreventionPoliciesCreated) GetPayload

func (*CreatePreventionPoliciesCreated) IsClientError added in v0.2.27

func (o *CreatePreventionPoliciesCreated) IsClientError() bool

IsClientError returns true when this create prevention policies created response has a 4xx status code

func (*CreatePreventionPoliciesCreated) IsCode added in v0.2.27

func (o *CreatePreventionPoliciesCreated) IsCode(code int) bool

IsCode returns true when this create prevention policies created response a status code equal to that given

func (*CreatePreventionPoliciesCreated) IsRedirect added in v0.2.27

func (o *CreatePreventionPoliciesCreated) IsRedirect() bool

IsRedirect returns true when this create prevention policies created response has a 3xx status code

func (*CreatePreventionPoliciesCreated) IsServerError added in v0.2.27

func (o *CreatePreventionPoliciesCreated) IsServerError() bool

IsServerError returns true when this create prevention policies created response has a 5xx status code

func (*CreatePreventionPoliciesCreated) IsSuccess added in v0.2.27

func (o *CreatePreventionPoliciesCreated) IsSuccess() bool

IsSuccess returns true when this create prevention policies created response has a 2xx status code

func (*CreatePreventionPoliciesCreated) String added in v0.2.27

type CreatePreventionPoliciesForbidden

type CreatePreventionPoliciesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

CreatePreventionPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreatePreventionPoliciesForbidden

func NewCreatePreventionPoliciesForbidden() *CreatePreventionPoliciesForbidden

NewCreatePreventionPoliciesForbidden creates a CreatePreventionPoliciesForbidden with default headers values

func (*CreatePreventionPoliciesForbidden) Code added in v0.2.33

Code gets the status code for the create prevention policies forbidden response

func (*CreatePreventionPoliciesForbidden) Error

func (*CreatePreventionPoliciesForbidden) GetPayload

func (*CreatePreventionPoliciesForbidden) IsClientError added in v0.2.27

func (o *CreatePreventionPoliciesForbidden) IsClientError() bool

IsClientError returns true when this create prevention policies forbidden response has a 4xx status code

func (*CreatePreventionPoliciesForbidden) IsCode added in v0.2.27

func (o *CreatePreventionPoliciesForbidden) IsCode(code int) bool

IsCode returns true when this create prevention policies forbidden response a status code equal to that given

func (*CreatePreventionPoliciesForbidden) IsRedirect added in v0.2.27

func (o *CreatePreventionPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this create prevention policies forbidden response has a 3xx status code

func (*CreatePreventionPoliciesForbidden) IsServerError added in v0.2.27

func (o *CreatePreventionPoliciesForbidden) IsServerError() bool

IsServerError returns true when this create prevention policies forbidden response has a 5xx status code

func (*CreatePreventionPoliciesForbidden) IsSuccess added in v0.2.27

func (o *CreatePreventionPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this create prevention policies forbidden response has a 2xx status code

func (*CreatePreventionPoliciesForbidden) String added in v0.2.27

type CreatePreventionPoliciesInternalServerError

type CreatePreventionPoliciesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

CreatePreventionPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreatePreventionPoliciesInternalServerError

func NewCreatePreventionPoliciesInternalServerError() *CreatePreventionPoliciesInternalServerError

NewCreatePreventionPoliciesInternalServerError creates a CreatePreventionPoliciesInternalServerError with default headers values

func (*CreatePreventionPoliciesInternalServerError) Code added in v0.2.33

Code gets the status code for the create prevention policies internal server error response

func (*CreatePreventionPoliciesInternalServerError) Error

func (*CreatePreventionPoliciesInternalServerError) GetPayload

func (*CreatePreventionPoliciesInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this create prevention policies internal server error response has a 4xx status code

func (*CreatePreventionPoliciesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this create prevention policies internal server error response a status code equal to that given

func (*CreatePreventionPoliciesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this create prevention policies internal server error response has a 3xx status code

func (*CreatePreventionPoliciesInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this create prevention policies internal server error response has a 5xx status code

func (*CreatePreventionPoliciesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this create prevention policies internal server error response has a 2xx status code

func (*CreatePreventionPoliciesInternalServerError) String added in v0.2.27

type CreatePreventionPoliciesNotFound

type CreatePreventionPoliciesNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

CreatePreventionPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreatePreventionPoliciesNotFound

func NewCreatePreventionPoliciesNotFound() *CreatePreventionPoliciesNotFound

NewCreatePreventionPoliciesNotFound creates a CreatePreventionPoliciesNotFound with default headers values

func (*CreatePreventionPoliciesNotFound) Code added in v0.2.33

Code gets the status code for the create prevention policies not found response

func (*CreatePreventionPoliciesNotFound) Error

func (*CreatePreventionPoliciesNotFound) GetPayload

func (*CreatePreventionPoliciesNotFound) IsClientError added in v0.2.27

func (o *CreatePreventionPoliciesNotFound) IsClientError() bool

IsClientError returns true when this create prevention policies not found response has a 4xx status code

func (*CreatePreventionPoliciesNotFound) IsCode added in v0.2.27

func (o *CreatePreventionPoliciesNotFound) IsCode(code int) bool

IsCode returns true when this create prevention policies not found response a status code equal to that given

func (*CreatePreventionPoliciesNotFound) IsRedirect added in v0.2.27

func (o *CreatePreventionPoliciesNotFound) IsRedirect() bool

IsRedirect returns true when this create prevention policies not found response has a 3xx status code

func (*CreatePreventionPoliciesNotFound) IsServerError added in v0.2.27

func (o *CreatePreventionPoliciesNotFound) IsServerError() bool

IsServerError returns true when this create prevention policies not found response has a 5xx status code

func (*CreatePreventionPoliciesNotFound) IsSuccess added in v0.2.27

func (o *CreatePreventionPoliciesNotFound) IsSuccess() bool

IsSuccess returns true when this create prevention policies not found response has a 2xx status code

func (*CreatePreventionPoliciesNotFound) String added in v0.2.27

type CreatePreventionPoliciesParams

type CreatePreventionPoliciesParams struct {

	// Body.
	Body *models.PreventionCreatePoliciesReqV1

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

CreatePreventionPoliciesParams contains all the parameters to send to the API endpoint

for the create prevention policies operation.

Typically these are written to a http.Request.

func NewCreatePreventionPoliciesParams

func NewCreatePreventionPoliciesParams() *CreatePreventionPoliciesParams

NewCreatePreventionPoliciesParams creates a new CreatePreventionPoliciesParams 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 NewCreatePreventionPoliciesParamsWithContext

func NewCreatePreventionPoliciesParamsWithContext(ctx context.Context) *CreatePreventionPoliciesParams

NewCreatePreventionPoliciesParamsWithContext creates a new CreatePreventionPoliciesParams object with the ability to set a context for a request.

func NewCreatePreventionPoliciesParamsWithHTTPClient

func NewCreatePreventionPoliciesParamsWithHTTPClient(client *http.Client) *CreatePreventionPoliciesParams

NewCreatePreventionPoliciesParamsWithHTTPClient creates a new CreatePreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePreventionPoliciesParamsWithTimeout

func NewCreatePreventionPoliciesParamsWithTimeout(timeout time.Duration) *CreatePreventionPoliciesParams

NewCreatePreventionPoliciesParamsWithTimeout creates a new CreatePreventionPoliciesParams object with the ability to set a timeout on a request.

func (*CreatePreventionPoliciesParams) SetBody

SetBody adds the body to the create prevention policies params

func (*CreatePreventionPoliciesParams) SetContext

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

SetContext adds the context to the create prevention policies params

func (*CreatePreventionPoliciesParams) SetDefaults

func (o *CreatePreventionPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the create prevention policies params (not the query body).

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

func (*CreatePreventionPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create prevention policies params

func (*CreatePreventionPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the create prevention policies params

func (*CreatePreventionPoliciesParams) WithBody

WithBody adds the body to the create prevention policies params

func (*CreatePreventionPoliciesParams) WithContext

WithContext adds the context to the create prevention policies params

func (*CreatePreventionPoliciesParams) WithDefaults

WithDefaults hydrates default values in the create prevention policies params (not the query body).

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

func (*CreatePreventionPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create prevention policies params

func (*CreatePreventionPoliciesParams) WithTimeout

WithTimeout adds the timeout to the create prevention policies params

func (*CreatePreventionPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePreventionPoliciesReader

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

CreatePreventionPoliciesReader is a Reader for the CreatePreventionPolicies structure.

func (*CreatePreventionPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePreventionPoliciesTooManyRequests

type CreatePreventionPoliciesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CreatePreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreatePreventionPoliciesTooManyRequests

func NewCreatePreventionPoliciesTooManyRequests() *CreatePreventionPoliciesTooManyRequests

NewCreatePreventionPoliciesTooManyRequests creates a CreatePreventionPoliciesTooManyRequests with default headers values

func (*CreatePreventionPoliciesTooManyRequests) Code added in v0.2.33

Code gets the status code for the create prevention policies too many requests response

func (*CreatePreventionPoliciesTooManyRequests) Error

func (*CreatePreventionPoliciesTooManyRequests) GetPayload

func (*CreatePreventionPoliciesTooManyRequests) IsClientError added in v0.2.27

func (o *CreatePreventionPoliciesTooManyRequests) IsClientError() bool

IsClientError returns true when this create prevention policies too many requests response has a 4xx status code

func (*CreatePreventionPoliciesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this create prevention policies too many requests response a status code equal to that given

func (*CreatePreventionPoliciesTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this create prevention policies too many requests response has a 3xx status code

func (*CreatePreventionPoliciesTooManyRequests) IsServerError added in v0.2.27

func (o *CreatePreventionPoliciesTooManyRequests) IsServerError() bool

IsServerError returns true when this create prevention policies too many requests response has a 5xx status code

func (*CreatePreventionPoliciesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this create prevention policies too many requests response has a 2xx status code

func (*CreatePreventionPoliciesTooManyRequests) String added in v0.2.27

type DeletePreventionPoliciesForbidden

type DeletePreventionPoliciesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

DeletePreventionPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeletePreventionPoliciesForbidden

func NewDeletePreventionPoliciesForbidden() *DeletePreventionPoliciesForbidden

NewDeletePreventionPoliciesForbidden creates a DeletePreventionPoliciesForbidden with default headers values

func (*DeletePreventionPoliciesForbidden) Code added in v0.2.33

Code gets the status code for the delete prevention policies forbidden response

func (*DeletePreventionPoliciesForbidden) Error

func (*DeletePreventionPoliciesForbidden) GetPayload

func (*DeletePreventionPoliciesForbidden) IsClientError added in v0.2.27

func (o *DeletePreventionPoliciesForbidden) IsClientError() bool

IsClientError returns true when this delete prevention policies forbidden response has a 4xx status code

func (*DeletePreventionPoliciesForbidden) IsCode added in v0.2.27

func (o *DeletePreventionPoliciesForbidden) IsCode(code int) bool

IsCode returns true when this delete prevention policies forbidden response a status code equal to that given

func (*DeletePreventionPoliciesForbidden) IsRedirect added in v0.2.27

func (o *DeletePreventionPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this delete prevention policies forbidden response has a 3xx status code

func (*DeletePreventionPoliciesForbidden) IsServerError added in v0.2.27

func (o *DeletePreventionPoliciesForbidden) IsServerError() bool

IsServerError returns true when this delete prevention policies forbidden response has a 5xx status code

func (*DeletePreventionPoliciesForbidden) IsSuccess added in v0.2.27

func (o *DeletePreventionPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this delete prevention policies forbidden response has a 2xx status code

func (*DeletePreventionPoliciesForbidden) String added in v0.2.27

type DeletePreventionPoliciesInternalServerError

type DeletePreventionPoliciesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

DeletePreventionPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeletePreventionPoliciesInternalServerError

func NewDeletePreventionPoliciesInternalServerError() *DeletePreventionPoliciesInternalServerError

NewDeletePreventionPoliciesInternalServerError creates a DeletePreventionPoliciesInternalServerError with default headers values

func (*DeletePreventionPoliciesInternalServerError) Code added in v0.2.33

Code gets the status code for the delete prevention policies internal server error response

func (*DeletePreventionPoliciesInternalServerError) Error

func (*DeletePreventionPoliciesInternalServerError) GetPayload

func (*DeletePreventionPoliciesInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this delete prevention policies internal server error response has a 4xx status code

func (*DeletePreventionPoliciesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this delete prevention policies internal server error response a status code equal to that given

func (*DeletePreventionPoliciesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this delete prevention policies internal server error response has a 3xx status code

func (*DeletePreventionPoliciesInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this delete prevention policies internal server error response has a 5xx status code

func (*DeletePreventionPoliciesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this delete prevention policies internal server error response has a 2xx status code

func (*DeletePreventionPoliciesInternalServerError) String added in v0.2.27

type DeletePreventionPoliciesNotFound

type DeletePreventionPoliciesNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

DeletePreventionPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeletePreventionPoliciesNotFound

func NewDeletePreventionPoliciesNotFound() *DeletePreventionPoliciesNotFound

NewDeletePreventionPoliciesNotFound creates a DeletePreventionPoliciesNotFound with default headers values

func (*DeletePreventionPoliciesNotFound) Code added in v0.2.33

Code gets the status code for the delete prevention policies not found response

func (*DeletePreventionPoliciesNotFound) Error

func (*DeletePreventionPoliciesNotFound) GetPayload

func (*DeletePreventionPoliciesNotFound) IsClientError added in v0.2.27

func (o *DeletePreventionPoliciesNotFound) IsClientError() bool

IsClientError returns true when this delete prevention policies not found response has a 4xx status code

func (*DeletePreventionPoliciesNotFound) IsCode added in v0.2.27

func (o *DeletePreventionPoliciesNotFound) IsCode(code int) bool

IsCode returns true when this delete prevention policies not found response a status code equal to that given

func (*DeletePreventionPoliciesNotFound) IsRedirect added in v0.2.27

func (o *DeletePreventionPoliciesNotFound) IsRedirect() bool

IsRedirect returns true when this delete prevention policies not found response has a 3xx status code

func (*DeletePreventionPoliciesNotFound) IsServerError added in v0.2.27

func (o *DeletePreventionPoliciesNotFound) IsServerError() bool

IsServerError returns true when this delete prevention policies not found response has a 5xx status code

func (*DeletePreventionPoliciesNotFound) IsSuccess added in v0.2.27

func (o *DeletePreventionPoliciesNotFound) IsSuccess() bool

IsSuccess returns true when this delete prevention policies not found response has a 2xx status code

func (*DeletePreventionPoliciesNotFound) String added in v0.2.27

type DeletePreventionPoliciesOK

type DeletePreventionPoliciesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

DeletePreventionPoliciesOK describes a response with status code 200, with default header values.

OK

func NewDeletePreventionPoliciesOK

func NewDeletePreventionPoliciesOK() *DeletePreventionPoliciesOK

NewDeletePreventionPoliciesOK creates a DeletePreventionPoliciesOK with default headers values

func (*DeletePreventionPoliciesOK) Code added in v0.2.33

func (o *DeletePreventionPoliciesOK) Code() int

Code gets the status code for the delete prevention policies o k response

func (*DeletePreventionPoliciesOK) Error

func (*DeletePreventionPoliciesOK) GetPayload

func (*DeletePreventionPoliciesOK) IsClientError added in v0.2.27

func (o *DeletePreventionPoliciesOK) IsClientError() bool

IsClientError returns true when this delete prevention policies o k response has a 4xx status code

func (*DeletePreventionPoliciesOK) IsCode added in v0.2.27

func (o *DeletePreventionPoliciesOK) IsCode(code int) bool

IsCode returns true when this delete prevention policies o k response a status code equal to that given

func (*DeletePreventionPoliciesOK) IsRedirect added in v0.2.27

func (o *DeletePreventionPoliciesOK) IsRedirect() bool

IsRedirect returns true when this delete prevention policies o k response has a 3xx status code

func (*DeletePreventionPoliciesOK) IsServerError added in v0.2.27

func (o *DeletePreventionPoliciesOK) IsServerError() bool

IsServerError returns true when this delete prevention policies o k response has a 5xx status code

func (*DeletePreventionPoliciesOK) IsSuccess added in v0.2.27

func (o *DeletePreventionPoliciesOK) IsSuccess() bool

IsSuccess returns true when this delete prevention policies o k response has a 2xx status code

func (*DeletePreventionPoliciesOK) String added in v0.2.27

func (o *DeletePreventionPoliciesOK) String() string

type DeletePreventionPoliciesParams

type DeletePreventionPoliciesParams struct {

	/* Ids.

	   The IDs of the Prevention Policies to delete
	*/
	Ids []string

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

DeletePreventionPoliciesParams contains all the parameters to send to the API endpoint

for the delete prevention policies operation.

Typically these are written to a http.Request.

func NewDeletePreventionPoliciesParams

func NewDeletePreventionPoliciesParams() *DeletePreventionPoliciesParams

NewDeletePreventionPoliciesParams creates a new DeletePreventionPoliciesParams 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 NewDeletePreventionPoliciesParamsWithContext

func NewDeletePreventionPoliciesParamsWithContext(ctx context.Context) *DeletePreventionPoliciesParams

NewDeletePreventionPoliciesParamsWithContext creates a new DeletePreventionPoliciesParams object with the ability to set a context for a request.

func NewDeletePreventionPoliciesParamsWithHTTPClient

func NewDeletePreventionPoliciesParamsWithHTTPClient(client *http.Client) *DeletePreventionPoliciesParams

NewDeletePreventionPoliciesParamsWithHTTPClient creates a new DeletePreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePreventionPoliciesParamsWithTimeout

func NewDeletePreventionPoliciesParamsWithTimeout(timeout time.Duration) *DeletePreventionPoliciesParams

NewDeletePreventionPoliciesParamsWithTimeout creates a new DeletePreventionPoliciesParams object with the ability to set a timeout on a request.

func (*DeletePreventionPoliciesParams) SetContext

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

SetContext adds the context to the delete prevention policies params

func (*DeletePreventionPoliciesParams) SetDefaults

func (o *DeletePreventionPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the delete prevention policies params (not the query body).

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

func (*DeletePreventionPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete prevention policies params

func (*DeletePreventionPoliciesParams) SetIds

func (o *DeletePreventionPoliciesParams) SetIds(ids []string)

SetIds adds the ids to the delete prevention policies params

func (*DeletePreventionPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the delete prevention policies params

func (*DeletePreventionPoliciesParams) WithContext

WithContext adds the context to the delete prevention policies params

func (*DeletePreventionPoliciesParams) WithDefaults

WithDefaults hydrates default values in the delete prevention policies params (not the query body).

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

func (*DeletePreventionPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete prevention policies params

func (*DeletePreventionPoliciesParams) WithIds

WithIds adds the ids to the delete prevention policies params

func (*DeletePreventionPoliciesParams) WithTimeout

WithTimeout adds the timeout to the delete prevention policies params

func (*DeletePreventionPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePreventionPoliciesReader

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

DeletePreventionPoliciesReader is a Reader for the DeletePreventionPolicies structure.

func (*DeletePreventionPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePreventionPoliciesTooManyRequests

type DeletePreventionPoliciesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeletePreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeletePreventionPoliciesTooManyRequests

func NewDeletePreventionPoliciesTooManyRequests() *DeletePreventionPoliciesTooManyRequests

NewDeletePreventionPoliciesTooManyRequests creates a DeletePreventionPoliciesTooManyRequests with default headers values

func (*DeletePreventionPoliciesTooManyRequests) Code added in v0.2.33

Code gets the status code for the delete prevention policies too many requests response

func (*DeletePreventionPoliciesTooManyRequests) Error

func (*DeletePreventionPoliciesTooManyRequests) GetPayload

func (*DeletePreventionPoliciesTooManyRequests) IsClientError added in v0.2.27

func (o *DeletePreventionPoliciesTooManyRequests) IsClientError() bool

IsClientError returns true when this delete prevention policies too many requests response has a 4xx status code

func (*DeletePreventionPoliciesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this delete prevention policies too many requests response a status code equal to that given

func (*DeletePreventionPoliciesTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this delete prevention policies too many requests response has a 3xx status code

func (*DeletePreventionPoliciesTooManyRequests) IsServerError added in v0.2.27

func (o *DeletePreventionPoliciesTooManyRequests) IsServerError() bool

IsServerError returns true when this delete prevention policies too many requests response has a 5xx status code

func (*DeletePreventionPoliciesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this delete prevention policies too many requests response has a 2xx status code

func (*DeletePreventionPoliciesTooManyRequests) String added in v0.2.27

type GetPreventionPoliciesForbidden

type GetPreventionPoliciesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

GetPreventionPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetPreventionPoliciesForbidden

func NewGetPreventionPoliciesForbidden() *GetPreventionPoliciesForbidden

NewGetPreventionPoliciesForbidden creates a GetPreventionPoliciesForbidden with default headers values

func (*GetPreventionPoliciesForbidden) Code added in v0.2.33

Code gets the status code for the get prevention policies forbidden response

func (*GetPreventionPoliciesForbidden) Error

func (*GetPreventionPoliciesForbidden) GetPayload

func (*GetPreventionPoliciesForbidden) IsClientError added in v0.2.27

func (o *GetPreventionPoliciesForbidden) IsClientError() bool

IsClientError returns true when this get prevention policies forbidden response has a 4xx status code

func (*GetPreventionPoliciesForbidden) IsCode added in v0.2.27

func (o *GetPreventionPoliciesForbidden) IsCode(code int) bool

IsCode returns true when this get prevention policies forbidden response a status code equal to that given

func (*GetPreventionPoliciesForbidden) IsRedirect added in v0.2.27

func (o *GetPreventionPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this get prevention policies forbidden response has a 3xx status code

func (*GetPreventionPoliciesForbidden) IsServerError added in v0.2.27

func (o *GetPreventionPoliciesForbidden) IsServerError() bool

IsServerError returns true when this get prevention policies forbidden response has a 5xx status code

func (*GetPreventionPoliciesForbidden) IsSuccess added in v0.2.27

func (o *GetPreventionPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this get prevention policies forbidden response has a 2xx status code

func (*GetPreventionPoliciesForbidden) String added in v0.2.27

type GetPreventionPoliciesInternalServerError

type GetPreventionPoliciesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

GetPreventionPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPreventionPoliciesInternalServerError

func NewGetPreventionPoliciesInternalServerError() *GetPreventionPoliciesInternalServerError

NewGetPreventionPoliciesInternalServerError creates a GetPreventionPoliciesInternalServerError with default headers values

func (*GetPreventionPoliciesInternalServerError) Code added in v0.2.33

Code gets the status code for the get prevention policies internal server error response

func (*GetPreventionPoliciesInternalServerError) Error

func (*GetPreventionPoliciesInternalServerError) GetPayload

func (*GetPreventionPoliciesInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this get prevention policies internal server error response has a 4xx status code

func (*GetPreventionPoliciesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this get prevention policies internal server error response a status code equal to that given

func (*GetPreventionPoliciesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this get prevention policies internal server error response has a 3xx status code

func (*GetPreventionPoliciesInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this get prevention policies internal server error response has a 5xx status code

func (*GetPreventionPoliciesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this get prevention policies internal server error response has a 2xx status code

func (*GetPreventionPoliciesInternalServerError) String added in v0.2.27

type GetPreventionPoliciesNotFound

type GetPreventionPoliciesNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

GetPreventionPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetPreventionPoliciesNotFound

func NewGetPreventionPoliciesNotFound() *GetPreventionPoliciesNotFound

NewGetPreventionPoliciesNotFound creates a GetPreventionPoliciesNotFound with default headers values

func (*GetPreventionPoliciesNotFound) Code added in v0.2.33

Code gets the status code for the get prevention policies not found response

func (*GetPreventionPoliciesNotFound) Error

func (*GetPreventionPoliciesNotFound) GetPayload

func (*GetPreventionPoliciesNotFound) IsClientError added in v0.2.27

func (o *GetPreventionPoliciesNotFound) IsClientError() bool

IsClientError returns true when this get prevention policies not found response has a 4xx status code

func (*GetPreventionPoliciesNotFound) IsCode added in v0.2.27

func (o *GetPreventionPoliciesNotFound) IsCode(code int) bool

IsCode returns true when this get prevention policies not found response a status code equal to that given

func (*GetPreventionPoliciesNotFound) IsRedirect added in v0.2.27

func (o *GetPreventionPoliciesNotFound) IsRedirect() bool

IsRedirect returns true when this get prevention policies not found response has a 3xx status code

func (*GetPreventionPoliciesNotFound) IsServerError added in v0.2.27

func (o *GetPreventionPoliciesNotFound) IsServerError() bool

IsServerError returns true when this get prevention policies not found response has a 5xx status code

func (*GetPreventionPoliciesNotFound) IsSuccess added in v0.2.27

func (o *GetPreventionPoliciesNotFound) IsSuccess() bool

IsSuccess returns true when this get prevention policies not found response has a 2xx status code

func (*GetPreventionPoliciesNotFound) String added in v0.2.27

type GetPreventionPoliciesOK

type GetPreventionPoliciesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

GetPreventionPoliciesOK describes a response with status code 200, with default header values.

OK

func NewGetPreventionPoliciesOK

func NewGetPreventionPoliciesOK() *GetPreventionPoliciesOK

NewGetPreventionPoliciesOK creates a GetPreventionPoliciesOK with default headers values

func (*GetPreventionPoliciesOK) Code added in v0.2.33

func (o *GetPreventionPoliciesOK) Code() int

Code gets the status code for the get prevention policies o k response

func (*GetPreventionPoliciesOK) Error

func (o *GetPreventionPoliciesOK) Error() string

func (*GetPreventionPoliciesOK) GetPayload

func (*GetPreventionPoliciesOK) IsClientError added in v0.2.27

func (o *GetPreventionPoliciesOK) IsClientError() bool

IsClientError returns true when this get prevention policies o k response has a 4xx status code

func (*GetPreventionPoliciesOK) IsCode added in v0.2.27

func (o *GetPreventionPoliciesOK) IsCode(code int) bool

IsCode returns true when this get prevention policies o k response a status code equal to that given

func (*GetPreventionPoliciesOK) IsRedirect added in v0.2.27

func (o *GetPreventionPoliciesOK) IsRedirect() bool

IsRedirect returns true when this get prevention policies o k response has a 3xx status code

func (*GetPreventionPoliciesOK) IsServerError added in v0.2.27

func (o *GetPreventionPoliciesOK) IsServerError() bool

IsServerError returns true when this get prevention policies o k response has a 5xx status code

func (*GetPreventionPoliciesOK) IsSuccess added in v0.2.27

func (o *GetPreventionPoliciesOK) IsSuccess() bool

IsSuccess returns true when this get prevention policies o k response has a 2xx status code

func (*GetPreventionPoliciesOK) String added in v0.2.27

func (o *GetPreventionPoliciesOK) String() string

type GetPreventionPoliciesParams

type GetPreventionPoliciesParams struct {

	/* Ids.

	   The IDs of the Prevention Policies to return
	*/
	Ids []string

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

GetPreventionPoliciesParams contains all the parameters to send to the API endpoint

for the get prevention policies operation.

Typically these are written to a http.Request.

func NewGetPreventionPoliciesParams

func NewGetPreventionPoliciesParams() *GetPreventionPoliciesParams

NewGetPreventionPoliciesParams creates a new GetPreventionPoliciesParams 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 NewGetPreventionPoliciesParamsWithContext

func NewGetPreventionPoliciesParamsWithContext(ctx context.Context) *GetPreventionPoliciesParams

NewGetPreventionPoliciesParamsWithContext creates a new GetPreventionPoliciesParams object with the ability to set a context for a request.

func NewGetPreventionPoliciesParamsWithHTTPClient

func NewGetPreventionPoliciesParamsWithHTTPClient(client *http.Client) *GetPreventionPoliciesParams

NewGetPreventionPoliciesParamsWithHTTPClient creates a new GetPreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPreventionPoliciesParamsWithTimeout

func NewGetPreventionPoliciesParamsWithTimeout(timeout time.Duration) *GetPreventionPoliciesParams

NewGetPreventionPoliciesParamsWithTimeout creates a new GetPreventionPoliciesParams object with the ability to set a timeout on a request.

func (*GetPreventionPoliciesParams) SetContext

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

SetContext adds the context to the get prevention policies params

func (*GetPreventionPoliciesParams) SetDefaults

func (o *GetPreventionPoliciesParams) SetDefaults()

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

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

func (*GetPreventionPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get prevention policies params

func (*GetPreventionPoliciesParams) SetIds

func (o *GetPreventionPoliciesParams) SetIds(ids []string)

SetIds adds the ids to the get prevention policies params

func (*GetPreventionPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the get prevention policies params

func (*GetPreventionPoliciesParams) WithContext

WithContext adds the context to the get prevention policies params

func (*GetPreventionPoliciesParams) WithDefaults

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

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

func (*GetPreventionPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get prevention policies params

func (*GetPreventionPoliciesParams) WithIds

WithIds adds the ids to the get prevention policies params

func (*GetPreventionPoliciesParams) WithTimeout

WithTimeout adds the timeout to the get prevention policies params

func (*GetPreventionPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPreventionPoliciesReader

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

GetPreventionPoliciesReader is a Reader for the GetPreventionPolicies structure.

func (*GetPreventionPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPreventionPoliciesTooManyRequests

type GetPreventionPoliciesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetPreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetPreventionPoliciesTooManyRequests

func NewGetPreventionPoliciesTooManyRequests() *GetPreventionPoliciesTooManyRequests

NewGetPreventionPoliciesTooManyRequests creates a GetPreventionPoliciesTooManyRequests with default headers values

func (*GetPreventionPoliciesTooManyRequests) Code added in v0.2.33

Code gets the status code for the get prevention policies too many requests response

func (*GetPreventionPoliciesTooManyRequests) Error

func (*GetPreventionPoliciesTooManyRequests) GetPayload

func (*GetPreventionPoliciesTooManyRequests) IsClientError added in v0.2.27

func (o *GetPreventionPoliciesTooManyRequests) IsClientError() bool

IsClientError returns true when this get prevention policies too many requests response has a 4xx status code

func (*GetPreventionPoliciesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this get prevention policies too many requests response a status code equal to that given

func (*GetPreventionPoliciesTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this get prevention policies too many requests response has a 3xx status code

func (*GetPreventionPoliciesTooManyRequests) IsServerError added in v0.2.27

func (o *GetPreventionPoliciesTooManyRequests) IsServerError() bool

IsServerError returns true when this get prevention policies too many requests response has a 5xx status code

func (*GetPreventionPoliciesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this get prevention policies too many requests response has a 2xx status code

func (*GetPreventionPoliciesTooManyRequests) String added in v0.2.27

type PerformPreventionPoliciesActionBadRequest

type PerformPreventionPoliciesActionBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

PerformPreventionPoliciesActionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPerformPreventionPoliciesActionBadRequest

func NewPerformPreventionPoliciesActionBadRequest() *PerformPreventionPoliciesActionBadRequest

NewPerformPreventionPoliciesActionBadRequest creates a PerformPreventionPoliciesActionBadRequest with default headers values

func (*PerformPreventionPoliciesActionBadRequest) Code added in v0.2.33

Code gets the status code for the perform prevention policies action bad request response

func (*PerformPreventionPoliciesActionBadRequest) Error

func (*PerformPreventionPoliciesActionBadRequest) GetPayload

func (*PerformPreventionPoliciesActionBadRequest) IsClientError added in v0.2.27

IsClientError returns true when this perform prevention policies action bad request response has a 4xx status code

func (*PerformPreventionPoliciesActionBadRequest) IsCode added in v0.2.27

IsCode returns true when this perform prevention policies action bad request response a status code equal to that given

func (*PerformPreventionPoliciesActionBadRequest) IsRedirect added in v0.2.27

IsRedirect returns true when this perform prevention policies action bad request response has a 3xx status code

func (*PerformPreventionPoliciesActionBadRequest) IsServerError added in v0.2.27

IsServerError returns true when this perform prevention policies action bad request response has a 5xx status code

func (*PerformPreventionPoliciesActionBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this perform prevention policies action bad request response has a 2xx status code

func (*PerformPreventionPoliciesActionBadRequest) String added in v0.2.27

type PerformPreventionPoliciesActionForbidden

type PerformPreventionPoliciesActionForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

PerformPreventionPoliciesActionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPerformPreventionPoliciesActionForbidden

func NewPerformPreventionPoliciesActionForbidden() *PerformPreventionPoliciesActionForbidden

NewPerformPreventionPoliciesActionForbidden creates a PerformPreventionPoliciesActionForbidden with default headers values

func (*PerformPreventionPoliciesActionForbidden) Code added in v0.2.33

Code gets the status code for the perform prevention policies action forbidden response

func (*PerformPreventionPoliciesActionForbidden) Error

func (*PerformPreventionPoliciesActionForbidden) GetPayload

func (*PerformPreventionPoliciesActionForbidden) IsClientError added in v0.2.27

IsClientError returns true when this perform prevention policies action forbidden response has a 4xx status code

func (*PerformPreventionPoliciesActionForbidden) IsCode added in v0.2.27

IsCode returns true when this perform prevention policies action forbidden response a status code equal to that given

func (*PerformPreventionPoliciesActionForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this perform prevention policies action forbidden response has a 3xx status code

func (*PerformPreventionPoliciesActionForbidden) IsServerError added in v0.2.27

IsServerError returns true when this perform prevention policies action forbidden response has a 5xx status code

func (*PerformPreventionPoliciesActionForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this perform prevention policies action forbidden response has a 2xx status code

func (*PerformPreventionPoliciesActionForbidden) String added in v0.2.27

type PerformPreventionPoliciesActionInternalServerError

type PerformPreventionPoliciesActionInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

PerformPreventionPoliciesActionInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPerformPreventionPoliciesActionInternalServerError

func NewPerformPreventionPoliciesActionInternalServerError() *PerformPreventionPoliciesActionInternalServerError

NewPerformPreventionPoliciesActionInternalServerError creates a PerformPreventionPoliciesActionInternalServerError with default headers values

func (*PerformPreventionPoliciesActionInternalServerError) Code added in v0.2.33

Code gets the status code for the perform prevention policies action internal server error response

func (*PerformPreventionPoliciesActionInternalServerError) Error

func (*PerformPreventionPoliciesActionInternalServerError) GetPayload

func (*PerformPreventionPoliciesActionInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this perform prevention policies action internal server error response has a 4xx status code

func (*PerformPreventionPoliciesActionInternalServerError) IsCode added in v0.2.27

IsCode returns true when this perform prevention policies action internal server error response a status code equal to that given

func (*PerformPreventionPoliciesActionInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this perform prevention policies action internal server error response has a 3xx status code

func (*PerformPreventionPoliciesActionInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this perform prevention policies action internal server error response has a 5xx status code

func (*PerformPreventionPoliciesActionInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this perform prevention policies action internal server error response has a 2xx status code

func (*PerformPreventionPoliciesActionInternalServerError) String added in v0.2.27

type PerformPreventionPoliciesActionNotFound

type PerformPreventionPoliciesActionNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

PerformPreventionPoliciesActionNotFound describes a response with status code 404, with default header values.

Not Found

func NewPerformPreventionPoliciesActionNotFound

func NewPerformPreventionPoliciesActionNotFound() *PerformPreventionPoliciesActionNotFound

NewPerformPreventionPoliciesActionNotFound creates a PerformPreventionPoliciesActionNotFound with default headers values

func (*PerformPreventionPoliciesActionNotFound) Code added in v0.2.33

Code gets the status code for the perform prevention policies action not found response

func (*PerformPreventionPoliciesActionNotFound) Error

func (*PerformPreventionPoliciesActionNotFound) GetPayload

func (*PerformPreventionPoliciesActionNotFound) IsClientError added in v0.2.27

func (o *PerformPreventionPoliciesActionNotFound) IsClientError() bool

IsClientError returns true when this perform prevention policies action not found response has a 4xx status code

func (*PerformPreventionPoliciesActionNotFound) IsCode added in v0.2.27

IsCode returns true when this perform prevention policies action not found response a status code equal to that given

func (*PerformPreventionPoliciesActionNotFound) IsRedirect added in v0.2.27

IsRedirect returns true when this perform prevention policies action not found response has a 3xx status code

func (*PerformPreventionPoliciesActionNotFound) IsServerError added in v0.2.27

func (o *PerformPreventionPoliciesActionNotFound) IsServerError() bool

IsServerError returns true when this perform prevention policies action not found response has a 5xx status code

func (*PerformPreventionPoliciesActionNotFound) IsSuccess added in v0.2.27

IsSuccess returns true when this perform prevention policies action not found response has a 2xx status code

func (*PerformPreventionPoliciesActionNotFound) String added in v0.2.27

type PerformPreventionPoliciesActionOK

type PerformPreventionPoliciesActionOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

PerformPreventionPoliciesActionOK describes a response with status code 200, with default header values.

OK

func NewPerformPreventionPoliciesActionOK

func NewPerformPreventionPoliciesActionOK() *PerformPreventionPoliciesActionOK

NewPerformPreventionPoliciesActionOK creates a PerformPreventionPoliciesActionOK with default headers values

func (*PerformPreventionPoliciesActionOK) Code added in v0.2.33

Code gets the status code for the perform prevention policies action o k response

func (*PerformPreventionPoliciesActionOK) Error

func (*PerformPreventionPoliciesActionOK) GetPayload

func (*PerformPreventionPoliciesActionOK) IsClientError added in v0.2.27

func (o *PerformPreventionPoliciesActionOK) IsClientError() bool

IsClientError returns true when this perform prevention policies action o k response has a 4xx status code

func (*PerformPreventionPoliciesActionOK) IsCode added in v0.2.27

func (o *PerformPreventionPoliciesActionOK) IsCode(code int) bool

IsCode returns true when this perform prevention policies action o k response a status code equal to that given

func (*PerformPreventionPoliciesActionOK) IsRedirect added in v0.2.27

func (o *PerformPreventionPoliciesActionOK) IsRedirect() bool

IsRedirect returns true when this perform prevention policies action o k response has a 3xx status code

func (*PerformPreventionPoliciesActionOK) IsServerError added in v0.2.27

func (o *PerformPreventionPoliciesActionOK) IsServerError() bool

IsServerError returns true when this perform prevention policies action o k response has a 5xx status code

func (*PerformPreventionPoliciesActionOK) IsSuccess added in v0.2.27

func (o *PerformPreventionPoliciesActionOK) IsSuccess() bool

IsSuccess returns true when this perform prevention policies action o k response has a 2xx status code

func (*PerformPreventionPoliciesActionOK) String added in v0.2.27

type PerformPreventionPoliciesActionParams

type PerformPreventionPoliciesActionParams struct {

	/* ActionName.

	   The action to perform
	*/
	ActionName string

	// Body.
	Body *models.MsaEntityActionRequestV2

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

PerformPreventionPoliciesActionParams contains all the parameters to send to the API endpoint

for the perform prevention policies action operation.

Typically these are written to a http.Request.

func NewPerformPreventionPoliciesActionParams

func NewPerformPreventionPoliciesActionParams() *PerformPreventionPoliciesActionParams

NewPerformPreventionPoliciesActionParams creates a new PerformPreventionPoliciesActionParams 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 NewPerformPreventionPoliciesActionParamsWithContext

func NewPerformPreventionPoliciesActionParamsWithContext(ctx context.Context) *PerformPreventionPoliciesActionParams

NewPerformPreventionPoliciesActionParamsWithContext creates a new PerformPreventionPoliciesActionParams object with the ability to set a context for a request.

func NewPerformPreventionPoliciesActionParamsWithHTTPClient

func NewPerformPreventionPoliciesActionParamsWithHTTPClient(client *http.Client) *PerformPreventionPoliciesActionParams

NewPerformPreventionPoliciesActionParamsWithHTTPClient creates a new PerformPreventionPoliciesActionParams object with the ability to set a custom HTTPClient for a request.

func NewPerformPreventionPoliciesActionParamsWithTimeout

func NewPerformPreventionPoliciesActionParamsWithTimeout(timeout time.Duration) *PerformPreventionPoliciesActionParams

NewPerformPreventionPoliciesActionParamsWithTimeout creates a new PerformPreventionPoliciesActionParams object with the ability to set a timeout on a request.

func (*PerformPreventionPoliciesActionParams) SetActionName

func (o *PerformPreventionPoliciesActionParams) SetActionName(actionName string)

SetActionName adds the actionName to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) SetBody

SetBody adds the body to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) SetContext

SetContext adds the context to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) SetDefaults

func (o *PerformPreventionPoliciesActionParams) SetDefaults()

SetDefaults hydrates default values in the perform prevention policies action params (not the query body).

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

func (*PerformPreventionPoliciesActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) SetTimeout

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

SetTimeout adds the timeout to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) WithActionName

WithActionName adds the actionName to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) WithBody

WithBody adds the body to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) WithContext

WithContext adds the context to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) WithDefaults

WithDefaults hydrates default values in the perform prevention policies action params (not the query body).

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

func (*PerformPreventionPoliciesActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) WithTimeout

WithTimeout adds the timeout to the perform prevention policies action params

func (*PerformPreventionPoliciesActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PerformPreventionPoliciesActionReader

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

PerformPreventionPoliciesActionReader is a Reader for the PerformPreventionPoliciesAction structure.

func (*PerformPreventionPoliciesActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PerformPreventionPoliciesActionTooManyRequests

type PerformPreventionPoliciesActionTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

PerformPreventionPoliciesActionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPerformPreventionPoliciesActionTooManyRequests

func NewPerformPreventionPoliciesActionTooManyRequests() *PerformPreventionPoliciesActionTooManyRequests

NewPerformPreventionPoliciesActionTooManyRequests creates a PerformPreventionPoliciesActionTooManyRequests with default headers values

func (*PerformPreventionPoliciesActionTooManyRequests) Code added in v0.2.33

Code gets the status code for the perform prevention policies action too many requests response

func (*PerformPreventionPoliciesActionTooManyRequests) Error

func (*PerformPreventionPoliciesActionTooManyRequests) GetPayload

func (*PerformPreventionPoliciesActionTooManyRequests) IsClientError added in v0.2.27

IsClientError returns true when this perform prevention policies action too many requests response has a 4xx status code

func (*PerformPreventionPoliciesActionTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this perform prevention policies action too many requests response a status code equal to that given

func (*PerformPreventionPoliciesActionTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this perform prevention policies action too many requests response has a 3xx status code

func (*PerformPreventionPoliciesActionTooManyRequests) IsServerError added in v0.2.27

IsServerError returns true when this perform prevention policies action too many requests response has a 5xx status code

func (*PerformPreventionPoliciesActionTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this perform prevention policies action too many requests response has a 2xx status code

func (*PerformPreventionPoliciesActionTooManyRequests) String added in v0.2.27

type QueryCombinedPreventionPoliciesBadRequest

type QueryCombinedPreventionPoliciesBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

QueryCombinedPreventionPoliciesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryCombinedPreventionPoliciesBadRequest

func NewQueryCombinedPreventionPoliciesBadRequest() *QueryCombinedPreventionPoliciesBadRequest

NewQueryCombinedPreventionPoliciesBadRequest creates a QueryCombinedPreventionPoliciesBadRequest with default headers values

func (*QueryCombinedPreventionPoliciesBadRequest) Code added in v0.2.33

Code gets the status code for the query combined prevention policies bad request response

func (*QueryCombinedPreventionPoliciesBadRequest) Error

func (*QueryCombinedPreventionPoliciesBadRequest) GetPayload

func (*QueryCombinedPreventionPoliciesBadRequest) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policies bad request response has a 4xx status code

func (*QueryCombinedPreventionPoliciesBadRequest) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policies bad request response a status code equal to that given

func (*QueryCombinedPreventionPoliciesBadRequest) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policies bad request response has a 3xx status code

func (*QueryCombinedPreventionPoliciesBadRequest) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policies bad request response has a 5xx status code

func (*QueryCombinedPreventionPoliciesBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policies bad request response has a 2xx status code

func (*QueryCombinedPreventionPoliciesBadRequest) String added in v0.2.27

type QueryCombinedPreventionPoliciesForbidden

type QueryCombinedPreventionPoliciesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

QueryCombinedPreventionPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryCombinedPreventionPoliciesForbidden

func NewQueryCombinedPreventionPoliciesForbidden() *QueryCombinedPreventionPoliciesForbidden

NewQueryCombinedPreventionPoliciesForbidden creates a QueryCombinedPreventionPoliciesForbidden with default headers values

func (*QueryCombinedPreventionPoliciesForbidden) Code added in v0.2.33

Code gets the status code for the query combined prevention policies forbidden response

func (*QueryCombinedPreventionPoliciesForbidden) Error

func (*QueryCombinedPreventionPoliciesForbidden) GetPayload

func (*QueryCombinedPreventionPoliciesForbidden) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policies forbidden response has a 4xx status code

func (*QueryCombinedPreventionPoliciesForbidden) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policies forbidden response a status code equal to that given

func (*QueryCombinedPreventionPoliciesForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policies forbidden response has a 3xx status code

func (*QueryCombinedPreventionPoliciesForbidden) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policies forbidden response has a 5xx status code

func (*QueryCombinedPreventionPoliciesForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policies forbidden response has a 2xx status code

func (*QueryCombinedPreventionPoliciesForbidden) String added in v0.2.27

type QueryCombinedPreventionPoliciesInternalServerError

type QueryCombinedPreventionPoliciesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

QueryCombinedPreventionPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryCombinedPreventionPoliciesInternalServerError

func NewQueryCombinedPreventionPoliciesInternalServerError() *QueryCombinedPreventionPoliciesInternalServerError

NewQueryCombinedPreventionPoliciesInternalServerError creates a QueryCombinedPreventionPoliciesInternalServerError with default headers values

func (*QueryCombinedPreventionPoliciesInternalServerError) Code added in v0.2.33

Code gets the status code for the query combined prevention policies internal server error response

func (*QueryCombinedPreventionPoliciesInternalServerError) Error

func (*QueryCombinedPreventionPoliciesInternalServerError) GetPayload

func (*QueryCombinedPreventionPoliciesInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policies internal server error response has a 4xx status code

func (*QueryCombinedPreventionPoliciesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policies internal server error response a status code equal to that given

func (*QueryCombinedPreventionPoliciesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policies internal server error response has a 3xx status code

func (*QueryCombinedPreventionPoliciesInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policies internal server error response has a 5xx status code

func (*QueryCombinedPreventionPoliciesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policies internal server error response has a 2xx status code

func (*QueryCombinedPreventionPoliciesInternalServerError) String added in v0.2.27

type QueryCombinedPreventionPoliciesOK

type QueryCombinedPreventionPoliciesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

QueryCombinedPreventionPoliciesOK describes a response with status code 200, with default header values.

OK

func NewQueryCombinedPreventionPoliciesOK

func NewQueryCombinedPreventionPoliciesOK() *QueryCombinedPreventionPoliciesOK

NewQueryCombinedPreventionPoliciesOK creates a QueryCombinedPreventionPoliciesOK with default headers values

func (*QueryCombinedPreventionPoliciesOK) Code added in v0.2.33

Code gets the status code for the query combined prevention policies o k response

func (*QueryCombinedPreventionPoliciesOK) Error

func (*QueryCombinedPreventionPoliciesOK) GetPayload

func (*QueryCombinedPreventionPoliciesOK) IsClientError added in v0.2.27

func (o *QueryCombinedPreventionPoliciesOK) IsClientError() bool

IsClientError returns true when this query combined prevention policies o k response has a 4xx status code

func (*QueryCombinedPreventionPoliciesOK) IsCode added in v0.2.27

func (o *QueryCombinedPreventionPoliciesOK) IsCode(code int) bool

IsCode returns true when this query combined prevention policies o k response a status code equal to that given

func (*QueryCombinedPreventionPoliciesOK) IsRedirect added in v0.2.27

func (o *QueryCombinedPreventionPoliciesOK) IsRedirect() bool

IsRedirect returns true when this query combined prevention policies o k response has a 3xx status code

func (*QueryCombinedPreventionPoliciesOK) IsServerError added in v0.2.27

func (o *QueryCombinedPreventionPoliciesOK) IsServerError() bool

IsServerError returns true when this query combined prevention policies o k response has a 5xx status code

func (*QueryCombinedPreventionPoliciesOK) IsSuccess added in v0.2.27

func (o *QueryCombinedPreventionPoliciesOK) IsSuccess() bool

IsSuccess returns true when this query combined prevention policies o k response has a 2xx status code

func (*QueryCombinedPreventionPoliciesOK) String added in v0.2.27

type QueryCombinedPreventionPoliciesParams

type QueryCombinedPreventionPoliciesParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by
	*/
	Sort *string

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

QueryCombinedPreventionPoliciesParams contains all the parameters to send to the API endpoint

for the query combined prevention policies operation.

Typically these are written to a http.Request.

func NewQueryCombinedPreventionPoliciesParams

func NewQueryCombinedPreventionPoliciesParams() *QueryCombinedPreventionPoliciesParams

NewQueryCombinedPreventionPoliciesParams creates a new QueryCombinedPreventionPoliciesParams 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 NewQueryCombinedPreventionPoliciesParamsWithContext

func NewQueryCombinedPreventionPoliciesParamsWithContext(ctx context.Context) *QueryCombinedPreventionPoliciesParams

NewQueryCombinedPreventionPoliciesParamsWithContext creates a new QueryCombinedPreventionPoliciesParams object with the ability to set a context for a request.

func NewQueryCombinedPreventionPoliciesParamsWithHTTPClient

func NewQueryCombinedPreventionPoliciesParamsWithHTTPClient(client *http.Client) *QueryCombinedPreventionPoliciesParams

NewQueryCombinedPreventionPoliciesParamsWithHTTPClient creates a new QueryCombinedPreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCombinedPreventionPoliciesParamsWithTimeout

func NewQueryCombinedPreventionPoliciesParamsWithTimeout(timeout time.Duration) *QueryCombinedPreventionPoliciesParams

NewQueryCombinedPreventionPoliciesParamsWithTimeout creates a new QueryCombinedPreventionPoliciesParams object with the ability to set a timeout on a request.

func (*QueryCombinedPreventionPoliciesParams) SetContext

SetContext adds the context to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) SetDefaults

func (o *QueryCombinedPreventionPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the query combined prevention policies params (not the query body).

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

func (*QueryCombinedPreventionPoliciesParams) SetFilter

func (o *QueryCombinedPreventionPoliciesParams) SetFilter(filter *string)

SetFilter adds the filter to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) SetLimit

func (o *QueryCombinedPreventionPoliciesParams) SetLimit(limit *int64)

SetLimit adds the limit to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) SetOffset

func (o *QueryCombinedPreventionPoliciesParams) SetOffset(offset *int64)

SetOffset adds the offset to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) SetSort

SetSort adds the sort to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithContext

WithContext adds the context to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithDefaults

WithDefaults hydrates default values in the query combined prevention policies params (not the query body).

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

func (*QueryCombinedPreventionPoliciesParams) WithFilter

WithFilter adds the filter to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithLimit

WithLimit adds the limit to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithOffset

WithOffset adds the offset to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithSort

WithSort adds the sort to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WithTimeout

WithTimeout adds the timeout to the query combined prevention policies params

func (*QueryCombinedPreventionPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryCombinedPreventionPoliciesReader

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

QueryCombinedPreventionPoliciesReader is a Reader for the QueryCombinedPreventionPolicies structure.

func (*QueryCombinedPreventionPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryCombinedPreventionPoliciesTooManyRequests

type QueryCombinedPreventionPoliciesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryCombinedPreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryCombinedPreventionPoliciesTooManyRequests

func NewQueryCombinedPreventionPoliciesTooManyRequests() *QueryCombinedPreventionPoliciesTooManyRequests

NewQueryCombinedPreventionPoliciesTooManyRequests creates a QueryCombinedPreventionPoliciesTooManyRequests with default headers values

func (*QueryCombinedPreventionPoliciesTooManyRequests) Code added in v0.2.33

Code gets the status code for the query combined prevention policies too many requests response

func (*QueryCombinedPreventionPoliciesTooManyRequests) Error

func (*QueryCombinedPreventionPoliciesTooManyRequests) GetPayload

func (*QueryCombinedPreventionPoliciesTooManyRequests) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policies too many requests response has a 4xx status code

func (*QueryCombinedPreventionPoliciesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policies too many requests response a status code equal to that given

func (*QueryCombinedPreventionPoliciesTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policies too many requests response has a 3xx status code

func (*QueryCombinedPreventionPoliciesTooManyRequests) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policies too many requests response has a 5xx status code

func (*QueryCombinedPreventionPoliciesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policies too many requests response has a 2xx status code

func (*QueryCombinedPreventionPoliciesTooManyRequests) String added in v0.2.27

type QueryCombinedPreventionPolicyMembersBadRequest

type QueryCombinedPreventionPolicyMembersBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.BasePolicyMembersRespV1
}

QueryCombinedPreventionPolicyMembersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryCombinedPreventionPolicyMembersBadRequest

func NewQueryCombinedPreventionPolicyMembersBadRequest() *QueryCombinedPreventionPolicyMembersBadRequest

NewQueryCombinedPreventionPolicyMembersBadRequest creates a QueryCombinedPreventionPolicyMembersBadRequest with default headers values

func (*QueryCombinedPreventionPolicyMembersBadRequest) Code added in v0.2.33

Code gets the status code for the query combined prevention policy members bad request response

func (*QueryCombinedPreventionPolicyMembersBadRequest) Error

func (*QueryCombinedPreventionPolicyMembersBadRequest) GetPayload

func (*QueryCombinedPreventionPolicyMembersBadRequest) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policy members bad request response has a 4xx status code

func (*QueryCombinedPreventionPolicyMembersBadRequest) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policy members bad request response a status code equal to that given

func (*QueryCombinedPreventionPolicyMembersBadRequest) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policy members bad request response has a 3xx status code

func (*QueryCombinedPreventionPolicyMembersBadRequest) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policy members bad request response has a 5xx status code

func (*QueryCombinedPreventionPolicyMembersBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policy members bad request response has a 2xx status code

func (*QueryCombinedPreventionPolicyMembersBadRequest) String added in v0.2.27

type QueryCombinedPreventionPolicyMembersForbidden

type QueryCombinedPreventionPolicyMembersForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

QueryCombinedPreventionPolicyMembersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryCombinedPreventionPolicyMembersForbidden

func NewQueryCombinedPreventionPolicyMembersForbidden() *QueryCombinedPreventionPolicyMembersForbidden

NewQueryCombinedPreventionPolicyMembersForbidden creates a QueryCombinedPreventionPolicyMembersForbidden with default headers values

func (*QueryCombinedPreventionPolicyMembersForbidden) Code added in v0.2.33

Code gets the status code for the query combined prevention policy members forbidden response

func (*QueryCombinedPreventionPolicyMembersForbidden) Error

func (*QueryCombinedPreventionPolicyMembersForbidden) GetPayload

func (*QueryCombinedPreventionPolicyMembersForbidden) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policy members forbidden response has a 4xx status code

func (*QueryCombinedPreventionPolicyMembersForbidden) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policy members forbidden response a status code equal to that given

func (*QueryCombinedPreventionPolicyMembersForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policy members forbidden response has a 3xx status code

func (*QueryCombinedPreventionPolicyMembersForbidden) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policy members forbidden response has a 5xx status code

func (*QueryCombinedPreventionPolicyMembersForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policy members forbidden response has a 2xx status code

func (*QueryCombinedPreventionPolicyMembersForbidden) String added in v0.2.27

type QueryCombinedPreventionPolicyMembersInternalServerError

type QueryCombinedPreventionPolicyMembersInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.BasePolicyMembersRespV1
}

QueryCombinedPreventionPolicyMembersInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryCombinedPreventionPolicyMembersInternalServerError

func NewQueryCombinedPreventionPolicyMembersInternalServerError() *QueryCombinedPreventionPolicyMembersInternalServerError

NewQueryCombinedPreventionPolicyMembersInternalServerError creates a QueryCombinedPreventionPolicyMembersInternalServerError with default headers values

func (*QueryCombinedPreventionPolicyMembersInternalServerError) Code added in v0.2.33

Code gets the status code for the query combined prevention policy members internal server error response

func (*QueryCombinedPreventionPolicyMembersInternalServerError) Error

func (*QueryCombinedPreventionPolicyMembersInternalServerError) GetPayload

func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policy members internal server error response has a 4xx status code

func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policy members internal server error response a status code equal to that given

func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policy members internal server error response has a 3xx status code

func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policy members internal server error response has a 5xx status code

func (*QueryCombinedPreventionPolicyMembersInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policy members internal server error response has a 2xx status code

func (*QueryCombinedPreventionPolicyMembersInternalServerError) String added in v0.2.27

type QueryCombinedPreventionPolicyMembersNotFound

type QueryCombinedPreventionPolicyMembersNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.BasePolicyMembersRespV1
}

QueryCombinedPreventionPolicyMembersNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryCombinedPreventionPolicyMembersNotFound

func NewQueryCombinedPreventionPolicyMembersNotFound() *QueryCombinedPreventionPolicyMembersNotFound

NewQueryCombinedPreventionPolicyMembersNotFound creates a QueryCombinedPreventionPolicyMembersNotFound with default headers values

func (*QueryCombinedPreventionPolicyMembersNotFound) Code added in v0.2.33

Code gets the status code for the query combined prevention policy members not found response

func (*QueryCombinedPreventionPolicyMembersNotFound) Error

func (*QueryCombinedPreventionPolicyMembersNotFound) GetPayload

func (*QueryCombinedPreventionPolicyMembersNotFound) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policy members not found response has a 4xx status code

func (*QueryCombinedPreventionPolicyMembersNotFound) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policy members not found response a status code equal to that given

func (*QueryCombinedPreventionPolicyMembersNotFound) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policy members not found response has a 3xx status code

func (*QueryCombinedPreventionPolicyMembersNotFound) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policy members not found response has a 5xx status code

func (*QueryCombinedPreventionPolicyMembersNotFound) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policy members not found response has a 2xx status code

func (*QueryCombinedPreventionPolicyMembersNotFound) String added in v0.2.27

type QueryCombinedPreventionPolicyMembersOK

type QueryCombinedPreventionPolicyMembersOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.BasePolicyMembersRespV1
}

QueryCombinedPreventionPolicyMembersOK describes a response with status code 200, with default header values.

OK

func NewQueryCombinedPreventionPolicyMembersOK

func NewQueryCombinedPreventionPolicyMembersOK() *QueryCombinedPreventionPolicyMembersOK

NewQueryCombinedPreventionPolicyMembersOK creates a QueryCombinedPreventionPolicyMembersOK with default headers values

func (*QueryCombinedPreventionPolicyMembersOK) Code added in v0.2.33

Code gets the status code for the query combined prevention policy members o k response

func (*QueryCombinedPreventionPolicyMembersOK) Error

func (*QueryCombinedPreventionPolicyMembersOK) GetPayload

func (*QueryCombinedPreventionPolicyMembersOK) IsClientError added in v0.2.27

func (o *QueryCombinedPreventionPolicyMembersOK) IsClientError() bool

IsClientError returns true when this query combined prevention policy members o k response has a 4xx status code

func (*QueryCombinedPreventionPolicyMembersOK) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policy members o k response a status code equal to that given

func (*QueryCombinedPreventionPolicyMembersOK) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policy members o k response has a 3xx status code

func (*QueryCombinedPreventionPolicyMembersOK) IsServerError added in v0.2.27

func (o *QueryCombinedPreventionPolicyMembersOK) IsServerError() bool

IsServerError returns true when this query combined prevention policy members o k response has a 5xx status code

func (*QueryCombinedPreventionPolicyMembersOK) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policy members o k response has a 2xx status code

func (*QueryCombinedPreventionPolicyMembersOK) String added in v0.2.27

type QueryCombinedPreventionPolicyMembersParams

type QueryCombinedPreventionPolicyMembersParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* ID.

	   The ID of the Prevention Policy to search for members of
	*/
	ID *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by
	*/
	Sort *string

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

QueryCombinedPreventionPolicyMembersParams contains all the parameters to send to the API endpoint

for the query combined prevention policy members operation.

Typically these are written to a http.Request.

func NewQueryCombinedPreventionPolicyMembersParams

func NewQueryCombinedPreventionPolicyMembersParams() *QueryCombinedPreventionPolicyMembersParams

NewQueryCombinedPreventionPolicyMembersParams creates a new QueryCombinedPreventionPolicyMembersParams 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 NewQueryCombinedPreventionPolicyMembersParamsWithContext

func NewQueryCombinedPreventionPolicyMembersParamsWithContext(ctx context.Context) *QueryCombinedPreventionPolicyMembersParams

NewQueryCombinedPreventionPolicyMembersParamsWithContext creates a new QueryCombinedPreventionPolicyMembersParams object with the ability to set a context for a request.

func NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient

func NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryCombinedPreventionPolicyMembersParams

NewQueryCombinedPreventionPolicyMembersParamsWithHTTPClient creates a new QueryCombinedPreventionPolicyMembersParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCombinedPreventionPolicyMembersParamsWithTimeout

func NewQueryCombinedPreventionPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryCombinedPreventionPolicyMembersParams

NewQueryCombinedPreventionPolicyMembersParamsWithTimeout creates a new QueryCombinedPreventionPolicyMembersParams object with the ability to set a timeout on a request.

func (*QueryCombinedPreventionPolicyMembersParams) SetContext

SetContext adds the context to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetDefaults

SetDefaults hydrates default values in the query combined prevention policy members params (not the query body).

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

func (*QueryCombinedPreventionPolicyMembersParams) SetFilter

func (o *QueryCombinedPreventionPolicyMembersParams) SetFilter(filter *string)

SetFilter adds the filter to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetID

SetID adds the id to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetLimit

SetLimit adds the limit to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetOffset

func (o *QueryCombinedPreventionPolicyMembersParams) SetOffset(offset *int64)

SetOffset adds the offset to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetSort

SetSort adds the sort to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) SetTimeout

SetTimeout adds the timeout to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithContext

WithContext adds the context to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithDefaults

WithDefaults hydrates default values in the query combined prevention policy members params (not the query body).

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

func (*QueryCombinedPreventionPolicyMembersParams) WithFilter

WithFilter adds the filter to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithID

WithID adds the id to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithLimit

WithLimit adds the limit to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithOffset

WithOffset adds the offset to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithSort

WithSort adds the sort to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WithTimeout

WithTimeout adds the timeout to the query combined prevention policy members params

func (*QueryCombinedPreventionPolicyMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryCombinedPreventionPolicyMembersReader

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

QueryCombinedPreventionPolicyMembersReader is a Reader for the QueryCombinedPreventionPolicyMembers structure.

func (*QueryCombinedPreventionPolicyMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryCombinedPreventionPolicyMembersTooManyRequests

type QueryCombinedPreventionPolicyMembersTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryCombinedPreventionPolicyMembersTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryCombinedPreventionPolicyMembersTooManyRequests

func NewQueryCombinedPreventionPolicyMembersTooManyRequests() *QueryCombinedPreventionPolicyMembersTooManyRequests

NewQueryCombinedPreventionPolicyMembersTooManyRequests creates a QueryCombinedPreventionPolicyMembersTooManyRequests with default headers values

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) Code added in v0.2.33

Code gets the status code for the query combined prevention policy members too many requests response

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) Error

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) GetPayload

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsClientError added in v0.2.27

IsClientError returns true when this query combined prevention policy members too many requests response has a 4xx status code

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this query combined prevention policy members too many requests response a status code equal to that given

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this query combined prevention policy members too many requests response has a 3xx status code

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsServerError added in v0.2.27

IsServerError returns true when this query combined prevention policy members too many requests response has a 5xx status code

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this query combined prevention policy members too many requests response has a 2xx status code

func (*QueryCombinedPreventionPolicyMembersTooManyRequests) String added in v0.2.27

type QueryPreventionPoliciesBadRequest

type QueryPreventionPoliciesBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPoliciesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryPreventionPoliciesBadRequest

func NewQueryPreventionPoliciesBadRequest() *QueryPreventionPoliciesBadRequest

NewQueryPreventionPoliciesBadRequest creates a QueryPreventionPoliciesBadRequest with default headers values

func (*QueryPreventionPoliciesBadRequest) Code added in v0.2.33

Code gets the status code for the query prevention policies bad request response

func (*QueryPreventionPoliciesBadRequest) Error

func (*QueryPreventionPoliciesBadRequest) GetPayload

func (*QueryPreventionPoliciesBadRequest) IsClientError added in v0.2.27

func (o *QueryPreventionPoliciesBadRequest) IsClientError() bool

IsClientError returns true when this query prevention policies bad request response has a 4xx status code

func (*QueryPreventionPoliciesBadRequest) IsCode added in v0.2.27

func (o *QueryPreventionPoliciesBadRequest) IsCode(code int) bool

IsCode returns true when this query prevention policies bad request response a status code equal to that given

func (*QueryPreventionPoliciesBadRequest) IsRedirect added in v0.2.27

func (o *QueryPreventionPoliciesBadRequest) IsRedirect() bool

IsRedirect returns true when this query prevention policies bad request response has a 3xx status code

func (*QueryPreventionPoliciesBadRequest) IsServerError added in v0.2.27

func (o *QueryPreventionPoliciesBadRequest) IsServerError() bool

IsServerError returns true when this query prevention policies bad request response has a 5xx status code

func (*QueryPreventionPoliciesBadRequest) IsSuccess added in v0.2.27

func (o *QueryPreventionPoliciesBadRequest) IsSuccess() bool

IsSuccess returns true when this query prevention policies bad request response has a 2xx status code

func (*QueryPreventionPoliciesBadRequest) String added in v0.2.27

type QueryPreventionPoliciesForbidden

type QueryPreventionPoliciesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

QueryPreventionPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryPreventionPoliciesForbidden

func NewQueryPreventionPoliciesForbidden() *QueryPreventionPoliciesForbidden

NewQueryPreventionPoliciesForbidden creates a QueryPreventionPoliciesForbidden with default headers values

func (*QueryPreventionPoliciesForbidden) Code added in v0.2.33

Code gets the status code for the query prevention policies forbidden response

func (*QueryPreventionPoliciesForbidden) Error

func (*QueryPreventionPoliciesForbidden) GetPayload

func (*QueryPreventionPoliciesForbidden) IsClientError added in v0.2.27

func (o *QueryPreventionPoliciesForbidden) IsClientError() bool

IsClientError returns true when this query prevention policies forbidden response has a 4xx status code

func (*QueryPreventionPoliciesForbidden) IsCode added in v0.2.27

func (o *QueryPreventionPoliciesForbidden) IsCode(code int) bool

IsCode returns true when this query prevention policies forbidden response a status code equal to that given

func (*QueryPreventionPoliciesForbidden) IsRedirect added in v0.2.27

func (o *QueryPreventionPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this query prevention policies forbidden response has a 3xx status code

func (*QueryPreventionPoliciesForbidden) IsServerError added in v0.2.27

func (o *QueryPreventionPoliciesForbidden) IsServerError() bool

IsServerError returns true when this query prevention policies forbidden response has a 5xx status code

func (*QueryPreventionPoliciesForbidden) IsSuccess added in v0.2.27

func (o *QueryPreventionPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this query prevention policies forbidden response has a 2xx status code

func (*QueryPreventionPoliciesForbidden) String added in v0.2.27

type QueryPreventionPoliciesInternalServerError

type QueryPreventionPoliciesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryPreventionPoliciesInternalServerError

func NewQueryPreventionPoliciesInternalServerError() *QueryPreventionPoliciesInternalServerError

NewQueryPreventionPoliciesInternalServerError creates a QueryPreventionPoliciesInternalServerError with default headers values

func (*QueryPreventionPoliciesInternalServerError) Code added in v0.2.33

Code gets the status code for the query prevention policies internal server error response

func (*QueryPreventionPoliciesInternalServerError) Error

func (*QueryPreventionPoliciesInternalServerError) GetPayload

func (*QueryPreventionPoliciesInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this query prevention policies internal server error response has a 4xx status code

func (*QueryPreventionPoliciesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this query prevention policies internal server error response a status code equal to that given

func (*QueryPreventionPoliciesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policies internal server error response has a 3xx status code

func (*QueryPreventionPoliciesInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this query prevention policies internal server error response has a 5xx status code

func (*QueryPreventionPoliciesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policies internal server error response has a 2xx status code

func (*QueryPreventionPoliciesInternalServerError) String added in v0.2.27

type QueryPreventionPoliciesOK

type QueryPreventionPoliciesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPoliciesOK describes a response with status code 200, with default header values.

OK

func NewQueryPreventionPoliciesOK

func NewQueryPreventionPoliciesOK() *QueryPreventionPoliciesOK

NewQueryPreventionPoliciesOK creates a QueryPreventionPoliciesOK with default headers values

func (*QueryPreventionPoliciesOK) Code added in v0.2.33

func (o *QueryPreventionPoliciesOK) Code() int

Code gets the status code for the query prevention policies o k response

func (*QueryPreventionPoliciesOK) Error

func (o *QueryPreventionPoliciesOK) Error() string

func (*QueryPreventionPoliciesOK) GetPayload

func (*QueryPreventionPoliciesOK) IsClientError added in v0.2.27

func (o *QueryPreventionPoliciesOK) IsClientError() bool

IsClientError returns true when this query prevention policies o k response has a 4xx status code

func (*QueryPreventionPoliciesOK) IsCode added in v0.2.27

func (o *QueryPreventionPoliciesOK) IsCode(code int) bool

IsCode returns true when this query prevention policies o k response a status code equal to that given

func (*QueryPreventionPoliciesOK) IsRedirect added in v0.2.27

func (o *QueryPreventionPoliciesOK) IsRedirect() bool

IsRedirect returns true when this query prevention policies o k response has a 3xx status code

func (*QueryPreventionPoliciesOK) IsServerError added in v0.2.27

func (o *QueryPreventionPoliciesOK) IsServerError() bool

IsServerError returns true when this query prevention policies o k response has a 5xx status code

func (*QueryPreventionPoliciesOK) IsSuccess added in v0.2.27

func (o *QueryPreventionPoliciesOK) IsSuccess() bool

IsSuccess returns true when this query prevention policies o k response has a 2xx status code

func (*QueryPreventionPoliciesOK) String added in v0.2.27

func (o *QueryPreventionPoliciesOK) String() string

type QueryPreventionPoliciesParams

type QueryPreventionPoliciesParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by
	*/
	Sort *string

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

QueryPreventionPoliciesParams contains all the parameters to send to the API endpoint

for the query prevention policies operation.

Typically these are written to a http.Request.

func NewQueryPreventionPoliciesParams

func NewQueryPreventionPoliciesParams() *QueryPreventionPoliciesParams

NewQueryPreventionPoliciesParams creates a new QueryPreventionPoliciesParams 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 NewQueryPreventionPoliciesParamsWithContext

func NewQueryPreventionPoliciesParamsWithContext(ctx context.Context) *QueryPreventionPoliciesParams

NewQueryPreventionPoliciesParamsWithContext creates a new QueryPreventionPoliciesParams object with the ability to set a context for a request.

func NewQueryPreventionPoliciesParamsWithHTTPClient

func NewQueryPreventionPoliciesParamsWithHTTPClient(client *http.Client) *QueryPreventionPoliciesParams

NewQueryPreventionPoliciesParamsWithHTTPClient creates a new QueryPreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryPreventionPoliciesParamsWithTimeout

func NewQueryPreventionPoliciesParamsWithTimeout(timeout time.Duration) *QueryPreventionPoliciesParams

NewQueryPreventionPoliciesParamsWithTimeout creates a new QueryPreventionPoliciesParams object with the ability to set a timeout on a request.

func (*QueryPreventionPoliciesParams) SetContext

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

SetContext adds the context to the query prevention policies params

func (*QueryPreventionPoliciesParams) SetDefaults

func (o *QueryPreventionPoliciesParams) SetDefaults()

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

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

func (*QueryPreventionPoliciesParams) SetFilter

func (o *QueryPreventionPoliciesParams) SetFilter(filter *string)

SetFilter adds the filter to the query prevention policies params

func (*QueryPreventionPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query prevention policies params

func (*QueryPreventionPoliciesParams) SetLimit

func (o *QueryPreventionPoliciesParams) SetLimit(limit *int64)

SetLimit adds the limit to the query prevention policies params

func (*QueryPreventionPoliciesParams) SetOffset

func (o *QueryPreventionPoliciesParams) SetOffset(offset *int64)

SetOffset adds the offset to the query prevention policies params

func (*QueryPreventionPoliciesParams) SetSort

func (o *QueryPreventionPoliciesParams) SetSort(sort *string)

SetSort adds the sort to the query prevention policies params

func (*QueryPreventionPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithContext

WithContext adds the context to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithDefaults

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

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

func (*QueryPreventionPoliciesParams) WithFilter

WithFilter adds the filter to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithLimit

WithLimit adds the limit to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithOffset

WithOffset adds the offset to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithSort

WithSort adds the sort to the query prevention policies params

func (*QueryPreventionPoliciesParams) WithTimeout

WithTimeout adds the timeout to the query prevention policies params

func (*QueryPreventionPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryPreventionPoliciesReader

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

QueryPreventionPoliciesReader is a Reader for the QueryPreventionPolicies structure.

func (*QueryPreventionPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryPreventionPoliciesTooManyRequests

type QueryPreventionPoliciesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryPreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryPreventionPoliciesTooManyRequests

func NewQueryPreventionPoliciesTooManyRequests() *QueryPreventionPoliciesTooManyRequests

NewQueryPreventionPoliciesTooManyRequests creates a QueryPreventionPoliciesTooManyRequests with default headers values

func (*QueryPreventionPoliciesTooManyRequests) Code added in v0.2.33

Code gets the status code for the query prevention policies too many requests response

func (*QueryPreventionPoliciesTooManyRequests) Error

func (*QueryPreventionPoliciesTooManyRequests) GetPayload

func (*QueryPreventionPoliciesTooManyRequests) IsClientError added in v0.2.27

func (o *QueryPreventionPoliciesTooManyRequests) IsClientError() bool

IsClientError returns true when this query prevention policies too many requests response has a 4xx status code

func (*QueryPreventionPoliciesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this query prevention policies too many requests response a status code equal to that given

func (*QueryPreventionPoliciesTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policies too many requests response has a 3xx status code

func (*QueryPreventionPoliciesTooManyRequests) IsServerError added in v0.2.27

func (o *QueryPreventionPoliciesTooManyRequests) IsServerError() bool

IsServerError returns true when this query prevention policies too many requests response has a 5xx status code

func (*QueryPreventionPoliciesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policies too many requests response has a 2xx status code

func (*QueryPreventionPoliciesTooManyRequests) String added in v0.2.27

type QueryPreventionPolicyMembersBadRequest

type QueryPreventionPolicyMembersBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPolicyMembersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryPreventionPolicyMembersBadRequest

func NewQueryPreventionPolicyMembersBadRequest() *QueryPreventionPolicyMembersBadRequest

NewQueryPreventionPolicyMembersBadRequest creates a QueryPreventionPolicyMembersBadRequest with default headers values

func (*QueryPreventionPolicyMembersBadRequest) Code added in v0.2.33

Code gets the status code for the query prevention policy members bad request response

func (*QueryPreventionPolicyMembersBadRequest) Error

func (*QueryPreventionPolicyMembersBadRequest) GetPayload

func (*QueryPreventionPolicyMembersBadRequest) IsClientError added in v0.2.27

func (o *QueryPreventionPolicyMembersBadRequest) IsClientError() bool

IsClientError returns true when this query prevention policy members bad request response has a 4xx status code

func (*QueryPreventionPolicyMembersBadRequest) IsCode added in v0.2.27

IsCode returns true when this query prevention policy members bad request response a status code equal to that given

func (*QueryPreventionPolicyMembersBadRequest) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policy members bad request response has a 3xx status code

func (*QueryPreventionPolicyMembersBadRequest) IsServerError added in v0.2.27

func (o *QueryPreventionPolicyMembersBadRequest) IsServerError() bool

IsServerError returns true when this query prevention policy members bad request response has a 5xx status code

func (*QueryPreventionPolicyMembersBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policy members bad request response has a 2xx status code

func (*QueryPreventionPolicyMembersBadRequest) String added in v0.2.27

type QueryPreventionPolicyMembersForbidden

type QueryPreventionPolicyMembersForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

QueryPreventionPolicyMembersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryPreventionPolicyMembersForbidden

func NewQueryPreventionPolicyMembersForbidden() *QueryPreventionPolicyMembersForbidden

NewQueryPreventionPolicyMembersForbidden creates a QueryPreventionPolicyMembersForbidden with default headers values

func (*QueryPreventionPolicyMembersForbidden) Code added in v0.2.33

Code gets the status code for the query prevention policy members forbidden response

func (*QueryPreventionPolicyMembersForbidden) Error

func (*QueryPreventionPolicyMembersForbidden) GetPayload

func (*QueryPreventionPolicyMembersForbidden) IsClientError added in v0.2.27

func (o *QueryPreventionPolicyMembersForbidden) IsClientError() bool

IsClientError returns true when this query prevention policy members forbidden response has a 4xx status code

func (*QueryPreventionPolicyMembersForbidden) IsCode added in v0.2.27

IsCode returns true when this query prevention policy members forbidden response a status code equal to that given

func (*QueryPreventionPolicyMembersForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policy members forbidden response has a 3xx status code

func (*QueryPreventionPolicyMembersForbidden) IsServerError added in v0.2.27

func (o *QueryPreventionPolicyMembersForbidden) IsServerError() bool

IsServerError returns true when this query prevention policy members forbidden response has a 5xx status code

func (*QueryPreventionPolicyMembersForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policy members forbidden response has a 2xx status code

func (*QueryPreventionPolicyMembersForbidden) String added in v0.2.27

type QueryPreventionPolicyMembersInternalServerError

type QueryPreventionPolicyMembersInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPolicyMembersInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryPreventionPolicyMembersInternalServerError

func NewQueryPreventionPolicyMembersInternalServerError() *QueryPreventionPolicyMembersInternalServerError

NewQueryPreventionPolicyMembersInternalServerError creates a QueryPreventionPolicyMembersInternalServerError with default headers values

func (*QueryPreventionPolicyMembersInternalServerError) Code added in v0.2.33

Code gets the status code for the query prevention policy members internal server error response

func (*QueryPreventionPolicyMembersInternalServerError) Error

func (*QueryPreventionPolicyMembersInternalServerError) GetPayload

func (*QueryPreventionPolicyMembersInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this query prevention policy members internal server error response has a 4xx status code

func (*QueryPreventionPolicyMembersInternalServerError) IsCode added in v0.2.27

IsCode returns true when this query prevention policy members internal server error response a status code equal to that given

func (*QueryPreventionPolicyMembersInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policy members internal server error response has a 3xx status code

func (*QueryPreventionPolicyMembersInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this query prevention policy members internal server error response has a 5xx status code

func (*QueryPreventionPolicyMembersInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policy members internal server error response has a 2xx status code

func (*QueryPreventionPolicyMembersInternalServerError) String added in v0.2.27

type QueryPreventionPolicyMembersNotFound

type QueryPreventionPolicyMembersNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPolicyMembersNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryPreventionPolicyMembersNotFound

func NewQueryPreventionPolicyMembersNotFound() *QueryPreventionPolicyMembersNotFound

NewQueryPreventionPolicyMembersNotFound creates a QueryPreventionPolicyMembersNotFound with default headers values

func (*QueryPreventionPolicyMembersNotFound) Code added in v0.2.33

Code gets the status code for the query prevention policy members not found response

func (*QueryPreventionPolicyMembersNotFound) Error

func (*QueryPreventionPolicyMembersNotFound) GetPayload

func (*QueryPreventionPolicyMembersNotFound) IsClientError added in v0.2.27

func (o *QueryPreventionPolicyMembersNotFound) IsClientError() bool

IsClientError returns true when this query prevention policy members not found response has a 4xx status code

func (*QueryPreventionPolicyMembersNotFound) IsCode added in v0.2.27

IsCode returns true when this query prevention policy members not found response a status code equal to that given

func (*QueryPreventionPolicyMembersNotFound) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policy members not found response has a 3xx status code

func (*QueryPreventionPolicyMembersNotFound) IsServerError added in v0.2.27

func (o *QueryPreventionPolicyMembersNotFound) IsServerError() bool

IsServerError returns true when this query prevention policy members not found response has a 5xx status code

func (*QueryPreventionPolicyMembersNotFound) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policy members not found response has a 2xx status code

func (*QueryPreventionPolicyMembersNotFound) String added in v0.2.27

type QueryPreventionPolicyMembersOK

type QueryPreventionPolicyMembersOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryPreventionPolicyMembersOK describes a response with status code 200, with default header values.

OK

func NewQueryPreventionPolicyMembersOK

func NewQueryPreventionPolicyMembersOK() *QueryPreventionPolicyMembersOK

NewQueryPreventionPolicyMembersOK creates a QueryPreventionPolicyMembersOK with default headers values

func (*QueryPreventionPolicyMembersOK) Code added in v0.2.33

Code gets the status code for the query prevention policy members o k response

func (*QueryPreventionPolicyMembersOK) Error

func (*QueryPreventionPolicyMembersOK) GetPayload

func (*QueryPreventionPolicyMembersOK) IsClientError added in v0.2.27

func (o *QueryPreventionPolicyMembersOK) IsClientError() bool

IsClientError returns true when this query prevention policy members o k response has a 4xx status code

func (*QueryPreventionPolicyMembersOK) IsCode added in v0.2.27

func (o *QueryPreventionPolicyMembersOK) IsCode(code int) bool

IsCode returns true when this query prevention policy members o k response a status code equal to that given

func (*QueryPreventionPolicyMembersOK) IsRedirect added in v0.2.27

func (o *QueryPreventionPolicyMembersOK) IsRedirect() bool

IsRedirect returns true when this query prevention policy members o k response has a 3xx status code

func (*QueryPreventionPolicyMembersOK) IsServerError added in v0.2.27

func (o *QueryPreventionPolicyMembersOK) IsServerError() bool

IsServerError returns true when this query prevention policy members o k response has a 5xx status code

func (*QueryPreventionPolicyMembersOK) IsSuccess added in v0.2.27

func (o *QueryPreventionPolicyMembersOK) IsSuccess() bool

IsSuccess returns true when this query prevention policy members o k response has a 2xx status code

func (*QueryPreventionPolicyMembersOK) String added in v0.2.27

type QueryPreventionPolicyMembersParams

type QueryPreventionPolicyMembersParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results
	*/
	Filter *string

	/* ID.

	   The ID of the Prevention Policy to search for members of
	*/
	ID *string

	/* Limit.

	   The maximum records to return. [1-5000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by
	*/
	Sort *string

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

QueryPreventionPolicyMembersParams contains all the parameters to send to the API endpoint

for the query prevention policy members operation.

Typically these are written to a http.Request.

func NewQueryPreventionPolicyMembersParams

func NewQueryPreventionPolicyMembersParams() *QueryPreventionPolicyMembersParams

NewQueryPreventionPolicyMembersParams creates a new QueryPreventionPolicyMembersParams 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 NewQueryPreventionPolicyMembersParamsWithContext

func NewQueryPreventionPolicyMembersParamsWithContext(ctx context.Context) *QueryPreventionPolicyMembersParams

NewQueryPreventionPolicyMembersParamsWithContext creates a new QueryPreventionPolicyMembersParams object with the ability to set a context for a request.

func NewQueryPreventionPolicyMembersParamsWithHTTPClient

func NewQueryPreventionPolicyMembersParamsWithHTTPClient(client *http.Client) *QueryPreventionPolicyMembersParams

NewQueryPreventionPolicyMembersParamsWithHTTPClient creates a new QueryPreventionPolicyMembersParams object with the ability to set a custom HTTPClient for a request.

func NewQueryPreventionPolicyMembersParamsWithTimeout

func NewQueryPreventionPolicyMembersParamsWithTimeout(timeout time.Duration) *QueryPreventionPolicyMembersParams

NewQueryPreventionPolicyMembersParamsWithTimeout creates a new QueryPreventionPolicyMembersParams object with the ability to set a timeout on a request.

func (*QueryPreventionPolicyMembersParams) SetContext

SetContext adds the context to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetDefaults

func (o *QueryPreventionPolicyMembersParams) SetDefaults()

SetDefaults hydrates default values in the query prevention policy members params (not the query body).

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

func (*QueryPreventionPolicyMembersParams) SetFilter

func (o *QueryPreventionPolicyMembersParams) SetFilter(filter *string)

SetFilter adds the filter to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetID

SetID adds the id to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetLimit

func (o *QueryPreventionPolicyMembersParams) SetLimit(limit *int64)

SetLimit adds the limit to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetOffset

func (o *QueryPreventionPolicyMembersParams) SetOffset(offset *int64)

SetOffset adds the offset to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetSort

func (o *QueryPreventionPolicyMembersParams) SetSort(sort *string)

SetSort adds the sort to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) SetTimeout

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

SetTimeout adds the timeout to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithContext

WithContext adds the context to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithDefaults

WithDefaults hydrates default values in the query prevention policy members params (not the query body).

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

func (*QueryPreventionPolicyMembersParams) WithFilter

WithFilter adds the filter to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithID

WithID adds the id to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithLimit

WithLimit adds the limit to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithOffset

WithOffset adds the offset to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithSort

WithSort adds the sort to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WithTimeout

WithTimeout adds the timeout to the query prevention policy members params

func (*QueryPreventionPolicyMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryPreventionPolicyMembersReader

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

QueryPreventionPolicyMembersReader is a Reader for the QueryPreventionPolicyMembers structure.

func (*QueryPreventionPolicyMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryPreventionPolicyMembersTooManyRequests

type QueryPreventionPolicyMembersTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryPreventionPolicyMembersTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryPreventionPolicyMembersTooManyRequests

func NewQueryPreventionPolicyMembersTooManyRequests() *QueryPreventionPolicyMembersTooManyRequests

NewQueryPreventionPolicyMembersTooManyRequests creates a QueryPreventionPolicyMembersTooManyRequests with default headers values

func (*QueryPreventionPolicyMembersTooManyRequests) Code added in v0.2.33

Code gets the status code for the query prevention policy members too many requests response

func (*QueryPreventionPolicyMembersTooManyRequests) Error

func (*QueryPreventionPolicyMembersTooManyRequests) GetPayload

func (*QueryPreventionPolicyMembersTooManyRequests) IsClientError added in v0.2.27

IsClientError returns true when this query prevention policy members too many requests response has a 4xx status code

func (*QueryPreventionPolicyMembersTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this query prevention policy members too many requests response a status code equal to that given

func (*QueryPreventionPolicyMembersTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this query prevention policy members too many requests response has a 3xx status code

func (*QueryPreventionPolicyMembersTooManyRequests) IsServerError added in v0.2.27

IsServerError returns true when this query prevention policy members too many requests response has a 5xx status code

func (*QueryPreventionPolicyMembersTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this query prevention policy members too many requests response has a 2xx status code

func (*QueryPreventionPolicyMembersTooManyRequests) String added in v0.2.27

type SetPreventionPoliciesPrecedenceBadRequest

type SetPreventionPoliciesPrecedenceBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

SetPreventionPoliciesPrecedenceBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSetPreventionPoliciesPrecedenceBadRequest

func NewSetPreventionPoliciesPrecedenceBadRequest() *SetPreventionPoliciesPrecedenceBadRequest

NewSetPreventionPoliciesPrecedenceBadRequest creates a SetPreventionPoliciesPrecedenceBadRequest with default headers values

func (*SetPreventionPoliciesPrecedenceBadRequest) Code added in v0.2.33

Code gets the status code for the set prevention policies precedence bad request response

func (*SetPreventionPoliciesPrecedenceBadRequest) Error

func (*SetPreventionPoliciesPrecedenceBadRequest) GetPayload

func (*SetPreventionPoliciesPrecedenceBadRequest) IsClientError added in v0.2.27

IsClientError returns true when this set prevention policies precedence bad request response has a 4xx status code

func (*SetPreventionPoliciesPrecedenceBadRequest) IsCode added in v0.2.27

IsCode returns true when this set prevention policies precedence bad request response a status code equal to that given

func (*SetPreventionPoliciesPrecedenceBadRequest) IsRedirect added in v0.2.27

IsRedirect returns true when this set prevention policies precedence bad request response has a 3xx status code

func (*SetPreventionPoliciesPrecedenceBadRequest) IsServerError added in v0.2.27

IsServerError returns true when this set prevention policies precedence bad request response has a 5xx status code

func (*SetPreventionPoliciesPrecedenceBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this set prevention policies precedence bad request response has a 2xx status code

func (*SetPreventionPoliciesPrecedenceBadRequest) String added in v0.2.27

type SetPreventionPoliciesPrecedenceForbidden

type SetPreventionPoliciesPrecedenceForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

SetPreventionPoliciesPrecedenceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSetPreventionPoliciesPrecedenceForbidden

func NewSetPreventionPoliciesPrecedenceForbidden() *SetPreventionPoliciesPrecedenceForbidden

NewSetPreventionPoliciesPrecedenceForbidden creates a SetPreventionPoliciesPrecedenceForbidden with default headers values

func (*SetPreventionPoliciesPrecedenceForbidden) Code added in v0.2.33

Code gets the status code for the set prevention policies precedence forbidden response

func (*SetPreventionPoliciesPrecedenceForbidden) Error

func (*SetPreventionPoliciesPrecedenceForbidden) GetPayload

func (*SetPreventionPoliciesPrecedenceForbidden) IsClientError added in v0.2.27

IsClientError returns true when this set prevention policies precedence forbidden response has a 4xx status code

func (*SetPreventionPoliciesPrecedenceForbidden) IsCode added in v0.2.27

IsCode returns true when this set prevention policies precedence forbidden response a status code equal to that given

func (*SetPreventionPoliciesPrecedenceForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this set prevention policies precedence forbidden response has a 3xx status code

func (*SetPreventionPoliciesPrecedenceForbidden) IsServerError added in v0.2.27

IsServerError returns true when this set prevention policies precedence forbidden response has a 5xx status code

func (*SetPreventionPoliciesPrecedenceForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this set prevention policies precedence forbidden response has a 2xx status code

func (*SetPreventionPoliciesPrecedenceForbidden) String added in v0.2.27

type SetPreventionPoliciesPrecedenceInternalServerError

type SetPreventionPoliciesPrecedenceInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

SetPreventionPoliciesPrecedenceInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewSetPreventionPoliciesPrecedenceInternalServerError

func NewSetPreventionPoliciesPrecedenceInternalServerError() *SetPreventionPoliciesPrecedenceInternalServerError

NewSetPreventionPoliciesPrecedenceInternalServerError creates a SetPreventionPoliciesPrecedenceInternalServerError with default headers values

func (*SetPreventionPoliciesPrecedenceInternalServerError) Code added in v0.2.33

Code gets the status code for the set prevention policies precedence internal server error response

func (*SetPreventionPoliciesPrecedenceInternalServerError) Error

func (*SetPreventionPoliciesPrecedenceInternalServerError) GetPayload

func (*SetPreventionPoliciesPrecedenceInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this set prevention policies precedence internal server error response has a 4xx status code

func (*SetPreventionPoliciesPrecedenceInternalServerError) IsCode added in v0.2.27

IsCode returns true when this set prevention policies precedence internal server error response a status code equal to that given

func (*SetPreventionPoliciesPrecedenceInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this set prevention policies precedence internal server error response has a 3xx status code

func (*SetPreventionPoliciesPrecedenceInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this set prevention policies precedence internal server error response has a 5xx status code

func (*SetPreventionPoliciesPrecedenceInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this set prevention policies precedence internal server error response has a 2xx status code

func (*SetPreventionPoliciesPrecedenceInternalServerError) String added in v0.2.27

type SetPreventionPoliciesPrecedenceOK

type SetPreventionPoliciesPrecedenceOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

SetPreventionPoliciesPrecedenceOK describes a response with status code 200, with default header values.

OK

func NewSetPreventionPoliciesPrecedenceOK

func NewSetPreventionPoliciesPrecedenceOK() *SetPreventionPoliciesPrecedenceOK

NewSetPreventionPoliciesPrecedenceOK creates a SetPreventionPoliciesPrecedenceOK with default headers values

func (*SetPreventionPoliciesPrecedenceOK) Code added in v0.2.33

Code gets the status code for the set prevention policies precedence o k response

func (*SetPreventionPoliciesPrecedenceOK) Error

func (*SetPreventionPoliciesPrecedenceOK) GetPayload

func (*SetPreventionPoliciesPrecedenceOK) IsClientError added in v0.2.27

func (o *SetPreventionPoliciesPrecedenceOK) IsClientError() bool

IsClientError returns true when this set prevention policies precedence o k response has a 4xx status code

func (*SetPreventionPoliciesPrecedenceOK) IsCode added in v0.2.27

func (o *SetPreventionPoliciesPrecedenceOK) IsCode(code int) bool

IsCode returns true when this set prevention policies precedence o k response a status code equal to that given

func (*SetPreventionPoliciesPrecedenceOK) IsRedirect added in v0.2.27

func (o *SetPreventionPoliciesPrecedenceOK) IsRedirect() bool

IsRedirect returns true when this set prevention policies precedence o k response has a 3xx status code

func (*SetPreventionPoliciesPrecedenceOK) IsServerError added in v0.2.27

func (o *SetPreventionPoliciesPrecedenceOK) IsServerError() bool

IsServerError returns true when this set prevention policies precedence o k response has a 5xx status code

func (*SetPreventionPoliciesPrecedenceOK) IsSuccess added in v0.2.27

func (o *SetPreventionPoliciesPrecedenceOK) IsSuccess() bool

IsSuccess returns true when this set prevention policies precedence o k response has a 2xx status code

func (*SetPreventionPoliciesPrecedenceOK) String added in v0.2.27

type SetPreventionPoliciesPrecedenceParams

type SetPreventionPoliciesPrecedenceParams struct {

	// Body.
	Body *models.BaseSetPolicyPrecedenceReqV1

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

SetPreventionPoliciesPrecedenceParams contains all the parameters to send to the API endpoint

for the set prevention policies precedence operation.

Typically these are written to a http.Request.

func NewSetPreventionPoliciesPrecedenceParams

func NewSetPreventionPoliciesPrecedenceParams() *SetPreventionPoliciesPrecedenceParams

NewSetPreventionPoliciesPrecedenceParams creates a new SetPreventionPoliciesPrecedenceParams 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 NewSetPreventionPoliciesPrecedenceParamsWithContext

func NewSetPreventionPoliciesPrecedenceParamsWithContext(ctx context.Context) *SetPreventionPoliciesPrecedenceParams

NewSetPreventionPoliciesPrecedenceParamsWithContext creates a new SetPreventionPoliciesPrecedenceParams object with the ability to set a context for a request.

func NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient

func NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient(client *http.Client) *SetPreventionPoliciesPrecedenceParams

NewSetPreventionPoliciesPrecedenceParamsWithHTTPClient creates a new SetPreventionPoliciesPrecedenceParams object with the ability to set a custom HTTPClient for a request.

func NewSetPreventionPoliciesPrecedenceParamsWithTimeout

func NewSetPreventionPoliciesPrecedenceParamsWithTimeout(timeout time.Duration) *SetPreventionPoliciesPrecedenceParams

NewSetPreventionPoliciesPrecedenceParamsWithTimeout creates a new SetPreventionPoliciesPrecedenceParams object with the ability to set a timeout on a request.

func (*SetPreventionPoliciesPrecedenceParams) SetBody

SetBody adds the body to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) SetContext

SetContext adds the context to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) SetDefaults

func (o *SetPreventionPoliciesPrecedenceParams) SetDefaults()

SetDefaults hydrates default values in the set prevention policies precedence params (not the query body).

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

func (*SetPreventionPoliciesPrecedenceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) SetTimeout

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

SetTimeout adds the timeout to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) WithBody

WithBody adds the body to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) WithContext

WithContext adds the context to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) WithDefaults

WithDefaults hydrates default values in the set prevention policies precedence params (not the query body).

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

func (*SetPreventionPoliciesPrecedenceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) WithTimeout

WithTimeout adds the timeout to the set prevention policies precedence params

func (*SetPreventionPoliciesPrecedenceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetPreventionPoliciesPrecedenceReader

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

SetPreventionPoliciesPrecedenceReader is a Reader for the SetPreventionPoliciesPrecedence structure.

func (*SetPreventionPoliciesPrecedenceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetPreventionPoliciesPrecedenceTooManyRequests

type SetPreventionPoliciesPrecedenceTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

SetPreventionPoliciesPrecedenceTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewSetPreventionPoliciesPrecedenceTooManyRequests

func NewSetPreventionPoliciesPrecedenceTooManyRequests() *SetPreventionPoliciesPrecedenceTooManyRequests

NewSetPreventionPoliciesPrecedenceTooManyRequests creates a SetPreventionPoliciesPrecedenceTooManyRequests with default headers values

func (*SetPreventionPoliciesPrecedenceTooManyRequests) Code added in v0.2.33

Code gets the status code for the set prevention policies precedence too many requests response

func (*SetPreventionPoliciesPrecedenceTooManyRequests) Error

func (*SetPreventionPoliciesPrecedenceTooManyRequests) GetPayload

func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsClientError added in v0.2.27

IsClientError returns true when this set prevention policies precedence too many requests response has a 4xx status code

func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this set prevention policies precedence too many requests response a status code equal to that given

func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this set prevention policies precedence too many requests response has a 3xx status code

func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsServerError added in v0.2.27

IsServerError returns true when this set prevention policies precedence too many requests response has a 5xx status code

func (*SetPreventionPoliciesPrecedenceTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this set prevention policies precedence too many requests response has a 2xx status code

func (*SetPreventionPoliciesPrecedenceTooManyRequests) String added in v0.2.27

type UpdatePreventionPoliciesBadRequest

type UpdatePreventionPoliciesBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

UpdatePreventionPoliciesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdatePreventionPoliciesBadRequest

func NewUpdatePreventionPoliciesBadRequest() *UpdatePreventionPoliciesBadRequest

NewUpdatePreventionPoliciesBadRequest creates a UpdatePreventionPoliciesBadRequest with default headers values

func (*UpdatePreventionPoliciesBadRequest) Code added in v0.2.33

Code gets the status code for the update prevention policies bad request response

func (*UpdatePreventionPoliciesBadRequest) Error

func (*UpdatePreventionPoliciesBadRequest) GetPayload

func (*UpdatePreventionPoliciesBadRequest) IsClientError added in v0.2.27

func (o *UpdatePreventionPoliciesBadRequest) IsClientError() bool

IsClientError returns true when this update prevention policies bad request response has a 4xx status code

func (*UpdatePreventionPoliciesBadRequest) IsCode added in v0.2.27

IsCode returns true when this update prevention policies bad request response a status code equal to that given

func (*UpdatePreventionPoliciesBadRequest) IsRedirect added in v0.2.27

func (o *UpdatePreventionPoliciesBadRequest) IsRedirect() bool

IsRedirect returns true when this update prevention policies bad request response has a 3xx status code

func (*UpdatePreventionPoliciesBadRequest) IsServerError added in v0.2.27

func (o *UpdatePreventionPoliciesBadRequest) IsServerError() bool

IsServerError returns true when this update prevention policies bad request response has a 5xx status code

func (*UpdatePreventionPoliciesBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this update prevention policies bad request response has a 2xx status code

func (*UpdatePreventionPoliciesBadRequest) String added in v0.2.27

type UpdatePreventionPoliciesForbidden

type UpdatePreventionPoliciesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaErrorsOnly
}

UpdatePreventionPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdatePreventionPoliciesForbidden

func NewUpdatePreventionPoliciesForbidden() *UpdatePreventionPoliciesForbidden

NewUpdatePreventionPoliciesForbidden creates a UpdatePreventionPoliciesForbidden with default headers values

func (*UpdatePreventionPoliciesForbidden) Code added in v0.2.33

Code gets the status code for the update prevention policies forbidden response

func (*UpdatePreventionPoliciesForbidden) Error

func (*UpdatePreventionPoliciesForbidden) GetPayload

func (*UpdatePreventionPoliciesForbidden) IsClientError added in v0.2.27

func (o *UpdatePreventionPoliciesForbidden) IsClientError() bool

IsClientError returns true when this update prevention policies forbidden response has a 4xx status code

func (*UpdatePreventionPoliciesForbidden) IsCode added in v0.2.27

func (o *UpdatePreventionPoliciesForbidden) IsCode(code int) bool

IsCode returns true when this update prevention policies forbidden response a status code equal to that given

func (*UpdatePreventionPoliciesForbidden) IsRedirect added in v0.2.27

func (o *UpdatePreventionPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this update prevention policies forbidden response has a 3xx status code

func (*UpdatePreventionPoliciesForbidden) IsServerError added in v0.2.27

func (o *UpdatePreventionPoliciesForbidden) IsServerError() bool

IsServerError returns true when this update prevention policies forbidden response has a 5xx status code

func (*UpdatePreventionPoliciesForbidden) IsSuccess added in v0.2.27

func (o *UpdatePreventionPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this update prevention policies forbidden response has a 2xx status code

func (*UpdatePreventionPoliciesForbidden) String added in v0.2.27

type UpdatePreventionPoliciesInternalServerError

type UpdatePreventionPoliciesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

UpdatePreventionPoliciesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUpdatePreventionPoliciesInternalServerError

func NewUpdatePreventionPoliciesInternalServerError() *UpdatePreventionPoliciesInternalServerError

NewUpdatePreventionPoliciesInternalServerError creates a UpdatePreventionPoliciesInternalServerError with default headers values

func (*UpdatePreventionPoliciesInternalServerError) Code added in v0.2.33

Code gets the status code for the update prevention policies internal server error response

func (*UpdatePreventionPoliciesInternalServerError) Error

func (*UpdatePreventionPoliciesInternalServerError) GetPayload

func (*UpdatePreventionPoliciesInternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this update prevention policies internal server error response has a 4xx status code

func (*UpdatePreventionPoliciesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this update prevention policies internal server error response a status code equal to that given

func (*UpdatePreventionPoliciesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this update prevention policies internal server error response has a 3xx status code

func (*UpdatePreventionPoliciesInternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this update prevention policies internal server error response has a 5xx status code

func (*UpdatePreventionPoliciesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this update prevention policies internal server error response has a 2xx status code

func (*UpdatePreventionPoliciesInternalServerError) String added in v0.2.27

type UpdatePreventionPoliciesNotFound

type UpdatePreventionPoliciesNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

UpdatePreventionPoliciesNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdatePreventionPoliciesNotFound

func NewUpdatePreventionPoliciesNotFound() *UpdatePreventionPoliciesNotFound

NewUpdatePreventionPoliciesNotFound creates a UpdatePreventionPoliciesNotFound with default headers values

func (*UpdatePreventionPoliciesNotFound) Code added in v0.2.33

Code gets the status code for the update prevention policies not found response

func (*UpdatePreventionPoliciesNotFound) Error

func (*UpdatePreventionPoliciesNotFound) GetPayload

func (*UpdatePreventionPoliciesNotFound) IsClientError added in v0.2.27

func (o *UpdatePreventionPoliciesNotFound) IsClientError() bool

IsClientError returns true when this update prevention policies not found response has a 4xx status code

func (*UpdatePreventionPoliciesNotFound) IsCode added in v0.2.27

func (o *UpdatePreventionPoliciesNotFound) IsCode(code int) bool

IsCode returns true when this update prevention policies not found response a status code equal to that given

func (*UpdatePreventionPoliciesNotFound) IsRedirect added in v0.2.27

func (o *UpdatePreventionPoliciesNotFound) IsRedirect() bool

IsRedirect returns true when this update prevention policies not found response has a 3xx status code

func (*UpdatePreventionPoliciesNotFound) IsServerError added in v0.2.27

func (o *UpdatePreventionPoliciesNotFound) IsServerError() bool

IsServerError returns true when this update prevention policies not found response has a 5xx status code

func (*UpdatePreventionPoliciesNotFound) IsSuccess added in v0.2.27

func (o *UpdatePreventionPoliciesNotFound) IsSuccess() bool

IsSuccess returns true when this update prevention policies not found response has a 2xx status code

func (*UpdatePreventionPoliciesNotFound) String added in v0.2.27

type UpdatePreventionPoliciesOK

type UpdatePreventionPoliciesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.PreventionRespV1
}

UpdatePreventionPoliciesOK describes a response with status code 200, with default header values.

OK

func NewUpdatePreventionPoliciesOK

func NewUpdatePreventionPoliciesOK() *UpdatePreventionPoliciesOK

NewUpdatePreventionPoliciesOK creates a UpdatePreventionPoliciesOK with default headers values

func (*UpdatePreventionPoliciesOK) Code added in v0.2.33

func (o *UpdatePreventionPoliciesOK) Code() int

Code gets the status code for the update prevention policies o k response

func (*UpdatePreventionPoliciesOK) Error

func (*UpdatePreventionPoliciesOK) GetPayload

func (*UpdatePreventionPoliciesOK) IsClientError added in v0.2.27

func (o *UpdatePreventionPoliciesOK) IsClientError() bool

IsClientError returns true when this update prevention policies o k response has a 4xx status code

func (*UpdatePreventionPoliciesOK) IsCode added in v0.2.27

func (o *UpdatePreventionPoliciesOK) IsCode(code int) bool

IsCode returns true when this update prevention policies o k response a status code equal to that given

func (*UpdatePreventionPoliciesOK) IsRedirect added in v0.2.27

func (o *UpdatePreventionPoliciesOK) IsRedirect() bool

IsRedirect returns true when this update prevention policies o k response has a 3xx status code

func (*UpdatePreventionPoliciesOK) IsServerError added in v0.2.27

func (o *UpdatePreventionPoliciesOK) IsServerError() bool

IsServerError returns true when this update prevention policies o k response has a 5xx status code

func (*UpdatePreventionPoliciesOK) IsSuccess added in v0.2.27

func (o *UpdatePreventionPoliciesOK) IsSuccess() bool

IsSuccess returns true when this update prevention policies o k response has a 2xx status code

func (*UpdatePreventionPoliciesOK) String added in v0.2.27

func (o *UpdatePreventionPoliciesOK) String() string

type UpdatePreventionPoliciesParams

type UpdatePreventionPoliciesParams struct {

	// Body.
	Body *models.PreventionUpdatePoliciesReqV1

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

UpdatePreventionPoliciesParams contains all the parameters to send to the API endpoint

for the update prevention policies operation.

Typically these are written to a http.Request.

func NewUpdatePreventionPoliciesParams

func NewUpdatePreventionPoliciesParams() *UpdatePreventionPoliciesParams

NewUpdatePreventionPoliciesParams creates a new UpdatePreventionPoliciesParams 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 NewUpdatePreventionPoliciesParamsWithContext

func NewUpdatePreventionPoliciesParamsWithContext(ctx context.Context) *UpdatePreventionPoliciesParams

NewUpdatePreventionPoliciesParamsWithContext creates a new UpdatePreventionPoliciesParams object with the ability to set a context for a request.

func NewUpdatePreventionPoliciesParamsWithHTTPClient

func NewUpdatePreventionPoliciesParamsWithHTTPClient(client *http.Client) *UpdatePreventionPoliciesParams

NewUpdatePreventionPoliciesParamsWithHTTPClient creates a new UpdatePreventionPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePreventionPoliciesParamsWithTimeout

func NewUpdatePreventionPoliciesParamsWithTimeout(timeout time.Duration) *UpdatePreventionPoliciesParams

NewUpdatePreventionPoliciesParamsWithTimeout creates a new UpdatePreventionPoliciesParams object with the ability to set a timeout on a request.

func (*UpdatePreventionPoliciesParams) SetBody

SetBody adds the body to the update prevention policies params

func (*UpdatePreventionPoliciesParams) SetContext

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

SetContext adds the context to the update prevention policies params

func (*UpdatePreventionPoliciesParams) SetDefaults

func (o *UpdatePreventionPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the update prevention policies params (not the query body).

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

func (*UpdatePreventionPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update prevention policies params

func (*UpdatePreventionPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the update prevention policies params

func (*UpdatePreventionPoliciesParams) WithBody

WithBody adds the body to the update prevention policies params

func (*UpdatePreventionPoliciesParams) WithContext

WithContext adds the context to the update prevention policies params

func (*UpdatePreventionPoliciesParams) WithDefaults

WithDefaults hydrates default values in the update prevention policies params (not the query body).

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

func (*UpdatePreventionPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update prevention policies params

func (*UpdatePreventionPoliciesParams) WithTimeout

WithTimeout adds the timeout to the update prevention policies params

func (*UpdatePreventionPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePreventionPoliciesReader

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

UpdatePreventionPoliciesReader is a Reader for the UpdatePreventionPolicies structure.

func (*UpdatePreventionPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePreventionPoliciesTooManyRequests

type UpdatePreventionPoliciesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UpdatePreventionPoliciesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdatePreventionPoliciesTooManyRequests

func NewUpdatePreventionPoliciesTooManyRequests() *UpdatePreventionPoliciesTooManyRequests

NewUpdatePreventionPoliciesTooManyRequests creates a UpdatePreventionPoliciesTooManyRequests with default headers values

func (*UpdatePreventionPoliciesTooManyRequests) Code added in v0.2.33

Code gets the status code for the update prevention policies too many requests response

func (*UpdatePreventionPoliciesTooManyRequests) Error

func (*UpdatePreventionPoliciesTooManyRequests) GetPayload

func (*UpdatePreventionPoliciesTooManyRequests) IsClientError added in v0.2.27

func (o *UpdatePreventionPoliciesTooManyRequests) IsClientError() bool

IsClientError returns true when this update prevention policies too many requests response has a 4xx status code

func (*UpdatePreventionPoliciesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this update prevention policies too many requests response a status code equal to that given

func (*UpdatePreventionPoliciesTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this update prevention policies too many requests response has a 3xx status code

func (*UpdatePreventionPoliciesTooManyRequests) IsServerError added in v0.2.27

func (o *UpdatePreventionPoliciesTooManyRequests) IsServerError() bool

IsServerError returns true when this update prevention policies too many requests response has a 5xx status code

func (*UpdatePreventionPoliciesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this update prevention policies too many requests response has a 2xx status code

func (*UpdatePreventionPoliciesTooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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