alerts

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 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 alerts API

func (*Client) GetAggregateV2 added in v0.5.0

func (a *Client) GetAggregateV2(params *GetAggregateV2Params, opts ...ClientOption) (*GetAggregateV2OK, error)

GetAggregateV2 retrieves aggregate values for alerts across all c i ds

func (*Client) GetQueriesAlertsV1

func (a *Client) GetQueriesAlertsV1(params *GetQueriesAlertsV1Params, opts ...ClientOption) (*GetQueriesAlertsV1OK, error)

GetQueriesAlertsV1 retrieves all alerts ids that match a given query

func (*Client) GetV2 added in v0.5.0

func (a *Client) GetV2(params *GetV2Params, opts ...ClientOption) (*GetV2OK, error)

GetV2 retrieves all alerts given their composite ids

func (*Client) PatchEntitiesAlertsV2 added in v0.2.24

func (a *Client) PatchEntitiesAlertsV2(params *PatchEntitiesAlertsV2Params, opts ...ClientOption) (*PatchEntitiesAlertsV2OK, error)

PatchEntitiesAlertsV2 performs actions on alerts identified by composite ID s in request each action has a name and a description which describes what the action does if a request adds and removes tag in a single request the order of processing would be to remove tags before adding new ones in

func (*Client) PostAggregatesAlertsV1

func (a *Client) PostAggregatesAlertsV1(params *PostAggregatesAlertsV1Params, opts ...ClientOption) (*PostAggregatesAlertsV1OK, error)

PostAggregatesAlertsV1 retrieves aggregate values for alerts across all c i ds

func (*Client) PostEntitiesAlertsV1

func (a *Client) PostEntitiesAlertsV1(params *PostEntitiesAlertsV1Params, opts ...ClientOption) (*PostEntitiesAlertsV1OK, error)

PostEntitiesAlertsV1 retrieves all alerts given their ids

func (*Client) QueryV2 added in v0.5.0

func (a *Client) QueryV2(params *QueryV2Params, opts ...ClientOption) (*QueryV2OK, error)

QueryV2 retrieves all alerts ids that match a given query

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateV3 added in v0.5.0

func (a *Client) UpdateV3(params *UpdateV3Params, opts ...ClientOption) (*UpdateV3OK, error)

UpdateV3 performs actions on alerts identified by composite ID s in request each action has a name and a description which describes what the action does if a request adds and removes tag in a single request the order of processing would be to remove tags before adding new ones in

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAggregateV2(params *GetAggregateV2Params, opts ...ClientOption) (*GetAggregateV2OK, error)

	GetQueriesAlertsV1(params *GetQueriesAlertsV1Params, opts ...ClientOption) (*GetQueriesAlertsV1OK, error)

	GetV2(params *GetV2Params, opts ...ClientOption) (*GetV2OK, error)

	PatchEntitiesAlertsV2(params *PatchEntitiesAlertsV2Params, opts ...ClientOption) (*PatchEntitiesAlertsV2OK, error)

	PostAggregatesAlertsV1(params *PostAggregatesAlertsV1Params, opts ...ClientOption) (*PostAggregatesAlertsV1OK, error)

	PostEntitiesAlertsV1(params *PostEntitiesAlertsV1Params, opts ...ClientOption) (*PostEntitiesAlertsV1OK, error)

	QueryV2(params *QueryV2Params, opts ...ClientOption) (*QueryV2OK, error)

	UpdateV3(params *UpdateV3Params, opts ...ClientOption) (*UpdateV3OK, 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 alerts API client.

type GetAggregateV2BadRequest added in v0.5.0

type GetAggregateV2BadRequest 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.DetectsapiAggregatesResponse
}

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

Bad Request

func NewGetAggregateV2BadRequest added in v0.5.0

func NewGetAggregateV2BadRequest() *GetAggregateV2BadRequest

NewGetAggregateV2BadRequest creates a GetAggregateV2BadRequest with default headers values

func (*GetAggregateV2BadRequest) Code added in v0.5.0

func (o *GetAggregateV2BadRequest) Code() int

Code gets the status code for the get aggregate v2 bad request response

func (*GetAggregateV2BadRequest) Error added in v0.5.0

func (o *GetAggregateV2BadRequest) Error() string

func (*GetAggregateV2BadRequest) GetPayload added in v0.5.0

func (*GetAggregateV2BadRequest) IsClientError added in v0.5.0

func (o *GetAggregateV2BadRequest) IsClientError() bool

IsClientError returns true when this get aggregate v2 bad request response has a 4xx status code

func (*GetAggregateV2BadRequest) IsCode added in v0.5.0

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

IsCode returns true when this get aggregate v2 bad request response a status code equal to that given

func (*GetAggregateV2BadRequest) IsRedirect added in v0.5.0

func (o *GetAggregateV2BadRequest) IsRedirect() bool

IsRedirect returns true when this get aggregate v2 bad request response has a 3xx status code

func (*GetAggregateV2BadRequest) IsServerError added in v0.5.0

func (o *GetAggregateV2BadRequest) IsServerError() bool

IsServerError returns true when this get aggregate v2 bad request response has a 5xx status code

func (*GetAggregateV2BadRequest) IsSuccess added in v0.5.0

func (o *GetAggregateV2BadRequest) IsSuccess() bool

IsSuccess returns true when this get aggregate v2 bad request response has a 2xx status code

func (*GetAggregateV2BadRequest) String added in v0.5.0

func (o *GetAggregateV2BadRequest) String() string

type GetAggregateV2Forbidden added in v0.5.0

type GetAggregateV2Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewGetAggregateV2Forbidden added in v0.5.0

func NewGetAggregateV2Forbidden() *GetAggregateV2Forbidden

NewGetAggregateV2Forbidden creates a GetAggregateV2Forbidden with default headers values

func (*GetAggregateV2Forbidden) Code added in v0.5.0

func (o *GetAggregateV2Forbidden) Code() int

Code gets the status code for the get aggregate v2 forbidden response

func (*GetAggregateV2Forbidden) Error added in v0.5.0

func (o *GetAggregateV2Forbidden) Error() string

func (*GetAggregateV2Forbidden) GetPayload added in v0.5.0

func (*GetAggregateV2Forbidden) IsClientError added in v0.5.0

func (o *GetAggregateV2Forbidden) IsClientError() bool

IsClientError returns true when this get aggregate v2 forbidden response has a 4xx status code

func (*GetAggregateV2Forbidden) IsCode added in v0.5.0

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

IsCode returns true when this get aggregate v2 forbidden response a status code equal to that given

func (*GetAggregateV2Forbidden) IsRedirect added in v0.5.0

func (o *GetAggregateV2Forbidden) IsRedirect() bool

IsRedirect returns true when this get aggregate v2 forbidden response has a 3xx status code

func (*GetAggregateV2Forbidden) IsServerError added in v0.5.0

func (o *GetAggregateV2Forbidden) IsServerError() bool

IsServerError returns true when this get aggregate v2 forbidden response has a 5xx status code

func (*GetAggregateV2Forbidden) IsSuccess added in v0.5.0

func (o *GetAggregateV2Forbidden) IsSuccess() bool

IsSuccess returns true when this get aggregate v2 forbidden response has a 2xx status code

func (*GetAggregateV2Forbidden) String added in v0.5.0

func (o *GetAggregateV2Forbidden) String() string

type GetAggregateV2InternalServerError added in v0.5.0

type GetAggregateV2InternalServerError 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.DetectsapiAggregatesResponse
}

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

Internal Server Error

func NewGetAggregateV2InternalServerError added in v0.5.0

func NewGetAggregateV2InternalServerError() *GetAggregateV2InternalServerError

NewGetAggregateV2InternalServerError creates a GetAggregateV2InternalServerError with default headers values

func (*GetAggregateV2InternalServerError) Code added in v0.5.0

Code gets the status code for the get aggregate v2 internal server error response

func (*GetAggregateV2InternalServerError) Error added in v0.5.0

func (*GetAggregateV2InternalServerError) GetPayload added in v0.5.0

func (*GetAggregateV2InternalServerError) IsClientError added in v0.5.0

func (o *GetAggregateV2InternalServerError) IsClientError() bool

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

func (*GetAggregateV2InternalServerError) IsCode added in v0.5.0

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

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

func (*GetAggregateV2InternalServerError) IsRedirect added in v0.5.0

func (o *GetAggregateV2InternalServerError) IsRedirect() bool

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

func (*GetAggregateV2InternalServerError) IsServerError added in v0.5.0

func (o *GetAggregateV2InternalServerError) IsServerError() bool

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

func (*GetAggregateV2InternalServerError) IsSuccess added in v0.5.0

func (o *GetAggregateV2InternalServerError) IsSuccess() bool

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

func (*GetAggregateV2InternalServerError) String added in v0.5.0

type GetAggregateV2OK added in v0.5.0

type GetAggregateV2OK 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.DetectsapiAggregatesResponse
}

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

OK

func NewGetAggregateV2OK added in v0.5.0

func NewGetAggregateV2OK() *GetAggregateV2OK

NewGetAggregateV2OK creates a GetAggregateV2OK with default headers values

func (*GetAggregateV2OK) Code added in v0.5.0

func (o *GetAggregateV2OK) Code() int

Code gets the status code for the get aggregate v2 o k response

func (*GetAggregateV2OK) Error added in v0.5.0

func (o *GetAggregateV2OK) Error() string

func (*GetAggregateV2OK) GetPayload added in v0.5.0

func (*GetAggregateV2OK) IsClientError added in v0.5.0

func (o *GetAggregateV2OK) IsClientError() bool

IsClientError returns true when this get aggregate v2 o k response has a 4xx status code

func (*GetAggregateV2OK) IsCode added in v0.5.0

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

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

func (*GetAggregateV2OK) IsRedirect added in v0.5.0

func (o *GetAggregateV2OK) IsRedirect() bool

IsRedirect returns true when this get aggregate v2 o k response has a 3xx status code

func (*GetAggregateV2OK) IsServerError added in v0.5.0

func (o *GetAggregateV2OK) IsServerError() bool

IsServerError returns true when this get aggregate v2 o k response has a 5xx status code

func (*GetAggregateV2OK) IsSuccess added in v0.5.0

func (o *GetAggregateV2OK) IsSuccess() bool

IsSuccess returns true when this get aggregate v2 o k response has a 2xx status code

func (*GetAggregateV2OK) String added in v0.5.0

func (o *GetAggregateV2OK) String() string

type GetAggregateV2Params added in v0.5.0

type GetAggregateV2Params struct {

	/* Body.

	   request body takes a list of aggregate-alert query requests
	*/
	Body []*models.DetectsapiAggregateAlertQueryRequest

	/* IncludeHidden.

	   allows previously hidden alerts to be retrieved

	   Default: true
	*/
	IncludeHidden *bool

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

GetAggregateV2Params contains all the parameters to send to the API endpoint

for the get aggregate v2 operation.

Typically these are written to a http.Request.

func NewGetAggregateV2Params added in v0.5.0

func NewGetAggregateV2Params() *GetAggregateV2Params

NewGetAggregateV2Params creates a new GetAggregateV2Params 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 NewGetAggregateV2ParamsWithContext added in v0.5.0

func NewGetAggregateV2ParamsWithContext(ctx context.Context) *GetAggregateV2Params

NewGetAggregateV2ParamsWithContext creates a new GetAggregateV2Params object with the ability to set a context for a request.

func NewGetAggregateV2ParamsWithHTTPClient added in v0.5.0

func NewGetAggregateV2ParamsWithHTTPClient(client *http.Client) *GetAggregateV2Params

NewGetAggregateV2ParamsWithHTTPClient creates a new GetAggregateV2Params object with the ability to set a custom HTTPClient for a request.

func NewGetAggregateV2ParamsWithTimeout added in v0.5.0

func NewGetAggregateV2ParamsWithTimeout(timeout time.Duration) *GetAggregateV2Params

NewGetAggregateV2ParamsWithTimeout creates a new GetAggregateV2Params object with the ability to set a timeout on a request.

func (*GetAggregateV2Params) SetBody added in v0.5.0

SetBody adds the body to the get aggregate v2 params

func (*GetAggregateV2Params) SetContext added in v0.5.0

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

SetContext adds the context to the get aggregate v2 params

func (*GetAggregateV2Params) SetDefaults added in v0.5.0

func (o *GetAggregateV2Params) SetDefaults()

SetDefaults hydrates default values in the get aggregate v2 params (not the query body).

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

func (*GetAggregateV2Params) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the get aggregate v2 params

func (*GetAggregateV2Params) SetIncludeHidden added in v0.6.0

func (o *GetAggregateV2Params) SetIncludeHidden(includeHidden *bool)

SetIncludeHidden adds the includeHidden to the get aggregate v2 params

func (*GetAggregateV2Params) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the get aggregate v2 params

func (*GetAggregateV2Params) WithBody added in v0.5.0

WithBody adds the body to the get aggregate v2 params

func (*GetAggregateV2Params) WithContext added in v0.5.0

WithContext adds the context to the get aggregate v2 params

func (*GetAggregateV2Params) WithDefaults added in v0.5.0

func (o *GetAggregateV2Params) WithDefaults() *GetAggregateV2Params

WithDefaults hydrates default values in the get aggregate v2 params (not the query body).

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

func (*GetAggregateV2Params) WithHTTPClient added in v0.5.0

func (o *GetAggregateV2Params) WithHTTPClient(client *http.Client) *GetAggregateV2Params

WithHTTPClient adds the HTTPClient to the get aggregate v2 params

func (*GetAggregateV2Params) WithIncludeHidden added in v0.6.0

func (o *GetAggregateV2Params) WithIncludeHidden(includeHidden *bool) *GetAggregateV2Params

WithIncludeHidden adds the includeHidden to the get aggregate v2 params

func (*GetAggregateV2Params) WithTimeout added in v0.5.0

func (o *GetAggregateV2Params) WithTimeout(timeout time.Duration) *GetAggregateV2Params

WithTimeout adds the timeout to the get aggregate v2 params

func (*GetAggregateV2Params) WriteToRequest added in v0.5.0

func (o *GetAggregateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAggregateV2Reader added in v0.5.0

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

GetAggregateV2Reader is a Reader for the GetAggregateV2 structure.

func (*GetAggregateV2Reader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type GetAggregateV2TooManyRequests added in v0.5.0

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

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

Too Many Requests

func NewGetAggregateV2TooManyRequests added in v0.5.0

func NewGetAggregateV2TooManyRequests() *GetAggregateV2TooManyRequests

NewGetAggregateV2TooManyRequests creates a GetAggregateV2TooManyRequests with default headers values

func (*GetAggregateV2TooManyRequests) Code added in v0.5.0

Code gets the status code for the get aggregate v2 too many requests response

func (*GetAggregateV2TooManyRequests) Error added in v0.5.0

func (*GetAggregateV2TooManyRequests) GetPayload added in v0.5.0

func (*GetAggregateV2TooManyRequests) IsClientError added in v0.5.0

func (o *GetAggregateV2TooManyRequests) IsClientError() bool

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

func (*GetAggregateV2TooManyRequests) IsCode added in v0.5.0

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

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

func (*GetAggregateV2TooManyRequests) IsRedirect added in v0.5.0

func (o *GetAggregateV2TooManyRequests) IsRedirect() bool

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

func (*GetAggregateV2TooManyRequests) IsServerError added in v0.5.0

func (o *GetAggregateV2TooManyRequests) IsServerError() bool

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

func (*GetAggregateV2TooManyRequests) IsSuccess added in v0.5.0

func (o *GetAggregateV2TooManyRequests) IsSuccess() bool

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

func (*GetAggregateV2TooManyRequests) String added in v0.5.0

type GetQueriesAlertsV1BadRequest

type GetQueriesAlertsV1BadRequest 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.DetectsapiAlertQueryResponse
}

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

Bad Request

func NewGetQueriesAlertsV1BadRequest

func NewGetQueriesAlertsV1BadRequest() *GetQueriesAlertsV1BadRequest

NewGetQueriesAlertsV1BadRequest creates a GetQueriesAlertsV1BadRequest with default headers values

func (*GetQueriesAlertsV1BadRequest) Code added in v0.2.33

Code gets the status code for the get queries alerts v1 bad request response

func (*GetQueriesAlertsV1BadRequest) Error

func (*GetQueriesAlertsV1BadRequest) GetPayload

func (*GetQueriesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsClientError() bool

IsClientError returns true when this get queries alerts v1 bad request response has a 4xx status code

func (*GetQueriesAlertsV1BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get queries alerts v1 bad request response a status code equal to that given

func (*GetQueriesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this get queries alerts v1 bad request response has a 3xx status code

func (*GetQueriesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsServerError() bool

IsServerError returns true when this get queries alerts v1 bad request response has a 5xx status code

func (*GetQueriesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this get queries alerts v1 bad request response has a 2xx status code

func (*GetQueriesAlertsV1BadRequest) String added in v0.2.27

type GetQueriesAlertsV1Forbidden

type GetQueriesAlertsV1Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewGetQueriesAlertsV1Forbidden

func NewGetQueriesAlertsV1Forbidden() *GetQueriesAlertsV1Forbidden

NewGetQueriesAlertsV1Forbidden creates a GetQueriesAlertsV1Forbidden with default headers values

func (*GetQueriesAlertsV1Forbidden) Code added in v0.2.33

func (o *GetQueriesAlertsV1Forbidden) Code() int

Code gets the status code for the get queries alerts v1 forbidden response

func (*GetQueriesAlertsV1Forbidden) Error

func (*GetQueriesAlertsV1Forbidden) GetPayload

func (*GetQueriesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsClientError() bool

IsClientError returns true when this get queries alerts v1 forbidden response has a 4xx status code

func (*GetQueriesAlertsV1Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this get queries alerts v1 forbidden response a status code equal to that given

func (*GetQueriesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get queries alerts v1 forbidden response has a 3xx status code

func (*GetQueriesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsServerError() bool

IsServerError returns true when this get queries alerts v1 forbidden response has a 5xx status code

func (*GetQueriesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get queries alerts v1 forbidden response has a 2xx status code

func (*GetQueriesAlertsV1Forbidden) String added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) String() string

type GetQueriesAlertsV1InternalServerError

type GetQueriesAlertsV1InternalServerError 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.DetectsapiAlertQueryResponse
}

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

Internal Server Error

func NewGetQueriesAlertsV1InternalServerError

func NewGetQueriesAlertsV1InternalServerError() *GetQueriesAlertsV1InternalServerError

NewGetQueriesAlertsV1InternalServerError creates a GetQueriesAlertsV1InternalServerError with default headers values

func (*GetQueriesAlertsV1InternalServerError) Code added in v0.2.33

Code gets the status code for the get queries alerts v1 internal server error response

func (*GetQueriesAlertsV1InternalServerError) Error

func (*GetQueriesAlertsV1InternalServerError) GetPayload

func (*GetQueriesAlertsV1InternalServerError) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1InternalServerError) IsClientError() bool

IsClientError returns true when this get queries alerts v1 internal server error response has a 4xx status code

func (*GetQueriesAlertsV1InternalServerError) IsCode added in v0.2.27

IsCode returns true when this get queries alerts v1 internal server error response a status code equal to that given

func (*GetQueriesAlertsV1InternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this get queries alerts v1 internal server error response has a 3xx status code

func (*GetQueriesAlertsV1InternalServerError) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1InternalServerError) IsServerError() bool

IsServerError returns true when this get queries alerts v1 internal server error response has a 5xx status code

func (*GetQueriesAlertsV1InternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this get queries alerts v1 internal server error response has a 2xx status code

func (*GetQueriesAlertsV1InternalServerError) String added in v0.2.27

type GetQueriesAlertsV1OK

type GetQueriesAlertsV1OK 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.DetectsapiAlertQueryResponse
}

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

OK

func NewGetQueriesAlertsV1OK

func NewGetQueriesAlertsV1OK() *GetQueriesAlertsV1OK

NewGetQueriesAlertsV1OK creates a GetQueriesAlertsV1OK with default headers values

func (*GetQueriesAlertsV1OK) Code added in v0.2.33

func (o *GetQueriesAlertsV1OK) Code() int

Code gets the status code for the get queries alerts v1 o k response

func (*GetQueriesAlertsV1OK) Error

func (o *GetQueriesAlertsV1OK) Error() string

func (*GetQueriesAlertsV1OK) GetPayload

func (*GetQueriesAlertsV1OK) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsClientError() bool

IsClientError returns true when this get queries alerts v1 o k response has a 4xx status code

func (*GetQueriesAlertsV1OK) IsCode added in v0.2.27

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

IsCode returns true when this get queries alerts v1 o k response a status code equal to that given

func (*GetQueriesAlertsV1OK) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsRedirect() bool

IsRedirect returns true when this get queries alerts v1 o k response has a 3xx status code

func (*GetQueriesAlertsV1OK) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsServerError() bool

IsServerError returns true when this get queries alerts v1 o k response has a 5xx status code

func (*GetQueriesAlertsV1OK) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsSuccess() bool

IsSuccess returns true when this get queries alerts v1 o k response has a 2xx status code

func (*GetQueriesAlertsV1OK) String added in v0.2.27

func (o *GetQueriesAlertsV1OK) String() string

type GetQueriesAlertsV1Params

type GetQueriesAlertsV1Params struct {

	/* Filter.

	     Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert
	An asterisk wildcard `*` includes all results.
	Empty value means to not filter on anything.
	Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ...
	Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ...
	Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp...
	All filter fields and operations support negation (!).


	The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
	*/
	Filter *string

	/* Limit.

	   The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Offset.

	   The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results.
	*/
	Offset *int64

	/* Q.

	   Search all detection metadata for the provided string
	*/
	Q *string

	/* Sort.

	     Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`.

	The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags
	If the fields are missing from the Alerts, the service will fallback to its default ordering
	*/
	Sort *string

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

GetQueriesAlertsV1Params contains all the parameters to send to the API endpoint

for the get queries alerts v1 operation.

Typically these are written to a http.Request.

func NewGetQueriesAlertsV1Params

func NewGetQueriesAlertsV1Params() *GetQueriesAlertsV1Params

NewGetQueriesAlertsV1Params creates a new GetQueriesAlertsV1Params 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 NewGetQueriesAlertsV1ParamsWithContext

func NewGetQueriesAlertsV1ParamsWithContext(ctx context.Context) *GetQueriesAlertsV1Params

NewGetQueriesAlertsV1ParamsWithContext creates a new GetQueriesAlertsV1Params object with the ability to set a context for a request.

func NewGetQueriesAlertsV1ParamsWithHTTPClient

func NewGetQueriesAlertsV1ParamsWithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params

NewGetQueriesAlertsV1ParamsWithHTTPClient creates a new GetQueriesAlertsV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetQueriesAlertsV1ParamsWithTimeout

func NewGetQueriesAlertsV1ParamsWithTimeout(timeout time.Duration) *GetQueriesAlertsV1Params

NewGetQueriesAlertsV1ParamsWithTimeout creates a new GetQueriesAlertsV1Params object with the ability to set a timeout on a request.

func (*GetQueriesAlertsV1Params) SetContext

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

SetContext adds the context to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetDefaults

func (o *GetQueriesAlertsV1Params) SetDefaults()

SetDefaults hydrates default values in the get queries alerts v1 params (not the query body).

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

func (*GetQueriesAlertsV1Params) SetFilter

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

SetFilter adds the filter to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetLimit

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

SetLimit adds the limit to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetOffset

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

SetOffset adds the offset to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetQ

func (o *GetQueriesAlertsV1Params) SetQ(q *string)

SetQ adds the q to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetSort

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

SetSort adds the sort to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithContext

WithContext adds the context to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithDefaults

WithDefaults hydrates default values in the get queries alerts v1 params (not the query body).

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

func (*GetQueriesAlertsV1Params) WithFilter

WithFilter adds the filter to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithHTTPClient

func (o *GetQueriesAlertsV1Params) WithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params

WithHTTPClient adds the HTTPClient to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithLimit

WithLimit adds the limit to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithOffset

WithOffset adds the offset to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithQ

WithQ adds the q to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithSort

WithSort adds the sort to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetQueriesAlertsV1Reader

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

GetQueriesAlertsV1Reader is a Reader for the GetQueriesAlertsV1 structure.

func (*GetQueriesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetQueriesAlertsV1TooManyRequests

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

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

Too Many Requests

func NewGetQueriesAlertsV1TooManyRequests

func NewGetQueriesAlertsV1TooManyRequests() *GetQueriesAlertsV1TooManyRequests

NewGetQueriesAlertsV1TooManyRequests creates a GetQueriesAlertsV1TooManyRequests with default headers values

func (*GetQueriesAlertsV1TooManyRequests) Code added in v0.2.33

Code gets the status code for the get queries alerts v1 too many requests response

func (*GetQueriesAlertsV1TooManyRequests) Error

func (*GetQueriesAlertsV1TooManyRequests) GetPayload

func (*GetQueriesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this get queries alerts v1 too many requests response has a 4xx status code

func (*GetQueriesAlertsV1TooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this get queries alerts v1 too many requests response a status code equal to that given

func (*GetQueriesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this get queries alerts v1 too many requests response has a 3xx status code

func (*GetQueriesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this get queries alerts v1 too many requests response has a 5xx status code

func (*GetQueriesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsSuccess() bool

IsSuccess returns true when this get queries alerts v1 too many requests response has a 2xx status code

func (*GetQueriesAlertsV1TooManyRequests) String added in v0.2.27

type GetV2BadRequest added in v0.5.0

type GetV2BadRequest 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.DetectsapiPostEntitiesAlertsV2Response
}

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

Bad Request

func NewGetV2BadRequest added in v0.5.0

func NewGetV2BadRequest() *GetV2BadRequest

NewGetV2BadRequest creates a GetV2BadRequest with default headers values

func (*GetV2BadRequest) Code added in v0.5.0

func (o *GetV2BadRequest) Code() int

Code gets the status code for the get v2 bad request response

func (*GetV2BadRequest) Error added in v0.5.0

func (o *GetV2BadRequest) Error() string

func (*GetV2BadRequest) GetPayload added in v0.5.0

func (*GetV2BadRequest) IsClientError added in v0.5.0

func (o *GetV2BadRequest) IsClientError() bool

IsClientError returns true when this get v2 bad request response has a 4xx status code

func (*GetV2BadRequest) IsCode added in v0.5.0

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

IsCode returns true when this get v2 bad request response a status code equal to that given

func (*GetV2BadRequest) IsRedirect added in v0.5.0

func (o *GetV2BadRequest) IsRedirect() bool

IsRedirect returns true when this get v2 bad request response has a 3xx status code

func (*GetV2BadRequest) IsServerError added in v0.5.0

func (o *GetV2BadRequest) IsServerError() bool

IsServerError returns true when this get v2 bad request response has a 5xx status code

func (*GetV2BadRequest) IsSuccess added in v0.5.0

func (o *GetV2BadRequest) IsSuccess() bool

IsSuccess returns true when this get v2 bad request response has a 2xx status code

func (*GetV2BadRequest) String added in v0.5.0

func (o *GetV2BadRequest) String() string

type GetV2Forbidden added in v0.5.0

type GetV2Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewGetV2Forbidden added in v0.5.0

func NewGetV2Forbidden() *GetV2Forbidden

NewGetV2Forbidden creates a GetV2Forbidden with default headers values

func (*GetV2Forbidden) Code added in v0.5.0

func (o *GetV2Forbidden) Code() int

Code gets the status code for the get v2 forbidden response

func (*GetV2Forbidden) Error added in v0.5.0

func (o *GetV2Forbidden) Error() string

func (*GetV2Forbidden) GetPayload added in v0.5.0

func (o *GetV2Forbidden) GetPayload() *models.MsaReplyMetaOnly

func (*GetV2Forbidden) IsClientError added in v0.5.0

func (o *GetV2Forbidden) IsClientError() bool

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

func (*GetV2Forbidden) IsCode added in v0.5.0

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

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

func (*GetV2Forbidden) IsRedirect added in v0.5.0

func (o *GetV2Forbidden) IsRedirect() bool

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

func (*GetV2Forbidden) IsServerError added in v0.5.0

func (o *GetV2Forbidden) IsServerError() bool

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

func (*GetV2Forbidden) IsSuccess added in v0.5.0

func (o *GetV2Forbidden) IsSuccess() bool

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

func (*GetV2Forbidden) String added in v0.5.0

func (o *GetV2Forbidden) String() string

type GetV2InternalServerError added in v0.5.0

type GetV2InternalServerError 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.DetectsapiPostEntitiesAlertsV2Response
}

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

Internal Server Error

func NewGetV2InternalServerError added in v0.5.0

func NewGetV2InternalServerError() *GetV2InternalServerError

NewGetV2InternalServerError creates a GetV2InternalServerError with default headers values

func (*GetV2InternalServerError) Code added in v0.5.0

func (o *GetV2InternalServerError) Code() int

Code gets the status code for the get v2 internal server error response

func (*GetV2InternalServerError) Error added in v0.5.0

func (o *GetV2InternalServerError) Error() string

func (*GetV2InternalServerError) GetPayload added in v0.5.0

func (*GetV2InternalServerError) IsClientError added in v0.5.0

func (o *GetV2InternalServerError) IsClientError() bool

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

func (*GetV2InternalServerError) IsCode added in v0.5.0

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

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

func (*GetV2InternalServerError) IsRedirect added in v0.5.0

func (o *GetV2InternalServerError) IsRedirect() bool

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

func (*GetV2InternalServerError) IsServerError added in v0.5.0

func (o *GetV2InternalServerError) IsServerError() bool

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

func (*GetV2InternalServerError) IsSuccess added in v0.5.0

func (o *GetV2InternalServerError) IsSuccess() bool

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

func (*GetV2InternalServerError) String added in v0.5.0

func (o *GetV2InternalServerError) String() string

type GetV2OK added in v0.5.0

type GetV2OK 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.DetectsapiPostEntitiesAlertsV2Response
}

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

OK

func NewGetV2OK added in v0.5.0

func NewGetV2OK() *GetV2OK

NewGetV2OK creates a GetV2OK with default headers values

func (*GetV2OK) Code added in v0.5.0

func (o *GetV2OK) Code() int

Code gets the status code for the get v2 o k response

func (*GetV2OK) Error added in v0.5.0

func (o *GetV2OK) Error() string

func (*GetV2OK) GetPayload added in v0.5.0

func (*GetV2OK) IsClientError added in v0.5.0

func (o *GetV2OK) IsClientError() bool

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

func (*GetV2OK) IsCode added in v0.5.0

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

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

func (*GetV2OK) IsRedirect added in v0.5.0

func (o *GetV2OK) IsRedirect() bool

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

func (*GetV2OK) IsServerError added in v0.5.0

func (o *GetV2OK) IsServerError() bool

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

func (*GetV2OK) IsSuccess added in v0.5.0

func (o *GetV2OK) IsSuccess() bool

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

func (*GetV2OK) String added in v0.5.0

func (o *GetV2OK) String() string

type GetV2Params added in v0.5.0

type GetV2Params struct {

	// Body.
	Body *models.DetectsapiPostEntitiesAlertsV2Request

	/* IncludeHidden.

	   allows previously hidden alerts to be retrieved

	   Default: true
	*/
	IncludeHidden *bool

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

GetV2Params contains all the parameters to send to the API endpoint

for the get v2 operation.

Typically these are written to a http.Request.

func NewGetV2Params added in v0.5.0

func NewGetV2Params() *GetV2Params

NewGetV2Params creates a new GetV2Params 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 NewGetV2ParamsWithContext added in v0.5.0

func NewGetV2ParamsWithContext(ctx context.Context) *GetV2Params

NewGetV2ParamsWithContext creates a new GetV2Params object with the ability to set a context for a request.

func NewGetV2ParamsWithHTTPClient added in v0.5.0

func NewGetV2ParamsWithHTTPClient(client *http.Client) *GetV2Params

NewGetV2ParamsWithHTTPClient creates a new GetV2Params object with the ability to set a custom HTTPClient for a request.

func NewGetV2ParamsWithTimeout added in v0.5.0

func NewGetV2ParamsWithTimeout(timeout time.Duration) *GetV2Params

NewGetV2ParamsWithTimeout creates a new GetV2Params object with the ability to set a timeout on a request.

func (*GetV2Params) SetBody added in v0.5.0

SetBody adds the body to the get v2 params

func (*GetV2Params) SetContext added in v0.5.0

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

SetContext adds the context to the get v2 params

func (*GetV2Params) SetDefaults added in v0.5.0

func (o *GetV2Params) SetDefaults()

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

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

func (*GetV2Params) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the get v2 params

func (*GetV2Params) SetIncludeHidden added in v0.6.0

func (o *GetV2Params) SetIncludeHidden(includeHidden *bool)

SetIncludeHidden adds the includeHidden to the get v2 params

func (*GetV2Params) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the get v2 params

func (*GetV2Params) WithBody added in v0.5.0

WithBody adds the body to the get v2 params

func (*GetV2Params) WithContext added in v0.5.0

func (o *GetV2Params) WithContext(ctx context.Context) *GetV2Params

WithContext adds the context to the get v2 params

func (*GetV2Params) WithDefaults added in v0.5.0

func (o *GetV2Params) WithDefaults() *GetV2Params

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

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

func (*GetV2Params) WithHTTPClient added in v0.5.0

func (o *GetV2Params) WithHTTPClient(client *http.Client) *GetV2Params

WithHTTPClient adds the HTTPClient to the get v2 params

func (*GetV2Params) WithIncludeHidden added in v0.6.0

func (o *GetV2Params) WithIncludeHidden(includeHidden *bool) *GetV2Params

WithIncludeHidden adds the includeHidden to the get v2 params

func (*GetV2Params) WithTimeout added in v0.5.0

func (o *GetV2Params) WithTimeout(timeout time.Duration) *GetV2Params

WithTimeout adds the timeout to the get v2 params

func (*GetV2Params) WriteToRequest added in v0.5.0

func (o *GetV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetV2Reader added in v0.5.0

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

GetV2Reader is a Reader for the GetV2 structure.

func (*GetV2Reader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type GetV2TooManyRequests added in v0.5.0

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

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

Too Many Requests

func NewGetV2TooManyRequests added in v0.5.0

func NewGetV2TooManyRequests() *GetV2TooManyRequests

NewGetV2TooManyRequests creates a GetV2TooManyRequests with default headers values

func (*GetV2TooManyRequests) Code added in v0.5.0

func (o *GetV2TooManyRequests) Code() int

Code gets the status code for the get v2 too many requests response

func (*GetV2TooManyRequests) Error added in v0.5.0

func (o *GetV2TooManyRequests) Error() string

func (*GetV2TooManyRequests) GetPayload added in v0.5.0

func (o *GetV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly

func (*GetV2TooManyRequests) IsClientError added in v0.5.0

func (o *GetV2TooManyRequests) IsClientError() bool

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

func (*GetV2TooManyRequests) IsCode added in v0.5.0

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

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

func (*GetV2TooManyRequests) IsRedirect added in v0.5.0

func (o *GetV2TooManyRequests) IsRedirect() bool

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

func (*GetV2TooManyRequests) IsServerError added in v0.5.0

func (o *GetV2TooManyRequests) IsServerError() bool

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

func (*GetV2TooManyRequests) IsSuccess added in v0.5.0

func (o *GetV2TooManyRequests) IsSuccess() bool

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

func (*GetV2TooManyRequests) String added in v0.5.0

func (o *GetV2TooManyRequests) String() string

type PatchEntitiesAlertsV2BadRequest added in v0.2.24

type PatchEntitiesAlertsV2BadRequest 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.DetectsapiResponseFields
}

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

Bad Request

func NewPatchEntitiesAlertsV2BadRequest added in v0.2.24

func NewPatchEntitiesAlertsV2BadRequest() *PatchEntitiesAlertsV2BadRequest

NewPatchEntitiesAlertsV2BadRequest creates a PatchEntitiesAlertsV2BadRequest with default headers values

func (*PatchEntitiesAlertsV2BadRequest) Code added in v0.2.33

Code gets the status code for the patch entities alerts v2 bad request response

func (*PatchEntitiesAlertsV2BadRequest) Error added in v0.2.24

func (*PatchEntitiesAlertsV2BadRequest) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2BadRequest) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsClientError() bool

IsClientError returns true when this patch entities alerts v2 bad request response has a 4xx status code

func (*PatchEntitiesAlertsV2BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this patch entities alerts v2 bad request response a status code equal to that given

func (*PatchEntitiesAlertsV2BadRequest) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsRedirect() bool

IsRedirect returns true when this patch entities alerts v2 bad request response has a 3xx status code

func (*PatchEntitiesAlertsV2BadRequest) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsServerError() bool

IsServerError returns true when this patch entities alerts v2 bad request response has a 5xx status code

func (*PatchEntitiesAlertsV2BadRequest) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsSuccess() bool

IsSuccess returns true when this patch entities alerts v2 bad request response has a 2xx status code

func (*PatchEntitiesAlertsV2BadRequest) String added in v0.2.27

type PatchEntitiesAlertsV2Forbidden added in v0.2.24

type PatchEntitiesAlertsV2Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewPatchEntitiesAlertsV2Forbidden added in v0.2.24

func NewPatchEntitiesAlertsV2Forbidden() *PatchEntitiesAlertsV2Forbidden

NewPatchEntitiesAlertsV2Forbidden creates a PatchEntitiesAlertsV2Forbidden with default headers values

func (*PatchEntitiesAlertsV2Forbidden) Code added in v0.2.33

Code gets the status code for the patch entities alerts v2 forbidden response

func (*PatchEntitiesAlertsV2Forbidden) Error added in v0.2.24

func (*PatchEntitiesAlertsV2Forbidden) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2Forbidden) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsClientError() bool

IsClientError returns true when this patch entities alerts v2 forbidden response has a 4xx status code

func (*PatchEntitiesAlertsV2Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this patch entities alerts v2 forbidden response a status code equal to that given

func (*PatchEntitiesAlertsV2Forbidden) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsRedirect() bool

IsRedirect returns true when this patch entities alerts v2 forbidden response has a 3xx status code

func (*PatchEntitiesAlertsV2Forbidden) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsServerError() bool

IsServerError returns true when this patch entities alerts v2 forbidden response has a 5xx status code

func (*PatchEntitiesAlertsV2Forbidden) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsSuccess() bool

IsSuccess returns true when this patch entities alerts v2 forbidden response has a 2xx status code

func (*PatchEntitiesAlertsV2Forbidden) String added in v0.2.27

type PatchEntitiesAlertsV2InternalServerError added in v0.2.24

type PatchEntitiesAlertsV2InternalServerError 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.DetectsapiResponseFields
}

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

Internal Server Error

func NewPatchEntitiesAlertsV2InternalServerError added in v0.2.24

func NewPatchEntitiesAlertsV2InternalServerError() *PatchEntitiesAlertsV2InternalServerError

NewPatchEntitiesAlertsV2InternalServerError creates a PatchEntitiesAlertsV2InternalServerError with default headers values

func (*PatchEntitiesAlertsV2InternalServerError) Code added in v0.2.33

Code gets the status code for the patch entities alerts v2 internal server error response

func (*PatchEntitiesAlertsV2InternalServerError) Error added in v0.2.24

func (*PatchEntitiesAlertsV2InternalServerError) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2InternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this patch entities alerts v2 internal server error response has a 4xx status code

func (*PatchEntitiesAlertsV2InternalServerError) IsCode added in v0.2.27

IsCode returns true when this patch entities alerts v2 internal server error response a status code equal to that given

func (*PatchEntitiesAlertsV2InternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this patch entities alerts v2 internal server error response has a 3xx status code

func (*PatchEntitiesAlertsV2InternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this patch entities alerts v2 internal server error response has a 5xx status code

func (*PatchEntitiesAlertsV2InternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this patch entities alerts v2 internal server error response has a 2xx status code

func (*PatchEntitiesAlertsV2InternalServerError) String added in v0.2.27

type PatchEntitiesAlertsV2OK added in v0.2.24

type PatchEntitiesAlertsV2OK 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.DetectsapiResponseFields
}

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

OK

func NewPatchEntitiesAlertsV2OK added in v0.2.24

func NewPatchEntitiesAlertsV2OK() *PatchEntitiesAlertsV2OK

NewPatchEntitiesAlertsV2OK creates a PatchEntitiesAlertsV2OK with default headers values

func (*PatchEntitiesAlertsV2OK) Code added in v0.2.33

func (o *PatchEntitiesAlertsV2OK) Code() int

Code gets the status code for the patch entities alerts v2 o k response

func (*PatchEntitiesAlertsV2OK) Error added in v0.2.24

func (o *PatchEntitiesAlertsV2OK) Error() string

func (*PatchEntitiesAlertsV2OK) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2OK) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsClientError() bool

IsClientError returns true when this patch entities alerts v2 o k response has a 4xx status code

func (*PatchEntitiesAlertsV2OK) IsCode added in v0.2.27

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

IsCode returns true when this patch entities alerts v2 o k response a status code equal to that given

func (*PatchEntitiesAlertsV2OK) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsRedirect() bool

IsRedirect returns true when this patch entities alerts v2 o k response has a 3xx status code

func (*PatchEntitiesAlertsV2OK) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsServerError() bool

IsServerError returns true when this patch entities alerts v2 o k response has a 5xx status code

func (*PatchEntitiesAlertsV2OK) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsSuccess() bool

IsSuccess returns true when this patch entities alerts v2 o k response has a 2xx status code

func (*PatchEntitiesAlertsV2OK) String added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) String() string

type PatchEntitiesAlertsV2Params added in v0.2.24

type PatchEntitiesAlertsV2Params struct {

	/* Body.

	   request body takes a list of action parameter request that is applied against all "ids" provided
	*/
	Body *models.DetectsapiPatchEntitiesAlertsV2Request

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

PatchEntitiesAlertsV2Params contains all the parameters to send to the API endpoint

for the patch entities alerts v2 operation.

Typically these are written to a http.Request.

func NewPatchEntitiesAlertsV2Params added in v0.2.24

func NewPatchEntitiesAlertsV2Params() *PatchEntitiesAlertsV2Params

NewPatchEntitiesAlertsV2Params creates a new PatchEntitiesAlertsV2Params 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 NewPatchEntitiesAlertsV2ParamsWithContext added in v0.2.24

func NewPatchEntitiesAlertsV2ParamsWithContext(ctx context.Context) *PatchEntitiesAlertsV2Params

NewPatchEntitiesAlertsV2ParamsWithContext creates a new PatchEntitiesAlertsV2Params object with the ability to set a context for a request.

func NewPatchEntitiesAlertsV2ParamsWithHTTPClient added in v0.2.24

func NewPatchEntitiesAlertsV2ParamsWithHTTPClient(client *http.Client) *PatchEntitiesAlertsV2Params

NewPatchEntitiesAlertsV2ParamsWithHTTPClient creates a new PatchEntitiesAlertsV2Params object with the ability to set a custom HTTPClient for a request.

func NewPatchEntitiesAlertsV2ParamsWithTimeout added in v0.2.24

func NewPatchEntitiesAlertsV2ParamsWithTimeout(timeout time.Duration) *PatchEntitiesAlertsV2Params

NewPatchEntitiesAlertsV2ParamsWithTimeout creates a new PatchEntitiesAlertsV2Params object with the ability to set a timeout on a request.

func (*PatchEntitiesAlertsV2Params) SetBody added in v0.2.24

SetBody adds the body to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetContext added in v0.2.24

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

SetContext adds the context to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetDefaults added in v0.2.24

func (o *PatchEntitiesAlertsV2Params) SetDefaults()

SetDefaults hydrates default values in the patch entities alerts v2 params (not the query body).

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

func (*PatchEntitiesAlertsV2Params) SetHTTPClient added in v0.2.24

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

SetHTTPClient adds the HTTPClient to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetTimeout added in v0.2.24

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

SetTimeout adds the timeout to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithBody added in v0.2.24

WithBody adds the body to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithContext added in v0.2.24

WithContext adds the context to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithDefaults added in v0.2.24

WithDefaults hydrates default values in the patch entities alerts v2 params (not the query body).

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

func (*PatchEntitiesAlertsV2Params) WithHTTPClient added in v0.2.24

WithHTTPClient adds the HTTPClient to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithTimeout added in v0.2.24

WithTimeout adds the timeout to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WriteToRequest added in v0.2.24

WriteToRequest writes these params to a swagger request

type PatchEntitiesAlertsV2Reader added in v0.2.24

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

PatchEntitiesAlertsV2Reader is a Reader for the PatchEntitiesAlertsV2 structure.

func (*PatchEntitiesAlertsV2Reader) ReadResponse added in v0.2.24

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

ReadResponse reads a server response into the received o.

type PatchEntitiesAlertsV2TooManyRequests added in v0.2.24

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

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

Too Many Requests

func NewPatchEntitiesAlertsV2TooManyRequests added in v0.2.24

func NewPatchEntitiesAlertsV2TooManyRequests() *PatchEntitiesAlertsV2TooManyRequests

NewPatchEntitiesAlertsV2TooManyRequests creates a PatchEntitiesAlertsV2TooManyRequests with default headers values

func (*PatchEntitiesAlertsV2TooManyRequests) Code added in v0.2.33

Code gets the status code for the patch entities alerts v2 too many requests response

func (*PatchEntitiesAlertsV2TooManyRequests) Error added in v0.2.24

func (*PatchEntitiesAlertsV2TooManyRequests) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2TooManyRequests) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2TooManyRequests) IsClientError() bool

IsClientError returns true when this patch entities alerts v2 too many requests response has a 4xx status code

func (*PatchEntitiesAlertsV2TooManyRequests) IsCode added in v0.2.27

IsCode returns true when this patch entities alerts v2 too many requests response a status code equal to that given

func (*PatchEntitiesAlertsV2TooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this patch entities alerts v2 too many requests response has a 3xx status code

func (*PatchEntitiesAlertsV2TooManyRequests) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2TooManyRequests) IsServerError() bool

IsServerError returns true when this patch entities alerts v2 too many requests response has a 5xx status code

func (*PatchEntitiesAlertsV2TooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this patch entities alerts v2 too many requests response has a 2xx status code

func (*PatchEntitiesAlertsV2TooManyRequests) String added in v0.2.27

type PostAggregatesAlertsV1BadRequest

type PostAggregatesAlertsV1BadRequest 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.DetectsapiAggregatesResponse
}

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

Bad Request

func NewPostAggregatesAlertsV1BadRequest

func NewPostAggregatesAlertsV1BadRequest() *PostAggregatesAlertsV1BadRequest

NewPostAggregatesAlertsV1BadRequest creates a PostAggregatesAlertsV1BadRequest with default headers values

func (*PostAggregatesAlertsV1BadRequest) Code added in v0.2.33

Code gets the status code for the post aggregates alerts v1 bad request response

func (*PostAggregatesAlertsV1BadRequest) Error

func (*PostAggregatesAlertsV1BadRequest) GetPayload

func (*PostAggregatesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsClientError() bool

IsClientError returns true when this post aggregates alerts v1 bad request response has a 4xx status code

func (*PostAggregatesAlertsV1BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this post aggregates alerts v1 bad request response a status code equal to that given

func (*PostAggregatesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this post aggregates alerts v1 bad request response has a 3xx status code

func (*PostAggregatesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsServerError() bool

IsServerError returns true when this post aggregates alerts v1 bad request response has a 5xx status code

func (*PostAggregatesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this post aggregates alerts v1 bad request response has a 2xx status code

func (*PostAggregatesAlertsV1BadRequest) String added in v0.2.27

type PostAggregatesAlertsV1Forbidden

type PostAggregatesAlertsV1Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewPostAggregatesAlertsV1Forbidden

func NewPostAggregatesAlertsV1Forbidden() *PostAggregatesAlertsV1Forbidden

NewPostAggregatesAlertsV1Forbidden creates a PostAggregatesAlertsV1Forbidden with default headers values

func (*PostAggregatesAlertsV1Forbidden) Code added in v0.2.33

Code gets the status code for the post aggregates alerts v1 forbidden response

func (*PostAggregatesAlertsV1Forbidden) Error

func (*PostAggregatesAlertsV1Forbidden) GetPayload

func (*PostAggregatesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsClientError() bool

IsClientError returns true when this post aggregates alerts v1 forbidden response has a 4xx status code

func (*PostAggregatesAlertsV1Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this post aggregates alerts v1 forbidden response a status code equal to that given

func (*PostAggregatesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this post aggregates alerts v1 forbidden response has a 3xx status code

func (*PostAggregatesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsServerError() bool

IsServerError returns true when this post aggregates alerts v1 forbidden response has a 5xx status code

func (*PostAggregatesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this post aggregates alerts v1 forbidden response has a 2xx status code

func (*PostAggregatesAlertsV1Forbidden) String added in v0.2.27

type PostAggregatesAlertsV1InternalServerError

type PostAggregatesAlertsV1InternalServerError 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.DetectsapiAggregatesResponse
}

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

Internal Server Error

func NewPostAggregatesAlertsV1InternalServerError

func NewPostAggregatesAlertsV1InternalServerError() *PostAggregatesAlertsV1InternalServerError

NewPostAggregatesAlertsV1InternalServerError creates a PostAggregatesAlertsV1InternalServerError with default headers values

func (*PostAggregatesAlertsV1InternalServerError) Code added in v0.2.33

Code gets the status code for the post aggregates alerts v1 internal server error response

func (*PostAggregatesAlertsV1InternalServerError) Error

func (*PostAggregatesAlertsV1InternalServerError) GetPayload

func (*PostAggregatesAlertsV1InternalServerError) IsClientError added in v0.2.27

IsClientError returns true when this post aggregates alerts v1 internal server error response has a 4xx status code

func (*PostAggregatesAlertsV1InternalServerError) IsCode added in v0.2.27

IsCode returns true when this post aggregates alerts v1 internal server error response a status code equal to that given

func (*PostAggregatesAlertsV1InternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this post aggregates alerts v1 internal server error response has a 3xx status code

func (*PostAggregatesAlertsV1InternalServerError) IsServerError added in v0.2.27

IsServerError returns true when this post aggregates alerts v1 internal server error response has a 5xx status code

func (*PostAggregatesAlertsV1InternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this post aggregates alerts v1 internal server error response has a 2xx status code

func (*PostAggregatesAlertsV1InternalServerError) String added in v0.2.27

type PostAggregatesAlertsV1OK

type PostAggregatesAlertsV1OK 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.DetectsapiAggregatesResponse
}

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

OK

func NewPostAggregatesAlertsV1OK

func NewPostAggregatesAlertsV1OK() *PostAggregatesAlertsV1OK

NewPostAggregatesAlertsV1OK creates a PostAggregatesAlertsV1OK with default headers values

func (*PostAggregatesAlertsV1OK) Code added in v0.2.33

func (o *PostAggregatesAlertsV1OK) Code() int

Code gets the status code for the post aggregates alerts v1 o k response

func (*PostAggregatesAlertsV1OK) Error

func (o *PostAggregatesAlertsV1OK) Error() string

func (*PostAggregatesAlertsV1OK) GetPayload

func (*PostAggregatesAlertsV1OK) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsClientError() bool

IsClientError returns true when this post aggregates alerts v1 o k response has a 4xx status code

func (*PostAggregatesAlertsV1OK) IsCode added in v0.2.27

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

IsCode returns true when this post aggregates alerts v1 o k response a status code equal to that given

func (*PostAggregatesAlertsV1OK) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsRedirect() bool

IsRedirect returns true when this post aggregates alerts v1 o k response has a 3xx status code

func (*PostAggregatesAlertsV1OK) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsServerError() bool

IsServerError returns true when this post aggregates alerts v1 o k response has a 5xx status code

func (*PostAggregatesAlertsV1OK) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsSuccess() bool

IsSuccess returns true when this post aggregates alerts v1 o k response has a 2xx status code

func (*PostAggregatesAlertsV1OK) String added in v0.2.27

func (o *PostAggregatesAlertsV1OK) String() string

type PostAggregatesAlertsV1Params

type PostAggregatesAlertsV1Params struct {

	/* Body.

	   request body takes a list of aggregate-alert query requests
	*/
	Body []*models.DetectsapiAggregateAlertQueryRequest

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

PostAggregatesAlertsV1Params contains all the parameters to send to the API endpoint

for the post aggregates alerts v1 operation.

Typically these are written to a http.Request.

func NewPostAggregatesAlertsV1Params

func NewPostAggregatesAlertsV1Params() *PostAggregatesAlertsV1Params

NewPostAggregatesAlertsV1Params creates a new PostAggregatesAlertsV1Params 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 NewPostAggregatesAlertsV1ParamsWithContext

func NewPostAggregatesAlertsV1ParamsWithContext(ctx context.Context) *PostAggregatesAlertsV1Params

NewPostAggregatesAlertsV1ParamsWithContext creates a new PostAggregatesAlertsV1Params object with the ability to set a context for a request.

func NewPostAggregatesAlertsV1ParamsWithHTTPClient

func NewPostAggregatesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostAggregatesAlertsV1Params

NewPostAggregatesAlertsV1ParamsWithHTTPClient creates a new PostAggregatesAlertsV1Params object with the ability to set a custom HTTPClient for a request.

func NewPostAggregatesAlertsV1ParamsWithTimeout

func NewPostAggregatesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostAggregatesAlertsV1Params

NewPostAggregatesAlertsV1ParamsWithTimeout creates a new PostAggregatesAlertsV1Params object with the ability to set a timeout on a request.

func (*PostAggregatesAlertsV1Params) SetBody

SetBody adds the body to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) SetContext

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

SetContext adds the context to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) SetDefaults

func (o *PostAggregatesAlertsV1Params) SetDefaults()

SetDefaults hydrates default values in the post aggregates alerts v1 params (not the query body).

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

func (*PostAggregatesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithBody

WithBody adds the body to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithContext

WithContext adds the context to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithDefaults

WithDefaults hydrates default values in the post aggregates alerts v1 params (not the query body).

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

func (*PostAggregatesAlertsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAggregatesAlertsV1Reader

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

PostAggregatesAlertsV1Reader is a Reader for the PostAggregatesAlertsV1 structure.

func (*PostAggregatesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAggregatesAlertsV1TooManyRequests

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

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

Too Many Requests

func NewPostAggregatesAlertsV1TooManyRequests

func NewPostAggregatesAlertsV1TooManyRequests() *PostAggregatesAlertsV1TooManyRequests

NewPostAggregatesAlertsV1TooManyRequests creates a PostAggregatesAlertsV1TooManyRequests with default headers values

func (*PostAggregatesAlertsV1TooManyRequests) Code added in v0.2.33

Code gets the status code for the post aggregates alerts v1 too many requests response

func (*PostAggregatesAlertsV1TooManyRequests) Error

func (*PostAggregatesAlertsV1TooManyRequests) GetPayload

func (*PostAggregatesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this post aggregates alerts v1 too many requests response has a 4xx status code

func (*PostAggregatesAlertsV1TooManyRequests) IsCode added in v0.2.27

IsCode returns true when this post aggregates alerts v1 too many requests response a status code equal to that given

func (*PostAggregatesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this post aggregates alerts v1 too many requests response has a 3xx status code

func (*PostAggregatesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this post aggregates alerts v1 too many requests response has a 5xx status code

func (*PostAggregatesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this post aggregates alerts v1 too many requests response has a 2xx status code

func (*PostAggregatesAlertsV1TooManyRequests) String added in v0.2.27

type PostEntitiesAlertsV1BadRequest

type PostEntitiesAlertsV1BadRequest 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.DetectsapiPostEntitiesAlertsV1Response
}

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

Bad Request

func NewPostEntitiesAlertsV1BadRequest

func NewPostEntitiesAlertsV1BadRequest() *PostEntitiesAlertsV1BadRequest

NewPostEntitiesAlertsV1BadRequest creates a PostEntitiesAlertsV1BadRequest with default headers values

func (*PostEntitiesAlertsV1BadRequest) Code added in v0.2.33

Code gets the status code for the post entities alerts v1 bad request response

func (*PostEntitiesAlertsV1BadRequest) Error

func (*PostEntitiesAlertsV1BadRequest) GetPayload

func (*PostEntitiesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsClientError() bool

IsClientError returns true when this post entities alerts v1 bad request response has a 4xx status code

func (*PostEntitiesAlertsV1BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this post entities alerts v1 bad request response a status code equal to that given

func (*PostEntitiesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this post entities alerts v1 bad request response has a 3xx status code

func (*PostEntitiesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsServerError() bool

IsServerError returns true when this post entities alerts v1 bad request response has a 5xx status code

func (*PostEntitiesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this post entities alerts v1 bad request response has a 2xx status code

func (*PostEntitiesAlertsV1BadRequest) String added in v0.2.27

type PostEntitiesAlertsV1Forbidden

type PostEntitiesAlertsV1Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewPostEntitiesAlertsV1Forbidden

func NewPostEntitiesAlertsV1Forbidden() *PostEntitiesAlertsV1Forbidden

NewPostEntitiesAlertsV1Forbidden creates a PostEntitiesAlertsV1Forbidden with default headers values

func (*PostEntitiesAlertsV1Forbidden) Code added in v0.2.33

Code gets the status code for the post entities alerts v1 forbidden response

func (*PostEntitiesAlertsV1Forbidden) Error

func (*PostEntitiesAlertsV1Forbidden) GetPayload

func (*PostEntitiesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsClientError() bool

IsClientError returns true when this post entities alerts v1 forbidden response has a 4xx status code

func (*PostEntitiesAlertsV1Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this post entities alerts v1 forbidden response a status code equal to that given

func (*PostEntitiesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this post entities alerts v1 forbidden response has a 3xx status code

func (*PostEntitiesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsServerError() bool

IsServerError returns true when this post entities alerts v1 forbidden response has a 5xx status code

func (*PostEntitiesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this post entities alerts v1 forbidden response has a 2xx status code

func (*PostEntitiesAlertsV1Forbidden) String added in v0.2.27

type PostEntitiesAlertsV1InternalServerError

type PostEntitiesAlertsV1InternalServerError 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.DetectsapiPostEntitiesAlertsV1Response
}

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

Internal Server Error

func NewPostEntitiesAlertsV1InternalServerError

func NewPostEntitiesAlertsV1InternalServerError() *PostEntitiesAlertsV1InternalServerError

NewPostEntitiesAlertsV1InternalServerError creates a PostEntitiesAlertsV1InternalServerError with default headers values

func (*PostEntitiesAlertsV1InternalServerError) Code added in v0.2.33

Code gets the status code for the post entities alerts v1 internal server error response

func (*PostEntitiesAlertsV1InternalServerError) Error

func (*PostEntitiesAlertsV1InternalServerError) GetPayload

func (*PostEntitiesAlertsV1InternalServerError) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1InternalServerError) IsClientError() bool

IsClientError returns true when this post entities alerts v1 internal server error response has a 4xx status code

func (*PostEntitiesAlertsV1InternalServerError) IsCode added in v0.2.27

IsCode returns true when this post entities alerts v1 internal server error response a status code equal to that given

func (*PostEntitiesAlertsV1InternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this post entities alerts v1 internal server error response has a 3xx status code

func (*PostEntitiesAlertsV1InternalServerError) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1InternalServerError) IsServerError() bool

IsServerError returns true when this post entities alerts v1 internal server error response has a 5xx status code

func (*PostEntitiesAlertsV1InternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this post entities alerts v1 internal server error response has a 2xx status code

func (*PostEntitiesAlertsV1InternalServerError) String added in v0.2.27

type PostEntitiesAlertsV1OK

type PostEntitiesAlertsV1OK 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.DetectsapiPostEntitiesAlertsV1Response
}

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

OK

func NewPostEntitiesAlertsV1OK

func NewPostEntitiesAlertsV1OK() *PostEntitiesAlertsV1OK

NewPostEntitiesAlertsV1OK creates a PostEntitiesAlertsV1OK with default headers values

func (*PostEntitiesAlertsV1OK) Code added in v0.2.33

func (o *PostEntitiesAlertsV1OK) Code() int

Code gets the status code for the post entities alerts v1 o k response

func (*PostEntitiesAlertsV1OK) Error

func (o *PostEntitiesAlertsV1OK) Error() string

func (*PostEntitiesAlertsV1OK) GetPayload

func (*PostEntitiesAlertsV1OK) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsClientError() bool

IsClientError returns true when this post entities alerts v1 o k response has a 4xx status code

func (*PostEntitiesAlertsV1OK) IsCode added in v0.2.27

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

IsCode returns true when this post entities alerts v1 o k response a status code equal to that given

func (*PostEntitiesAlertsV1OK) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsRedirect() bool

IsRedirect returns true when this post entities alerts v1 o k response has a 3xx status code

func (*PostEntitiesAlertsV1OK) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsServerError() bool

IsServerError returns true when this post entities alerts v1 o k response has a 5xx status code

func (*PostEntitiesAlertsV1OK) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsSuccess() bool

IsSuccess returns true when this post entities alerts v1 o k response has a 2xx status code

func (*PostEntitiesAlertsV1OK) String added in v0.2.27

func (o *PostEntitiesAlertsV1OK) String() string

type PostEntitiesAlertsV1Params

type PostEntitiesAlertsV1Params struct {

	// Body.
	Body *models.DetectsapiPostEntitiesAlertsV1Request

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

PostEntitiesAlertsV1Params contains all the parameters to send to the API endpoint

for the post entities alerts v1 operation.

Typically these are written to a http.Request.

func NewPostEntitiesAlertsV1Params

func NewPostEntitiesAlertsV1Params() *PostEntitiesAlertsV1Params

NewPostEntitiesAlertsV1Params creates a new PostEntitiesAlertsV1Params 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 NewPostEntitiesAlertsV1ParamsWithContext

func NewPostEntitiesAlertsV1ParamsWithContext(ctx context.Context) *PostEntitiesAlertsV1Params

NewPostEntitiesAlertsV1ParamsWithContext creates a new PostEntitiesAlertsV1Params object with the ability to set a context for a request.

func NewPostEntitiesAlertsV1ParamsWithHTTPClient

func NewPostEntitiesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostEntitiesAlertsV1Params

NewPostEntitiesAlertsV1ParamsWithHTTPClient creates a new PostEntitiesAlertsV1Params object with the ability to set a custom HTTPClient for a request.

func NewPostEntitiesAlertsV1ParamsWithTimeout

func NewPostEntitiesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostEntitiesAlertsV1Params

NewPostEntitiesAlertsV1ParamsWithTimeout creates a new PostEntitiesAlertsV1Params object with the ability to set a timeout on a request.

func (*PostEntitiesAlertsV1Params) SetBody

SetBody adds the body to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) SetContext

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

SetContext adds the context to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) SetDefaults

func (o *PostEntitiesAlertsV1Params) SetDefaults()

SetDefaults hydrates default values in the post entities alerts v1 params (not the query body).

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

func (*PostEntitiesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithBody

WithBody adds the body to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithContext

WithContext adds the context to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithDefaults

WithDefaults hydrates default values in the post entities alerts v1 params (not the query body).

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

func (*PostEntitiesAlertsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEntitiesAlertsV1Reader

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

PostEntitiesAlertsV1Reader is a Reader for the PostEntitiesAlertsV1 structure.

func (*PostEntitiesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEntitiesAlertsV1TooManyRequests

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

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

Too Many Requests

func NewPostEntitiesAlertsV1TooManyRequests

func NewPostEntitiesAlertsV1TooManyRequests() *PostEntitiesAlertsV1TooManyRequests

NewPostEntitiesAlertsV1TooManyRequests creates a PostEntitiesAlertsV1TooManyRequests with default headers values

func (*PostEntitiesAlertsV1TooManyRequests) Code added in v0.2.33

Code gets the status code for the post entities alerts v1 too many requests response

func (*PostEntitiesAlertsV1TooManyRequests) Error

func (*PostEntitiesAlertsV1TooManyRequests) GetPayload

func (*PostEntitiesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this post entities alerts v1 too many requests response has a 4xx status code

func (*PostEntitiesAlertsV1TooManyRequests) IsCode added in v0.2.27

IsCode returns true when this post entities alerts v1 too many requests response a status code equal to that given

func (*PostEntitiesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this post entities alerts v1 too many requests response has a 3xx status code

func (*PostEntitiesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this post entities alerts v1 too many requests response has a 5xx status code

func (*PostEntitiesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this post entities alerts v1 too many requests response has a 2xx status code

func (*PostEntitiesAlertsV1TooManyRequests) String added in v0.2.27

type QueryV2BadRequest added in v0.5.0

type QueryV2BadRequest 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.DetectsapiAlertQueryResponse
}

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

Bad Request

func NewQueryV2BadRequest added in v0.5.0

func NewQueryV2BadRequest() *QueryV2BadRequest

NewQueryV2BadRequest creates a QueryV2BadRequest with default headers values

func (*QueryV2BadRequest) Code added in v0.5.0

func (o *QueryV2BadRequest) Code() int

Code gets the status code for the query v2 bad request response

func (*QueryV2BadRequest) Error added in v0.5.0

func (o *QueryV2BadRequest) Error() string

func (*QueryV2BadRequest) GetPayload added in v0.5.0

func (*QueryV2BadRequest) IsClientError added in v0.5.0

func (o *QueryV2BadRequest) IsClientError() bool

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

func (*QueryV2BadRequest) IsCode added in v0.5.0

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

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

func (*QueryV2BadRequest) IsRedirect added in v0.5.0

func (o *QueryV2BadRequest) IsRedirect() bool

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

func (*QueryV2BadRequest) IsServerError added in v0.5.0

func (o *QueryV2BadRequest) IsServerError() bool

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

func (*QueryV2BadRequest) IsSuccess added in v0.5.0

func (o *QueryV2BadRequest) IsSuccess() bool

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

func (*QueryV2BadRequest) String added in v0.5.0

func (o *QueryV2BadRequest) String() string

type QueryV2Forbidden added in v0.5.0

type QueryV2Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewQueryV2Forbidden added in v0.5.0

func NewQueryV2Forbidden() *QueryV2Forbidden

NewQueryV2Forbidden creates a QueryV2Forbidden with default headers values

func (*QueryV2Forbidden) Code added in v0.5.0

func (o *QueryV2Forbidden) Code() int

Code gets the status code for the query v2 forbidden response

func (*QueryV2Forbidden) Error added in v0.5.0

func (o *QueryV2Forbidden) Error() string

func (*QueryV2Forbidden) GetPayload added in v0.5.0

func (o *QueryV2Forbidden) GetPayload() *models.MsaReplyMetaOnly

func (*QueryV2Forbidden) IsClientError added in v0.5.0

func (o *QueryV2Forbidden) IsClientError() bool

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

func (*QueryV2Forbidden) IsCode added in v0.5.0

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

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

func (*QueryV2Forbidden) IsRedirect added in v0.5.0

func (o *QueryV2Forbidden) IsRedirect() bool

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

func (*QueryV2Forbidden) IsServerError added in v0.5.0

func (o *QueryV2Forbidden) IsServerError() bool

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

func (*QueryV2Forbidden) IsSuccess added in v0.5.0

func (o *QueryV2Forbidden) IsSuccess() bool

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

func (*QueryV2Forbidden) String added in v0.5.0

func (o *QueryV2Forbidden) String() string

type QueryV2InternalServerError added in v0.5.0

type QueryV2InternalServerError 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.DetectsapiAlertQueryResponse
}

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

Internal Server Error

func NewQueryV2InternalServerError added in v0.5.0

func NewQueryV2InternalServerError() *QueryV2InternalServerError

NewQueryV2InternalServerError creates a QueryV2InternalServerError with default headers values

func (*QueryV2InternalServerError) Code added in v0.5.0

func (o *QueryV2InternalServerError) Code() int

Code gets the status code for the query v2 internal server error response

func (*QueryV2InternalServerError) Error added in v0.5.0

func (*QueryV2InternalServerError) GetPayload added in v0.5.0

func (*QueryV2InternalServerError) IsClientError added in v0.5.0

func (o *QueryV2InternalServerError) IsClientError() bool

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

func (*QueryV2InternalServerError) IsCode added in v0.5.0

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

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

func (*QueryV2InternalServerError) IsRedirect added in v0.5.0

func (o *QueryV2InternalServerError) IsRedirect() bool

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

func (*QueryV2InternalServerError) IsServerError added in v0.5.0

func (o *QueryV2InternalServerError) IsServerError() bool

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

func (*QueryV2InternalServerError) IsSuccess added in v0.5.0

func (o *QueryV2InternalServerError) IsSuccess() bool

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

func (*QueryV2InternalServerError) String added in v0.5.0

func (o *QueryV2InternalServerError) String() string

type QueryV2OK added in v0.5.0

type QueryV2OK 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.DetectsapiAlertQueryResponse
}

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

OK

func NewQueryV2OK added in v0.5.0

func NewQueryV2OK() *QueryV2OK

NewQueryV2OK creates a QueryV2OK with default headers values

func (*QueryV2OK) Code added in v0.5.0

func (o *QueryV2OK) Code() int

Code gets the status code for the query v2 o k response

func (*QueryV2OK) Error added in v0.5.0

func (o *QueryV2OK) Error() string

func (*QueryV2OK) GetPayload added in v0.5.0

func (*QueryV2OK) IsClientError added in v0.5.0

func (o *QueryV2OK) IsClientError() bool

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

func (*QueryV2OK) IsCode added in v0.5.0

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

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

func (*QueryV2OK) IsRedirect added in v0.5.0

func (o *QueryV2OK) IsRedirect() bool

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

func (*QueryV2OK) IsServerError added in v0.5.0

func (o *QueryV2OK) IsServerError() bool

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

func (*QueryV2OK) IsSuccess added in v0.5.0

func (o *QueryV2OK) IsSuccess() bool

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

func (*QueryV2OK) String added in v0.5.0

func (o *QueryV2OK) String() string

type QueryV2Params added in v0.5.0

type QueryV2Params struct {

	/* Filter.

	     Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert
	An asterisk wildcard `*` includes all results.
	Empty value means to not filter on anything.
	Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ...
	Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ...
	Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp...
	All filter fields and operations support negation (!).


	The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
	*/
	Filter *string

	/* IncludeHidden.

	   allows previously hidden alerts to be retrieved

	   Default: true
	*/
	IncludeHidden *bool

	/* Limit.

	   The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Offset.

	   The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results.
	*/
	Offset *int64

	/* Q.

	   Search all detection metadata for the provided string
	*/
	Q *string

	/* Sort.

	     Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`.

	The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags
	If the fields are missing from the Alerts, the service will fallback to its default ordering
	*/
	Sort *string

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

QueryV2Params contains all the parameters to send to the API endpoint

for the query v2 operation.

Typically these are written to a http.Request.

func NewQueryV2Params added in v0.5.0

func NewQueryV2Params() *QueryV2Params

NewQueryV2Params creates a new QueryV2Params 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 NewQueryV2ParamsWithContext added in v0.5.0

func NewQueryV2ParamsWithContext(ctx context.Context) *QueryV2Params

NewQueryV2ParamsWithContext creates a new QueryV2Params object with the ability to set a context for a request.

func NewQueryV2ParamsWithHTTPClient added in v0.5.0

func NewQueryV2ParamsWithHTTPClient(client *http.Client) *QueryV2Params

NewQueryV2ParamsWithHTTPClient creates a new QueryV2Params object with the ability to set a custom HTTPClient for a request.

func NewQueryV2ParamsWithTimeout added in v0.5.0

func NewQueryV2ParamsWithTimeout(timeout time.Duration) *QueryV2Params

NewQueryV2ParamsWithTimeout creates a new QueryV2Params object with the ability to set a timeout on a request.

func (*QueryV2Params) SetContext added in v0.5.0

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

SetContext adds the context to the query v2 params

func (*QueryV2Params) SetDefaults added in v0.5.0

func (o *QueryV2Params) SetDefaults()

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

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

func (*QueryV2Params) SetFilter added in v0.5.0

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

SetFilter adds the filter to the query v2 params

func (*QueryV2Params) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the query v2 params

func (*QueryV2Params) SetIncludeHidden added in v0.6.0

func (o *QueryV2Params) SetIncludeHidden(includeHidden *bool)

SetIncludeHidden adds the includeHidden to the query v2 params

func (*QueryV2Params) SetLimit added in v0.5.0

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

SetLimit adds the limit to the query v2 params

func (*QueryV2Params) SetOffset added in v0.5.0

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

SetOffset adds the offset to the query v2 params

func (*QueryV2Params) SetQ added in v0.5.0

func (o *QueryV2Params) SetQ(q *string)

SetQ adds the q to the query v2 params

func (*QueryV2Params) SetSort added in v0.5.0

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

SetSort adds the sort to the query v2 params

func (*QueryV2Params) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the query v2 params

func (*QueryV2Params) WithContext added in v0.5.0

func (o *QueryV2Params) WithContext(ctx context.Context) *QueryV2Params

WithContext adds the context to the query v2 params

func (*QueryV2Params) WithDefaults added in v0.5.0

func (o *QueryV2Params) WithDefaults() *QueryV2Params

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

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

func (*QueryV2Params) WithFilter added in v0.5.0

func (o *QueryV2Params) WithFilter(filter *string) *QueryV2Params

WithFilter adds the filter to the query v2 params

func (*QueryV2Params) WithHTTPClient added in v0.5.0

func (o *QueryV2Params) WithHTTPClient(client *http.Client) *QueryV2Params

WithHTTPClient adds the HTTPClient to the query v2 params

func (*QueryV2Params) WithIncludeHidden added in v0.6.0

func (o *QueryV2Params) WithIncludeHidden(includeHidden *bool) *QueryV2Params

WithIncludeHidden adds the includeHidden to the query v2 params

func (*QueryV2Params) WithLimit added in v0.5.0

func (o *QueryV2Params) WithLimit(limit *int64) *QueryV2Params

WithLimit adds the limit to the query v2 params

func (*QueryV2Params) WithOffset added in v0.5.0

func (o *QueryV2Params) WithOffset(offset *int64) *QueryV2Params

WithOffset adds the offset to the query v2 params

func (*QueryV2Params) WithQ added in v0.5.0

func (o *QueryV2Params) WithQ(q *string) *QueryV2Params

WithQ adds the q to the query v2 params

func (*QueryV2Params) WithSort added in v0.5.0

func (o *QueryV2Params) WithSort(sort *string) *QueryV2Params

WithSort adds the sort to the query v2 params

func (*QueryV2Params) WithTimeout added in v0.5.0

func (o *QueryV2Params) WithTimeout(timeout time.Duration) *QueryV2Params

WithTimeout adds the timeout to the query v2 params

func (*QueryV2Params) WriteToRequest added in v0.5.0

func (o *QueryV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryV2Reader added in v0.5.0

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

QueryV2Reader is a Reader for the QueryV2 structure.

func (*QueryV2Reader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type QueryV2TooManyRequests added in v0.5.0

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

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

Too Many Requests

func NewQueryV2TooManyRequests added in v0.5.0

func NewQueryV2TooManyRequests() *QueryV2TooManyRequests

NewQueryV2TooManyRequests creates a QueryV2TooManyRequests with default headers values

func (*QueryV2TooManyRequests) Code added in v0.5.0

func (o *QueryV2TooManyRequests) Code() int

Code gets the status code for the query v2 too many requests response

func (*QueryV2TooManyRequests) Error added in v0.5.0

func (o *QueryV2TooManyRequests) Error() string

func (*QueryV2TooManyRequests) GetPayload added in v0.5.0

func (*QueryV2TooManyRequests) IsClientError added in v0.5.0

func (o *QueryV2TooManyRequests) IsClientError() bool

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

func (*QueryV2TooManyRequests) IsCode added in v0.5.0

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

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

func (*QueryV2TooManyRequests) IsRedirect added in v0.5.0

func (o *QueryV2TooManyRequests) IsRedirect() bool

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

func (*QueryV2TooManyRequests) IsServerError added in v0.5.0

func (o *QueryV2TooManyRequests) IsServerError() bool

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

func (*QueryV2TooManyRequests) IsSuccess added in v0.5.0

func (o *QueryV2TooManyRequests) IsSuccess() bool

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

func (*QueryV2TooManyRequests) String added in v0.5.0

func (o *QueryV2TooManyRequests) String() string

type UpdateV3BadRequest added in v0.5.0

type UpdateV3BadRequest 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.DetectsapiResponseFields
}

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

Bad Request

func NewUpdateV3BadRequest added in v0.5.0

func NewUpdateV3BadRequest() *UpdateV3BadRequest

NewUpdateV3BadRequest creates a UpdateV3BadRequest with default headers values

func (*UpdateV3BadRequest) Code added in v0.5.0

func (o *UpdateV3BadRequest) Code() int

Code gets the status code for the update v3 bad request response

func (*UpdateV3BadRequest) Error added in v0.5.0

func (o *UpdateV3BadRequest) Error() string

func (*UpdateV3BadRequest) GetPayload added in v0.5.0

func (*UpdateV3BadRequest) IsClientError added in v0.5.0

func (o *UpdateV3BadRequest) IsClientError() bool

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

func (*UpdateV3BadRequest) IsCode added in v0.5.0

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

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

func (*UpdateV3BadRequest) IsRedirect added in v0.5.0

func (o *UpdateV3BadRequest) IsRedirect() bool

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

func (*UpdateV3BadRequest) IsServerError added in v0.5.0

func (o *UpdateV3BadRequest) IsServerError() bool

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

func (*UpdateV3BadRequest) IsSuccess added in v0.5.0

func (o *UpdateV3BadRequest) IsSuccess() bool

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

func (*UpdateV3BadRequest) String added in v0.5.0

func (o *UpdateV3BadRequest) String() string

type UpdateV3Forbidden added in v0.5.0

type UpdateV3Forbidden 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.MsaReplyMetaOnly
}

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

Forbidden

func NewUpdateV3Forbidden added in v0.5.0

func NewUpdateV3Forbidden() *UpdateV3Forbidden

NewUpdateV3Forbidden creates a UpdateV3Forbidden with default headers values

func (*UpdateV3Forbidden) Code added in v0.5.0

func (o *UpdateV3Forbidden) Code() int

Code gets the status code for the update v3 forbidden response

func (*UpdateV3Forbidden) Error added in v0.5.0

func (o *UpdateV3Forbidden) Error() string

func (*UpdateV3Forbidden) GetPayload added in v0.5.0

func (o *UpdateV3Forbidden) GetPayload() *models.MsaReplyMetaOnly

func (*UpdateV3Forbidden) IsClientError added in v0.5.0

func (o *UpdateV3Forbidden) IsClientError() bool

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

func (*UpdateV3Forbidden) IsCode added in v0.5.0

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

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

func (*UpdateV3Forbidden) IsRedirect added in v0.5.0

func (o *UpdateV3Forbidden) IsRedirect() bool

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

func (*UpdateV3Forbidden) IsServerError added in v0.5.0

func (o *UpdateV3Forbidden) IsServerError() bool

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

func (*UpdateV3Forbidden) IsSuccess added in v0.5.0

func (o *UpdateV3Forbidden) IsSuccess() bool

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

func (*UpdateV3Forbidden) String added in v0.5.0

func (o *UpdateV3Forbidden) String() string

type UpdateV3InternalServerError added in v0.5.0

type UpdateV3InternalServerError 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.DetectsapiResponseFields
}

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

Internal Server Error

func NewUpdateV3InternalServerError added in v0.5.0

func NewUpdateV3InternalServerError() *UpdateV3InternalServerError

NewUpdateV3InternalServerError creates a UpdateV3InternalServerError with default headers values

func (*UpdateV3InternalServerError) Code added in v0.5.0

func (o *UpdateV3InternalServerError) Code() int

Code gets the status code for the update v3 internal server error response

func (*UpdateV3InternalServerError) Error added in v0.5.0

func (*UpdateV3InternalServerError) GetPayload added in v0.5.0

func (*UpdateV3InternalServerError) IsClientError added in v0.5.0

func (o *UpdateV3InternalServerError) IsClientError() bool

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

func (*UpdateV3InternalServerError) IsCode added in v0.5.0

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

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

func (*UpdateV3InternalServerError) IsRedirect added in v0.5.0

func (o *UpdateV3InternalServerError) IsRedirect() bool

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

func (*UpdateV3InternalServerError) IsServerError added in v0.5.0

func (o *UpdateV3InternalServerError) IsServerError() bool

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

func (*UpdateV3InternalServerError) IsSuccess added in v0.5.0

func (o *UpdateV3InternalServerError) IsSuccess() bool

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

func (*UpdateV3InternalServerError) String added in v0.5.0

func (o *UpdateV3InternalServerError) String() string

type UpdateV3OK added in v0.5.0

type UpdateV3OK 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.DetectsapiResponseFields
}

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

OK

func NewUpdateV3OK added in v0.5.0

func NewUpdateV3OK() *UpdateV3OK

NewUpdateV3OK creates a UpdateV3OK with default headers values

func (*UpdateV3OK) Code added in v0.5.0

func (o *UpdateV3OK) Code() int

Code gets the status code for the update v3 o k response

func (*UpdateV3OK) Error added in v0.5.0

func (o *UpdateV3OK) Error() string

func (*UpdateV3OK) GetPayload added in v0.5.0

func (o *UpdateV3OK) GetPayload() *models.DetectsapiResponseFields

func (*UpdateV3OK) IsClientError added in v0.5.0

func (o *UpdateV3OK) IsClientError() bool

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

func (*UpdateV3OK) IsCode added in v0.5.0

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

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

func (*UpdateV3OK) IsRedirect added in v0.5.0

func (o *UpdateV3OK) IsRedirect() bool

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

func (*UpdateV3OK) IsServerError added in v0.5.0

func (o *UpdateV3OK) IsServerError() bool

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

func (*UpdateV3OK) IsSuccess added in v0.5.0

func (o *UpdateV3OK) IsSuccess() bool

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

func (*UpdateV3OK) String added in v0.5.0

func (o *UpdateV3OK) String() string

type UpdateV3Params added in v0.5.0

type UpdateV3Params struct {

	/* Body.

	   request body takes a list of action parameter request that is applied against all "ids" provided
	*/
	Body *models.DetectsapiPatchEntitiesAlertsV3Request

	/* IncludeHidden.

	   allows previously hidden alerts to be retrieved

	   Default: true
	*/
	IncludeHidden *bool

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

UpdateV3Params contains all the parameters to send to the API endpoint

for the update v3 operation.

Typically these are written to a http.Request.

func NewUpdateV3Params added in v0.5.0

func NewUpdateV3Params() *UpdateV3Params

NewUpdateV3Params creates a new UpdateV3Params 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 NewUpdateV3ParamsWithContext added in v0.5.0

func NewUpdateV3ParamsWithContext(ctx context.Context) *UpdateV3Params

NewUpdateV3ParamsWithContext creates a new UpdateV3Params object with the ability to set a context for a request.

func NewUpdateV3ParamsWithHTTPClient added in v0.5.0

func NewUpdateV3ParamsWithHTTPClient(client *http.Client) *UpdateV3Params

NewUpdateV3ParamsWithHTTPClient creates a new UpdateV3Params object with the ability to set a custom HTTPClient for a request.

func NewUpdateV3ParamsWithTimeout added in v0.5.0

func NewUpdateV3ParamsWithTimeout(timeout time.Duration) *UpdateV3Params

NewUpdateV3ParamsWithTimeout creates a new UpdateV3Params object with the ability to set a timeout on a request.

func (*UpdateV3Params) SetBody added in v0.5.0

SetBody adds the body to the update v3 params

func (*UpdateV3Params) SetContext added in v0.5.0

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

SetContext adds the context to the update v3 params

func (*UpdateV3Params) SetDefaults added in v0.5.0

func (o *UpdateV3Params) SetDefaults()

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

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

func (*UpdateV3Params) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the update v3 params

func (*UpdateV3Params) SetIncludeHidden added in v0.6.0

func (o *UpdateV3Params) SetIncludeHidden(includeHidden *bool)

SetIncludeHidden adds the includeHidden to the update v3 params

func (*UpdateV3Params) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the update v3 params

func (*UpdateV3Params) WithBody added in v0.5.0

WithBody adds the body to the update v3 params

func (*UpdateV3Params) WithContext added in v0.5.0

func (o *UpdateV3Params) WithContext(ctx context.Context) *UpdateV3Params

WithContext adds the context to the update v3 params

func (*UpdateV3Params) WithDefaults added in v0.5.0

func (o *UpdateV3Params) WithDefaults() *UpdateV3Params

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

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

func (*UpdateV3Params) WithHTTPClient added in v0.5.0

func (o *UpdateV3Params) WithHTTPClient(client *http.Client) *UpdateV3Params

WithHTTPClient adds the HTTPClient to the update v3 params

func (*UpdateV3Params) WithIncludeHidden added in v0.6.0

func (o *UpdateV3Params) WithIncludeHidden(includeHidden *bool) *UpdateV3Params

WithIncludeHidden adds the includeHidden to the update v3 params

func (*UpdateV3Params) WithTimeout added in v0.5.0

func (o *UpdateV3Params) WithTimeout(timeout time.Duration) *UpdateV3Params

WithTimeout adds the timeout to the update v3 params

func (*UpdateV3Params) WriteToRequest added in v0.5.0

func (o *UpdateV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateV3Reader added in v0.5.0

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

UpdateV3Reader is a Reader for the UpdateV3 structure.

func (*UpdateV3Reader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type UpdateV3TooManyRequests added in v0.5.0

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

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

Too Many Requests

func NewUpdateV3TooManyRequests added in v0.5.0

func NewUpdateV3TooManyRequests() *UpdateV3TooManyRequests

NewUpdateV3TooManyRequests creates a UpdateV3TooManyRequests with default headers values

func (*UpdateV3TooManyRequests) Code added in v0.5.0

func (o *UpdateV3TooManyRequests) Code() int

Code gets the status code for the update v3 too many requests response

func (*UpdateV3TooManyRequests) Error added in v0.5.0

func (o *UpdateV3TooManyRequests) Error() string

func (*UpdateV3TooManyRequests) GetPayload added in v0.5.0

func (*UpdateV3TooManyRequests) IsClientError added in v0.5.0

func (o *UpdateV3TooManyRequests) IsClientError() bool

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

func (*UpdateV3TooManyRequests) IsCode added in v0.5.0

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

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

func (*UpdateV3TooManyRequests) IsRedirect added in v0.5.0

func (o *UpdateV3TooManyRequests) IsRedirect() bool

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

func (*UpdateV3TooManyRequests) IsServerError added in v0.5.0

func (o *UpdateV3TooManyRequests) IsServerError() bool

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

func (*UpdateV3TooManyRequests) IsSuccess added in v0.5.0

func (o *UpdateV3TooManyRequests) IsSuccess() bool

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

func (*UpdateV3TooManyRequests) String added in v0.5.0

func (o *UpdateV3TooManyRequests) String() string

Jump to

Keyboard shortcuts

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