incidents

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 11 Imported by: 1

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 incidents API

func (*Client) CrowdScore

func (a *Client) CrowdScore(params *CrowdScoreParams, opts ...ClientOption) (*CrowdScoreOK, error)

CrowdScore queries environment wide crowd score and return the entity data

func (*Client) GetBehaviors

func (a *Client) GetBehaviors(params *GetBehaviorsParams, opts ...ClientOption) (*GetBehaviorsOK, error)

GetBehaviors gets details on behaviors by providing behavior i ds

func (*Client) GetIncidents

func (a *Client) GetIncidents(params *GetIncidentsParams, opts ...ClientOption) (*GetIncidentsOK, error)

GetIncidents gets details on incidents by providing incident i ds

func (*Client) PerformIncidentAction

func (a *Client) PerformIncidentAction(params *PerformIncidentActionParams, opts ...ClientOption) (*PerformIncidentActionOK, error)

PerformIncidentAction performs a set of actions on one or more incidents such as adding tags or comments or updating the incident name or description

func (*Client) QueryBehaviors

func (a *Client) QueryBehaviors(params *QueryBehaviorsParams, opts ...ClientOption) (*QueryBehaviorsOK, error)

QueryBehaviors searches for behaviors by providing an f q l filter sorting and paging details

func (*Client) QueryIncidents

func (a *Client) QueryIncidents(params *QueryIncidentsParams, opts ...ClientOption) (*QueryIncidentsOK, error)

QueryIncidents searches for incidents by providing an f q l filter sorting and paging details

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 {
	CrowdScore(params *CrowdScoreParams, opts ...ClientOption) (*CrowdScoreOK, error)

	GetBehaviors(params *GetBehaviorsParams, opts ...ClientOption) (*GetBehaviorsOK, error)

	GetIncidents(params *GetIncidentsParams, opts ...ClientOption) (*GetIncidentsOK, error)

	PerformIncidentAction(params *PerformIncidentActionParams, opts ...ClientOption) (*PerformIncidentActionOK, error)

	QueryBehaviors(params *QueryBehaviorsParams, opts ...ClientOption) (*QueryBehaviorsOK, error)

	QueryIncidents(params *QueryIncidentsParams, opts ...ClientOption) (*QueryIncidentsOK, 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 incidents API client.

type CrowdScoreBadRequest

type CrowdScoreBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
CrowdScoreBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCrowdScoreBadRequest

func NewCrowdScoreBadRequest() *CrowdScoreBadRequest

NewCrowdScoreBadRequest creates a CrowdScoreBadRequest with default headers values

func (*CrowdScoreBadRequest) Error

func (o *CrowdScoreBadRequest) Error() string

func (*CrowdScoreBadRequest) GetPayload

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

type CrowdScoreDefault

type CrowdScoreDefault struct {
	Payload *models.APIMsaEnvironmentScoreResponse
	// contains filtered or unexported fields
}
CrowdScoreDefault describes a response with status code -1, with default header values.

OK

func NewCrowdScoreDefault

func NewCrowdScoreDefault(code int) *CrowdScoreDefault

NewCrowdScoreDefault creates a CrowdScoreDefault with default headers values

func (*CrowdScoreDefault) Code

func (o *CrowdScoreDefault) Code() int

Code gets the status code for the crowd score default response

func (*CrowdScoreDefault) Error

func (o *CrowdScoreDefault) Error() string

func (*CrowdScoreDefault) GetPayload

type CrowdScoreForbidden

type CrowdScoreForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
CrowdScoreForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCrowdScoreForbidden

func NewCrowdScoreForbidden() *CrowdScoreForbidden

NewCrowdScoreForbidden creates a CrowdScoreForbidden with default headers values

func (*CrowdScoreForbidden) Error

func (o *CrowdScoreForbidden) Error() string

func (*CrowdScoreForbidden) GetPayload

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

type CrowdScoreInternalServerError

type CrowdScoreInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
CrowdScoreInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCrowdScoreInternalServerError

func NewCrowdScoreInternalServerError() *CrowdScoreInternalServerError

NewCrowdScoreInternalServerError creates a CrowdScoreInternalServerError with default headers values

func (*CrowdScoreInternalServerError) Error

func (*CrowdScoreInternalServerError) GetPayload

type CrowdScoreOK

type CrowdScoreOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.APIMsaEnvironmentScoreResponse
}
CrowdScoreOK describes a response with status code 200, with default header values.

OK

func NewCrowdScoreOK

func NewCrowdScoreOK() *CrowdScoreOK

NewCrowdScoreOK creates a CrowdScoreOK with default headers values

func (*CrowdScoreOK) Error

func (o *CrowdScoreOK) Error() string

func (*CrowdScoreOK) GetPayload

type CrowdScoreParams

type CrowdScoreParams struct {

	/* Filter.

	   Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide).
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Sort.

	   The property to sort on, followed by a dot (.), followed by the sort direction, either "asc" or "desc".
	*/
	Sort *string

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

CrowdScoreParams contains all the parameters to send to the API endpoint

for the crowd score operation.

Typically these are written to a http.Request.

func NewCrowdScoreParams

func NewCrowdScoreParams() *CrowdScoreParams

NewCrowdScoreParams creates a new CrowdScoreParams 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 NewCrowdScoreParamsWithContext

func NewCrowdScoreParamsWithContext(ctx context.Context) *CrowdScoreParams

NewCrowdScoreParamsWithContext creates a new CrowdScoreParams object with the ability to set a context for a request.

func NewCrowdScoreParamsWithHTTPClient

func NewCrowdScoreParamsWithHTTPClient(client *http.Client) *CrowdScoreParams

NewCrowdScoreParamsWithHTTPClient creates a new CrowdScoreParams object with the ability to set a custom HTTPClient for a request.

func NewCrowdScoreParamsWithTimeout

func NewCrowdScoreParamsWithTimeout(timeout time.Duration) *CrowdScoreParams

NewCrowdScoreParamsWithTimeout creates a new CrowdScoreParams object with the ability to set a timeout on a request.

func (*CrowdScoreParams) SetContext

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

SetContext adds the context to the crowd score params

func (*CrowdScoreParams) SetDefaults

func (o *CrowdScoreParams) SetDefaults()

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

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

func (*CrowdScoreParams) SetFilter

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

SetFilter adds the filter to the crowd score params

func (*CrowdScoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the crowd score params

func (*CrowdScoreParams) SetLimit

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

SetLimit adds the limit to the crowd score params

func (*CrowdScoreParams) SetOffset

func (o *CrowdScoreParams) SetOffset(offset *string)

SetOffset adds the offset to the crowd score params

func (*CrowdScoreParams) SetSort

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

SetSort adds the sort to the crowd score params

func (*CrowdScoreParams) SetTimeout

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

SetTimeout adds the timeout to the crowd score params

func (*CrowdScoreParams) WithContext

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

WithContext adds the context to the crowd score params

func (*CrowdScoreParams) WithDefaults

func (o *CrowdScoreParams) WithDefaults() *CrowdScoreParams

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

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

func (*CrowdScoreParams) WithFilter

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

WithFilter adds the filter to the crowd score params

func (*CrowdScoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the crowd score params

func (*CrowdScoreParams) WithLimit

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

WithLimit adds the limit to the crowd score params

func (*CrowdScoreParams) WithOffset

func (o *CrowdScoreParams) WithOffset(offset *string) *CrowdScoreParams

WithOffset adds the offset to the crowd score params

func (*CrowdScoreParams) WithSort

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

WithSort adds the sort to the crowd score params

func (*CrowdScoreParams) WithTimeout

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

WithTimeout adds the timeout to the crowd score params

func (*CrowdScoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CrowdScoreReader

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

CrowdScoreReader is a Reader for the CrowdScore structure.

func (*CrowdScoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CrowdScoreTooManyRequests

type CrowdScoreTooManyRequests struct {

	/* 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
}
CrowdScoreTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCrowdScoreTooManyRequests

func NewCrowdScoreTooManyRequests() *CrowdScoreTooManyRequests

NewCrowdScoreTooManyRequests creates a CrowdScoreTooManyRequests with default headers values

func (*CrowdScoreTooManyRequests) Error

func (o *CrowdScoreTooManyRequests) Error() string

func (*CrowdScoreTooManyRequests) GetPayload

type GetBehaviorsBadRequest

type GetBehaviorsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetBehaviorsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetBehaviorsBadRequest

func NewGetBehaviorsBadRequest() *GetBehaviorsBadRequest

NewGetBehaviorsBadRequest creates a GetBehaviorsBadRequest with default headers values

func (*GetBehaviorsBadRequest) Error

func (o *GetBehaviorsBadRequest) Error() string

func (*GetBehaviorsBadRequest) GetPayload

type GetBehaviorsDefault

type GetBehaviorsDefault struct {
	Payload *models.APIMsaExternalBehaviorResponse
	// contains filtered or unexported fields
}
GetBehaviorsDefault describes a response with status code -1, with default header values.

OK

func NewGetBehaviorsDefault

func NewGetBehaviorsDefault(code int) *GetBehaviorsDefault

NewGetBehaviorsDefault creates a GetBehaviorsDefault with default headers values

func (*GetBehaviorsDefault) Code

func (o *GetBehaviorsDefault) Code() int

Code gets the status code for the get behaviors default response

func (*GetBehaviorsDefault) Error

func (o *GetBehaviorsDefault) Error() string

func (*GetBehaviorsDefault) GetPayload

type GetBehaviorsForbidden

type GetBehaviorsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetBehaviorsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetBehaviorsForbidden

func NewGetBehaviorsForbidden() *GetBehaviorsForbidden

NewGetBehaviorsForbidden creates a GetBehaviorsForbidden with default headers values

func (*GetBehaviorsForbidden) Error

func (o *GetBehaviorsForbidden) Error() string

func (*GetBehaviorsForbidden) GetPayload

type GetBehaviorsInternalServerError

type GetBehaviorsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetBehaviorsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetBehaviorsInternalServerError

func NewGetBehaviorsInternalServerError() *GetBehaviorsInternalServerError

NewGetBehaviorsInternalServerError creates a GetBehaviorsInternalServerError with default headers values

func (*GetBehaviorsInternalServerError) Error

func (*GetBehaviorsInternalServerError) GetPayload

type GetBehaviorsOK

type GetBehaviorsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.APIMsaExternalBehaviorResponse
}
GetBehaviorsOK describes a response with status code 200, with default header values.

OK

func NewGetBehaviorsOK

func NewGetBehaviorsOK() *GetBehaviorsOK

NewGetBehaviorsOK creates a GetBehaviorsOK with default headers values

func (*GetBehaviorsOK) Error

func (o *GetBehaviorsOK) Error() string

func (*GetBehaviorsOK) GetPayload

type GetBehaviorsParams

type GetBehaviorsParams struct {

	// Body.
	Body *models.MsaIdsRequest

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

GetBehaviorsParams contains all the parameters to send to the API endpoint

for the get behaviors operation.

Typically these are written to a http.Request.

func NewGetBehaviorsParams

func NewGetBehaviorsParams() *GetBehaviorsParams

NewGetBehaviorsParams creates a new GetBehaviorsParams 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 NewGetBehaviorsParamsWithContext

func NewGetBehaviorsParamsWithContext(ctx context.Context) *GetBehaviorsParams

NewGetBehaviorsParamsWithContext creates a new GetBehaviorsParams object with the ability to set a context for a request.

func NewGetBehaviorsParamsWithHTTPClient

func NewGetBehaviorsParamsWithHTTPClient(client *http.Client) *GetBehaviorsParams

NewGetBehaviorsParamsWithHTTPClient creates a new GetBehaviorsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBehaviorsParamsWithTimeout

func NewGetBehaviorsParamsWithTimeout(timeout time.Duration) *GetBehaviorsParams

NewGetBehaviorsParamsWithTimeout creates a new GetBehaviorsParams object with the ability to set a timeout on a request.

func (*GetBehaviorsParams) SetBody

func (o *GetBehaviorsParams) SetBody(body *models.MsaIdsRequest)

SetBody adds the body to the get behaviors params

func (*GetBehaviorsParams) SetContext

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

SetContext adds the context to the get behaviors params

func (*GetBehaviorsParams) SetDefaults

func (o *GetBehaviorsParams) SetDefaults()

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

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

func (*GetBehaviorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get behaviors params

func (*GetBehaviorsParams) SetTimeout

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

SetTimeout adds the timeout to the get behaviors params

func (*GetBehaviorsParams) WithBody

WithBody adds the body to the get behaviors params

func (*GetBehaviorsParams) WithContext

WithContext adds the context to the get behaviors params

func (*GetBehaviorsParams) WithDefaults

func (o *GetBehaviorsParams) WithDefaults() *GetBehaviorsParams

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

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

func (*GetBehaviorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get behaviors params

func (*GetBehaviorsParams) WithTimeout

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

WithTimeout adds the timeout to the get behaviors params

func (*GetBehaviorsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBehaviorsReader

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

GetBehaviorsReader is a Reader for the GetBehaviors structure.

func (*GetBehaviorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBehaviorsTooManyRequests

type GetBehaviorsTooManyRequests struct {

	/* 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
}
GetBehaviorsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetBehaviorsTooManyRequests

func NewGetBehaviorsTooManyRequests() *GetBehaviorsTooManyRequests

NewGetBehaviorsTooManyRequests creates a GetBehaviorsTooManyRequests with default headers values

func (*GetBehaviorsTooManyRequests) Error

func (*GetBehaviorsTooManyRequests) GetPayload

type GetIncidentsBadRequest

type GetIncidentsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetIncidentsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetIncidentsBadRequest

func NewGetIncidentsBadRequest() *GetIncidentsBadRequest

NewGetIncidentsBadRequest creates a GetIncidentsBadRequest with default headers values

func (*GetIncidentsBadRequest) Error

func (o *GetIncidentsBadRequest) Error() string

func (*GetIncidentsBadRequest) GetPayload

type GetIncidentsDefault

type GetIncidentsDefault struct {
	Payload *models.APIMsaExternalIncidentResponse
	// contains filtered or unexported fields
}
GetIncidentsDefault describes a response with status code -1, with default header values.

OK

func NewGetIncidentsDefault

func NewGetIncidentsDefault(code int) *GetIncidentsDefault

NewGetIncidentsDefault creates a GetIncidentsDefault with default headers values

func (*GetIncidentsDefault) Code

func (o *GetIncidentsDefault) Code() int

Code gets the status code for the get incidents default response

func (*GetIncidentsDefault) Error

func (o *GetIncidentsDefault) Error() string

func (*GetIncidentsDefault) GetPayload

type GetIncidentsForbidden

type GetIncidentsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetIncidentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetIncidentsForbidden

func NewGetIncidentsForbidden() *GetIncidentsForbidden

NewGetIncidentsForbidden creates a GetIncidentsForbidden with default headers values

func (*GetIncidentsForbidden) Error

func (o *GetIncidentsForbidden) Error() string

func (*GetIncidentsForbidden) GetPayload

type GetIncidentsInternalServerError

type GetIncidentsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetIncidentsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetIncidentsInternalServerError

func NewGetIncidentsInternalServerError() *GetIncidentsInternalServerError

NewGetIncidentsInternalServerError creates a GetIncidentsInternalServerError with default headers values

func (*GetIncidentsInternalServerError) Error

func (*GetIncidentsInternalServerError) GetPayload

type GetIncidentsOK

type GetIncidentsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.APIMsaExternalIncidentResponse
}
GetIncidentsOK describes a response with status code 200, with default header values.

OK

func NewGetIncidentsOK

func NewGetIncidentsOK() *GetIncidentsOK

NewGetIncidentsOK creates a GetIncidentsOK with default headers values

func (*GetIncidentsOK) Error

func (o *GetIncidentsOK) Error() string

func (*GetIncidentsOK) GetPayload

type GetIncidentsParams

type GetIncidentsParams struct {

	// Body.
	Body *models.MsaIdsRequest

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

GetIncidentsParams contains all the parameters to send to the API endpoint

for the get incidents operation.

Typically these are written to a http.Request.

func NewGetIncidentsParams

func NewGetIncidentsParams() *GetIncidentsParams

NewGetIncidentsParams creates a new GetIncidentsParams 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 NewGetIncidentsParamsWithContext

func NewGetIncidentsParamsWithContext(ctx context.Context) *GetIncidentsParams

NewGetIncidentsParamsWithContext creates a new GetIncidentsParams object with the ability to set a context for a request.

func NewGetIncidentsParamsWithHTTPClient

func NewGetIncidentsParamsWithHTTPClient(client *http.Client) *GetIncidentsParams

NewGetIncidentsParamsWithHTTPClient creates a new GetIncidentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIncidentsParamsWithTimeout

func NewGetIncidentsParamsWithTimeout(timeout time.Duration) *GetIncidentsParams

NewGetIncidentsParamsWithTimeout creates a new GetIncidentsParams object with the ability to set a timeout on a request.

func (*GetIncidentsParams) SetBody

func (o *GetIncidentsParams) SetBody(body *models.MsaIdsRequest)

SetBody adds the body to the get incidents params

func (*GetIncidentsParams) SetContext

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

SetContext adds the context to the get incidents params

func (*GetIncidentsParams) SetDefaults

func (o *GetIncidentsParams) SetDefaults()

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

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

func (*GetIncidentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get incidents params

func (*GetIncidentsParams) SetTimeout

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

SetTimeout adds the timeout to the get incidents params

func (*GetIncidentsParams) WithBody

WithBody adds the body to the get incidents params

func (*GetIncidentsParams) WithContext

WithContext adds the context to the get incidents params

func (*GetIncidentsParams) WithDefaults

func (o *GetIncidentsParams) WithDefaults() *GetIncidentsParams

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

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

func (*GetIncidentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get incidents params

func (*GetIncidentsParams) WithTimeout

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

WithTimeout adds the timeout to the get incidents params

func (*GetIncidentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetIncidentsReader

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

GetIncidentsReader is a Reader for the GetIncidents structure.

func (*GetIncidentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIncidentsTooManyRequests

type GetIncidentsTooManyRequests struct {

	/* 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
}
GetIncidentsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetIncidentsTooManyRequests

func NewGetIncidentsTooManyRequests() *GetIncidentsTooManyRequests

NewGetIncidentsTooManyRequests creates a GetIncidentsTooManyRequests with default headers values

func (*GetIncidentsTooManyRequests) Error

func (*GetIncidentsTooManyRequests) GetPayload

type PerformIncidentActionBadRequest

type PerformIncidentActionBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
PerformIncidentActionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPerformIncidentActionBadRequest

func NewPerformIncidentActionBadRequest() *PerformIncidentActionBadRequest

NewPerformIncidentActionBadRequest creates a PerformIncidentActionBadRequest with default headers values

func (*PerformIncidentActionBadRequest) Error

func (*PerformIncidentActionBadRequest) GetPayload

type PerformIncidentActionConflict

type PerformIncidentActionConflict struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
PerformIncidentActionConflict describes a response with status code 409, with default header values.

Conflict

func NewPerformIncidentActionConflict

func NewPerformIncidentActionConflict() *PerformIncidentActionConflict

NewPerformIncidentActionConflict creates a PerformIncidentActionConflict with default headers values

func (*PerformIncidentActionConflict) Error

func (*PerformIncidentActionConflict) GetPayload

type PerformIncidentActionDefault

type PerformIncidentActionDefault struct {
	Payload *models.MsaReplyMetaOnly
	// contains filtered or unexported fields
}
PerformIncidentActionDefault describes a response with status code -1, with default header values.

OK

func NewPerformIncidentActionDefault

func NewPerformIncidentActionDefault(code int) *PerformIncidentActionDefault

NewPerformIncidentActionDefault creates a PerformIncidentActionDefault with default headers values

func (*PerformIncidentActionDefault) Code

Code gets the status code for the perform incident action default response

func (*PerformIncidentActionDefault) Error

func (*PerformIncidentActionDefault) GetPayload

type PerformIncidentActionForbidden

type PerformIncidentActionForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
PerformIncidentActionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPerformIncidentActionForbidden

func NewPerformIncidentActionForbidden() *PerformIncidentActionForbidden

NewPerformIncidentActionForbidden creates a PerformIncidentActionForbidden with default headers values

func (*PerformIncidentActionForbidden) Error

func (*PerformIncidentActionForbidden) GetPayload

type PerformIncidentActionInternalServerError

type PerformIncidentActionInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
PerformIncidentActionInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPerformIncidentActionInternalServerError

func NewPerformIncidentActionInternalServerError() *PerformIncidentActionInternalServerError

NewPerformIncidentActionInternalServerError creates a PerformIncidentActionInternalServerError with default headers values

func (*PerformIncidentActionInternalServerError) Error

func (*PerformIncidentActionInternalServerError) GetPayload

type PerformIncidentActionOK

type PerformIncidentActionOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
PerformIncidentActionOK describes a response with status code 200, with default header values.

OK

func NewPerformIncidentActionOK

func NewPerformIncidentActionOK() *PerformIncidentActionOK

NewPerformIncidentActionOK creates a PerformIncidentActionOK with default headers values

func (*PerformIncidentActionOK) Error

func (o *PerformIncidentActionOK) Error() string

func (*PerformIncidentActionOK) GetPayload

type PerformIncidentActionParams

type PerformIncidentActionParams struct {

	// Body.
	Body *models.MsaEntityActionRequestV2

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

PerformIncidentActionParams contains all the parameters to send to the API endpoint

for the perform incident action operation.

Typically these are written to a http.Request.

func NewPerformIncidentActionParams

func NewPerformIncidentActionParams() *PerformIncidentActionParams

NewPerformIncidentActionParams creates a new PerformIncidentActionParams 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 NewPerformIncidentActionParamsWithContext

func NewPerformIncidentActionParamsWithContext(ctx context.Context) *PerformIncidentActionParams

NewPerformIncidentActionParamsWithContext creates a new PerformIncidentActionParams object with the ability to set a context for a request.

func NewPerformIncidentActionParamsWithHTTPClient

func NewPerformIncidentActionParamsWithHTTPClient(client *http.Client) *PerformIncidentActionParams

NewPerformIncidentActionParamsWithHTTPClient creates a new PerformIncidentActionParams object with the ability to set a custom HTTPClient for a request.

func NewPerformIncidentActionParamsWithTimeout

func NewPerformIncidentActionParamsWithTimeout(timeout time.Duration) *PerformIncidentActionParams

NewPerformIncidentActionParamsWithTimeout creates a new PerformIncidentActionParams object with the ability to set a timeout on a request.

func (*PerformIncidentActionParams) SetBody

SetBody adds the body to the perform incident action params

func (*PerformIncidentActionParams) SetContext

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

SetContext adds the context to the perform incident action params

func (*PerformIncidentActionParams) SetDefaults

func (o *PerformIncidentActionParams) SetDefaults()

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

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

func (*PerformIncidentActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the perform incident action params

func (*PerformIncidentActionParams) SetTimeout

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

SetTimeout adds the timeout to the perform incident action params

func (*PerformIncidentActionParams) WithBody

WithBody adds the body to the perform incident action params

func (*PerformIncidentActionParams) WithContext

WithContext adds the context to the perform incident action params

func (*PerformIncidentActionParams) WithDefaults

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

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

func (*PerformIncidentActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the perform incident action params

func (*PerformIncidentActionParams) WithTimeout

WithTimeout adds the timeout to the perform incident action params

func (*PerformIncidentActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PerformIncidentActionReader

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

PerformIncidentActionReader is a Reader for the PerformIncidentAction structure.

func (*PerformIncidentActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PerformIncidentActionTooManyRequests

type PerformIncidentActionTooManyRequests struct {

	/* 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
}
PerformIncidentActionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPerformIncidentActionTooManyRequests

func NewPerformIncidentActionTooManyRequests() *PerformIncidentActionTooManyRequests

NewPerformIncidentActionTooManyRequests creates a PerformIncidentActionTooManyRequests with default headers values

func (*PerformIncidentActionTooManyRequests) Error

func (*PerformIncidentActionTooManyRequests) GetPayload

type QueryBehaviorsBadRequest

type QueryBehaviorsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
QueryBehaviorsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryBehaviorsBadRequest

func NewQueryBehaviorsBadRequest() *QueryBehaviorsBadRequest

NewQueryBehaviorsBadRequest creates a QueryBehaviorsBadRequest with default headers values

func (*QueryBehaviorsBadRequest) Error

func (o *QueryBehaviorsBadRequest) Error() string

func (*QueryBehaviorsBadRequest) GetPayload

type QueryBehaviorsDefault

type QueryBehaviorsDefault struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}
QueryBehaviorsDefault describes a response with status code -1, with default header values.

OK

func NewQueryBehaviorsDefault

func NewQueryBehaviorsDefault(code int) *QueryBehaviorsDefault

NewQueryBehaviorsDefault creates a QueryBehaviorsDefault with default headers values

func (*QueryBehaviorsDefault) Code

func (o *QueryBehaviorsDefault) Code() int

Code gets the status code for the query behaviors default response

func (*QueryBehaviorsDefault) Error

func (o *QueryBehaviorsDefault) Error() string

func (*QueryBehaviorsDefault) GetPayload

type QueryBehaviorsForbidden

type QueryBehaviorsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
QueryBehaviorsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryBehaviorsForbidden

func NewQueryBehaviorsForbidden() *QueryBehaviorsForbidden

NewQueryBehaviorsForbidden creates a QueryBehaviorsForbidden with default headers values

func (*QueryBehaviorsForbidden) Error

func (o *QueryBehaviorsForbidden) Error() string

func (*QueryBehaviorsForbidden) GetPayload

type QueryBehaviorsInternalServerError

type QueryBehaviorsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
QueryBehaviorsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryBehaviorsInternalServerError

func NewQueryBehaviorsInternalServerError() *QueryBehaviorsInternalServerError

NewQueryBehaviorsInternalServerError creates a QueryBehaviorsInternalServerError with default headers values

func (*QueryBehaviorsInternalServerError) Error

func (*QueryBehaviorsInternalServerError) GetPayload

type QueryBehaviorsOK

type QueryBehaviorsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaQueryResponse
}
QueryBehaviorsOK describes a response with status code 200, with default header values.

OK

func NewQueryBehaviorsOK

func NewQueryBehaviorsOK() *QueryBehaviorsOK

NewQueryBehaviorsOK creates a QueryBehaviorsOK with default headers values

func (*QueryBehaviorsOK) Error

func (o *QueryBehaviorsOK) Error() string

func (*QueryBehaviorsOK) GetPayload

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

type QueryBehaviorsParams

type QueryBehaviorsParams struct {

	/* Filter.

	   Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide).
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Sort.

	   The property to sort on, followed by a dot (.), followed by the sort direction, either "asc" or "desc".
	*/
	Sort *string

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

QueryBehaviorsParams contains all the parameters to send to the API endpoint

for the query behaviors operation.

Typically these are written to a http.Request.

func NewQueryBehaviorsParams

func NewQueryBehaviorsParams() *QueryBehaviorsParams

NewQueryBehaviorsParams creates a new QueryBehaviorsParams 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 NewQueryBehaviorsParamsWithContext

func NewQueryBehaviorsParamsWithContext(ctx context.Context) *QueryBehaviorsParams

NewQueryBehaviorsParamsWithContext creates a new QueryBehaviorsParams object with the ability to set a context for a request.

func NewQueryBehaviorsParamsWithHTTPClient

func NewQueryBehaviorsParamsWithHTTPClient(client *http.Client) *QueryBehaviorsParams

NewQueryBehaviorsParamsWithHTTPClient creates a new QueryBehaviorsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryBehaviorsParamsWithTimeout

func NewQueryBehaviorsParamsWithTimeout(timeout time.Duration) *QueryBehaviorsParams

NewQueryBehaviorsParamsWithTimeout creates a new QueryBehaviorsParams object with the ability to set a timeout on a request.

func (*QueryBehaviorsParams) SetContext

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

SetContext adds the context to the query behaviors params

func (*QueryBehaviorsParams) SetDefaults

func (o *QueryBehaviorsParams) SetDefaults()

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

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

func (*QueryBehaviorsParams) SetFilter

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

SetFilter adds the filter to the query behaviors params

func (*QueryBehaviorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query behaviors params

func (*QueryBehaviorsParams) SetLimit

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

SetLimit adds the limit to the query behaviors params

func (*QueryBehaviorsParams) SetOffset

func (o *QueryBehaviorsParams) SetOffset(offset *string)

SetOffset adds the offset to the query behaviors params

func (*QueryBehaviorsParams) SetSort

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

SetSort adds the sort to the query behaviors params

func (*QueryBehaviorsParams) SetTimeout

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

SetTimeout adds the timeout to the query behaviors params

func (*QueryBehaviorsParams) WithContext

WithContext adds the context to the query behaviors params

func (*QueryBehaviorsParams) WithDefaults

func (o *QueryBehaviorsParams) WithDefaults() *QueryBehaviorsParams

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

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

func (*QueryBehaviorsParams) WithFilter

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

WithFilter adds the filter to the query behaviors params

func (*QueryBehaviorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query behaviors params

func (*QueryBehaviorsParams) WithLimit

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

WithLimit adds the limit to the query behaviors params

func (*QueryBehaviorsParams) WithOffset

func (o *QueryBehaviorsParams) WithOffset(offset *string) *QueryBehaviorsParams

WithOffset adds the offset to the query behaviors params

func (*QueryBehaviorsParams) WithSort

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

WithSort adds the sort to the query behaviors params

func (*QueryBehaviorsParams) WithTimeout

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

WithTimeout adds the timeout to the query behaviors params

func (*QueryBehaviorsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryBehaviorsReader

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

QueryBehaviorsReader is a Reader for the QueryBehaviors structure.

func (*QueryBehaviorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryBehaviorsTooManyRequests

type QueryBehaviorsTooManyRequests struct {

	/* 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
}
QueryBehaviorsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryBehaviorsTooManyRequests

func NewQueryBehaviorsTooManyRequests() *QueryBehaviorsTooManyRequests

NewQueryBehaviorsTooManyRequests creates a QueryBehaviorsTooManyRequests with default headers values

func (*QueryBehaviorsTooManyRequests) Error

func (*QueryBehaviorsTooManyRequests) GetPayload

type QueryIncidentsBadRequest

type QueryIncidentsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
QueryIncidentsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryIncidentsBadRequest

func NewQueryIncidentsBadRequest() *QueryIncidentsBadRequest

NewQueryIncidentsBadRequest creates a QueryIncidentsBadRequest with default headers values

func (*QueryIncidentsBadRequest) Error

func (o *QueryIncidentsBadRequest) Error() string

func (*QueryIncidentsBadRequest) GetPayload

type QueryIncidentsDefault

type QueryIncidentsDefault struct {
	Payload *models.APIMsaIncidentQueryResponse
	// contains filtered or unexported fields
}
QueryIncidentsDefault describes a response with status code -1, with default header values.

OK

func NewQueryIncidentsDefault

func NewQueryIncidentsDefault(code int) *QueryIncidentsDefault

NewQueryIncidentsDefault creates a QueryIncidentsDefault with default headers values

func (*QueryIncidentsDefault) Code

func (o *QueryIncidentsDefault) Code() int

Code gets the status code for the query incidents default response

func (*QueryIncidentsDefault) Error

func (o *QueryIncidentsDefault) Error() string

func (*QueryIncidentsDefault) GetPayload

type QueryIncidentsForbidden

type QueryIncidentsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
QueryIncidentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryIncidentsForbidden

func NewQueryIncidentsForbidden() *QueryIncidentsForbidden

NewQueryIncidentsForbidden creates a QueryIncidentsForbidden with default headers values

func (*QueryIncidentsForbidden) Error

func (o *QueryIncidentsForbidden) Error() string

func (*QueryIncidentsForbidden) GetPayload

type QueryIncidentsInternalServerError

type QueryIncidentsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
QueryIncidentsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryIncidentsInternalServerError

func NewQueryIncidentsInternalServerError() *QueryIncidentsInternalServerError

NewQueryIncidentsInternalServerError creates a QueryIncidentsInternalServerError with default headers values

func (*QueryIncidentsInternalServerError) Error

func (*QueryIncidentsInternalServerError) GetPayload

type QueryIncidentsOK

type QueryIncidentsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.APIMsaIncidentQueryResponse
}
QueryIncidentsOK describes a response with status code 200, with default header values.

OK

func NewQueryIncidentsOK

func NewQueryIncidentsOK() *QueryIncidentsOK

NewQueryIncidentsOK creates a QueryIncidentsOK with default headers values

func (*QueryIncidentsOK) Error

func (o *QueryIncidentsOK) Error() string

func (*QueryIncidentsOK) GetPayload

type QueryIncidentsParams

type QueryIncidentsParams struct {

	/* Filter.

	   Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide).
	*/
	Filter *string

	/* Limit.

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

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Sort.

	   The property to sort on, followed by a dot (.), followed by the sort direction, either "asc" or "desc".
	*/
	Sort *string

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

QueryIncidentsParams contains all the parameters to send to the API endpoint

for the query incidents operation.

Typically these are written to a http.Request.

func NewQueryIncidentsParams

func NewQueryIncidentsParams() *QueryIncidentsParams

NewQueryIncidentsParams creates a new QueryIncidentsParams 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 NewQueryIncidentsParamsWithContext

func NewQueryIncidentsParamsWithContext(ctx context.Context) *QueryIncidentsParams

NewQueryIncidentsParamsWithContext creates a new QueryIncidentsParams object with the ability to set a context for a request.

func NewQueryIncidentsParamsWithHTTPClient

func NewQueryIncidentsParamsWithHTTPClient(client *http.Client) *QueryIncidentsParams

NewQueryIncidentsParamsWithHTTPClient creates a new QueryIncidentsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryIncidentsParamsWithTimeout

func NewQueryIncidentsParamsWithTimeout(timeout time.Duration) *QueryIncidentsParams

NewQueryIncidentsParamsWithTimeout creates a new QueryIncidentsParams object with the ability to set a timeout on a request.

func (*QueryIncidentsParams) SetContext

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

SetContext adds the context to the query incidents params

func (*QueryIncidentsParams) SetDefaults

func (o *QueryIncidentsParams) SetDefaults()

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

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

func (*QueryIncidentsParams) SetFilter

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

SetFilter adds the filter to the query incidents params

func (*QueryIncidentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query incidents params

func (*QueryIncidentsParams) SetLimit

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

SetLimit adds the limit to the query incidents params

func (*QueryIncidentsParams) SetOffset

func (o *QueryIncidentsParams) SetOffset(offset *string)

SetOffset adds the offset to the query incidents params

func (*QueryIncidentsParams) SetSort

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

SetSort adds the sort to the query incidents params

func (*QueryIncidentsParams) SetTimeout

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

SetTimeout adds the timeout to the query incidents params

func (*QueryIncidentsParams) WithContext

WithContext adds the context to the query incidents params

func (*QueryIncidentsParams) WithDefaults

func (o *QueryIncidentsParams) WithDefaults() *QueryIncidentsParams

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

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

func (*QueryIncidentsParams) WithFilter

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

WithFilter adds the filter to the query incidents params

func (*QueryIncidentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query incidents params

func (*QueryIncidentsParams) WithLimit

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

WithLimit adds the limit to the query incidents params

func (*QueryIncidentsParams) WithOffset

func (o *QueryIncidentsParams) WithOffset(offset *string) *QueryIncidentsParams

WithOffset adds the offset to the query incidents params

func (*QueryIncidentsParams) WithSort

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

WithSort adds the sort to the query incidents params

func (*QueryIncidentsParams) WithTimeout

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

WithTimeout adds the timeout to the query incidents params

func (*QueryIncidentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryIncidentsReader

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

QueryIncidentsReader is a Reader for the QueryIncidents structure.

func (*QueryIncidentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryIncidentsTooManyRequests

type QueryIncidentsTooManyRequests struct {

	/* 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
}
QueryIncidentsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryIncidentsTooManyRequests

func NewQueryIncidentsTooManyRequests() *QueryIncidentsTooManyRequests

NewQueryIncidentsTooManyRequests creates a QueryIncidentsTooManyRequests with default headers values

func (*QueryIncidentsTooManyRequests) Error

func (*QueryIncidentsTooManyRequests) GetPayload

Jump to

Keyboard shortcuts

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