alerts

package
v0.0.0-...-4dc3446 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 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

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

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

GetV2 retrieves all alerts given their composite ids

func (*Client) PatchEntitiesAlertsV2

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

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

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

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

func NewGetAggregateV2BadRequest() *GetAggregateV2BadRequest

NewGetAggregateV2BadRequest creates a GetAggregateV2BadRequest with default headers values

func (*GetAggregateV2BadRequest) Code

func (o *GetAggregateV2BadRequest) Code() int

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

func (*GetAggregateV2BadRequest) Error

func (o *GetAggregateV2BadRequest) Error() string

func (*GetAggregateV2BadRequest) GetPayload

func (*GetAggregateV2BadRequest) IsClientError

func (o *GetAggregateV2BadRequest) IsClientError() bool

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

func (*GetAggregateV2BadRequest) IsCode

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

func (o *GetAggregateV2BadRequest) IsRedirect() bool

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

func (*GetAggregateV2BadRequest) IsServerError

func (o *GetAggregateV2BadRequest) IsServerError() bool

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

func (*GetAggregateV2BadRequest) IsSuccess

func (o *GetAggregateV2BadRequest) IsSuccess() bool

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

func (*GetAggregateV2BadRequest) String

func (o *GetAggregateV2BadRequest) String() string

type GetAggregateV2Forbidden

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

func NewGetAggregateV2Forbidden() *GetAggregateV2Forbidden

NewGetAggregateV2Forbidden creates a GetAggregateV2Forbidden with default headers values

func (*GetAggregateV2Forbidden) Code

func (o *GetAggregateV2Forbidden) Code() int

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

func (*GetAggregateV2Forbidden) Error

func (o *GetAggregateV2Forbidden) Error() string

func (*GetAggregateV2Forbidden) GetPayload

func (*GetAggregateV2Forbidden) IsClientError

func (o *GetAggregateV2Forbidden) IsClientError() bool

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

func (*GetAggregateV2Forbidden) IsCode

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

func (o *GetAggregateV2Forbidden) IsRedirect() bool

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

func (*GetAggregateV2Forbidden) IsServerError

func (o *GetAggregateV2Forbidden) IsServerError() bool

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

func (*GetAggregateV2Forbidden) IsSuccess

func (o *GetAggregateV2Forbidden) IsSuccess() bool

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

func (*GetAggregateV2Forbidden) String

func (o *GetAggregateV2Forbidden) String() string

type GetAggregateV2InternalServerError

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

func NewGetAggregateV2InternalServerError() *GetAggregateV2InternalServerError

NewGetAggregateV2InternalServerError creates a GetAggregateV2InternalServerError with default headers values

func (*GetAggregateV2InternalServerError) Code

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

func (*GetAggregateV2InternalServerError) Error

func (*GetAggregateV2InternalServerError) GetPayload

func (*GetAggregateV2InternalServerError) IsClientError

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

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

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

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

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

type GetAggregateV2OK

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

func NewGetAggregateV2OK() *GetAggregateV2OK

NewGetAggregateV2OK creates a GetAggregateV2OK with default headers values

func (*GetAggregateV2OK) Code

func (o *GetAggregateV2OK) Code() int

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

func (*GetAggregateV2OK) Error

func (o *GetAggregateV2OK) Error() string

func (*GetAggregateV2OK) GetPayload

func (*GetAggregateV2OK) IsClientError

func (o *GetAggregateV2OK) IsClientError() bool

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

func (*GetAggregateV2OK) IsCode

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

func (o *GetAggregateV2OK) IsRedirect() bool

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

func (*GetAggregateV2OK) IsServerError

func (o *GetAggregateV2OK) IsServerError() bool

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

func (*GetAggregateV2OK) IsSuccess

func (o *GetAggregateV2OK) IsSuccess() bool

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

func (*GetAggregateV2OK) String

func (o *GetAggregateV2OK) String() string

type GetAggregateV2Params

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

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

func NewGetAggregateV2ParamsWithContext(ctx context.Context) *GetAggregateV2Params

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

func NewGetAggregateV2ParamsWithHTTPClient

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

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

SetBody adds the body to the get aggregate v2 params

func (*GetAggregateV2Params) SetContext

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

SetContext adds the context to the get aggregate v2 params

func (*GetAggregateV2Params) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the get aggregate v2 params

func (*GetAggregateV2Params) SetIncludeHidden

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

SetIncludeHidden adds the includeHidden to the get aggregate v2 params

func (*GetAggregateV2Params) SetTimeout

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

SetTimeout adds the timeout to the get aggregate v2 params

func (*GetAggregateV2Params) WithBody

WithBody adds the body to the get aggregate v2 params

func (*GetAggregateV2Params) WithContext

WithContext adds the context to the get aggregate v2 params

func (*GetAggregateV2Params) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the get aggregate v2 params

func (*GetAggregateV2Params) WithIncludeHidden

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

WithIncludeHidden adds the includeHidden to the get aggregate v2 params

func (*GetAggregateV2Params) WithTimeout

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

WithTimeout adds the timeout to the get aggregate v2 params

func (*GetAggregateV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAggregateV2Reader

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

GetAggregateV2Reader is a Reader for the GetAggregateV2 structure.

func (*GetAggregateV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAggregateV2TooManyRequests

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

func NewGetAggregateV2TooManyRequests() *GetAggregateV2TooManyRequests

NewGetAggregateV2TooManyRequests creates a GetAggregateV2TooManyRequests with default headers values

func (*GetAggregateV2TooManyRequests) Code

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

func (*GetAggregateV2TooManyRequests) Error

func (*GetAggregateV2TooManyRequests) GetPayload

func (*GetAggregateV2TooManyRequests) IsClientError

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

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

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

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

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

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

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

func (*GetQueriesAlertsV1BadRequest) Error

func (*GetQueriesAlertsV1BadRequest) GetPayload

func (*GetQueriesAlertsV1BadRequest) IsClientError

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

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

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

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

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

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

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

func (o *GetQueriesAlertsV1Forbidden) IsClientError() bool

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

func (*GetQueriesAlertsV1Forbidden) IsCode

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

func (o *GetQueriesAlertsV1Forbidden) IsRedirect() bool

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

func (*GetQueriesAlertsV1Forbidden) IsServerError

func (o *GetQueriesAlertsV1Forbidden) IsServerError() bool

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

func (*GetQueriesAlertsV1Forbidden) IsSuccess

func (o *GetQueriesAlertsV1Forbidden) IsSuccess() bool

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

func (*GetQueriesAlertsV1Forbidden) String

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

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

func (*GetQueriesAlertsV1InternalServerError) Error

func (*GetQueriesAlertsV1InternalServerError) GetPayload

func (*GetQueriesAlertsV1InternalServerError) IsClientError

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

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

func (*GetQueriesAlertsV1InternalServerError) IsRedirect

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

func (*GetQueriesAlertsV1InternalServerError) IsServerError

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

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

func (*GetQueriesAlertsV1InternalServerError) String

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

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

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

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

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

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

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

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

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

func (*GetQueriesAlertsV1TooManyRequests) Error

func (*GetQueriesAlertsV1TooManyRequests) GetPayload

func (*GetQueriesAlertsV1TooManyRequests) IsClientError

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

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

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

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

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

type GetV2BadRequest

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

func NewGetV2BadRequest() *GetV2BadRequest

NewGetV2BadRequest creates a GetV2BadRequest with default headers values

func (*GetV2BadRequest) Code

func (o *GetV2BadRequest) Code() int

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

func (*GetV2BadRequest) Error

func (o *GetV2BadRequest) Error() string

func (*GetV2BadRequest) GetPayload

func (*GetV2BadRequest) IsClientError

func (o *GetV2BadRequest) IsClientError() bool

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

func (*GetV2BadRequest) IsCode

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

func (o *GetV2BadRequest) IsRedirect() bool

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

func (*GetV2BadRequest) IsServerError

func (o *GetV2BadRequest) IsServerError() bool

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

func (*GetV2BadRequest) IsSuccess

func (o *GetV2BadRequest) IsSuccess() bool

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

func (*GetV2BadRequest) String

func (o *GetV2BadRequest) String() string

type GetV2Forbidden

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

func NewGetV2Forbidden() *GetV2Forbidden

NewGetV2Forbidden creates a GetV2Forbidden with default headers values

func (*GetV2Forbidden) Code

func (o *GetV2Forbidden) Code() int

Code gets the status code for the get v2 forbidden response

func (*GetV2Forbidden) Error

func (o *GetV2Forbidden) Error() string

func (*GetV2Forbidden) GetPayload

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

func (*GetV2Forbidden) IsClientError

func (o *GetV2Forbidden) IsClientError() bool

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

func (*GetV2Forbidden) IsCode

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

func (o *GetV2Forbidden) IsRedirect() bool

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

func (*GetV2Forbidden) IsServerError

func (o *GetV2Forbidden) IsServerError() bool

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

func (*GetV2Forbidden) IsSuccess

func (o *GetV2Forbidden) IsSuccess() bool

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

func (*GetV2Forbidden) String

func (o *GetV2Forbidden) String() string

type GetV2InternalServerError

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

func NewGetV2InternalServerError() *GetV2InternalServerError

NewGetV2InternalServerError creates a GetV2InternalServerError with default headers values

func (*GetV2InternalServerError) Code

func (o *GetV2InternalServerError) Code() int

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

func (*GetV2InternalServerError) Error

func (o *GetV2InternalServerError) Error() string

func (*GetV2InternalServerError) GetPayload

func (*GetV2InternalServerError) IsClientError

func (o *GetV2InternalServerError) IsClientError() bool

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

func (*GetV2InternalServerError) IsCode

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

func (o *GetV2InternalServerError) IsRedirect() bool

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

func (*GetV2InternalServerError) IsServerError

func (o *GetV2InternalServerError) IsServerError() bool

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

func (*GetV2InternalServerError) IsSuccess

func (o *GetV2InternalServerError) IsSuccess() bool

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

func (*GetV2InternalServerError) String

func (o *GetV2InternalServerError) String() string

type GetV2OK

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

func NewGetV2OK() *GetV2OK

NewGetV2OK creates a GetV2OK with default headers values

func (*GetV2OK) Code

func (o *GetV2OK) Code() int

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

func (*GetV2OK) Error

func (o *GetV2OK) Error() string

func (*GetV2OK) GetPayload

func (*GetV2OK) IsClientError

func (o *GetV2OK) IsClientError() bool

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

func (*GetV2OK) IsCode

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

func (o *GetV2OK) IsRedirect() bool

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

func (*GetV2OK) IsServerError

func (o *GetV2OK) IsServerError() bool

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

func (*GetV2OK) IsSuccess

func (o *GetV2OK) IsSuccess() bool

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

func (*GetV2OK) String

func (o *GetV2OK) String() string

type GetV2Params

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

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

func NewGetV2ParamsWithContext(ctx context.Context) *GetV2Params

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

func NewGetV2ParamsWithHTTPClient

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

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

SetBody adds the body to the get v2 params

func (*GetV2Params) SetContext

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

SetContext adds the context to the get v2 params

func (*GetV2Params) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the get v2 params

func (*GetV2Params) SetIncludeHidden

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

SetIncludeHidden adds the includeHidden to the get v2 params

func (*GetV2Params) SetTimeout

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

SetTimeout adds the timeout to the get v2 params

func (*GetV2Params) WithBody

WithBody adds the body to the get v2 params

func (*GetV2Params) WithContext

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

WithContext adds the context to the get v2 params

func (*GetV2Params) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the get v2 params

func (*GetV2Params) WithIncludeHidden

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

WithIncludeHidden adds the includeHidden to the get v2 params

func (*GetV2Params) WithTimeout

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

WithTimeout adds the timeout to the get v2 params

func (*GetV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetV2Reader

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

GetV2Reader is a Reader for the GetV2 structure.

func (*GetV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV2TooManyRequests

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

func NewGetV2TooManyRequests() *GetV2TooManyRequests

NewGetV2TooManyRequests creates a GetV2TooManyRequests with default headers values

func (*GetV2TooManyRequests) Code

func (o *GetV2TooManyRequests) Code() int

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

func (*GetV2TooManyRequests) Error

func (o *GetV2TooManyRequests) Error() string

func (*GetV2TooManyRequests) GetPayload

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

func (*GetV2TooManyRequests) IsClientError

func (o *GetV2TooManyRequests) IsClientError() bool

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

func (*GetV2TooManyRequests) IsCode

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

func (o *GetV2TooManyRequests) IsRedirect() bool

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

func (*GetV2TooManyRequests) IsServerError

func (o *GetV2TooManyRequests) IsServerError() bool

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

func (*GetV2TooManyRequests) IsSuccess

func (o *GetV2TooManyRequests) IsSuccess() bool

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

func (*GetV2TooManyRequests) String

func (o *GetV2TooManyRequests) String() string

type PatchEntitiesAlertsV2BadRequest

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

func NewPatchEntitiesAlertsV2BadRequest() *PatchEntitiesAlertsV2BadRequest

NewPatchEntitiesAlertsV2BadRequest creates a PatchEntitiesAlertsV2BadRequest with default headers values

func (*PatchEntitiesAlertsV2BadRequest) Code

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

func (*PatchEntitiesAlertsV2BadRequest) Error

func (*PatchEntitiesAlertsV2BadRequest) GetPayload

func (*PatchEntitiesAlertsV2BadRequest) IsClientError

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

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

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

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

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

type PatchEntitiesAlertsV2Forbidden

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

func NewPatchEntitiesAlertsV2Forbidden() *PatchEntitiesAlertsV2Forbidden

NewPatchEntitiesAlertsV2Forbidden creates a PatchEntitiesAlertsV2Forbidden with default headers values

func (*PatchEntitiesAlertsV2Forbidden) Code

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

func (*PatchEntitiesAlertsV2Forbidden) Error

func (*PatchEntitiesAlertsV2Forbidden) GetPayload

func (*PatchEntitiesAlertsV2Forbidden) IsClientError

func (o *PatchEntitiesAlertsV2Forbidden) IsClientError() bool

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

func (*PatchEntitiesAlertsV2Forbidden) IsCode

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

func (o *PatchEntitiesAlertsV2Forbidden) IsRedirect() bool

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

func (*PatchEntitiesAlertsV2Forbidden) IsServerError

func (o *PatchEntitiesAlertsV2Forbidden) IsServerError() bool

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

func (*PatchEntitiesAlertsV2Forbidden) IsSuccess

func (o *PatchEntitiesAlertsV2Forbidden) IsSuccess() bool

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

func (*PatchEntitiesAlertsV2Forbidden) String

type PatchEntitiesAlertsV2InternalServerError

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

func NewPatchEntitiesAlertsV2InternalServerError() *PatchEntitiesAlertsV2InternalServerError

NewPatchEntitiesAlertsV2InternalServerError creates a PatchEntitiesAlertsV2InternalServerError with default headers values

func (*PatchEntitiesAlertsV2InternalServerError) Code

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

func (*PatchEntitiesAlertsV2InternalServerError) Error

func (*PatchEntitiesAlertsV2InternalServerError) GetPayload

func (*PatchEntitiesAlertsV2InternalServerError) IsClientError

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

func (*PatchEntitiesAlertsV2InternalServerError) IsCode

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

func (*PatchEntitiesAlertsV2InternalServerError) IsRedirect

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

func (*PatchEntitiesAlertsV2InternalServerError) IsServerError

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

func (*PatchEntitiesAlertsV2InternalServerError) IsSuccess

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

func (*PatchEntitiesAlertsV2InternalServerError) String

type PatchEntitiesAlertsV2OK

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

func NewPatchEntitiesAlertsV2OK() *PatchEntitiesAlertsV2OK

NewPatchEntitiesAlertsV2OK creates a PatchEntitiesAlertsV2OK with default headers values

func (*PatchEntitiesAlertsV2OK) Code

func (o *PatchEntitiesAlertsV2OK) Code() int

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

func (*PatchEntitiesAlertsV2OK) Error

func (o *PatchEntitiesAlertsV2OK) Error() string

func (*PatchEntitiesAlertsV2OK) GetPayload

func (*PatchEntitiesAlertsV2OK) IsClientError

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

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

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

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

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

func (o *PatchEntitiesAlertsV2OK) String() string

type PatchEntitiesAlertsV2Params

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

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

func NewPatchEntitiesAlertsV2ParamsWithContext(ctx context.Context) *PatchEntitiesAlertsV2Params

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

func NewPatchEntitiesAlertsV2ParamsWithHTTPClient

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

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

SetBody adds the body to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetContext

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

SetContext adds the context to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetTimeout

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

SetTimeout adds the timeout to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithBody

WithBody adds the body to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithContext

WithContext adds the context to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithTimeout

WithTimeout adds the timeout to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchEntitiesAlertsV2Reader

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

PatchEntitiesAlertsV2Reader is a Reader for the PatchEntitiesAlertsV2 structure.

func (*PatchEntitiesAlertsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchEntitiesAlertsV2TooManyRequests

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

func NewPatchEntitiesAlertsV2TooManyRequests() *PatchEntitiesAlertsV2TooManyRequests

NewPatchEntitiesAlertsV2TooManyRequests creates a PatchEntitiesAlertsV2TooManyRequests with default headers values

func (*PatchEntitiesAlertsV2TooManyRequests) Code

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

func (*PatchEntitiesAlertsV2TooManyRequests) Error

func (*PatchEntitiesAlertsV2TooManyRequests) GetPayload

func (*PatchEntitiesAlertsV2TooManyRequests) IsClientError

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

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

func (*PatchEntitiesAlertsV2TooManyRequests) IsRedirect

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

func (*PatchEntitiesAlertsV2TooManyRequests) IsServerError

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

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

func (*PatchEntitiesAlertsV2TooManyRequests) String

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

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

func (*PostAggregatesAlertsV1BadRequest) Error

func (*PostAggregatesAlertsV1BadRequest) GetPayload

func (*PostAggregatesAlertsV1BadRequest) IsClientError

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

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

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

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

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

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

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

func (*PostAggregatesAlertsV1Forbidden) Error

func (*PostAggregatesAlertsV1Forbidden) GetPayload

func (*PostAggregatesAlertsV1Forbidden) IsClientError

func (o *PostAggregatesAlertsV1Forbidden) IsClientError() bool

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

func (*PostAggregatesAlertsV1Forbidden) IsCode

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

func (o *PostAggregatesAlertsV1Forbidden) IsRedirect() bool

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

func (*PostAggregatesAlertsV1Forbidden) IsServerError

func (o *PostAggregatesAlertsV1Forbidden) IsServerError() bool

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

func (*PostAggregatesAlertsV1Forbidden) IsSuccess

func (o *PostAggregatesAlertsV1Forbidden) IsSuccess() bool

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

func (*PostAggregatesAlertsV1Forbidden) String

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

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

func (*PostAggregatesAlertsV1InternalServerError) Error

func (*PostAggregatesAlertsV1InternalServerError) GetPayload

func (*PostAggregatesAlertsV1InternalServerError) IsClientError

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

func (*PostAggregatesAlertsV1InternalServerError) IsCode

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

func (*PostAggregatesAlertsV1InternalServerError) IsRedirect

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

func (*PostAggregatesAlertsV1InternalServerError) IsServerError

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

func (*PostAggregatesAlertsV1InternalServerError) IsSuccess

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

func (*PostAggregatesAlertsV1InternalServerError) String

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

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

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

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

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

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

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

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

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

func (*PostAggregatesAlertsV1TooManyRequests) Error

func (*PostAggregatesAlertsV1TooManyRequests) GetPayload

func (*PostAggregatesAlertsV1TooManyRequests) IsClientError

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

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

func (*PostAggregatesAlertsV1TooManyRequests) IsRedirect

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

func (*PostAggregatesAlertsV1TooManyRequests) IsServerError

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

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

func (*PostAggregatesAlertsV1TooManyRequests) String

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

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

func (*PostEntitiesAlertsV1BadRequest) Error

func (*PostEntitiesAlertsV1BadRequest) GetPayload

func (*PostEntitiesAlertsV1BadRequest) IsClientError

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

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

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

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

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

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

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

func (*PostEntitiesAlertsV1Forbidden) Error

func (*PostEntitiesAlertsV1Forbidden) GetPayload

func (*PostEntitiesAlertsV1Forbidden) IsClientError

func (o *PostEntitiesAlertsV1Forbidden) IsClientError() bool

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

func (*PostEntitiesAlertsV1Forbidden) IsCode

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

func (o *PostEntitiesAlertsV1Forbidden) IsRedirect() bool

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

func (*PostEntitiesAlertsV1Forbidden) IsServerError

func (o *PostEntitiesAlertsV1Forbidden) IsServerError() bool

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

func (*PostEntitiesAlertsV1Forbidden) IsSuccess

func (o *PostEntitiesAlertsV1Forbidden) IsSuccess() bool

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

func (*PostEntitiesAlertsV1Forbidden) String

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

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

func (*PostEntitiesAlertsV1InternalServerError) Error

func (*PostEntitiesAlertsV1InternalServerError) GetPayload

func (*PostEntitiesAlertsV1InternalServerError) IsClientError

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

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

func (*PostEntitiesAlertsV1InternalServerError) IsRedirect

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

func (*PostEntitiesAlertsV1InternalServerError) IsServerError

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

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

func (*PostEntitiesAlertsV1InternalServerError) String

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

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

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

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

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

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

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

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

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

func (*PostEntitiesAlertsV1TooManyRequests) Error

func (*PostEntitiesAlertsV1TooManyRequests) GetPayload

func (*PostEntitiesAlertsV1TooManyRequests) IsClientError

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

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

func (*PostEntitiesAlertsV1TooManyRequests) IsRedirect

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

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

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

func (*PostEntitiesAlertsV1TooManyRequests) String

type QueryV2BadRequest

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

func NewQueryV2BadRequest() *QueryV2BadRequest

NewQueryV2BadRequest creates a QueryV2BadRequest with default headers values

func (*QueryV2BadRequest) Code

func (o *QueryV2BadRequest) Code() int

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

func (*QueryV2BadRequest) Error

func (o *QueryV2BadRequest) Error() string

func (*QueryV2BadRequest) GetPayload

func (*QueryV2BadRequest) IsClientError

func (o *QueryV2BadRequest) IsClientError() bool

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

func (*QueryV2BadRequest) IsCode

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

func (o *QueryV2BadRequest) IsRedirect() bool

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

func (*QueryV2BadRequest) IsServerError

func (o *QueryV2BadRequest) IsServerError() bool

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

func (*QueryV2BadRequest) IsSuccess

func (o *QueryV2BadRequest) IsSuccess() bool

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

func (*QueryV2BadRequest) String

func (o *QueryV2BadRequest) String() string

type QueryV2Forbidden

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

func NewQueryV2Forbidden() *QueryV2Forbidden

NewQueryV2Forbidden creates a QueryV2Forbidden with default headers values

func (*QueryV2Forbidden) Code

func (o *QueryV2Forbidden) Code() int

Code gets the status code for the query v2 forbidden response

func (*QueryV2Forbidden) Error

func (o *QueryV2Forbidden) Error() string

func (*QueryV2Forbidden) GetPayload

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

func (*QueryV2Forbidden) IsClientError

func (o *QueryV2Forbidden) IsClientError() bool

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

func (*QueryV2Forbidden) IsCode

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

func (o *QueryV2Forbidden) IsRedirect() bool

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

func (*QueryV2Forbidden) IsServerError

func (o *QueryV2Forbidden) IsServerError() bool

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

func (*QueryV2Forbidden) IsSuccess

func (o *QueryV2Forbidden) IsSuccess() bool

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

func (*QueryV2Forbidden) String

func (o *QueryV2Forbidden) String() string

type QueryV2InternalServerError

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

func NewQueryV2InternalServerError() *QueryV2InternalServerError

NewQueryV2InternalServerError creates a QueryV2InternalServerError with default headers values

func (*QueryV2InternalServerError) Code

func (o *QueryV2InternalServerError) Code() int

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

func (*QueryV2InternalServerError) Error

func (*QueryV2InternalServerError) GetPayload

func (*QueryV2InternalServerError) IsClientError

func (o *QueryV2InternalServerError) IsClientError() bool

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

func (*QueryV2InternalServerError) IsCode

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

func (o *QueryV2InternalServerError) IsRedirect() bool

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

func (*QueryV2InternalServerError) IsServerError

func (o *QueryV2InternalServerError) IsServerError() bool

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

func (*QueryV2InternalServerError) IsSuccess

func (o *QueryV2InternalServerError) IsSuccess() bool

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

func (*QueryV2InternalServerError) String

func (o *QueryV2InternalServerError) String() string

type QueryV2OK

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

func NewQueryV2OK() *QueryV2OK

NewQueryV2OK creates a QueryV2OK with default headers values

func (*QueryV2OK) Code

func (o *QueryV2OK) Code() int

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

func (*QueryV2OK) Error

func (o *QueryV2OK) Error() string

func (*QueryV2OK) GetPayload

func (*QueryV2OK) IsClientError

func (o *QueryV2OK) IsClientError() bool

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

func (*QueryV2OK) IsCode

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

func (o *QueryV2OK) IsRedirect() bool

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

func (*QueryV2OK) IsServerError

func (o *QueryV2OK) IsServerError() bool

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

func (*QueryV2OK) IsSuccess

func (o *QueryV2OK) IsSuccess() bool

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

func (*QueryV2OK) String

func (o *QueryV2OK) String() string

type QueryV2Params

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

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

func NewQueryV2ParamsWithContext(ctx context.Context) *QueryV2Params

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

func NewQueryV2ParamsWithHTTPClient

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

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

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

SetContext adds the context to the query v2 params

func (*QueryV2Params) SetDefaults

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

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

SetFilter adds the filter to the query v2 params

func (*QueryV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query v2 params

func (*QueryV2Params) SetIncludeHidden

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

SetIncludeHidden adds the includeHidden to the query v2 params

func (*QueryV2Params) SetLimit

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

SetLimit adds the limit to the query v2 params

func (*QueryV2Params) SetOffset

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

SetOffset adds the offset to the query v2 params

func (*QueryV2Params) SetQ

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

SetQ adds the q to the query v2 params

func (*QueryV2Params) SetSort

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

SetSort adds the sort to the query v2 params

func (*QueryV2Params) SetTimeout

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

SetTimeout adds the timeout to the query v2 params

func (*QueryV2Params) WithContext

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

WithContext adds the context to the query v2 params

func (*QueryV2Params) WithDefaults

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

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

WithFilter adds the filter to the query v2 params

func (*QueryV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query v2 params

func (*QueryV2Params) WithIncludeHidden

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

WithIncludeHidden adds the includeHidden to the query v2 params

func (*QueryV2Params) WithLimit

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

WithLimit adds the limit to the query v2 params

func (*QueryV2Params) WithOffset

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

WithOffset adds the offset to the query v2 params

func (*QueryV2Params) WithQ

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

WithQ adds the q to the query v2 params

func (*QueryV2Params) WithSort

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

WithSort adds the sort to the query v2 params

func (*QueryV2Params) WithTimeout

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

WithTimeout adds the timeout to the query v2 params

func (*QueryV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryV2Reader

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

QueryV2Reader is a Reader for the QueryV2 structure.

func (*QueryV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryV2TooManyRequests

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

func NewQueryV2TooManyRequests() *QueryV2TooManyRequests

NewQueryV2TooManyRequests creates a QueryV2TooManyRequests with default headers values

func (*QueryV2TooManyRequests) Code

func (o *QueryV2TooManyRequests) Code() int

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

func (*QueryV2TooManyRequests) Error

func (o *QueryV2TooManyRequests) Error() string

func (*QueryV2TooManyRequests) GetPayload

func (*QueryV2TooManyRequests) IsClientError

func (o *QueryV2TooManyRequests) IsClientError() bool

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

func (*QueryV2TooManyRequests) IsCode

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

func (o *QueryV2TooManyRequests) IsRedirect() bool

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

func (*QueryV2TooManyRequests) IsServerError

func (o *QueryV2TooManyRequests) IsServerError() bool

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

func (*QueryV2TooManyRequests) IsSuccess

func (o *QueryV2TooManyRequests) IsSuccess() bool

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

func (*QueryV2TooManyRequests) String

func (o *QueryV2TooManyRequests) String() string

type UpdateV3BadRequest

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

func NewUpdateV3BadRequest() *UpdateV3BadRequest

NewUpdateV3BadRequest creates a UpdateV3BadRequest with default headers values

func (*UpdateV3BadRequest) Code

func (o *UpdateV3BadRequest) Code() int

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

func (*UpdateV3BadRequest) Error

func (o *UpdateV3BadRequest) Error() string

func (*UpdateV3BadRequest) GetPayload

func (*UpdateV3BadRequest) IsClientError

func (o *UpdateV3BadRequest) IsClientError() bool

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

func (*UpdateV3BadRequest) IsCode

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

func (o *UpdateV3BadRequest) IsRedirect() bool

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

func (*UpdateV3BadRequest) IsServerError

func (o *UpdateV3BadRequest) IsServerError() bool

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

func (*UpdateV3BadRequest) IsSuccess

func (o *UpdateV3BadRequest) IsSuccess() bool

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

func (*UpdateV3BadRequest) String

func (o *UpdateV3BadRequest) String() string

type UpdateV3Forbidden

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

func NewUpdateV3Forbidden() *UpdateV3Forbidden

NewUpdateV3Forbidden creates a UpdateV3Forbidden with default headers values

func (*UpdateV3Forbidden) Code

func (o *UpdateV3Forbidden) Code() int

Code gets the status code for the update v3 forbidden response

func (*UpdateV3Forbidden) Error

func (o *UpdateV3Forbidden) Error() string

func (*UpdateV3Forbidden) GetPayload

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

func (*UpdateV3Forbidden) IsClientError

func (o *UpdateV3Forbidden) IsClientError() bool

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

func (*UpdateV3Forbidden) IsCode

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

func (o *UpdateV3Forbidden) IsRedirect() bool

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

func (*UpdateV3Forbidden) IsServerError

func (o *UpdateV3Forbidden) IsServerError() bool

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

func (*UpdateV3Forbidden) IsSuccess

func (o *UpdateV3Forbidden) IsSuccess() bool

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

func (*UpdateV3Forbidden) String

func (o *UpdateV3Forbidden) String() string

type UpdateV3InternalServerError

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

func NewUpdateV3InternalServerError() *UpdateV3InternalServerError

NewUpdateV3InternalServerError creates a UpdateV3InternalServerError with default headers values

func (*UpdateV3InternalServerError) Code

func (o *UpdateV3InternalServerError) Code() int

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

func (*UpdateV3InternalServerError) Error

func (*UpdateV3InternalServerError) GetPayload

func (*UpdateV3InternalServerError) IsClientError

func (o *UpdateV3InternalServerError) IsClientError() bool

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

func (*UpdateV3InternalServerError) IsCode

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

func (o *UpdateV3InternalServerError) IsRedirect() bool

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

func (*UpdateV3InternalServerError) IsServerError

func (o *UpdateV3InternalServerError) IsServerError() bool

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

func (*UpdateV3InternalServerError) IsSuccess

func (o *UpdateV3InternalServerError) IsSuccess() bool

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

func (*UpdateV3InternalServerError) String

func (o *UpdateV3InternalServerError) String() string

type UpdateV3OK

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

func NewUpdateV3OK() *UpdateV3OK

NewUpdateV3OK creates a UpdateV3OK with default headers values

func (*UpdateV3OK) Code

func (o *UpdateV3OK) Code() int

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

func (*UpdateV3OK) Error

func (o *UpdateV3OK) Error() string

func (*UpdateV3OK) GetPayload

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

func (*UpdateV3OK) IsClientError

func (o *UpdateV3OK) IsClientError() bool

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

func (*UpdateV3OK) IsCode

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

func (o *UpdateV3OK) IsRedirect() bool

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

func (*UpdateV3OK) IsServerError

func (o *UpdateV3OK) IsServerError() bool

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

func (*UpdateV3OK) IsSuccess

func (o *UpdateV3OK) IsSuccess() bool

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

func (*UpdateV3OK) String

func (o *UpdateV3OK) String() string

type UpdateV3Params

type UpdateV3Params struct {

	/* Body.

	   request body takes a list of action parameter request that is applied against all "composite_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

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

func NewUpdateV3ParamsWithContext(ctx context.Context) *UpdateV3Params

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

func NewUpdateV3ParamsWithHTTPClient

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

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

SetBody adds the body to the update v3 params

func (*UpdateV3Params) SetContext

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

SetContext adds the context to the update v3 params

func (*UpdateV3Params) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the update v3 params

func (*UpdateV3Params) SetIncludeHidden

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

SetIncludeHidden adds the includeHidden to the update v3 params

func (*UpdateV3Params) SetTimeout

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

SetTimeout adds the timeout to the update v3 params

func (*UpdateV3Params) WithBody

WithBody adds the body to the update v3 params

func (*UpdateV3Params) WithContext

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

WithContext adds the context to the update v3 params

func (*UpdateV3Params) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the update v3 params

func (*UpdateV3Params) WithIncludeHidden

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

WithIncludeHidden adds the includeHidden to the update v3 params

func (*UpdateV3Params) WithTimeout

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

WithTimeout adds the timeout to the update v3 params

func (*UpdateV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateV3Reader

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

UpdateV3Reader is a Reader for the UpdateV3 structure.

func (*UpdateV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateV3TooManyRequests

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

func NewUpdateV3TooManyRequests() *UpdateV3TooManyRequests

NewUpdateV3TooManyRequests creates a UpdateV3TooManyRequests with default headers values

func (*UpdateV3TooManyRequests) Code

func (o *UpdateV3TooManyRequests) Code() int

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

func (*UpdateV3TooManyRequests) Error

func (o *UpdateV3TooManyRequests) Error() string

func (*UpdateV3TooManyRequests) GetPayload

func (*UpdateV3TooManyRequests) IsClientError

func (o *UpdateV3TooManyRequests) IsClientError() bool

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

func (*UpdateV3TooManyRequests) IsCode

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

func (o *UpdateV3TooManyRequests) IsRedirect() bool

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

func (*UpdateV3TooManyRequests) IsServerError

func (o *UpdateV3TooManyRequests) IsServerError() bool

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

func (*UpdateV3TooManyRequests) IsSuccess

func (o *UpdateV3TooManyRequests) IsSuccess() bool

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

func (*UpdateV3TooManyRequests) String

func (o *UpdateV3TooManyRequests) String() string

Jump to

Keyboard shortcuts

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