correlation_rules_admin

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 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 correlation rules admin API

func (*Client) EntitiesRulesOwnershipPutV1

func (a *Client) EntitiesRulesOwnershipPutV1(params *EntitiesRulesOwnershipPutV1Params, opts ...ClientOption) (*EntitiesRulesOwnershipPutV1OK, error)

EntitiesRulesOwnershipPutV1 changes the owner of an existing correlation rule

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	EntitiesRulesOwnershipPutV1(params *EntitiesRulesOwnershipPutV1Params, opts ...ClientOption) (*EntitiesRulesOwnershipPutV1OK, 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 correlation rules admin API client.

type EntitiesRulesOwnershipPutV1BadRequest

type EntitiesRulesOwnershipPutV1BadRequest 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.APIGetEntitiesRulesResponseV1
}

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

Bad Request

func NewEntitiesRulesOwnershipPutV1BadRequest

func NewEntitiesRulesOwnershipPutV1BadRequest() *EntitiesRulesOwnershipPutV1BadRequest

NewEntitiesRulesOwnershipPutV1BadRequest creates a EntitiesRulesOwnershipPutV1BadRequest with default headers values

func (*EntitiesRulesOwnershipPutV1BadRequest) Code

Code gets the status code for the entities rules ownership put v1 bad request response

func (*EntitiesRulesOwnershipPutV1BadRequest) Error

func (*EntitiesRulesOwnershipPutV1BadRequest) GetPayload

func (*EntitiesRulesOwnershipPutV1BadRequest) IsClientError

func (o *EntitiesRulesOwnershipPutV1BadRequest) IsClientError() bool

IsClientError returns true when this entities rules ownership put v1 bad request response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1BadRequest) IsCode

IsCode returns true when this entities rules ownership put v1 bad request response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1BadRequest) IsRedirect

IsRedirect returns true when this entities rules ownership put v1 bad request response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1BadRequest) IsServerError

func (o *EntitiesRulesOwnershipPutV1BadRequest) IsServerError() bool

IsServerError returns true when this entities rules ownership put v1 bad request response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1BadRequest) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 bad request response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1BadRequest) String

type EntitiesRulesOwnershipPutV1Forbidden

type EntitiesRulesOwnershipPutV1Forbidden 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.APIGetEntitiesRulesResponseV1
}

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

Forbidden

func NewEntitiesRulesOwnershipPutV1Forbidden

func NewEntitiesRulesOwnershipPutV1Forbidden() *EntitiesRulesOwnershipPutV1Forbidden

NewEntitiesRulesOwnershipPutV1Forbidden creates a EntitiesRulesOwnershipPutV1Forbidden with default headers values

func (*EntitiesRulesOwnershipPutV1Forbidden) Code

Code gets the status code for the entities rules ownership put v1 forbidden response

func (*EntitiesRulesOwnershipPutV1Forbidden) Error

func (*EntitiesRulesOwnershipPutV1Forbidden) GetPayload

func (*EntitiesRulesOwnershipPutV1Forbidden) IsClientError

func (o *EntitiesRulesOwnershipPutV1Forbidden) IsClientError() bool

IsClientError returns true when this entities rules ownership put v1 forbidden response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1Forbidden) IsCode

IsCode returns true when this entities rules ownership put v1 forbidden response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1Forbidden) IsRedirect

IsRedirect returns true when this entities rules ownership put v1 forbidden response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1Forbidden) IsServerError

func (o *EntitiesRulesOwnershipPutV1Forbidden) IsServerError() bool

IsServerError returns true when this entities rules ownership put v1 forbidden response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1Forbidden) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 forbidden response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1Forbidden) String

type EntitiesRulesOwnershipPutV1InternalServerError

type EntitiesRulesOwnershipPutV1InternalServerError 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.APIGetEntitiesRulesResponseV1
}

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

Internal Server Error

func NewEntitiesRulesOwnershipPutV1InternalServerError

func NewEntitiesRulesOwnershipPutV1InternalServerError() *EntitiesRulesOwnershipPutV1InternalServerError

NewEntitiesRulesOwnershipPutV1InternalServerError creates a EntitiesRulesOwnershipPutV1InternalServerError with default headers values

func (*EntitiesRulesOwnershipPutV1InternalServerError) Code

Code gets the status code for the entities rules ownership put v1 internal server error response

func (*EntitiesRulesOwnershipPutV1InternalServerError) Error

func (*EntitiesRulesOwnershipPutV1InternalServerError) GetPayload

func (*EntitiesRulesOwnershipPutV1InternalServerError) IsClientError

IsClientError returns true when this entities rules ownership put v1 internal server error response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1InternalServerError) IsCode

IsCode returns true when this entities rules ownership put v1 internal server error response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1InternalServerError) IsRedirect

IsRedirect returns true when this entities rules ownership put v1 internal server error response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1InternalServerError) IsServerError

IsServerError returns true when this entities rules ownership put v1 internal server error response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1InternalServerError) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 internal server error response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1InternalServerError) String

type EntitiesRulesOwnershipPutV1NotFound

type EntitiesRulesOwnershipPutV1NotFound 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.APIGetEntitiesRulesResponseV1
}

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

Not Found

func NewEntitiesRulesOwnershipPutV1NotFound

func NewEntitiesRulesOwnershipPutV1NotFound() *EntitiesRulesOwnershipPutV1NotFound

NewEntitiesRulesOwnershipPutV1NotFound creates a EntitiesRulesOwnershipPutV1NotFound with default headers values

func (*EntitiesRulesOwnershipPutV1NotFound) Code

Code gets the status code for the entities rules ownership put v1 not found response

func (*EntitiesRulesOwnershipPutV1NotFound) Error

func (*EntitiesRulesOwnershipPutV1NotFound) GetPayload

func (*EntitiesRulesOwnershipPutV1NotFound) IsClientError

func (o *EntitiesRulesOwnershipPutV1NotFound) IsClientError() bool

IsClientError returns true when this entities rules ownership put v1 not found response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1NotFound) IsCode

IsCode returns true when this entities rules ownership put v1 not found response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1NotFound) IsRedirect

func (o *EntitiesRulesOwnershipPutV1NotFound) IsRedirect() bool

IsRedirect returns true when this entities rules ownership put v1 not found response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1NotFound) IsServerError

func (o *EntitiesRulesOwnershipPutV1NotFound) IsServerError() bool

IsServerError returns true when this entities rules ownership put v1 not found response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1NotFound) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 not found response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1NotFound) String

type EntitiesRulesOwnershipPutV1OK

type EntitiesRulesOwnershipPutV1OK 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.APIGetEntitiesRulesResponseV1
}

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

OK

func NewEntitiesRulesOwnershipPutV1OK

func NewEntitiesRulesOwnershipPutV1OK() *EntitiesRulesOwnershipPutV1OK

NewEntitiesRulesOwnershipPutV1OK creates a EntitiesRulesOwnershipPutV1OK with default headers values

func (*EntitiesRulesOwnershipPutV1OK) Code

Code gets the status code for the entities rules ownership put v1 o k response

func (*EntitiesRulesOwnershipPutV1OK) Error

func (*EntitiesRulesOwnershipPutV1OK) GetPayload

func (*EntitiesRulesOwnershipPutV1OK) IsClientError

func (o *EntitiesRulesOwnershipPutV1OK) IsClientError() bool

IsClientError returns true when this entities rules ownership put v1 o k response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1OK) IsCode

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

IsCode returns true when this entities rules ownership put v1 o k response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1OK) IsRedirect

func (o *EntitiesRulesOwnershipPutV1OK) IsRedirect() bool

IsRedirect returns true when this entities rules ownership put v1 o k response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1OK) IsServerError

func (o *EntitiesRulesOwnershipPutV1OK) IsServerError() bool

IsServerError returns true when this entities rules ownership put v1 o k response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1OK) IsSuccess

func (o *EntitiesRulesOwnershipPutV1OK) IsSuccess() bool

IsSuccess returns true when this entities rules ownership put v1 o k response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1OK) String

type EntitiesRulesOwnershipPutV1Params

type EntitiesRulesOwnershipPutV1Params struct {

	// Body.
	Body *models.APIRuleOwnerPutRequestV1

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

EntitiesRulesOwnershipPutV1Params contains all the parameters to send to the API endpoint

for the entities rules ownership put v1 operation.

Typically these are written to a http.Request.

func NewEntitiesRulesOwnershipPutV1Params

func NewEntitiesRulesOwnershipPutV1Params() *EntitiesRulesOwnershipPutV1Params

NewEntitiesRulesOwnershipPutV1Params creates a new EntitiesRulesOwnershipPutV1Params 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 NewEntitiesRulesOwnershipPutV1ParamsWithContext

func NewEntitiesRulesOwnershipPutV1ParamsWithContext(ctx context.Context) *EntitiesRulesOwnershipPutV1Params

NewEntitiesRulesOwnershipPutV1ParamsWithContext creates a new EntitiesRulesOwnershipPutV1Params object with the ability to set a context for a request.

func NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient

func NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient(client *http.Client) *EntitiesRulesOwnershipPutV1Params

NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient creates a new EntitiesRulesOwnershipPutV1Params object with the ability to set a custom HTTPClient for a request.

func NewEntitiesRulesOwnershipPutV1ParamsWithTimeout

func NewEntitiesRulesOwnershipPutV1ParamsWithTimeout(timeout time.Duration) *EntitiesRulesOwnershipPutV1Params

NewEntitiesRulesOwnershipPutV1ParamsWithTimeout creates a new EntitiesRulesOwnershipPutV1Params object with the ability to set a timeout on a request.

func (*EntitiesRulesOwnershipPutV1Params) SetBody

SetBody adds the body to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) SetContext

SetContext adds the context to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) SetDefaults

func (o *EntitiesRulesOwnershipPutV1Params) SetDefaults()

SetDefaults hydrates default values in the entities rules ownership put v1 params (not the query body).

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

func (*EntitiesRulesOwnershipPutV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) SetTimeout

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

SetTimeout adds the timeout to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) WithBody

WithBody adds the body to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) WithContext

WithContext adds the context to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) WithDefaults

WithDefaults hydrates default values in the entities rules ownership put v1 params (not the query body).

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

func (*EntitiesRulesOwnershipPutV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) WithTimeout

WithTimeout adds the timeout to the entities rules ownership put v1 params

func (*EntitiesRulesOwnershipPutV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type EntitiesRulesOwnershipPutV1Reader

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

EntitiesRulesOwnershipPutV1Reader is a Reader for the EntitiesRulesOwnershipPutV1 structure.

func (*EntitiesRulesOwnershipPutV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EntitiesRulesOwnershipPutV1TooManyRequests

type EntitiesRulesOwnershipPutV1TooManyRequests 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
}

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

Too Many Requests

func NewEntitiesRulesOwnershipPutV1TooManyRequests

func NewEntitiesRulesOwnershipPutV1TooManyRequests() *EntitiesRulesOwnershipPutV1TooManyRequests

NewEntitiesRulesOwnershipPutV1TooManyRequests creates a EntitiesRulesOwnershipPutV1TooManyRequests with default headers values

func (*EntitiesRulesOwnershipPutV1TooManyRequests) Code

Code gets the status code for the entities rules ownership put v1 too many requests response

func (*EntitiesRulesOwnershipPutV1TooManyRequests) Error

func (*EntitiesRulesOwnershipPutV1TooManyRequests) GetPayload

func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsClientError

IsClientError returns true when this entities rules ownership put v1 too many requests response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsCode

IsCode returns true when this entities rules ownership put v1 too many requests response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsRedirect

IsRedirect returns true when this entities rules ownership put v1 too many requests response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsServerError

IsServerError returns true when this entities rules ownership put v1 too many requests response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 too many requests response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1TooManyRequests) String

type EntitiesRulesOwnershipPutV1Unauthorized

type EntitiesRulesOwnershipPutV1Unauthorized 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.APIGetEntitiesRulesResponseV1
}

EntitiesRulesOwnershipPutV1Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewEntitiesRulesOwnershipPutV1Unauthorized

func NewEntitiesRulesOwnershipPutV1Unauthorized() *EntitiesRulesOwnershipPutV1Unauthorized

NewEntitiesRulesOwnershipPutV1Unauthorized creates a EntitiesRulesOwnershipPutV1Unauthorized with default headers values

func (*EntitiesRulesOwnershipPutV1Unauthorized) Code

Code gets the status code for the entities rules ownership put v1 unauthorized response

func (*EntitiesRulesOwnershipPutV1Unauthorized) Error

func (*EntitiesRulesOwnershipPutV1Unauthorized) GetPayload

func (*EntitiesRulesOwnershipPutV1Unauthorized) IsClientError

func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsClientError() bool

IsClientError returns true when this entities rules ownership put v1 unauthorized response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1Unauthorized) IsCode

IsCode returns true when this entities rules ownership put v1 unauthorized response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1Unauthorized) IsRedirect

IsRedirect returns true when this entities rules ownership put v1 unauthorized response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1Unauthorized) IsServerError

func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsServerError() bool

IsServerError returns true when this entities rules ownership put v1 unauthorized response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1Unauthorized) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 unauthorized response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1Unauthorized) String

type EntitiesRulesOwnershipPutV1UnprocessableEntity

type EntitiesRulesOwnershipPutV1UnprocessableEntity 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.APIGetEntitiesRulesResponseV1
}

EntitiesRulesOwnershipPutV1UnprocessableEntity describes a response with status code 422, with default header values.

Customer has reached the limit of active rules

func NewEntitiesRulesOwnershipPutV1UnprocessableEntity

func NewEntitiesRulesOwnershipPutV1UnprocessableEntity() *EntitiesRulesOwnershipPutV1UnprocessableEntity

NewEntitiesRulesOwnershipPutV1UnprocessableEntity creates a EntitiesRulesOwnershipPutV1UnprocessableEntity with default headers values

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) Code

Code gets the status code for the entities rules ownership put v1 unprocessable entity response

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) Error

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) GetPayload

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsClientError

IsClientError returns true when this entities rules ownership put v1 unprocessable entity response has a 4xx status code

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsCode

IsCode returns true when this entities rules ownership put v1 unprocessable entity response a status code equal to that given

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsRedirect

IsRedirect returns true when this entities rules ownership put v1 unprocessable entity response has a 3xx status code

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsServerError

IsServerError returns true when this entities rules ownership put v1 unprocessable entity response has a 5xx status code

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsSuccess

IsSuccess returns true when this entities rules ownership put v1 unprocessable entity response has a 2xx status code

func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) String

Jump to

Keyboard shortcuts

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