alerts

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for alerts API

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) PatchEntitiesAlertsV1

func (a *Client) PatchEntitiesAlertsV1(params *PatchEntitiesAlertsV1Params, opts ...ClientOption) (*PatchEntitiesAlertsV1OK, error)

PatchEntitiesAlertsV1 performs actions on detections identified by detection ID s in request each action has a name and a description which describes what the action does remove tag remove a tag from 1 or more detection s assign to user id assign 1 or more detection s to a user identified by user id eg user1 at example com unassign unassign an previously assigned user from 1 or more detection s the value passed to this action is ignored new behavior processed adds a newly processed behavior to 1 or more detection s update status update status for 1 or more detection s assign to uuid assign 1 or more detection s to a user identified by UUID add tag add a tag to 1 or more detection s remove tags by prefix remove tags with given prefix from 1 or more detection s append comment appends new comment to existing comments assign to name assign 1 or more detection s to a user identified by user name show in ui shows 1 or more detection s on UI if set to true hides otherwise an empty nil value is also valid skip side effects internal only command to skip side effects during beta phase

func (*Client) PatchEntitiesAlertsV2 added in v0.2.24

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

PatchEntitiesAlertsV2 performs actions on detections identified by detection ID s in request each action has a name and a description which describes what the action does

func (*Client) PostAggregatesAlertsV1

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

PostAggregatesAlertsV1 retrieves aggregates 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) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetQueriesAlertsV1(params *GetQueriesAlertsV1Params, opts ...ClientOption) (*GetQueriesAlertsV1OK, error)

	PatchEntitiesAlertsV1(params *PatchEntitiesAlertsV1Params, opts ...ClientOption) (*PatchEntitiesAlertsV1OK, error)

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

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

	PostEntitiesAlertsV1(params *PostEntitiesAlertsV1Params, opts ...ClientOption) (*PostEntitiesAlertsV1OK, 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 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.MsaQueryResponse
}

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

Bad Request

func NewGetQueriesAlertsV1BadRequest

func NewGetQueriesAlertsV1BadRequest() *GetQueriesAlertsV1BadRequest

NewGetQueriesAlertsV1BadRequest creates a GetQueriesAlertsV1BadRequest with default headers values

func (*GetQueriesAlertsV1BadRequest) Code added in v0.2.33

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

func (*GetQueriesAlertsV1BadRequest) Error

func (*GetQueriesAlertsV1BadRequest) GetPayload

func (*GetQueriesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsClientError() bool

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

func (*GetQueriesAlertsV1BadRequest) IsCode added in v0.2.27

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

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

func (*GetQueriesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsRedirect() bool

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

func (*GetQueriesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsServerError() bool

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

func (*GetQueriesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1BadRequest) IsSuccess() bool

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

func (*GetQueriesAlertsV1BadRequest) String added in v0.2.27

type GetQueriesAlertsV1Default

type GetQueriesAlertsV1Default struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}

GetQueriesAlertsV1Default describes a response with status code -1, with default header values.

OK

func NewGetQueriesAlertsV1Default

func NewGetQueriesAlertsV1Default(code int) *GetQueriesAlertsV1Default

NewGetQueriesAlertsV1Default creates a GetQueriesAlertsV1Default with default headers values

func (*GetQueriesAlertsV1Default) Code

func (o *GetQueriesAlertsV1Default) Code() int

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

func (*GetQueriesAlertsV1Default) Error

func (o *GetQueriesAlertsV1Default) Error() string

func (*GetQueriesAlertsV1Default) GetPayload

func (*GetQueriesAlertsV1Default) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1Default) IsClientError() bool

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

func (*GetQueriesAlertsV1Default) IsCode added in v0.2.27

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

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

func (*GetQueriesAlertsV1Default) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1Default) IsRedirect() bool

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

func (*GetQueriesAlertsV1Default) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1Default) IsServerError() bool

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

func (*GetQueriesAlertsV1Default) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1Default) IsSuccess() bool

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

func (*GetQueriesAlertsV1Default) String added in v0.2.27

func (o *GetQueriesAlertsV1Default) String() 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 added in v0.2.33

func (o *GetQueriesAlertsV1Forbidden) Code() int

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

func (*GetQueriesAlertsV1Forbidden) Error

func (*GetQueriesAlertsV1Forbidden) GetPayload

func (*GetQueriesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsClientError() bool

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

func (*GetQueriesAlertsV1Forbidden) IsCode added in v0.2.27

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

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

func (*GetQueriesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsRedirect() bool

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

func (*GetQueriesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsServerError() bool

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

func (*GetQueriesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) IsSuccess() bool

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

func (*GetQueriesAlertsV1Forbidden) String added in v0.2.27

func (o *GetQueriesAlertsV1Forbidden) String() string

type GetQueriesAlertsV1InternalServerError

type GetQueriesAlertsV1InternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaQueryResponse
}

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

Internal Server Error

func NewGetQueriesAlertsV1InternalServerError

func NewGetQueriesAlertsV1InternalServerError() *GetQueriesAlertsV1InternalServerError

NewGetQueriesAlertsV1InternalServerError creates a GetQueriesAlertsV1InternalServerError with default headers values

func (*GetQueriesAlertsV1InternalServerError) Code added in v0.2.33

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

func (*GetQueriesAlertsV1InternalServerError) Error

func (*GetQueriesAlertsV1InternalServerError) GetPayload

func (*GetQueriesAlertsV1InternalServerError) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1InternalServerError) IsClientError() bool

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

func (*GetQueriesAlertsV1InternalServerError) IsCode added in v0.2.27

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

func (*GetQueriesAlertsV1InternalServerError) IsRedirect added in v0.2.27

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

func (*GetQueriesAlertsV1InternalServerError) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1InternalServerError) IsServerError() bool

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

func (*GetQueriesAlertsV1InternalServerError) IsSuccess added in v0.2.27

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

func (*GetQueriesAlertsV1InternalServerError) String added in v0.2.27

type GetQueriesAlertsV1OK

type GetQueriesAlertsV1OK struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaQueryResponse
}

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

OK

func NewGetQueriesAlertsV1OK

func NewGetQueriesAlertsV1OK() *GetQueriesAlertsV1OK

NewGetQueriesAlertsV1OK creates a GetQueriesAlertsV1OK with default headers values

func (*GetQueriesAlertsV1OK) Code added in v0.2.33

func (o *GetQueriesAlertsV1OK) Code() int

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

func (*GetQueriesAlertsV1OK) Error

func (o *GetQueriesAlertsV1OK) Error() string

func (*GetQueriesAlertsV1OK) GetPayload

func (o *GetQueriesAlertsV1OK) GetPayload() *models.MsaQueryResponse

func (*GetQueriesAlertsV1OK) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsClientError() bool

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

func (*GetQueriesAlertsV1OK) IsCode added in v0.2.27

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

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

func (*GetQueriesAlertsV1OK) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsRedirect() bool

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

func (*GetQueriesAlertsV1OK) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsServerError() bool

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

func (*GetQueriesAlertsV1OK) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1OK) IsSuccess() bool

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

func (*GetQueriesAlertsV1OK) String added in v0.2.27

func (o *GetQueriesAlertsV1OK) String() string

type GetQueriesAlertsV1Params

type GetQueriesAlertsV1Params struct {

	/* Filter.

	     Filter detections using a query in Falcon Query Language (FQL). An asterisk wildcard `*` includes all results.

	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 detections in either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`.
	*/
	Sort *string

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

GetQueriesAlertsV1Params contains all the parameters to send to the API endpoint

for the get queries alerts v1 operation.

Typically these are written to a http.Request.

func NewGetQueriesAlertsV1Params

func NewGetQueriesAlertsV1Params() *GetQueriesAlertsV1Params

NewGetQueriesAlertsV1Params creates a new GetQueriesAlertsV1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetQueriesAlertsV1ParamsWithContext

func NewGetQueriesAlertsV1ParamsWithContext(ctx context.Context) *GetQueriesAlertsV1Params

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

func NewGetQueriesAlertsV1ParamsWithHTTPClient

func NewGetQueriesAlertsV1ParamsWithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params

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

func NewGetQueriesAlertsV1ParamsWithTimeout

func NewGetQueriesAlertsV1ParamsWithTimeout(timeout time.Duration) *GetQueriesAlertsV1Params

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

func (*GetQueriesAlertsV1Params) SetContext

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

SetContext adds the context to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetDefaults

func (o *GetQueriesAlertsV1Params) SetDefaults()

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

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

func (*GetQueriesAlertsV1Params) SetFilter

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

SetFilter adds the filter to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetLimit

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

SetLimit adds the limit to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetOffset

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

SetOffset adds the offset to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetQ

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

SetQ adds the q to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetSort

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

SetSort adds the sort to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithContext

WithContext adds the context to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithDefaults

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

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

func (*GetQueriesAlertsV1Params) WithFilter

WithFilter adds the filter to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithLimit

WithLimit adds the limit to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithOffset

WithOffset adds the offset to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithQ

WithQ adds the q to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithSort

WithSort adds the sort to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the get queries alerts v1 params

func (*GetQueriesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetQueriesAlertsV1Reader

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

GetQueriesAlertsV1Reader is a Reader for the GetQueriesAlertsV1 structure.

func (*GetQueriesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetQueriesAlertsV1TooManyRequests

type GetQueriesAlertsV1TooManyRequests struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

	Payload *models.MsaReplyMetaOnly
}

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

Too Many Requests

func NewGetQueriesAlertsV1TooManyRequests

func NewGetQueriesAlertsV1TooManyRequests() *GetQueriesAlertsV1TooManyRequests

NewGetQueriesAlertsV1TooManyRequests creates a GetQueriesAlertsV1TooManyRequests with default headers values

func (*GetQueriesAlertsV1TooManyRequests) Code added in v0.2.33

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

func (*GetQueriesAlertsV1TooManyRequests) Error

func (*GetQueriesAlertsV1TooManyRequests) GetPayload

func (*GetQueriesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsClientError() bool

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

func (*GetQueriesAlertsV1TooManyRequests) IsCode added in v0.2.27

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

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

func (*GetQueriesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsRedirect() bool

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

func (*GetQueriesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsServerError() bool

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

func (*GetQueriesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

func (o *GetQueriesAlertsV1TooManyRequests) IsSuccess() bool

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

func (*GetQueriesAlertsV1TooManyRequests) String added in v0.2.27

type PatchEntitiesAlertsV1BadRequest

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

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

Bad Request

func NewPatchEntitiesAlertsV1BadRequest

func NewPatchEntitiesAlertsV1BadRequest() *PatchEntitiesAlertsV1BadRequest

NewPatchEntitiesAlertsV1BadRequest creates a PatchEntitiesAlertsV1BadRequest with default headers values

func (*PatchEntitiesAlertsV1BadRequest) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV1BadRequest) Error

func (*PatchEntitiesAlertsV1BadRequest) GetPayload

func (*PatchEntitiesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV1BadRequest) IsClientError() bool

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

func (*PatchEntitiesAlertsV1BadRequest) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV1BadRequest) IsRedirect() bool

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

func (*PatchEntitiesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV1BadRequest) IsServerError() bool

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

func (*PatchEntitiesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV1BadRequest) IsSuccess() bool

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

func (*PatchEntitiesAlertsV1BadRequest) String added in v0.2.27

type PatchEntitiesAlertsV1Default

type PatchEntitiesAlertsV1Default struct {
	Payload *models.MsaReplyMetaOnly
	// contains filtered or unexported fields
}

PatchEntitiesAlertsV1Default describes a response with status code -1, with default header values.

OK

func NewPatchEntitiesAlertsV1Default

func NewPatchEntitiesAlertsV1Default(code int) *PatchEntitiesAlertsV1Default

NewPatchEntitiesAlertsV1Default creates a PatchEntitiesAlertsV1Default with default headers values

func (*PatchEntitiesAlertsV1Default) Code

Code gets the status code for the patch entities alerts v1 default response

func (*PatchEntitiesAlertsV1Default) Error

func (*PatchEntitiesAlertsV1Default) GetPayload

func (*PatchEntitiesAlertsV1Default) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV1Default) IsClientError() bool

IsClientError returns true when this patch entities alerts v1 default response has a 4xx status code

func (*PatchEntitiesAlertsV1Default) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV1Default) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV1Default) IsRedirect() bool

IsRedirect returns true when this patch entities alerts v1 default response has a 3xx status code

func (*PatchEntitiesAlertsV1Default) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV1Default) IsServerError() bool

IsServerError returns true when this patch entities alerts v1 default response has a 5xx status code

func (*PatchEntitiesAlertsV1Default) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV1Default) IsSuccess() bool

IsSuccess returns true when this patch entities alerts v1 default response has a 2xx status code

func (*PatchEntitiesAlertsV1Default) String added in v0.2.27

type PatchEntitiesAlertsV1Forbidden

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

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

Forbidden

func NewPatchEntitiesAlertsV1Forbidden

func NewPatchEntitiesAlertsV1Forbidden() *PatchEntitiesAlertsV1Forbidden

NewPatchEntitiesAlertsV1Forbidden creates a PatchEntitiesAlertsV1Forbidden with default headers values

func (*PatchEntitiesAlertsV1Forbidden) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV1Forbidden) Error

func (*PatchEntitiesAlertsV1Forbidden) GetPayload

func (*PatchEntitiesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV1Forbidden) IsClientError() bool

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

func (*PatchEntitiesAlertsV1Forbidden) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV1Forbidden) IsRedirect() bool

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

func (*PatchEntitiesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV1Forbidden) IsServerError() bool

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

func (*PatchEntitiesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV1Forbidden) IsSuccess() bool

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

func (*PatchEntitiesAlertsV1Forbidden) String added in v0.2.27

type PatchEntitiesAlertsV1InternalServerError

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

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

Internal Server Error

func NewPatchEntitiesAlertsV1InternalServerError

func NewPatchEntitiesAlertsV1InternalServerError() *PatchEntitiesAlertsV1InternalServerError

NewPatchEntitiesAlertsV1InternalServerError creates a PatchEntitiesAlertsV1InternalServerError with default headers values

func (*PatchEntitiesAlertsV1InternalServerError) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV1InternalServerError) Error

func (*PatchEntitiesAlertsV1InternalServerError) GetPayload

func (*PatchEntitiesAlertsV1InternalServerError) IsClientError added in v0.2.27

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

func (*PatchEntitiesAlertsV1InternalServerError) IsCode added in v0.2.27

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

func (*PatchEntitiesAlertsV1InternalServerError) IsRedirect added in v0.2.27

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

func (*PatchEntitiesAlertsV1InternalServerError) IsServerError added in v0.2.27

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

func (*PatchEntitiesAlertsV1InternalServerError) IsSuccess added in v0.2.27

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

func (*PatchEntitiesAlertsV1InternalServerError) String added in v0.2.27

type PatchEntitiesAlertsV1OK

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

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

OK

func NewPatchEntitiesAlertsV1OK

func NewPatchEntitiesAlertsV1OK() *PatchEntitiesAlertsV1OK

NewPatchEntitiesAlertsV1OK creates a PatchEntitiesAlertsV1OK with default headers values

func (*PatchEntitiesAlertsV1OK) Code added in v0.2.33

func (o *PatchEntitiesAlertsV1OK) Code() int

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

func (*PatchEntitiesAlertsV1OK) Error

func (o *PatchEntitiesAlertsV1OK) Error() string

func (*PatchEntitiesAlertsV1OK) GetPayload

func (*PatchEntitiesAlertsV1OK) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV1OK) IsClientError() bool

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

func (*PatchEntitiesAlertsV1OK) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV1OK) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV1OK) IsRedirect() bool

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

func (*PatchEntitiesAlertsV1OK) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV1OK) IsServerError() bool

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

func (*PatchEntitiesAlertsV1OK) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV1OK) IsSuccess() bool

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

func (*PatchEntitiesAlertsV1OK) String added in v0.2.27

func (o *PatchEntitiesAlertsV1OK) String() string

type PatchEntitiesAlertsV1Params

type PatchEntitiesAlertsV1Params struct {

	/* Body.

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

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

PatchEntitiesAlertsV1Params contains all the parameters to send to the API endpoint

for the patch entities alerts v1 operation.

Typically these are written to a http.Request.

func NewPatchEntitiesAlertsV1Params

func NewPatchEntitiesAlertsV1Params() *PatchEntitiesAlertsV1Params

NewPatchEntitiesAlertsV1Params creates a new PatchEntitiesAlertsV1Params 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 NewPatchEntitiesAlertsV1ParamsWithContext

func NewPatchEntitiesAlertsV1ParamsWithContext(ctx context.Context) *PatchEntitiesAlertsV1Params

NewPatchEntitiesAlertsV1ParamsWithContext creates a new PatchEntitiesAlertsV1Params object with the ability to set a context for a request.

func NewPatchEntitiesAlertsV1ParamsWithHTTPClient

func NewPatchEntitiesAlertsV1ParamsWithHTTPClient(client *http.Client) *PatchEntitiesAlertsV1Params

NewPatchEntitiesAlertsV1ParamsWithHTTPClient creates a new PatchEntitiesAlertsV1Params object with the ability to set a custom HTTPClient for a request.

func NewPatchEntitiesAlertsV1ParamsWithTimeout

func NewPatchEntitiesAlertsV1ParamsWithTimeout(timeout time.Duration) *PatchEntitiesAlertsV1Params

NewPatchEntitiesAlertsV1ParamsWithTimeout creates a new PatchEntitiesAlertsV1Params object with the ability to set a timeout on a request.

func (*PatchEntitiesAlertsV1Params) SetBody

SetBody adds the body to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) SetContext

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

SetContext adds the context to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) SetDefaults

func (o *PatchEntitiesAlertsV1Params) SetDefaults()

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

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

func (*PatchEntitiesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) WithBody

WithBody adds the body to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) WithContext

WithContext adds the context to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) WithDefaults

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

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

func (*PatchEntitiesAlertsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the patch entities alerts v1 params

func (*PatchEntitiesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchEntitiesAlertsV1Reader

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

PatchEntitiesAlertsV1Reader is a Reader for the PatchEntitiesAlertsV1 structure.

func (*PatchEntitiesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchEntitiesAlertsV1TooManyRequests

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

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

Too Many Requests

func NewPatchEntitiesAlertsV1TooManyRequests

func NewPatchEntitiesAlertsV1TooManyRequests() *PatchEntitiesAlertsV1TooManyRequests

NewPatchEntitiesAlertsV1TooManyRequests creates a PatchEntitiesAlertsV1TooManyRequests with default headers values

func (*PatchEntitiesAlertsV1TooManyRequests) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV1TooManyRequests) Error

func (*PatchEntitiesAlertsV1TooManyRequests) GetPayload

func (*PatchEntitiesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV1TooManyRequests) IsClientError() bool

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

func (*PatchEntitiesAlertsV1TooManyRequests) IsCode added in v0.2.27

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

func (*PatchEntitiesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

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

func (*PatchEntitiesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV1TooManyRequests) IsServerError() bool

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

func (*PatchEntitiesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

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

func (*PatchEntitiesAlertsV1TooManyRequests) String added in v0.2.27

type PatchEntitiesAlertsV2BadRequest added in v0.2.24

type PatchEntitiesAlertsV2BadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewPatchEntitiesAlertsV2BadRequest added in v0.2.24

func NewPatchEntitiesAlertsV2BadRequest() *PatchEntitiesAlertsV2BadRequest

NewPatchEntitiesAlertsV2BadRequest creates a PatchEntitiesAlertsV2BadRequest with default headers values

func (*PatchEntitiesAlertsV2BadRequest) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV2BadRequest) Error added in v0.2.24

func (*PatchEntitiesAlertsV2BadRequest) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2BadRequest) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsClientError() bool

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

func (*PatchEntitiesAlertsV2BadRequest) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV2BadRequest) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsRedirect() bool

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

func (*PatchEntitiesAlertsV2BadRequest) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsServerError() bool

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

func (*PatchEntitiesAlertsV2BadRequest) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2BadRequest) IsSuccess() bool

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

func (*PatchEntitiesAlertsV2BadRequest) String added in v0.2.27

type PatchEntitiesAlertsV2Default added in v0.2.24

type PatchEntitiesAlertsV2Default struct {
	Payload *models.MsaspecResponseFields
	// contains filtered or unexported fields
}

PatchEntitiesAlertsV2Default describes a response with status code -1, with default header values.

OK

func NewPatchEntitiesAlertsV2Default added in v0.2.24

func NewPatchEntitiesAlertsV2Default(code int) *PatchEntitiesAlertsV2Default

NewPatchEntitiesAlertsV2Default creates a PatchEntitiesAlertsV2Default with default headers values

func (*PatchEntitiesAlertsV2Default) Code added in v0.2.24

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

func (*PatchEntitiesAlertsV2Default) Error added in v0.2.24

func (*PatchEntitiesAlertsV2Default) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2Default) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2Default) IsClientError() bool

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

func (*PatchEntitiesAlertsV2Default) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV2Default) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2Default) IsRedirect() bool

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

func (*PatchEntitiesAlertsV2Default) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2Default) IsServerError() bool

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

func (*PatchEntitiesAlertsV2Default) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2Default) IsSuccess() bool

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

func (*PatchEntitiesAlertsV2Default) String added in v0.2.27

type PatchEntitiesAlertsV2Forbidden added in v0.2.24

type PatchEntitiesAlertsV2Forbidden struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewPatchEntitiesAlertsV2Forbidden added in v0.2.24

func NewPatchEntitiesAlertsV2Forbidden() *PatchEntitiesAlertsV2Forbidden

NewPatchEntitiesAlertsV2Forbidden creates a PatchEntitiesAlertsV2Forbidden with default headers values

func (*PatchEntitiesAlertsV2Forbidden) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV2Forbidden) Error added in v0.2.24

func (*PatchEntitiesAlertsV2Forbidden) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2Forbidden) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsClientError() bool

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

func (*PatchEntitiesAlertsV2Forbidden) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV2Forbidden) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsRedirect() bool

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

func (*PatchEntitiesAlertsV2Forbidden) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsServerError() bool

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

func (*PatchEntitiesAlertsV2Forbidden) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2Forbidden) IsSuccess() bool

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

func (*PatchEntitiesAlertsV2Forbidden) String added in v0.2.27

type PatchEntitiesAlertsV2InternalServerError added in v0.2.24

type PatchEntitiesAlertsV2InternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewPatchEntitiesAlertsV2InternalServerError added in v0.2.24

func NewPatchEntitiesAlertsV2InternalServerError() *PatchEntitiesAlertsV2InternalServerError

NewPatchEntitiesAlertsV2InternalServerError creates a PatchEntitiesAlertsV2InternalServerError with default headers values

func (*PatchEntitiesAlertsV2InternalServerError) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV2InternalServerError) Error added in v0.2.24

func (*PatchEntitiesAlertsV2InternalServerError) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2InternalServerError) IsClientError added in v0.2.27

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

func (*PatchEntitiesAlertsV2InternalServerError) IsCode added in v0.2.27

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

func (*PatchEntitiesAlertsV2InternalServerError) IsRedirect added in v0.2.27

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

func (*PatchEntitiesAlertsV2InternalServerError) IsServerError added in v0.2.27

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

func (*PatchEntitiesAlertsV2InternalServerError) IsSuccess added in v0.2.27

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

func (*PatchEntitiesAlertsV2InternalServerError) String added in v0.2.27

type PatchEntitiesAlertsV2OK added in v0.2.24

type PatchEntitiesAlertsV2OK struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

OK

func NewPatchEntitiesAlertsV2OK added in v0.2.24

func NewPatchEntitiesAlertsV2OK() *PatchEntitiesAlertsV2OK

NewPatchEntitiesAlertsV2OK creates a PatchEntitiesAlertsV2OK with default headers values

func (*PatchEntitiesAlertsV2OK) Code added in v0.2.33

func (o *PatchEntitiesAlertsV2OK) Code() int

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

func (*PatchEntitiesAlertsV2OK) Error added in v0.2.24

func (o *PatchEntitiesAlertsV2OK) Error() string

func (*PatchEntitiesAlertsV2OK) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2OK) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsClientError() bool

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

func (*PatchEntitiesAlertsV2OK) IsCode added in v0.2.27

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

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

func (*PatchEntitiesAlertsV2OK) IsRedirect added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsRedirect() bool

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

func (*PatchEntitiesAlertsV2OK) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsServerError() bool

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

func (*PatchEntitiesAlertsV2OK) IsSuccess added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) IsSuccess() bool

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

func (*PatchEntitiesAlertsV2OK) String added in v0.2.27

func (o *PatchEntitiesAlertsV2OK) String() string

type PatchEntitiesAlertsV2Params added in v0.2.24

type PatchEntitiesAlertsV2Params struct {

	/* Body.

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

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

PatchEntitiesAlertsV2Params contains all the parameters to send to the API endpoint

for the patch entities alerts v2 operation.

Typically these are written to a http.Request.

func NewPatchEntitiesAlertsV2Params added in v0.2.24

func NewPatchEntitiesAlertsV2Params() *PatchEntitiesAlertsV2Params

NewPatchEntitiesAlertsV2Params creates a new PatchEntitiesAlertsV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchEntitiesAlertsV2ParamsWithContext added in v0.2.24

func NewPatchEntitiesAlertsV2ParamsWithContext(ctx context.Context) *PatchEntitiesAlertsV2Params

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

func NewPatchEntitiesAlertsV2ParamsWithHTTPClient added in v0.2.24

func NewPatchEntitiesAlertsV2ParamsWithHTTPClient(client *http.Client) *PatchEntitiesAlertsV2Params

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

func NewPatchEntitiesAlertsV2ParamsWithTimeout added in v0.2.24

func NewPatchEntitiesAlertsV2ParamsWithTimeout(timeout time.Duration) *PatchEntitiesAlertsV2Params

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

func (*PatchEntitiesAlertsV2Params) SetBody added in v0.2.24

SetBody adds the body to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetContext added in v0.2.24

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

SetContext adds the context to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetDefaults added in v0.2.24

func (o *PatchEntitiesAlertsV2Params) SetDefaults()

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

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

func (*PatchEntitiesAlertsV2Params) SetHTTPClient added in v0.2.24

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

SetHTTPClient adds the HTTPClient to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) SetTimeout added in v0.2.24

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

SetTimeout adds the timeout to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithBody added in v0.2.24

WithBody adds the body to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithContext added in v0.2.24

WithContext adds the context to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithDefaults added in v0.2.24

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

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

func (*PatchEntitiesAlertsV2Params) WithHTTPClient added in v0.2.24

WithHTTPClient adds the HTTPClient to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WithTimeout added in v0.2.24

WithTimeout adds the timeout to the patch entities alerts v2 params

func (*PatchEntitiesAlertsV2Params) WriteToRequest added in v0.2.24

WriteToRequest writes these params to a swagger request

type PatchEntitiesAlertsV2Reader added in v0.2.24

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

PatchEntitiesAlertsV2Reader is a Reader for the PatchEntitiesAlertsV2 structure.

func (*PatchEntitiesAlertsV2Reader) ReadResponse added in v0.2.24

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

ReadResponse reads a server response into the received o.

type PatchEntitiesAlertsV2TooManyRequests added in v0.2.24

type PatchEntitiesAlertsV2TooManyRequests struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

	Payload *models.MsaReplyMetaOnly
}

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

Too Many Requests

func NewPatchEntitiesAlertsV2TooManyRequests added in v0.2.24

func NewPatchEntitiesAlertsV2TooManyRequests() *PatchEntitiesAlertsV2TooManyRequests

NewPatchEntitiesAlertsV2TooManyRequests creates a PatchEntitiesAlertsV2TooManyRequests with default headers values

func (*PatchEntitiesAlertsV2TooManyRequests) Code added in v0.2.33

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

func (*PatchEntitiesAlertsV2TooManyRequests) Error added in v0.2.24

func (*PatchEntitiesAlertsV2TooManyRequests) GetPayload added in v0.2.24

func (*PatchEntitiesAlertsV2TooManyRequests) IsClientError added in v0.2.27

func (o *PatchEntitiesAlertsV2TooManyRequests) IsClientError() bool

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

func (*PatchEntitiesAlertsV2TooManyRequests) IsCode added in v0.2.27

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

func (*PatchEntitiesAlertsV2TooManyRequests) IsRedirect added in v0.2.27

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

func (*PatchEntitiesAlertsV2TooManyRequests) IsServerError added in v0.2.27

func (o *PatchEntitiesAlertsV2TooManyRequests) IsServerError() bool

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

func (*PatchEntitiesAlertsV2TooManyRequests) IsSuccess added in v0.2.27

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

func (*PatchEntitiesAlertsV2TooManyRequests) String added in v0.2.27

type PostAggregatesAlertsV1BadRequest

type PostAggregatesAlertsV1BadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaAggregatesResponse
}

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

Bad Request

func NewPostAggregatesAlertsV1BadRequest

func NewPostAggregatesAlertsV1BadRequest() *PostAggregatesAlertsV1BadRequest

NewPostAggregatesAlertsV1BadRequest creates a PostAggregatesAlertsV1BadRequest with default headers values

func (*PostAggregatesAlertsV1BadRequest) Code added in v0.2.33

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

func (*PostAggregatesAlertsV1BadRequest) Error

func (*PostAggregatesAlertsV1BadRequest) GetPayload

func (*PostAggregatesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsClientError() bool

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

func (*PostAggregatesAlertsV1BadRequest) IsCode added in v0.2.27

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

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

func (*PostAggregatesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsRedirect() bool

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

func (*PostAggregatesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsServerError() bool

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

func (*PostAggregatesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1BadRequest) IsSuccess() bool

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

func (*PostAggregatesAlertsV1BadRequest) String added in v0.2.27

type PostAggregatesAlertsV1Default

type PostAggregatesAlertsV1Default struct {
	Payload *models.MsaAggregatesResponse
	// contains filtered or unexported fields
}

PostAggregatesAlertsV1Default describes a response with status code -1, with default header values.

OK

func NewPostAggregatesAlertsV1Default

func NewPostAggregatesAlertsV1Default(code int) *PostAggregatesAlertsV1Default

NewPostAggregatesAlertsV1Default creates a PostAggregatesAlertsV1Default with default headers values

func (*PostAggregatesAlertsV1Default) Code

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

func (*PostAggregatesAlertsV1Default) Error

func (*PostAggregatesAlertsV1Default) GetPayload

func (*PostAggregatesAlertsV1Default) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1Default) IsClientError() bool

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

func (*PostAggregatesAlertsV1Default) IsCode added in v0.2.27

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

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

func (*PostAggregatesAlertsV1Default) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1Default) IsRedirect() bool

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

func (*PostAggregatesAlertsV1Default) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1Default) IsServerError() bool

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

func (*PostAggregatesAlertsV1Default) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1Default) IsSuccess() bool

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

func (*PostAggregatesAlertsV1Default) String added in v0.2.27

type PostAggregatesAlertsV1Forbidden

type PostAggregatesAlertsV1Forbidden struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewPostAggregatesAlertsV1Forbidden

func NewPostAggregatesAlertsV1Forbidden() *PostAggregatesAlertsV1Forbidden

NewPostAggregatesAlertsV1Forbidden creates a PostAggregatesAlertsV1Forbidden with default headers values

func (*PostAggregatesAlertsV1Forbidden) Code added in v0.2.33

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

func (*PostAggregatesAlertsV1Forbidden) Error

func (*PostAggregatesAlertsV1Forbidden) GetPayload

func (*PostAggregatesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsClientError() bool

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

func (*PostAggregatesAlertsV1Forbidden) IsCode added in v0.2.27

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

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

func (*PostAggregatesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsRedirect() bool

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

func (*PostAggregatesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsServerError() bool

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

func (*PostAggregatesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1Forbidden) IsSuccess() bool

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

func (*PostAggregatesAlertsV1Forbidden) String added in v0.2.27

type PostAggregatesAlertsV1InternalServerError

type PostAggregatesAlertsV1InternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaAggregatesResponse
}

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

Internal Server Error

func NewPostAggregatesAlertsV1InternalServerError

func NewPostAggregatesAlertsV1InternalServerError() *PostAggregatesAlertsV1InternalServerError

NewPostAggregatesAlertsV1InternalServerError creates a PostAggregatesAlertsV1InternalServerError with default headers values

func (*PostAggregatesAlertsV1InternalServerError) Code added in v0.2.33

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

func (*PostAggregatesAlertsV1InternalServerError) Error

func (*PostAggregatesAlertsV1InternalServerError) GetPayload

func (*PostAggregatesAlertsV1InternalServerError) IsClientError added in v0.2.27

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

func (*PostAggregatesAlertsV1InternalServerError) IsCode added in v0.2.27

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

func (*PostAggregatesAlertsV1InternalServerError) IsRedirect added in v0.2.27

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

func (*PostAggregatesAlertsV1InternalServerError) IsServerError added in v0.2.27

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

func (*PostAggregatesAlertsV1InternalServerError) IsSuccess added in v0.2.27

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

func (*PostAggregatesAlertsV1InternalServerError) String added in v0.2.27

type PostAggregatesAlertsV1OK

type PostAggregatesAlertsV1OK struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaAggregatesResponse
}

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

OK

func NewPostAggregatesAlertsV1OK

func NewPostAggregatesAlertsV1OK() *PostAggregatesAlertsV1OK

NewPostAggregatesAlertsV1OK creates a PostAggregatesAlertsV1OK with default headers values

func (*PostAggregatesAlertsV1OK) Code added in v0.2.33

func (o *PostAggregatesAlertsV1OK) Code() int

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

func (*PostAggregatesAlertsV1OK) Error

func (o *PostAggregatesAlertsV1OK) Error() string

func (*PostAggregatesAlertsV1OK) GetPayload

func (*PostAggregatesAlertsV1OK) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsClientError() bool

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

func (*PostAggregatesAlertsV1OK) IsCode added in v0.2.27

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

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

func (*PostAggregatesAlertsV1OK) IsRedirect added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsRedirect() bool

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

func (*PostAggregatesAlertsV1OK) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsServerError() bool

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

func (*PostAggregatesAlertsV1OK) IsSuccess added in v0.2.27

func (o *PostAggregatesAlertsV1OK) IsSuccess() bool

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

func (*PostAggregatesAlertsV1OK) String added in v0.2.27

func (o *PostAggregatesAlertsV1OK) String() string

type PostAggregatesAlertsV1Params

type PostAggregatesAlertsV1Params struct {

	/* Body.

	   request body takes a list of aggregation query requests
	*/
	Body []*models.MsaAggregateQueryRequest

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

PostAggregatesAlertsV1Params contains all the parameters to send to the API endpoint

for the post aggregates alerts v1 operation.

Typically these are written to a http.Request.

func NewPostAggregatesAlertsV1Params

func NewPostAggregatesAlertsV1Params() *PostAggregatesAlertsV1Params

NewPostAggregatesAlertsV1Params creates a new PostAggregatesAlertsV1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAggregatesAlertsV1ParamsWithContext

func NewPostAggregatesAlertsV1ParamsWithContext(ctx context.Context) *PostAggregatesAlertsV1Params

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

func NewPostAggregatesAlertsV1ParamsWithHTTPClient

func NewPostAggregatesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostAggregatesAlertsV1Params

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

func NewPostAggregatesAlertsV1ParamsWithTimeout

func NewPostAggregatesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostAggregatesAlertsV1Params

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

func (*PostAggregatesAlertsV1Params) SetBody

SetBody adds the body to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) SetContext

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

SetContext adds the context to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) SetDefaults

func (o *PostAggregatesAlertsV1Params) SetDefaults()

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

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

func (*PostAggregatesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithBody

WithBody adds the body to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithContext

WithContext adds the context to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithDefaults

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

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

func (*PostAggregatesAlertsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the post aggregates alerts v1 params

func (*PostAggregatesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAggregatesAlertsV1Reader

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

PostAggregatesAlertsV1Reader is a Reader for the PostAggregatesAlertsV1 structure.

func (*PostAggregatesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAggregatesAlertsV1TooManyRequests

type PostAggregatesAlertsV1TooManyRequests struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

	Payload *models.MsaReplyMetaOnly
}

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

Too Many Requests

func NewPostAggregatesAlertsV1TooManyRequests

func NewPostAggregatesAlertsV1TooManyRequests() *PostAggregatesAlertsV1TooManyRequests

NewPostAggregatesAlertsV1TooManyRequests creates a PostAggregatesAlertsV1TooManyRequests with default headers values

func (*PostAggregatesAlertsV1TooManyRequests) Code added in v0.2.33

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

func (*PostAggregatesAlertsV1TooManyRequests) Error

func (*PostAggregatesAlertsV1TooManyRequests) GetPayload

func (*PostAggregatesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *PostAggregatesAlertsV1TooManyRequests) IsClientError() bool

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

func (*PostAggregatesAlertsV1TooManyRequests) IsCode added in v0.2.27

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

func (*PostAggregatesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

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

func (*PostAggregatesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *PostAggregatesAlertsV1TooManyRequests) IsServerError() bool

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

func (*PostAggregatesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

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

func (*PostAggregatesAlertsV1TooManyRequests) String added in v0.2.27

type PostEntitiesAlertsV1BadRequest

type PostEntitiesAlertsV1BadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.DetectsapiPostEntitiesInvestigatablesV1Response
}

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

Bad Request

func NewPostEntitiesAlertsV1BadRequest

func NewPostEntitiesAlertsV1BadRequest() *PostEntitiesAlertsV1BadRequest

NewPostEntitiesAlertsV1BadRequest creates a PostEntitiesAlertsV1BadRequest with default headers values

func (*PostEntitiesAlertsV1BadRequest) Code added in v0.2.33

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

func (*PostEntitiesAlertsV1BadRequest) Error

func (*PostEntitiesAlertsV1BadRequest) GetPayload

func (*PostEntitiesAlertsV1BadRequest) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsClientError() bool

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

func (*PostEntitiesAlertsV1BadRequest) IsCode added in v0.2.27

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

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

func (*PostEntitiesAlertsV1BadRequest) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsRedirect() bool

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

func (*PostEntitiesAlertsV1BadRequest) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsServerError() bool

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

func (*PostEntitiesAlertsV1BadRequest) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1BadRequest) IsSuccess() bool

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

func (*PostEntitiesAlertsV1BadRequest) String added in v0.2.27

type PostEntitiesAlertsV1Default

type PostEntitiesAlertsV1Default struct {
	Payload *models.DetectsapiPostEntitiesInvestigatablesV1Response
	// contains filtered or unexported fields
}

PostEntitiesAlertsV1Default describes a response with status code -1, with default header values.

OK

func NewPostEntitiesAlertsV1Default

func NewPostEntitiesAlertsV1Default(code int) *PostEntitiesAlertsV1Default

NewPostEntitiesAlertsV1Default creates a PostEntitiesAlertsV1Default with default headers values

func (*PostEntitiesAlertsV1Default) Code

func (o *PostEntitiesAlertsV1Default) Code() int

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

func (*PostEntitiesAlertsV1Default) Error

func (*PostEntitiesAlertsV1Default) GetPayload

func (*PostEntitiesAlertsV1Default) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1Default) IsClientError() bool

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

func (*PostEntitiesAlertsV1Default) IsCode added in v0.2.27

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

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

func (*PostEntitiesAlertsV1Default) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1Default) IsRedirect() bool

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

func (*PostEntitiesAlertsV1Default) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1Default) IsServerError() bool

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

func (*PostEntitiesAlertsV1Default) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1Default) IsSuccess() bool

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

func (*PostEntitiesAlertsV1Default) String added in v0.2.27

func (o *PostEntitiesAlertsV1Default) String() 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 added in v0.2.33

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

func (*PostEntitiesAlertsV1Forbidden) Error

func (*PostEntitiesAlertsV1Forbidden) GetPayload

func (*PostEntitiesAlertsV1Forbidden) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsClientError() bool

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

func (*PostEntitiesAlertsV1Forbidden) IsCode added in v0.2.27

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

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

func (*PostEntitiesAlertsV1Forbidden) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsRedirect() bool

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

func (*PostEntitiesAlertsV1Forbidden) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsServerError() bool

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

func (*PostEntitiesAlertsV1Forbidden) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1Forbidden) IsSuccess() bool

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

func (*PostEntitiesAlertsV1Forbidden) String added in v0.2.27

type PostEntitiesAlertsV1InternalServerError

type PostEntitiesAlertsV1InternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.DetectsapiPostEntitiesInvestigatablesV1Response
}

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

Internal Server Error

func NewPostEntitiesAlertsV1InternalServerError

func NewPostEntitiesAlertsV1InternalServerError() *PostEntitiesAlertsV1InternalServerError

NewPostEntitiesAlertsV1InternalServerError creates a PostEntitiesAlertsV1InternalServerError with default headers values

func (*PostEntitiesAlertsV1InternalServerError) Code added in v0.2.33

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

func (*PostEntitiesAlertsV1InternalServerError) Error

func (*PostEntitiesAlertsV1InternalServerError) GetPayload

func (*PostEntitiesAlertsV1InternalServerError) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1InternalServerError) IsClientError() bool

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

func (*PostEntitiesAlertsV1InternalServerError) IsCode added in v0.2.27

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

func (*PostEntitiesAlertsV1InternalServerError) IsRedirect added in v0.2.27

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

func (*PostEntitiesAlertsV1InternalServerError) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1InternalServerError) IsServerError() bool

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

func (*PostEntitiesAlertsV1InternalServerError) IsSuccess added in v0.2.27

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

func (*PostEntitiesAlertsV1InternalServerError) String added in v0.2.27

type PostEntitiesAlertsV1OK

type PostEntitiesAlertsV1OK struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.DetectsapiPostEntitiesInvestigatablesV1Response
}

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

OK

func NewPostEntitiesAlertsV1OK

func NewPostEntitiesAlertsV1OK() *PostEntitiesAlertsV1OK

NewPostEntitiesAlertsV1OK creates a PostEntitiesAlertsV1OK with default headers values

func (*PostEntitiesAlertsV1OK) Code added in v0.2.33

func (o *PostEntitiesAlertsV1OK) Code() int

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

func (*PostEntitiesAlertsV1OK) Error

func (o *PostEntitiesAlertsV1OK) Error() string

func (*PostEntitiesAlertsV1OK) GetPayload

func (*PostEntitiesAlertsV1OK) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsClientError() bool

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

func (*PostEntitiesAlertsV1OK) IsCode added in v0.2.27

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

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

func (*PostEntitiesAlertsV1OK) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsRedirect() bool

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

func (*PostEntitiesAlertsV1OK) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsServerError() bool

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

func (*PostEntitiesAlertsV1OK) IsSuccess added in v0.2.27

func (o *PostEntitiesAlertsV1OK) IsSuccess() bool

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

func (*PostEntitiesAlertsV1OK) String added in v0.2.27

func (o *PostEntitiesAlertsV1OK) String() string

type PostEntitiesAlertsV1Params

type PostEntitiesAlertsV1Params struct {

	// Body.
	Body *models.DetectsapiPostEntitiesInvestigatablesV1Request

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

PostEntitiesAlertsV1Params contains all the parameters to send to the API endpoint

for the post entities alerts v1 operation.

Typically these are written to a http.Request.

func NewPostEntitiesAlertsV1Params

func NewPostEntitiesAlertsV1Params() *PostEntitiesAlertsV1Params

NewPostEntitiesAlertsV1Params creates a new PostEntitiesAlertsV1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEntitiesAlertsV1ParamsWithContext

func NewPostEntitiesAlertsV1ParamsWithContext(ctx context.Context) *PostEntitiesAlertsV1Params

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

func NewPostEntitiesAlertsV1ParamsWithHTTPClient

func NewPostEntitiesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostEntitiesAlertsV1Params

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

func NewPostEntitiesAlertsV1ParamsWithTimeout

func NewPostEntitiesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostEntitiesAlertsV1Params

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

func (*PostEntitiesAlertsV1Params) SetBody

SetBody adds the body to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) SetContext

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

SetContext adds the context to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) SetDefaults

func (o *PostEntitiesAlertsV1Params) SetDefaults()

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

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

func (*PostEntitiesAlertsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) SetTimeout

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

SetTimeout adds the timeout to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithBody

WithBody adds the body to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithContext

WithContext adds the context to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithDefaults

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

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

func (*PostEntitiesAlertsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WithTimeout

WithTimeout adds the timeout to the post entities alerts v1 params

func (*PostEntitiesAlertsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEntitiesAlertsV1Reader

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

PostEntitiesAlertsV1Reader is a Reader for the PostEntitiesAlertsV1 structure.

func (*PostEntitiesAlertsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEntitiesAlertsV1TooManyRequests

type PostEntitiesAlertsV1TooManyRequests struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

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

	Payload *models.MsaReplyMetaOnly
}

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

Too Many Requests

func NewPostEntitiesAlertsV1TooManyRequests

func NewPostEntitiesAlertsV1TooManyRequests() *PostEntitiesAlertsV1TooManyRequests

NewPostEntitiesAlertsV1TooManyRequests creates a PostEntitiesAlertsV1TooManyRequests with default headers values

func (*PostEntitiesAlertsV1TooManyRequests) Code added in v0.2.33

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

func (*PostEntitiesAlertsV1TooManyRequests) Error

func (*PostEntitiesAlertsV1TooManyRequests) GetPayload

func (*PostEntitiesAlertsV1TooManyRequests) IsClientError added in v0.2.27

func (o *PostEntitiesAlertsV1TooManyRequests) IsClientError() bool

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

func (*PostEntitiesAlertsV1TooManyRequests) IsCode added in v0.2.27

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

func (*PostEntitiesAlertsV1TooManyRequests) IsRedirect added in v0.2.27

func (o *PostEntitiesAlertsV1TooManyRequests) IsRedirect() bool

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

func (*PostEntitiesAlertsV1TooManyRequests) IsServerError added in v0.2.27

func (o *PostEntitiesAlertsV1TooManyRequests) IsServerError() bool

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

func (*PostEntitiesAlertsV1TooManyRequests) IsSuccess added in v0.2.27

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

func (*PostEntitiesAlertsV1TooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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