Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAggregateDetects(params *GetAggregateDetectsParams, opts ...ClientOption) (*GetAggregateDetectsOK, error)
- func (a *Client) GetDetectSummaries(params *GetDetectSummariesParams, opts ...ClientOption) (*GetDetectSummariesOK, error)
- func (a *Client) QueryDetects(params *QueryDetectsParams, opts ...ClientOption) (*QueryDetectsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDetectsByIdsV2(params *UpdateDetectsByIdsV2Params, opts ...ClientOption) (*UpdateDetectsByIdsV2OK, error)
- type ClientOption
- type ClientService
- type GetAggregateDetectsBadRequest
- func (o *GetAggregateDetectsBadRequest) Code() int
- func (o *GetAggregateDetectsBadRequest) Error() string
- func (o *GetAggregateDetectsBadRequest) GetPayload() *models.MsaAggregatesResponse
- func (o *GetAggregateDetectsBadRequest) IsClientError() bool
- func (o *GetAggregateDetectsBadRequest) IsCode(code int) bool
- func (o *GetAggregateDetectsBadRequest) IsRedirect() bool
- func (o *GetAggregateDetectsBadRequest) IsServerError() bool
- func (o *GetAggregateDetectsBadRequest) IsSuccess() bool
- func (o *GetAggregateDetectsBadRequest) String() string
- type GetAggregateDetectsForbidden
- func (o *GetAggregateDetectsForbidden) Code() int
- func (o *GetAggregateDetectsForbidden) Error() string
- func (o *GetAggregateDetectsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAggregateDetectsForbidden) IsClientError() bool
- func (o *GetAggregateDetectsForbidden) IsCode(code int) bool
- func (o *GetAggregateDetectsForbidden) IsRedirect() bool
- func (o *GetAggregateDetectsForbidden) IsServerError() bool
- func (o *GetAggregateDetectsForbidden) IsSuccess() bool
- func (o *GetAggregateDetectsForbidden) String() string
- type GetAggregateDetectsInternalServerError
- func (o *GetAggregateDetectsInternalServerError) Code() int
- func (o *GetAggregateDetectsInternalServerError) Error() string
- func (o *GetAggregateDetectsInternalServerError) GetPayload() *models.MsaAggregatesResponse
- func (o *GetAggregateDetectsInternalServerError) IsClientError() bool
- func (o *GetAggregateDetectsInternalServerError) IsCode(code int) bool
- func (o *GetAggregateDetectsInternalServerError) IsRedirect() bool
- func (o *GetAggregateDetectsInternalServerError) IsServerError() bool
- func (o *GetAggregateDetectsInternalServerError) IsSuccess() bool
- func (o *GetAggregateDetectsInternalServerError) String() string
- type GetAggregateDetectsOK
- func (o *GetAggregateDetectsOK) Code() int
- func (o *GetAggregateDetectsOK) Error() string
- func (o *GetAggregateDetectsOK) GetPayload() *models.MsaAggregatesResponse
- func (o *GetAggregateDetectsOK) IsClientError() bool
- func (o *GetAggregateDetectsOK) IsCode(code int) bool
- func (o *GetAggregateDetectsOK) IsRedirect() bool
- func (o *GetAggregateDetectsOK) IsServerError() bool
- func (o *GetAggregateDetectsOK) IsSuccess() bool
- func (o *GetAggregateDetectsOK) String() string
- type GetAggregateDetectsParams
- func NewGetAggregateDetectsParams() *GetAggregateDetectsParams
- func NewGetAggregateDetectsParamsWithContext(ctx context.Context) *GetAggregateDetectsParams
- func NewGetAggregateDetectsParamsWithHTTPClient(client *http.Client) *GetAggregateDetectsParams
- func NewGetAggregateDetectsParamsWithTimeout(timeout time.Duration) *GetAggregateDetectsParams
- func (o *GetAggregateDetectsParams) SetBody(body []*models.MsaAggregateQueryRequest)
- func (o *GetAggregateDetectsParams) SetContext(ctx context.Context)
- func (o *GetAggregateDetectsParams) SetDefaults()
- func (o *GetAggregateDetectsParams) SetHTTPClient(client *http.Client)
- func (o *GetAggregateDetectsParams) SetTimeout(timeout time.Duration)
- func (o *GetAggregateDetectsParams) WithBody(body []*models.MsaAggregateQueryRequest) *GetAggregateDetectsParams
- func (o *GetAggregateDetectsParams) WithContext(ctx context.Context) *GetAggregateDetectsParams
- func (o *GetAggregateDetectsParams) WithDefaults() *GetAggregateDetectsParams
- func (o *GetAggregateDetectsParams) WithHTTPClient(client *http.Client) *GetAggregateDetectsParams
- func (o *GetAggregateDetectsParams) WithTimeout(timeout time.Duration) *GetAggregateDetectsParams
- func (o *GetAggregateDetectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAggregateDetectsReader
- type GetAggregateDetectsTooManyRequests
- func (o *GetAggregateDetectsTooManyRequests) Code() int
- func (o *GetAggregateDetectsTooManyRequests) Error() string
- func (o *GetAggregateDetectsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAggregateDetectsTooManyRequests) IsClientError() bool
- func (o *GetAggregateDetectsTooManyRequests) IsCode(code int) bool
- func (o *GetAggregateDetectsTooManyRequests) IsRedirect() bool
- func (o *GetAggregateDetectsTooManyRequests) IsServerError() bool
- func (o *GetAggregateDetectsTooManyRequests) IsSuccess() bool
- func (o *GetAggregateDetectsTooManyRequests) String() string
- type GetDetectSummariesBadRequest
- func (o *GetDetectSummariesBadRequest) Code() int
- func (o *GetDetectSummariesBadRequest) Error() string
- func (o *GetDetectSummariesBadRequest) GetPayload() *models.DomainMsaDetectSummariesResponse
- func (o *GetDetectSummariesBadRequest) IsClientError() bool
- func (o *GetDetectSummariesBadRequest) IsCode(code int) bool
- func (o *GetDetectSummariesBadRequest) IsRedirect() bool
- func (o *GetDetectSummariesBadRequest) IsServerError() bool
- func (o *GetDetectSummariesBadRequest) IsSuccess() bool
- func (o *GetDetectSummariesBadRequest) String() string
- type GetDetectSummariesForbidden
- func (o *GetDetectSummariesForbidden) Code() int
- func (o *GetDetectSummariesForbidden) Error() string
- func (o *GetDetectSummariesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetDetectSummariesForbidden) IsClientError() bool
- func (o *GetDetectSummariesForbidden) IsCode(code int) bool
- func (o *GetDetectSummariesForbidden) IsRedirect() bool
- func (o *GetDetectSummariesForbidden) IsServerError() bool
- func (o *GetDetectSummariesForbidden) IsSuccess() bool
- func (o *GetDetectSummariesForbidden) String() string
- type GetDetectSummariesInternalServerError
- func (o *GetDetectSummariesInternalServerError) Code() int
- func (o *GetDetectSummariesInternalServerError) Error() string
- func (o *GetDetectSummariesInternalServerError) GetPayload() *models.DomainMsaDetectSummariesResponse
- func (o *GetDetectSummariesInternalServerError) IsClientError() bool
- func (o *GetDetectSummariesInternalServerError) IsCode(code int) bool
- func (o *GetDetectSummariesInternalServerError) IsRedirect() bool
- func (o *GetDetectSummariesInternalServerError) IsServerError() bool
- func (o *GetDetectSummariesInternalServerError) IsSuccess() bool
- func (o *GetDetectSummariesInternalServerError) String() string
- type GetDetectSummariesOK
- func (o *GetDetectSummariesOK) Code() int
- func (o *GetDetectSummariesOK) Error() string
- func (o *GetDetectSummariesOK) GetPayload() *models.DomainMsaDetectSummariesResponse
- func (o *GetDetectSummariesOK) IsClientError() bool
- func (o *GetDetectSummariesOK) IsCode(code int) bool
- func (o *GetDetectSummariesOK) IsRedirect() bool
- func (o *GetDetectSummariesOK) IsServerError() bool
- func (o *GetDetectSummariesOK) IsSuccess() bool
- func (o *GetDetectSummariesOK) String() string
- type GetDetectSummariesParams
- func NewGetDetectSummariesParams() *GetDetectSummariesParams
- func NewGetDetectSummariesParamsWithContext(ctx context.Context) *GetDetectSummariesParams
- func NewGetDetectSummariesParamsWithHTTPClient(client *http.Client) *GetDetectSummariesParams
- func NewGetDetectSummariesParamsWithTimeout(timeout time.Duration) *GetDetectSummariesParams
- func (o *GetDetectSummariesParams) SetBody(body *models.MsaIdsRequest)
- func (o *GetDetectSummariesParams) SetContext(ctx context.Context)
- func (o *GetDetectSummariesParams) SetDefaults()
- func (o *GetDetectSummariesParams) SetHTTPClient(client *http.Client)
- func (o *GetDetectSummariesParams) SetTimeout(timeout time.Duration)
- func (o *GetDetectSummariesParams) WithBody(body *models.MsaIdsRequest) *GetDetectSummariesParams
- func (o *GetDetectSummariesParams) WithContext(ctx context.Context) *GetDetectSummariesParams
- func (o *GetDetectSummariesParams) WithDefaults() *GetDetectSummariesParams
- func (o *GetDetectSummariesParams) WithHTTPClient(client *http.Client) *GetDetectSummariesParams
- func (o *GetDetectSummariesParams) WithTimeout(timeout time.Duration) *GetDetectSummariesParams
- func (o *GetDetectSummariesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDetectSummariesReader
- type GetDetectSummariesTooManyRequests
- func (o *GetDetectSummariesTooManyRequests) Code() int
- func (o *GetDetectSummariesTooManyRequests) Error() string
- func (o *GetDetectSummariesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetDetectSummariesTooManyRequests) IsClientError() bool
- func (o *GetDetectSummariesTooManyRequests) IsCode(code int) bool
- func (o *GetDetectSummariesTooManyRequests) IsRedirect() bool
- func (o *GetDetectSummariesTooManyRequests) IsServerError() bool
- func (o *GetDetectSummariesTooManyRequests) IsSuccess() bool
- func (o *GetDetectSummariesTooManyRequests) String() string
- type QueryDetectsBadRequest
- func (o *QueryDetectsBadRequest) Code() int
- func (o *QueryDetectsBadRequest) Error() string
- func (o *QueryDetectsBadRequest) GetPayload() *models.MsaQueryResponse
- func (o *QueryDetectsBadRequest) IsClientError() bool
- func (o *QueryDetectsBadRequest) IsCode(code int) bool
- func (o *QueryDetectsBadRequest) IsRedirect() bool
- func (o *QueryDetectsBadRequest) IsServerError() bool
- func (o *QueryDetectsBadRequest) IsSuccess() bool
- func (o *QueryDetectsBadRequest) String() string
- type QueryDetectsForbidden
- func (o *QueryDetectsForbidden) Code() int
- func (o *QueryDetectsForbidden) Error() string
- func (o *QueryDetectsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryDetectsForbidden) IsClientError() bool
- func (o *QueryDetectsForbidden) IsCode(code int) bool
- func (o *QueryDetectsForbidden) IsRedirect() bool
- func (o *QueryDetectsForbidden) IsServerError() bool
- func (o *QueryDetectsForbidden) IsSuccess() bool
- func (o *QueryDetectsForbidden) String() string
- type QueryDetectsInternalServerError
- func (o *QueryDetectsInternalServerError) Code() int
- func (o *QueryDetectsInternalServerError) Error() string
- func (o *QueryDetectsInternalServerError) GetPayload() *models.MsaQueryResponse
- func (o *QueryDetectsInternalServerError) IsClientError() bool
- func (o *QueryDetectsInternalServerError) IsCode(code int) bool
- func (o *QueryDetectsInternalServerError) IsRedirect() bool
- func (o *QueryDetectsInternalServerError) IsServerError() bool
- func (o *QueryDetectsInternalServerError) IsSuccess() bool
- func (o *QueryDetectsInternalServerError) String() string
- type QueryDetectsOK
- func (o *QueryDetectsOK) Code() int
- func (o *QueryDetectsOK) Error() string
- func (o *QueryDetectsOK) GetPayload() *models.MsaQueryResponse
- func (o *QueryDetectsOK) IsClientError() bool
- func (o *QueryDetectsOK) IsCode(code int) bool
- func (o *QueryDetectsOK) IsRedirect() bool
- func (o *QueryDetectsOK) IsServerError() bool
- func (o *QueryDetectsOK) IsSuccess() bool
- func (o *QueryDetectsOK) String() string
- type QueryDetectsParams
- func (o *QueryDetectsParams) SetContext(ctx context.Context)
- func (o *QueryDetectsParams) SetDefaults()
- func (o *QueryDetectsParams) SetFilter(filter *string)
- func (o *QueryDetectsParams) SetHTTPClient(client *http.Client)
- func (o *QueryDetectsParams) SetLimit(limit *int64)
- func (o *QueryDetectsParams) SetOffset(offset *int64)
- func (o *QueryDetectsParams) SetQ(q *string)
- func (o *QueryDetectsParams) SetSort(sort *string)
- func (o *QueryDetectsParams) SetTimeout(timeout time.Duration)
- func (o *QueryDetectsParams) WithContext(ctx context.Context) *QueryDetectsParams
- func (o *QueryDetectsParams) WithDefaults() *QueryDetectsParams
- func (o *QueryDetectsParams) WithFilter(filter *string) *QueryDetectsParams
- func (o *QueryDetectsParams) WithHTTPClient(client *http.Client) *QueryDetectsParams
- func (o *QueryDetectsParams) WithLimit(limit *int64) *QueryDetectsParams
- func (o *QueryDetectsParams) WithOffset(offset *int64) *QueryDetectsParams
- func (o *QueryDetectsParams) WithQ(q *string) *QueryDetectsParams
- func (o *QueryDetectsParams) WithSort(sort *string) *QueryDetectsParams
- func (o *QueryDetectsParams) WithTimeout(timeout time.Duration) *QueryDetectsParams
- func (o *QueryDetectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryDetectsReader
- type QueryDetectsTooManyRequests
- func (o *QueryDetectsTooManyRequests) Code() int
- func (o *QueryDetectsTooManyRequests) Error() string
- func (o *QueryDetectsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryDetectsTooManyRequests) IsClientError() bool
- func (o *QueryDetectsTooManyRequests) IsCode(code int) bool
- func (o *QueryDetectsTooManyRequests) IsRedirect() bool
- func (o *QueryDetectsTooManyRequests) IsServerError() bool
- func (o *QueryDetectsTooManyRequests) IsSuccess() bool
- func (o *QueryDetectsTooManyRequests) String() string
- type UpdateDetectsByIdsV2BadRequest
- func (o *UpdateDetectsByIdsV2BadRequest) Code() int
- func (o *UpdateDetectsByIdsV2BadRequest) Error() string
- func (o *UpdateDetectsByIdsV2BadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDetectsByIdsV2BadRequest) IsClientError() bool
- func (o *UpdateDetectsByIdsV2BadRequest) IsCode(code int) bool
- func (o *UpdateDetectsByIdsV2BadRequest) IsRedirect() bool
- func (o *UpdateDetectsByIdsV2BadRequest) IsServerError() bool
- func (o *UpdateDetectsByIdsV2BadRequest) IsSuccess() bool
- func (o *UpdateDetectsByIdsV2BadRequest) String() string
- type UpdateDetectsByIdsV2Forbidden
- func (o *UpdateDetectsByIdsV2Forbidden) Code() int
- func (o *UpdateDetectsByIdsV2Forbidden) Error() string
- func (o *UpdateDetectsByIdsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDetectsByIdsV2Forbidden) IsClientError() bool
- func (o *UpdateDetectsByIdsV2Forbidden) IsCode(code int) bool
- func (o *UpdateDetectsByIdsV2Forbidden) IsRedirect() bool
- func (o *UpdateDetectsByIdsV2Forbidden) IsServerError() bool
- func (o *UpdateDetectsByIdsV2Forbidden) IsSuccess() bool
- func (o *UpdateDetectsByIdsV2Forbidden) String() string
- type UpdateDetectsByIdsV2InternalServerError
- func (o *UpdateDetectsByIdsV2InternalServerError) Code() int
- func (o *UpdateDetectsByIdsV2InternalServerError) Error() string
- func (o *UpdateDetectsByIdsV2InternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDetectsByIdsV2InternalServerError) IsClientError() bool
- func (o *UpdateDetectsByIdsV2InternalServerError) IsCode(code int) bool
- func (o *UpdateDetectsByIdsV2InternalServerError) IsRedirect() bool
- func (o *UpdateDetectsByIdsV2InternalServerError) IsServerError() bool
- func (o *UpdateDetectsByIdsV2InternalServerError) IsSuccess() bool
- func (o *UpdateDetectsByIdsV2InternalServerError) String() string
- type UpdateDetectsByIdsV2OK
- func (o *UpdateDetectsByIdsV2OK) Code() int
- func (o *UpdateDetectsByIdsV2OK) Error() string
- func (o *UpdateDetectsByIdsV2OK) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDetectsByIdsV2OK) IsClientError() bool
- func (o *UpdateDetectsByIdsV2OK) IsCode(code int) bool
- func (o *UpdateDetectsByIdsV2OK) IsRedirect() bool
- func (o *UpdateDetectsByIdsV2OK) IsServerError() bool
- func (o *UpdateDetectsByIdsV2OK) IsSuccess() bool
- func (o *UpdateDetectsByIdsV2OK) String() string
- type UpdateDetectsByIdsV2Params
- func NewUpdateDetectsByIdsV2Params() *UpdateDetectsByIdsV2Params
- func NewUpdateDetectsByIdsV2ParamsWithContext(ctx context.Context) *UpdateDetectsByIdsV2Params
- func NewUpdateDetectsByIdsV2ParamsWithHTTPClient(client *http.Client) *UpdateDetectsByIdsV2Params
- func NewUpdateDetectsByIdsV2ParamsWithTimeout(timeout time.Duration) *UpdateDetectsByIdsV2Params
- func (o *UpdateDetectsByIdsV2Params) SetBody(body *models.DomainDetectsEntitiesPatchRequest)
- func (o *UpdateDetectsByIdsV2Params) SetContext(ctx context.Context)
- func (o *UpdateDetectsByIdsV2Params) SetDefaults()
- func (o *UpdateDetectsByIdsV2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateDetectsByIdsV2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateDetectsByIdsV2Params) WithBody(body *models.DomainDetectsEntitiesPatchRequest) *UpdateDetectsByIdsV2Params
- func (o *UpdateDetectsByIdsV2Params) WithContext(ctx context.Context) *UpdateDetectsByIdsV2Params
- func (o *UpdateDetectsByIdsV2Params) WithDefaults() *UpdateDetectsByIdsV2Params
- func (o *UpdateDetectsByIdsV2Params) WithHTTPClient(client *http.Client) *UpdateDetectsByIdsV2Params
- func (o *UpdateDetectsByIdsV2Params) WithTimeout(timeout time.Duration) *UpdateDetectsByIdsV2Params
- func (o *UpdateDetectsByIdsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDetectsByIdsV2Reader
- type UpdateDetectsByIdsV2TooManyRequests
- func (o *UpdateDetectsByIdsV2TooManyRequests) Code() int
- func (o *UpdateDetectsByIdsV2TooManyRequests) Error() string
- func (o *UpdateDetectsByIdsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateDetectsByIdsV2TooManyRequests) IsClientError() bool
- func (o *UpdateDetectsByIdsV2TooManyRequests) IsCode(code int) bool
- func (o *UpdateDetectsByIdsV2TooManyRequests) IsRedirect() bool
- func (o *UpdateDetectsByIdsV2TooManyRequests) IsServerError() bool
- func (o *UpdateDetectsByIdsV2TooManyRequests) IsSuccess() bool
- func (o *UpdateDetectsByIdsV2TooManyRequests) String() string
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 detects API
func (*Client) GetAggregateDetects ¶
func (a *Client) GetAggregateDetects(params *GetAggregateDetectsParams, opts ...ClientOption) (*GetAggregateDetectsOK, error)
GetAggregateDetects gets detect aggregates as specified via json in request body
func (*Client) GetDetectSummaries ¶
func (a *Client) GetDetectSummaries(params *GetDetectSummariesParams, opts ...ClientOption) (*GetDetectSummariesOK, error)
GetDetectSummaries views information about detections
func (*Client) QueryDetects ¶
func (a *Client) QueryDetects(params *QueryDetectsParams, opts ...ClientOption) (*QueryDetectsOK, error)
QueryDetects searches for detection i ds that match a given query
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDetectsByIdsV2 ¶
func (a *Client) UpdateDetectsByIdsV2(params *UpdateDetectsByIdsV2Params, opts ...ClientOption) (*UpdateDetectsByIdsV2OK, error)
UpdateDetectsByIdsV2 modifies the state assignee and visibility of detections
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAggregateDetects(params *GetAggregateDetectsParams, opts ...ClientOption) (*GetAggregateDetectsOK, error) GetDetectSummaries(params *GetDetectSummariesParams, opts ...ClientOption) (*GetDetectSummariesOK, error) QueryDetects(params *QueryDetectsParams, opts ...ClientOption) (*QueryDetectsOK, error) UpdateDetectsByIdsV2(params *UpdateDetectsByIdsV2Params, opts ...ClientOption) (*UpdateDetectsByIdsV2OK, 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 detects API client.
type GetAggregateDetectsBadRequest ¶
type GetAggregateDetectsBadRequest 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 }
GetAggregateDetectsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAggregateDetectsBadRequest ¶
func NewGetAggregateDetectsBadRequest() *GetAggregateDetectsBadRequest
NewGetAggregateDetectsBadRequest creates a GetAggregateDetectsBadRequest with default headers values
func (*GetAggregateDetectsBadRequest) Code ¶ added in v0.2.33
func (o *GetAggregateDetectsBadRequest) Code() int
Code gets the status code for the get aggregate detects bad request response
func (*GetAggregateDetectsBadRequest) Error ¶
func (o *GetAggregateDetectsBadRequest) Error() string
func (*GetAggregateDetectsBadRequest) GetPayload ¶
func (o *GetAggregateDetectsBadRequest) GetPayload() *models.MsaAggregatesResponse
func (*GetAggregateDetectsBadRequest) IsClientError ¶ added in v0.2.27
func (o *GetAggregateDetectsBadRequest) IsClientError() bool
IsClientError returns true when this get aggregate detects bad request response has a 4xx status code
func (*GetAggregateDetectsBadRequest) IsCode ¶ added in v0.2.27
func (o *GetAggregateDetectsBadRequest) IsCode(code int) bool
IsCode returns true when this get aggregate detects bad request response a status code equal to that given
func (*GetAggregateDetectsBadRequest) IsRedirect ¶ added in v0.2.27
func (o *GetAggregateDetectsBadRequest) IsRedirect() bool
IsRedirect returns true when this get aggregate detects bad request response has a 3xx status code
func (*GetAggregateDetectsBadRequest) IsServerError ¶ added in v0.2.27
func (o *GetAggregateDetectsBadRequest) IsServerError() bool
IsServerError returns true when this get aggregate detects bad request response has a 5xx status code
func (*GetAggregateDetectsBadRequest) IsSuccess ¶ added in v0.2.27
func (o *GetAggregateDetectsBadRequest) IsSuccess() bool
IsSuccess returns true when this get aggregate detects bad request response has a 2xx status code
func (*GetAggregateDetectsBadRequest) String ¶ added in v0.2.27
func (o *GetAggregateDetectsBadRequest) String() string
type GetAggregateDetectsForbidden ¶
type GetAggregateDetectsForbidden 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 }
GetAggregateDetectsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAggregateDetectsForbidden ¶
func NewGetAggregateDetectsForbidden() *GetAggregateDetectsForbidden
NewGetAggregateDetectsForbidden creates a GetAggregateDetectsForbidden with default headers values
func (*GetAggregateDetectsForbidden) Code ¶ added in v0.2.33
func (o *GetAggregateDetectsForbidden) Code() int
Code gets the status code for the get aggregate detects forbidden response
func (*GetAggregateDetectsForbidden) Error ¶
func (o *GetAggregateDetectsForbidden) Error() string
func (*GetAggregateDetectsForbidden) GetPayload ¶
func (o *GetAggregateDetectsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetAggregateDetectsForbidden) IsClientError ¶ added in v0.2.27
func (o *GetAggregateDetectsForbidden) IsClientError() bool
IsClientError returns true when this get aggregate detects forbidden response has a 4xx status code
func (*GetAggregateDetectsForbidden) IsCode ¶ added in v0.2.27
func (o *GetAggregateDetectsForbidden) IsCode(code int) bool
IsCode returns true when this get aggregate detects forbidden response a status code equal to that given
func (*GetAggregateDetectsForbidden) IsRedirect ¶ added in v0.2.27
func (o *GetAggregateDetectsForbidden) IsRedirect() bool
IsRedirect returns true when this get aggregate detects forbidden response has a 3xx status code
func (*GetAggregateDetectsForbidden) IsServerError ¶ added in v0.2.27
func (o *GetAggregateDetectsForbidden) IsServerError() bool
IsServerError returns true when this get aggregate detects forbidden response has a 5xx status code
func (*GetAggregateDetectsForbidden) IsSuccess ¶ added in v0.2.27
func (o *GetAggregateDetectsForbidden) IsSuccess() bool
IsSuccess returns true when this get aggregate detects forbidden response has a 2xx status code
func (*GetAggregateDetectsForbidden) String ¶ added in v0.2.27
func (o *GetAggregateDetectsForbidden) String() string
type GetAggregateDetectsInternalServerError ¶
type GetAggregateDetectsInternalServerError 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 }
GetAggregateDetectsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAggregateDetectsInternalServerError ¶
func NewGetAggregateDetectsInternalServerError() *GetAggregateDetectsInternalServerError
NewGetAggregateDetectsInternalServerError creates a GetAggregateDetectsInternalServerError with default headers values
func (*GetAggregateDetectsInternalServerError) Code ¶ added in v0.2.33
func (o *GetAggregateDetectsInternalServerError) Code() int
Code gets the status code for the get aggregate detects internal server error response
func (*GetAggregateDetectsInternalServerError) Error ¶
func (o *GetAggregateDetectsInternalServerError) Error() string
func (*GetAggregateDetectsInternalServerError) GetPayload ¶
func (o *GetAggregateDetectsInternalServerError) GetPayload() *models.MsaAggregatesResponse
func (*GetAggregateDetectsInternalServerError) IsClientError ¶ added in v0.2.27
func (o *GetAggregateDetectsInternalServerError) IsClientError() bool
IsClientError returns true when this get aggregate detects internal server error response has a 4xx status code
func (*GetAggregateDetectsInternalServerError) IsCode ¶ added in v0.2.27
func (o *GetAggregateDetectsInternalServerError) IsCode(code int) bool
IsCode returns true when this get aggregate detects internal server error response a status code equal to that given
func (*GetAggregateDetectsInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *GetAggregateDetectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get aggregate detects internal server error response has a 3xx status code
func (*GetAggregateDetectsInternalServerError) IsServerError ¶ added in v0.2.27
func (o *GetAggregateDetectsInternalServerError) IsServerError() bool
IsServerError returns true when this get aggregate detects internal server error response has a 5xx status code
func (*GetAggregateDetectsInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *GetAggregateDetectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get aggregate detects internal server error response has a 2xx status code
func (*GetAggregateDetectsInternalServerError) String ¶ added in v0.2.27
func (o *GetAggregateDetectsInternalServerError) String() string
type GetAggregateDetectsOK ¶
type GetAggregateDetectsOK 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 }
GetAggregateDetectsOK describes a response with status code 200, with default header values.
OK
func NewGetAggregateDetectsOK ¶
func NewGetAggregateDetectsOK() *GetAggregateDetectsOK
NewGetAggregateDetectsOK creates a GetAggregateDetectsOK with default headers values
func (*GetAggregateDetectsOK) Code ¶ added in v0.2.33
func (o *GetAggregateDetectsOK) Code() int
Code gets the status code for the get aggregate detects o k response
func (*GetAggregateDetectsOK) Error ¶
func (o *GetAggregateDetectsOK) Error() string
func (*GetAggregateDetectsOK) GetPayload ¶
func (o *GetAggregateDetectsOK) GetPayload() *models.MsaAggregatesResponse
func (*GetAggregateDetectsOK) IsClientError ¶ added in v0.2.27
func (o *GetAggregateDetectsOK) IsClientError() bool
IsClientError returns true when this get aggregate detects o k response has a 4xx status code
func (*GetAggregateDetectsOK) IsCode ¶ added in v0.2.27
func (o *GetAggregateDetectsOK) IsCode(code int) bool
IsCode returns true when this get aggregate detects o k response a status code equal to that given
func (*GetAggregateDetectsOK) IsRedirect ¶ added in v0.2.27
func (o *GetAggregateDetectsOK) IsRedirect() bool
IsRedirect returns true when this get aggregate detects o k response has a 3xx status code
func (*GetAggregateDetectsOK) IsServerError ¶ added in v0.2.27
func (o *GetAggregateDetectsOK) IsServerError() bool
IsServerError returns true when this get aggregate detects o k response has a 5xx status code
func (*GetAggregateDetectsOK) IsSuccess ¶ added in v0.2.27
func (o *GetAggregateDetectsOK) IsSuccess() bool
IsSuccess returns true when this get aggregate detects o k response has a 2xx status code
func (*GetAggregateDetectsOK) String ¶ added in v0.2.27
func (o *GetAggregateDetectsOK) String() string
type GetAggregateDetectsParams ¶
type GetAggregateDetectsParams struct { /* Body. Query criteria and settings */ Body []*models.MsaAggregateQueryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAggregateDetectsParams contains all the parameters to send to the API endpoint
for the get aggregate detects operation. Typically these are written to a http.Request.
func NewGetAggregateDetectsParams ¶
func NewGetAggregateDetectsParams() *GetAggregateDetectsParams
NewGetAggregateDetectsParams creates a new GetAggregateDetectsParams 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 NewGetAggregateDetectsParamsWithContext ¶
func NewGetAggregateDetectsParamsWithContext(ctx context.Context) *GetAggregateDetectsParams
NewGetAggregateDetectsParamsWithContext creates a new GetAggregateDetectsParams object with the ability to set a context for a request.
func NewGetAggregateDetectsParamsWithHTTPClient ¶
func NewGetAggregateDetectsParamsWithHTTPClient(client *http.Client) *GetAggregateDetectsParams
NewGetAggregateDetectsParamsWithHTTPClient creates a new GetAggregateDetectsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAggregateDetectsParamsWithTimeout ¶
func NewGetAggregateDetectsParamsWithTimeout(timeout time.Duration) *GetAggregateDetectsParams
NewGetAggregateDetectsParamsWithTimeout creates a new GetAggregateDetectsParams object with the ability to set a timeout on a request.
func (*GetAggregateDetectsParams) SetBody ¶
func (o *GetAggregateDetectsParams) SetBody(body []*models.MsaAggregateQueryRequest)
SetBody adds the body to the get aggregate detects params
func (*GetAggregateDetectsParams) SetContext ¶
func (o *GetAggregateDetectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get aggregate detects params
func (*GetAggregateDetectsParams) SetDefaults ¶
func (o *GetAggregateDetectsParams) SetDefaults()
SetDefaults hydrates default values in the get aggregate detects params (not the query body).
All values with no default are reset to their zero value.
func (*GetAggregateDetectsParams) SetHTTPClient ¶
func (o *GetAggregateDetectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get aggregate detects params
func (*GetAggregateDetectsParams) SetTimeout ¶
func (o *GetAggregateDetectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get aggregate detects params
func (*GetAggregateDetectsParams) WithBody ¶
func (o *GetAggregateDetectsParams) WithBody(body []*models.MsaAggregateQueryRequest) *GetAggregateDetectsParams
WithBody adds the body to the get aggregate detects params
func (*GetAggregateDetectsParams) WithContext ¶
func (o *GetAggregateDetectsParams) WithContext(ctx context.Context) *GetAggregateDetectsParams
WithContext adds the context to the get aggregate detects params
func (*GetAggregateDetectsParams) WithDefaults ¶
func (o *GetAggregateDetectsParams) WithDefaults() *GetAggregateDetectsParams
WithDefaults hydrates default values in the get aggregate detects params (not the query body).
All values with no default are reset to their zero value.
func (*GetAggregateDetectsParams) WithHTTPClient ¶
func (o *GetAggregateDetectsParams) WithHTTPClient(client *http.Client) *GetAggregateDetectsParams
WithHTTPClient adds the HTTPClient to the get aggregate detects params
func (*GetAggregateDetectsParams) WithTimeout ¶
func (o *GetAggregateDetectsParams) WithTimeout(timeout time.Duration) *GetAggregateDetectsParams
WithTimeout adds the timeout to the get aggregate detects params
func (*GetAggregateDetectsParams) WriteToRequest ¶
func (o *GetAggregateDetectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAggregateDetectsReader ¶
type GetAggregateDetectsReader struct {
// contains filtered or unexported fields
}
GetAggregateDetectsReader is a Reader for the GetAggregateDetects structure.
func (*GetAggregateDetectsReader) ReadResponse ¶
func (o *GetAggregateDetectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAggregateDetectsTooManyRequests ¶
type GetAggregateDetectsTooManyRequests 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 }
GetAggregateDetectsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAggregateDetectsTooManyRequests ¶
func NewGetAggregateDetectsTooManyRequests() *GetAggregateDetectsTooManyRequests
NewGetAggregateDetectsTooManyRequests creates a GetAggregateDetectsTooManyRequests with default headers values
func (*GetAggregateDetectsTooManyRequests) Code ¶ added in v0.2.33
func (o *GetAggregateDetectsTooManyRequests) Code() int
Code gets the status code for the get aggregate detects too many requests response
func (*GetAggregateDetectsTooManyRequests) Error ¶
func (o *GetAggregateDetectsTooManyRequests) Error() string
func (*GetAggregateDetectsTooManyRequests) GetPayload ¶
func (o *GetAggregateDetectsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetAggregateDetectsTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetAggregateDetectsTooManyRequests) IsClientError() bool
IsClientError returns true when this get aggregate detects too many requests response has a 4xx status code
func (*GetAggregateDetectsTooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetAggregateDetectsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get aggregate detects too many requests response a status code equal to that given
func (*GetAggregateDetectsTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetAggregateDetectsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get aggregate detects too many requests response has a 3xx status code
func (*GetAggregateDetectsTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetAggregateDetectsTooManyRequests) IsServerError() bool
IsServerError returns true when this get aggregate detects too many requests response has a 5xx status code
func (*GetAggregateDetectsTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetAggregateDetectsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get aggregate detects too many requests response has a 2xx status code
func (*GetAggregateDetectsTooManyRequests) String ¶ added in v0.2.27
func (o *GetAggregateDetectsTooManyRequests) String() string
type GetDetectSummariesBadRequest ¶
type GetDetectSummariesBadRequest 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.DomainMsaDetectSummariesResponse }
GetDetectSummariesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetDetectSummariesBadRequest ¶
func NewGetDetectSummariesBadRequest() *GetDetectSummariesBadRequest
NewGetDetectSummariesBadRequest creates a GetDetectSummariesBadRequest with default headers values
func (*GetDetectSummariesBadRequest) Code ¶ added in v0.2.33
func (o *GetDetectSummariesBadRequest) Code() int
Code gets the status code for the get detect summaries bad request response
func (*GetDetectSummariesBadRequest) Error ¶
func (o *GetDetectSummariesBadRequest) Error() string
func (*GetDetectSummariesBadRequest) GetPayload ¶
func (o *GetDetectSummariesBadRequest) GetPayload() *models.DomainMsaDetectSummariesResponse
func (*GetDetectSummariesBadRequest) IsClientError ¶ added in v0.2.27
func (o *GetDetectSummariesBadRequest) IsClientError() bool
IsClientError returns true when this get detect summaries bad request response has a 4xx status code
func (*GetDetectSummariesBadRequest) IsCode ¶ added in v0.2.27
func (o *GetDetectSummariesBadRequest) IsCode(code int) bool
IsCode returns true when this get detect summaries bad request response a status code equal to that given
func (*GetDetectSummariesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *GetDetectSummariesBadRequest) IsRedirect() bool
IsRedirect returns true when this get detect summaries bad request response has a 3xx status code
func (*GetDetectSummariesBadRequest) IsServerError ¶ added in v0.2.27
func (o *GetDetectSummariesBadRequest) IsServerError() bool
IsServerError returns true when this get detect summaries bad request response has a 5xx status code
func (*GetDetectSummariesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *GetDetectSummariesBadRequest) IsSuccess() bool
IsSuccess returns true when this get detect summaries bad request response has a 2xx status code
func (*GetDetectSummariesBadRequest) String ¶ added in v0.2.27
func (o *GetDetectSummariesBadRequest) String() string
type GetDetectSummariesForbidden ¶
type GetDetectSummariesForbidden 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 }
GetDetectSummariesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDetectSummariesForbidden ¶
func NewGetDetectSummariesForbidden() *GetDetectSummariesForbidden
NewGetDetectSummariesForbidden creates a GetDetectSummariesForbidden with default headers values
func (*GetDetectSummariesForbidden) Code ¶ added in v0.2.33
func (o *GetDetectSummariesForbidden) Code() int
Code gets the status code for the get detect summaries forbidden response
func (*GetDetectSummariesForbidden) Error ¶
func (o *GetDetectSummariesForbidden) Error() string
func (*GetDetectSummariesForbidden) GetPayload ¶
func (o *GetDetectSummariesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetDetectSummariesForbidden) IsClientError ¶ added in v0.2.27
func (o *GetDetectSummariesForbidden) IsClientError() bool
IsClientError returns true when this get detect summaries forbidden response has a 4xx status code
func (*GetDetectSummariesForbidden) IsCode ¶ added in v0.2.27
func (o *GetDetectSummariesForbidden) IsCode(code int) bool
IsCode returns true when this get detect summaries forbidden response a status code equal to that given
func (*GetDetectSummariesForbidden) IsRedirect ¶ added in v0.2.27
func (o *GetDetectSummariesForbidden) IsRedirect() bool
IsRedirect returns true when this get detect summaries forbidden response has a 3xx status code
func (*GetDetectSummariesForbidden) IsServerError ¶ added in v0.2.27
func (o *GetDetectSummariesForbidden) IsServerError() bool
IsServerError returns true when this get detect summaries forbidden response has a 5xx status code
func (*GetDetectSummariesForbidden) IsSuccess ¶ added in v0.2.27
func (o *GetDetectSummariesForbidden) IsSuccess() bool
IsSuccess returns true when this get detect summaries forbidden response has a 2xx status code
func (*GetDetectSummariesForbidden) String ¶ added in v0.2.27
func (o *GetDetectSummariesForbidden) String() string
type GetDetectSummariesInternalServerError ¶
type GetDetectSummariesInternalServerError 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.DomainMsaDetectSummariesResponse }
GetDetectSummariesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetDetectSummariesInternalServerError ¶
func NewGetDetectSummariesInternalServerError() *GetDetectSummariesInternalServerError
NewGetDetectSummariesInternalServerError creates a GetDetectSummariesInternalServerError with default headers values
func (*GetDetectSummariesInternalServerError) Code ¶ added in v0.2.33
func (o *GetDetectSummariesInternalServerError) Code() int
Code gets the status code for the get detect summaries internal server error response
func (*GetDetectSummariesInternalServerError) Error ¶
func (o *GetDetectSummariesInternalServerError) Error() string
func (*GetDetectSummariesInternalServerError) GetPayload ¶
func (o *GetDetectSummariesInternalServerError) GetPayload() *models.DomainMsaDetectSummariesResponse
func (*GetDetectSummariesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *GetDetectSummariesInternalServerError) IsClientError() bool
IsClientError returns true when this get detect summaries internal server error response has a 4xx status code
func (*GetDetectSummariesInternalServerError) IsCode ¶ added in v0.2.27
func (o *GetDetectSummariesInternalServerError) IsCode(code int) bool
IsCode returns true when this get detect summaries internal server error response a status code equal to that given
func (*GetDetectSummariesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *GetDetectSummariesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get detect summaries internal server error response has a 3xx status code
func (*GetDetectSummariesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *GetDetectSummariesInternalServerError) IsServerError() bool
IsServerError returns true when this get detect summaries internal server error response has a 5xx status code
func (*GetDetectSummariesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *GetDetectSummariesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get detect summaries internal server error response has a 2xx status code
func (*GetDetectSummariesInternalServerError) String ¶ added in v0.2.27
func (o *GetDetectSummariesInternalServerError) String() string
type GetDetectSummariesOK ¶
type GetDetectSummariesOK 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.DomainMsaDetectSummariesResponse }
GetDetectSummariesOK describes a response with status code 200, with default header values.
OK
func NewGetDetectSummariesOK ¶
func NewGetDetectSummariesOK() *GetDetectSummariesOK
NewGetDetectSummariesOK creates a GetDetectSummariesOK with default headers values
func (*GetDetectSummariesOK) Code ¶ added in v0.2.33
func (o *GetDetectSummariesOK) Code() int
Code gets the status code for the get detect summaries o k response
func (*GetDetectSummariesOK) Error ¶
func (o *GetDetectSummariesOK) Error() string
func (*GetDetectSummariesOK) GetPayload ¶
func (o *GetDetectSummariesOK) GetPayload() *models.DomainMsaDetectSummariesResponse
func (*GetDetectSummariesOK) IsClientError ¶ added in v0.2.27
func (o *GetDetectSummariesOK) IsClientError() bool
IsClientError returns true when this get detect summaries o k response has a 4xx status code
func (*GetDetectSummariesOK) IsCode ¶ added in v0.2.27
func (o *GetDetectSummariesOK) IsCode(code int) bool
IsCode returns true when this get detect summaries o k response a status code equal to that given
func (*GetDetectSummariesOK) IsRedirect ¶ added in v0.2.27
func (o *GetDetectSummariesOK) IsRedirect() bool
IsRedirect returns true when this get detect summaries o k response has a 3xx status code
func (*GetDetectSummariesOK) IsServerError ¶ added in v0.2.27
func (o *GetDetectSummariesOK) IsServerError() bool
IsServerError returns true when this get detect summaries o k response has a 5xx status code
func (*GetDetectSummariesOK) IsSuccess ¶ added in v0.2.27
func (o *GetDetectSummariesOK) IsSuccess() bool
IsSuccess returns true when this get detect summaries o k response has a 2xx status code
func (*GetDetectSummariesOK) String ¶ added in v0.2.27
func (o *GetDetectSummariesOK) String() string
type GetDetectSummariesParams ¶
type GetDetectSummariesParams struct { /* Body. View key attributes of detections, including the associated host, [disposition](https://falcon.crowdstrike.com/documentation/86/detections-monitoring-apis#pattern-disposition-value-descriptions), objective/tactic/technique, adversary, and more. Specify one or more detection IDs (max 1000 per request). Find detection IDs with the `/detects/queries/detects/v1` endpoint, the Falcon console, or the Streaming API. */ Body *models.MsaIdsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDetectSummariesParams contains all the parameters to send to the API endpoint
for the get detect summaries operation. Typically these are written to a http.Request.
func NewGetDetectSummariesParams ¶
func NewGetDetectSummariesParams() *GetDetectSummariesParams
NewGetDetectSummariesParams creates a new GetDetectSummariesParams 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 NewGetDetectSummariesParamsWithContext ¶
func NewGetDetectSummariesParamsWithContext(ctx context.Context) *GetDetectSummariesParams
NewGetDetectSummariesParamsWithContext creates a new GetDetectSummariesParams object with the ability to set a context for a request.
func NewGetDetectSummariesParamsWithHTTPClient ¶
func NewGetDetectSummariesParamsWithHTTPClient(client *http.Client) *GetDetectSummariesParams
NewGetDetectSummariesParamsWithHTTPClient creates a new GetDetectSummariesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDetectSummariesParamsWithTimeout ¶
func NewGetDetectSummariesParamsWithTimeout(timeout time.Duration) *GetDetectSummariesParams
NewGetDetectSummariesParamsWithTimeout creates a new GetDetectSummariesParams object with the ability to set a timeout on a request.
func (*GetDetectSummariesParams) SetBody ¶
func (o *GetDetectSummariesParams) SetBody(body *models.MsaIdsRequest)
SetBody adds the body to the get detect summaries params
func (*GetDetectSummariesParams) SetContext ¶
func (o *GetDetectSummariesParams) SetContext(ctx context.Context)
SetContext adds the context to the get detect summaries params
func (*GetDetectSummariesParams) SetDefaults ¶
func (o *GetDetectSummariesParams) SetDefaults()
SetDefaults hydrates default values in the get detect summaries params (not the query body).
All values with no default are reset to their zero value.
func (*GetDetectSummariesParams) SetHTTPClient ¶
func (o *GetDetectSummariesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get detect summaries params
func (*GetDetectSummariesParams) SetTimeout ¶
func (o *GetDetectSummariesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get detect summaries params
func (*GetDetectSummariesParams) WithBody ¶
func (o *GetDetectSummariesParams) WithBody(body *models.MsaIdsRequest) *GetDetectSummariesParams
WithBody adds the body to the get detect summaries params
func (*GetDetectSummariesParams) WithContext ¶
func (o *GetDetectSummariesParams) WithContext(ctx context.Context) *GetDetectSummariesParams
WithContext adds the context to the get detect summaries params
func (*GetDetectSummariesParams) WithDefaults ¶
func (o *GetDetectSummariesParams) WithDefaults() *GetDetectSummariesParams
WithDefaults hydrates default values in the get detect summaries params (not the query body).
All values with no default are reset to their zero value.
func (*GetDetectSummariesParams) WithHTTPClient ¶
func (o *GetDetectSummariesParams) WithHTTPClient(client *http.Client) *GetDetectSummariesParams
WithHTTPClient adds the HTTPClient to the get detect summaries params
func (*GetDetectSummariesParams) WithTimeout ¶
func (o *GetDetectSummariesParams) WithTimeout(timeout time.Duration) *GetDetectSummariesParams
WithTimeout adds the timeout to the get detect summaries params
func (*GetDetectSummariesParams) WriteToRequest ¶
func (o *GetDetectSummariesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDetectSummariesReader ¶
type GetDetectSummariesReader struct {
// contains filtered or unexported fields
}
GetDetectSummariesReader is a Reader for the GetDetectSummaries structure.
func (*GetDetectSummariesReader) ReadResponse ¶
func (o *GetDetectSummariesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDetectSummariesTooManyRequests ¶
type GetDetectSummariesTooManyRequests 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 }
GetDetectSummariesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetDetectSummariesTooManyRequests ¶
func NewGetDetectSummariesTooManyRequests() *GetDetectSummariesTooManyRequests
NewGetDetectSummariesTooManyRequests creates a GetDetectSummariesTooManyRequests with default headers values
func (*GetDetectSummariesTooManyRequests) Code ¶ added in v0.2.33
func (o *GetDetectSummariesTooManyRequests) Code() int
Code gets the status code for the get detect summaries too many requests response
func (*GetDetectSummariesTooManyRequests) Error ¶
func (o *GetDetectSummariesTooManyRequests) Error() string
func (*GetDetectSummariesTooManyRequests) GetPayload ¶
func (o *GetDetectSummariesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetDetectSummariesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetDetectSummariesTooManyRequests) IsClientError() bool
IsClientError returns true when this get detect summaries too many requests response has a 4xx status code
func (*GetDetectSummariesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetDetectSummariesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get detect summaries too many requests response a status code equal to that given
func (*GetDetectSummariesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetDetectSummariesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get detect summaries too many requests response has a 3xx status code
func (*GetDetectSummariesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetDetectSummariesTooManyRequests) IsServerError() bool
IsServerError returns true when this get detect summaries too many requests response has a 5xx status code
func (*GetDetectSummariesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetDetectSummariesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get detect summaries too many requests response has a 2xx status code
func (*GetDetectSummariesTooManyRequests) String ¶ added in v0.2.27
func (o *GetDetectSummariesTooManyRequests) String() string
type QueryDetectsBadRequest ¶
type QueryDetectsBadRequest 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 }
QueryDetectsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryDetectsBadRequest ¶
func NewQueryDetectsBadRequest() *QueryDetectsBadRequest
NewQueryDetectsBadRequest creates a QueryDetectsBadRequest with default headers values
func (*QueryDetectsBadRequest) Code ¶ added in v0.2.33
func (o *QueryDetectsBadRequest) Code() int
Code gets the status code for the query detects bad request response
func (*QueryDetectsBadRequest) Error ¶
func (o *QueryDetectsBadRequest) Error() string
func (*QueryDetectsBadRequest) GetPayload ¶
func (o *QueryDetectsBadRequest) GetPayload() *models.MsaQueryResponse
func (*QueryDetectsBadRequest) IsClientError ¶ added in v0.2.27
func (o *QueryDetectsBadRequest) IsClientError() bool
IsClientError returns true when this query detects bad request response has a 4xx status code
func (*QueryDetectsBadRequest) IsCode ¶ added in v0.2.27
func (o *QueryDetectsBadRequest) IsCode(code int) bool
IsCode returns true when this query detects bad request response a status code equal to that given
func (*QueryDetectsBadRequest) IsRedirect ¶ added in v0.2.27
func (o *QueryDetectsBadRequest) IsRedirect() bool
IsRedirect returns true when this query detects bad request response has a 3xx status code
func (*QueryDetectsBadRequest) IsServerError ¶ added in v0.2.27
func (o *QueryDetectsBadRequest) IsServerError() bool
IsServerError returns true when this query detects bad request response has a 5xx status code
func (*QueryDetectsBadRequest) IsSuccess ¶ added in v0.2.27
func (o *QueryDetectsBadRequest) IsSuccess() bool
IsSuccess returns true when this query detects bad request response has a 2xx status code
func (*QueryDetectsBadRequest) String ¶ added in v0.2.27
func (o *QueryDetectsBadRequest) String() string
type QueryDetectsForbidden ¶
type QueryDetectsForbidden 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 }
QueryDetectsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryDetectsForbidden ¶
func NewQueryDetectsForbidden() *QueryDetectsForbidden
NewQueryDetectsForbidden creates a QueryDetectsForbidden with default headers values
func (*QueryDetectsForbidden) Code ¶ added in v0.2.33
func (o *QueryDetectsForbidden) Code() int
Code gets the status code for the query detects forbidden response
func (*QueryDetectsForbidden) Error ¶
func (o *QueryDetectsForbidden) Error() string
func (*QueryDetectsForbidden) GetPayload ¶
func (o *QueryDetectsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryDetectsForbidden) IsClientError ¶ added in v0.2.27
func (o *QueryDetectsForbidden) IsClientError() bool
IsClientError returns true when this query detects forbidden response has a 4xx status code
func (*QueryDetectsForbidden) IsCode ¶ added in v0.2.27
func (o *QueryDetectsForbidden) IsCode(code int) bool
IsCode returns true when this query detects forbidden response a status code equal to that given
func (*QueryDetectsForbidden) IsRedirect ¶ added in v0.2.27
func (o *QueryDetectsForbidden) IsRedirect() bool
IsRedirect returns true when this query detects forbidden response has a 3xx status code
func (*QueryDetectsForbidden) IsServerError ¶ added in v0.2.27
func (o *QueryDetectsForbidden) IsServerError() bool
IsServerError returns true when this query detects forbidden response has a 5xx status code
func (*QueryDetectsForbidden) IsSuccess ¶ added in v0.2.27
func (o *QueryDetectsForbidden) IsSuccess() bool
IsSuccess returns true when this query detects forbidden response has a 2xx status code
func (*QueryDetectsForbidden) String ¶ added in v0.2.27
func (o *QueryDetectsForbidden) String() string
type QueryDetectsInternalServerError ¶
type QueryDetectsInternalServerError 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 }
QueryDetectsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryDetectsInternalServerError ¶
func NewQueryDetectsInternalServerError() *QueryDetectsInternalServerError
NewQueryDetectsInternalServerError creates a QueryDetectsInternalServerError with default headers values
func (*QueryDetectsInternalServerError) Code ¶ added in v0.2.33
func (o *QueryDetectsInternalServerError) Code() int
Code gets the status code for the query detects internal server error response
func (*QueryDetectsInternalServerError) Error ¶
func (o *QueryDetectsInternalServerError) Error() string
func (*QueryDetectsInternalServerError) GetPayload ¶
func (o *QueryDetectsInternalServerError) GetPayload() *models.MsaQueryResponse
func (*QueryDetectsInternalServerError) IsClientError ¶ added in v0.2.27
func (o *QueryDetectsInternalServerError) IsClientError() bool
IsClientError returns true when this query detects internal server error response has a 4xx status code
func (*QueryDetectsInternalServerError) IsCode ¶ added in v0.2.27
func (o *QueryDetectsInternalServerError) IsCode(code int) bool
IsCode returns true when this query detects internal server error response a status code equal to that given
func (*QueryDetectsInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QueryDetectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this query detects internal server error response has a 3xx status code
func (*QueryDetectsInternalServerError) IsServerError ¶ added in v0.2.27
func (o *QueryDetectsInternalServerError) IsServerError() bool
IsServerError returns true when this query detects internal server error response has a 5xx status code
func (*QueryDetectsInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QueryDetectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this query detects internal server error response has a 2xx status code
func (*QueryDetectsInternalServerError) String ¶ added in v0.2.27
func (o *QueryDetectsInternalServerError) String() string
type QueryDetectsOK ¶
type QueryDetectsOK 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 }
QueryDetectsOK describes a response with status code 200, with default header values.
OK
func NewQueryDetectsOK ¶
func NewQueryDetectsOK() *QueryDetectsOK
NewQueryDetectsOK creates a QueryDetectsOK with default headers values
func (*QueryDetectsOK) Code ¶ added in v0.2.33
func (o *QueryDetectsOK) Code() int
Code gets the status code for the query detects o k response
func (*QueryDetectsOK) Error ¶
func (o *QueryDetectsOK) Error() string
func (*QueryDetectsOK) GetPayload ¶
func (o *QueryDetectsOK) GetPayload() *models.MsaQueryResponse
func (*QueryDetectsOK) IsClientError ¶ added in v0.2.27
func (o *QueryDetectsOK) IsClientError() bool
IsClientError returns true when this query detects o k response has a 4xx status code
func (*QueryDetectsOK) IsCode ¶ added in v0.2.27
func (o *QueryDetectsOK) IsCode(code int) bool
IsCode returns true when this query detects o k response a status code equal to that given
func (*QueryDetectsOK) IsRedirect ¶ added in v0.2.27
func (o *QueryDetectsOK) IsRedirect() bool
IsRedirect returns true when this query detects o k response has a 3xx status code
func (*QueryDetectsOK) IsServerError ¶ added in v0.2.27
func (o *QueryDetectsOK) IsServerError() bool
IsServerError returns true when this query detects o k response has a 5xx status code
func (*QueryDetectsOK) IsSuccess ¶ added in v0.2.27
func (o *QueryDetectsOK) IsSuccess() bool
IsSuccess returns true when this query detects o k response has a 2xx status code
func (*QueryDetectsOK) String ¶ added in v0.2.27
func (o *QueryDetectsOK) String() string
type QueryDetectsParams ¶
type QueryDetectsParams struct { /* Filter. Filter detections using a query in Falcon Query Language (FQL) An asterisk wildcard `*` includes all results. Common filter options include: - `status` - `device.device_id` - `max_severity` 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: 9999; max: 9999). 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 `limit` parameter to manage pagination of results. */ Offset *int64 /* Q. Search all detection metadata for the provided string */ Q *string /* Sort. Sort detections using these options: - `first_behavior`: Timestamp of the first behavior associated with this detection - `last_behavior`: Timestamp of the last behavior associated with this detection - `max_severity`: Highest severity of the behaviors associated with this detection - `max_confidence`: Highest confidence of the behaviors associated with this detection - `adversary_id`: ID of the adversary associated with this detection, if any - `device.hostname`: Hostname of the host where this detection was detected Sort either `asc` (ascending) or `desc` (descending). For example: `last_behavior|asc` */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryDetectsParams contains all the parameters to send to the API endpoint
for the query detects operation. Typically these are written to a http.Request.
func NewQueryDetectsParams ¶
func NewQueryDetectsParams() *QueryDetectsParams
NewQueryDetectsParams creates a new QueryDetectsParams 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 NewQueryDetectsParamsWithContext ¶
func NewQueryDetectsParamsWithContext(ctx context.Context) *QueryDetectsParams
NewQueryDetectsParamsWithContext creates a new QueryDetectsParams object with the ability to set a context for a request.
func NewQueryDetectsParamsWithHTTPClient ¶
func NewQueryDetectsParamsWithHTTPClient(client *http.Client) *QueryDetectsParams
NewQueryDetectsParamsWithHTTPClient creates a new QueryDetectsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryDetectsParamsWithTimeout ¶
func NewQueryDetectsParamsWithTimeout(timeout time.Duration) *QueryDetectsParams
NewQueryDetectsParamsWithTimeout creates a new QueryDetectsParams object with the ability to set a timeout on a request.
func (*QueryDetectsParams) SetContext ¶
func (o *QueryDetectsParams) SetContext(ctx context.Context)
SetContext adds the context to the query detects params
func (*QueryDetectsParams) SetDefaults ¶
func (o *QueryDetectsParams) SetDefaults()
SetDefaults hydrates default values in the query detects params (not the query body).
All values with no default are reset to their zero value.
func (*QueryDetectsParams) SetFilter ¶
func (o *QueryDetectsParams) SetFilter(filter *string)
SetFilter adds the filter to the query detects params
func (*QueryDetectsParams) SetHTTPClient ¶
func (o *QueryDetectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query detects params
func (*QueryDetectsParams) SetLimit ¶
func (o *QueryDetectsParams) SetLimit(limit *int64)
SetLimit adds the limit to the query detects params
func (*QueryDetectsParams) SetOffset ¶
func (o *QueryDetectsParams) SetOffset(offset *int64)
SetOffset adds the offset to the query detects params
func (*QueryDetectsParams) SetQ ¶
func (o *QueryDetectsParams) SetQ(q *string)
SetQ adds the q to the query detects params
func (*QueryDetectsParams) SetSort ¶
func (o *QueryDetectsParams) SetSort(sort *string)
SetSort adds the sort to the query detects params
func (*QueryDetectsParams) SetTimeout ¶
func (o *QueryDetectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query detects params
func (*QueryDetectsParams) WithContext ¶
func (o *QueryDetectsParams) WithContext(ctx context.Context) *QueryDetectsParams
WithContext adds the context to the query detects params
func (*QueryDetectsParams) WithDefaults ¶
func (o *QueryDetectsParams) WithDefaults() *QueryDetectsParams
WithDefaults hydrates default values in the query detects params (not the query body).
All values with no default are reset to their zero value.
func (*QueryDetectsParams) WithFilter ¶
func (o *QueryDetectsParams) WithFilter(filter *string) *QueryDetectsParams
WithFilter adds the filter to the query detects params
func (*QueryDetectsParams) WithHTTPClient ¶
func (o *QueryDetectsParams) WithHTTPClient(client *http.Client) *QueryDetectsParams
WithHTTPClient adds the HTTPClient to the query detects params
func (*QueryDetectsParams) WithLimit ¶
func (o *QueryDetectsParams) WithLimit(limit *int64) *QueryDetectsParams
WithLimit adds the limit to the query detects params
func (*QueryDetectsParams) WithOffset ¶
func (o *QueryDetectsParams) WithOffset(offset *int64) *QueryDetectsParams
WithOffset adds the offset to the query detects params
func (*QueryDetectsParams) WithQ ¶
func (o *QueryDetectsParams) WithQ(q *string) *QueryDetectsParams
WithQ adds the q to the query detects params
func (*QueryDetectsParams) WithSort ¶
func (o *QueryDetectsParams) WithSort(sort *string) *QueryDetectsParams
WithSort adds the sort to the query detects params
func (*QueryDetectsParams) WithTimeout ¶
func (o *QueryDetectsParams) WithTimeout(timeout time.Duration) *QueryDetectsParams
WithTimeout adds the timeout to the query detects params
func (*QueryDetectsParams) WriteToRequest ¶
func (o *QueryDetectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryDetectsReader ¶
type QueryDetectsReader struct {
// contains filtered or unexported fields
}
QueryDetectsReader is a Reader for the QueryDetects structure.
func (*QueryDetectsReader) ReadResponse ¶
func (o *QueryDetectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryDetectsTooManyRequests ¶
type QueryDetectsTooManyRequests 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 }
QueryDetectsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryDetectsTooManyRequests ¶
func NewQueryDetectsTooManyRequests() *QueryDetectsTooManyRequests
NewQueryDetectsTooManyRequests creates a QueryDetectsTooManyRequests with default headers values
func (*QueryDetectsTooManyRequests) Code ¶ added in v0.2.33
func (o *QueryDetectsTooManyRequests) Code() int
Code gets the status code for the query detects too many requests response
func (*QueryDetectsTooManyRequests) Error ¶
func (o *QueryDetectsTooManyRequests) Error() string
func (*QueryDetectsTooManyRequests) GetPayload ¶
func (o *QueryDetectsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryDetectsTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QueryDetectsTooManyRequests) IsClientError() bool
IsClientError returns true when this query detects too many requests response has a 4xx status code
func (*QueryDetectsTooManyRequests) IsCode ¶ added in v0.2.27
func (o *QueryDetectsTooManyRequests) IsCode(code int) bool
IsCode returns true when this query detects too many requests response a status code equal to that given
func (*QueryDetectsTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QueryDetectsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query detects too many requests response has a 3xx status code
func (*QueryDetectsTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QueryDetectsTooManyRequests) IsServerError() bool
IsServerError returns true when this query detects too many requests response has a 5xx status code
func (*QueryDetectsTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QueryDetectsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query detects too many requests response has a 2xx status code
func (*QueryDetectsTooManyRequests) String ¶ added in v0.2.27
func (o *QueryDetectsTooManyRequests) String() string
type UpdateDetectsByIdsV2BadRequest ¶
type UpdateDetectsByIdsV2BadRequest 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 }
UpdateDetectsByIdsV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateDetectsByIdsV2BadRequest ¶
func NewUpdateDetectsByIdsV2BadRequest() *UpdateDetectsByIdsV2BadRequest
NewUpdateDetectsByIdsV2BadRequest creates a UpdateDetectsByIdsV2BadRequest with default headers values
func (*UpdateDetectsByIdsV2BadRequest) Code ¶ added in v0.2.33
func (o *UpdateDetectsByIdsV2BadRequest) Code() int
Code gets the status code for the update detects by ids v2 bad request response
func (*UpdateDetectsByIdsV2BadRequest) Error ¶
func (o *UpdateDetectsByIdsV2BadRequest) Error() string
func (*UpdateDetectsByIdsV2BadRequest) GetPayload ¶
func (o *UpdateDetectsByIdsV2BadRequest) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateDetectsByIdsV2BadRequest) IsClientError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2BadRequest) IsClientError() bool
IsClientError returns true when this update detects by ids v2 bad request response has a 4xx status code
func (*UpdateDetectsByIdsV2BadRequest) IsCode ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2BadRequest) IsCode(code int) bool
IsCode returns true when this update detects by ids v2 bad request response a status code equal to that given
func (*UpdateDetectsByIdsV2BadRequest) IsRedirect ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2BadRequest) IsRedirect() bool
IsRedirect returns true when this update detects by ids v2 bad request response has a 3xx status code
func (*UpdateDetectsByIdsV2BadRequest) IsServerError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2BadRequest) IsServerError() bool
IsServerError returns true when this update detects by ids v2 bad request response has a 5xx status code
func (*UpdateDetectsByIdsV2BadRequest) IsSuccess ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2BadRequest) IsSuccess() bool
IsSuccess returns true when this update detects by ids v2 bad request response has a 2xx status code
func (*UpdateDetectsByIdsV2BadRequest) String ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2BadRequest) String() string
type UpdateDetectsByIdsV2Forbidden ¶
type UpdateDetectsByIdsV2Forbidden 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 }
UpdateDetectsByIdsV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateDetectsByIdsV2Forbidden ¶
func NewUpdateDetectsByIdsV2Forbidden() *UpdateDetectsByIdsV2Forbidden
NewUpdateDetectsByIdsV2Forbidden creates a UpdateDetectsByIdsV2Forbidden with default headers values
func (*UpdateDetectsByIdsV2Forbidden) Code ¶ added in v0.2.33
func (o *UpdateDetectsByIdsV2Forbidden) Code() int
Code gets the status code for the update detects by ids v2 forbidden response
func (*UpdateDetectsByIdsV2Forbidden) Error ¶
func (o *UpdateDetectsByIdsV2Forbidden) Error() string
func (*UpdateDetectsByIdsV2Forbidden) GetPayload ¶
func (o *UpdateDetectsByIdsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateDetectsByIdsV2Forbidden) IsClientError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2Forbidden) IsClientError() bool
IsClientError returns true when this update detects by ids v2 forbidden response has a 4xx status code
func (*UpdateDetectsByIdsV2Forbidden) IsCode ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2Forbidden) IsCode(code int) bool
IsCode returns true when this update detects by ids v2 forbidden response a status code equal to that given
func (*UpdateDetectsByIdsV2Forbidden) IsRedirect ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2Forbidden) IsRedirect() bool
IsRedirect returns true when this update detects by ids v2 forbidden response has a 3xx status code
func (*UpdateDetectsByIdsV2Forbidden) IsServerError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2Forbidden) IsServerError() bool
IsServerError returns true when this update detects by ids v2 forbidden response has a 5xx status code
func (*UpdateDetectsByIdsV2Forbidden) IsSuccess ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2Forbidden) IsSuccess() bool
IsSuccess returns true when this update detects by ids v2 forbidden response has a 2xx status code
func (*UpdateDetectsByIdsV2Forbidden) String ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2Forbidden) String() string
type UpdateDetectsByIdsV2InternalServerError ¶
type UpdateDetectsByIdsV2InternalServerError 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 }
UpdateDetectsByIdsV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateDetectsByIdsV2InternalServerError ¶
func NewUpdateDetectsByIdsV2InternalServerError() *UpdateDetectsByIdsV2InternalServerError
NewUpdateDetectsByIdsV2InternalServerError creates a UpdateDetectsByIdsV2InternalServerError with default headers values
func (*UpdateDetectsByIdsV2InternalServerError) Code ¶ added in v0.2.33
func (o *UpdateDetectsByIdsV2InternalServerError) Code() int
Code gets the status code for the update detects by ids v2 internal server error response
func (*UpdateDetectsByIdsV2InternalServerError) Error ¶
func (o *UpdateDetectsByIdsV2InternalServerError) Error() string
func (*UpdateDetectsByIdsV2InternalServerError) GetPayload ¶
func (o *UpdateDetectsByIdsV2InternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateDetectsByIdsV2InternalServerError) IsClientError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2InternalServerError) IsClientError() bool
IsClientError returns true when this update detects by ids v2 internal server error response has a 4xx status code
func (*UpdateDetectsByIdsV2InternalServerError) IsCode ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2InternalServerError) IsCode(code int) bool
IsCode returns true when this update detects by ids v2 internal server error response a status code equal to that given
func (*UpdateDetectsByIdsV2InternalServerError) IsRedirect ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this update detects by ids v2 internal server error response has a 3xx status code
func (*UpdateDetectsByIdsV2InternalServerError) IsServerError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2InternalServerError) IsServerError() bool
IsServerError returns true when this update detects by ids v2 internal server error response has a 5xx status code
func (*UpdateDetectsByIdsV2InternalServerError) IsSuccess ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this update detects by ids v2 internal server error response has a 2xx status code
func (*UpdateDetectsByIdsV2InternalServerError) String ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2InternalServerError) String() string
type UpdateDetectsByIdsV2OK ¶
type UpdateDetectsByIdsV2OK 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 }
UpdateDetectsByIdsV2OK describes a response with status code 200, with default header values.
OK
func NewUpdateDetectsByIdsV2OK ¶
func NewUpdateDetectsByIdsV2OK() *UpdateDetectsByIdsV2OK
NewUpdateDetectsByIdsV2OK creates a UpdateDetectsByIdsV2OK with default headers values
func (*UpdateDetectsByIdsV2OK) Code ¶ added in v0.2.33
func (o *UpdateDetectsByIdsV2OK) Code() int
Code gets the status code for the update detects by ids v2 o k response
func (*UpdateDetectsByIdsV2OK) Error ¶
func (o *UpdateDetectsByIdsV2OK) Error() string
func (*UpdateDetectsByIdsV2OK) GetPayload ¶
func (o *UpdateDetectsByIdsV2OK) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateDetectsByIdsV2OK) IsClientError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2OK) IsClientError() bool
IsClientError returns true when this update detects by ids v2 o k response has a 4xx status code
func (*UpdateDetectsByIdsV2OK) IsCode ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2OK) IsCode(code int) bool
IsCode returns true when this update detects by ids v2 o k response a status code equal to that given
func (*UpdateDetectsByIdsV2OK) IsRedirect ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2OK) IsRedirect() bool
IsRedirect returns true when this update detects by ids v2 o k response has a 3xx status code
func (*UpdateDetectsByIdsV2OK) IsServerError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2OK) IsServerError() bool
IsServerError returns true when this update detects by ids v2 o k response has a 5xx status code
func (*UpdateDetectsByIdsV2OK) IsSuccess ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2OK) IsSuccess() bool
IsSuccess returns true when this update detects by ids v2 o k response has a 2xx status code
func (*UpdateDetectsByIdsV2OK) String ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2OK) String() string
type UpdateDetectsByIdsV2Params ¶
type UpdateDetectsByIdsV2Params struct { /* Body. This endpoint modifies attributes (state and assignee) of detections. This endpoint accepts a query formatted as a JSON array of key-value pairs. You can update one or more attributes one or more detections with a single request. **`assigned_to_uuid` values** A user ID, such as `1234567891234567891` **`ids` values** One or more detection IDs, which you can find with the `/detects/queries/detects/v1` endpoint, the Falcon console, or the Streaming API. **`show_in_ui` values** - `true`: This detection is displayed in Falcon - `false`: This detection is not displayed in Falcon. Most commonly used together with the `status` key's `false_positive` value. **`status` values** - `new` - `in_progress` - `true_positive` - `false_positive` - `closed` - `ignored` **`comment` values** Optional comment to add to the detection. Comments are displayed with the detection in Falcon and usually used to provide context or notes for other Falcon users. A detection can have multiple comments over time. */ Body *models.DomainDetectsEntitiesPatchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDetectsByIdsV2Params contains all the parameters to send to the API endpoint
for the update detects by ids v2 operation. Typically these are written to a http.Request.
func NewUpdateDetectsByIdsV2Params ¶
func NewUpdateDetectsByIdsV2Params() *UpdateDetectsByIdsV2Params
NewUpdateDetectsByIdsV2Params creates a new UpdateDetectsByIdsV2Params 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 NewUpdateDetectsByIdsV2ParamsWithContext ¶
func NewUpdateDetectsByIdsV2ParamsWithContext(ctx context.Context) *UpdateDetectsByIdsV2Params
NewUpdateDetectsByIdsV2ParamsWithContext creates a new UpdateDetectsByIdsV2Params object with the ability to set a context for a request.
func NewUpdateDetectsByIdsV2ParamsWithHTTPClient ¶
func NewUpdateDetectsByIdsV2ParamsWithHTTPClient(client *http.Client) *UpdateDetectsByIdsV2Params
NewUpdateDetectsByIdsV2ParamsWithHTTPClient creates a new UpdateDetectsByIdsV2Params object with the ability to set a custom HTTPClient for a request.
func NewUpdateDetectsByIdsV2ParamsWithTimeout ¶
func NewUpdateDetectsByIdsV2ParamsWithTimeout(timeout time.Duration) *UpdateDetectsByIdsV2Params
NewUpdateDetectsByIdsV2ParamsWithTimeout creates a new UpdateDetectsByIdsV2Params object with the ability to set a timeout on a request.
func (*UpdateDetectsByIdsV2Params) SetBody ¶
func (o *UpdateDetectsByIdsV2Params) SetBody(body *models.DomainDetectsEntitiesPatchRequest)
SetBody adds the body to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) SetContext ¶
func (o *UpdateDetectsByIdsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) SetDefaults ¶
func (o *UpdateDetectsByIdsV2Params) SetDefaults()
SetDefaults hydrates default values in the update detects by ids v2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDetectsByIdsV2Params) SetHTTPClient ¶
func (o *UpdateDetectsByIdsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) SetTimeout ¶
func (o *UpdateDetectsByIdsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) WithBody ¶
func (o *UpdateDetectsByIdsV2Params) WithBody(body *models.DomainDetectsEntitiesPatchRequest) *UpdateDetectsByIdsV2Params
WithBody adds the body to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) WithContext ¶
func (o *UpdateDetectsByIdsV2Params) WithContext(ctx context.Context) *UpdateDetectsByIdsV2Params
WithContext adds the context to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) WithDefaults ¶
func (o *UpdateDetectsByIdsV2Params) WithDefaults() *UpdateDetectsByIdsV2Params
WithDefaults hydrates default values in the update detects by ids v2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDetectsByIdsV2Params) WithHTTPClient ¶
func (o *UpdateDetectsByIdsV2Params) WithHTTPClient(client *http.Client) *UpdateDetectsByIdsV2Params
WithHTTPClient adds the HTTPClient to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) WithTimeout ¶
func (o *UpdateDetectsByIdsV2Params) WithTimeout(timeout time.Duration) *UpdateDetectsByIdsV2Params
WithTimeout adds the timeout to the update detects by ids v2 params
func (*UpdateDetectsByIdsV2Params) WriteToRequest ¶
func (o *UpdateDetectsByIdsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDetectsByIdsV2Reader ¶
type UpdateDetectsByIdsV2Reader struct {
// contains filtered or unexported fields
}
UpdateDetectsByIdsV2Reader is a Reader for the UpdateDetectsByIdsV2 structure.
func (*UpdateDetectsByIdsV2Reader) ReadResponse ¶
func (o *UpdateDetectsByIdsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDetectsByIdsV2TooManyRequests ¶
type UpdateDetectsByIdsV2TooManyRequests 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 }
UpdateDetectsByIdsV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdateDetectsByIdsV2TooManyRequests ¶
func NewUpdateDetectsByIdsV2TooManyRequests() *UpdateDetectsByIdsV2TooManyRequests
NewUpdateDetectsByIdsV2TooManyRequests creates a UpdateDetectsByIdsV2TooManyRequests with default headers values
func (*UpdateDetectsByIdsV2TooManyRequests) Code ¶ added in v0.2.33
func (o *UpdateDetectsByIdsV2TooManyRequests) Code() int
Code gets the status code for the update detects by ids v2 too many requests response
func (*UpdateDetectsByIdsV2TooManyRequests) Error ¶
func (o *UpdateDetectsByIdsV2TooManyRequests) Error() string
func (*UpdateDetectsByIdsV2TooManyRequests) GetPayload ¶
func (o *UpdateDetectsByIdsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateDetectsByIdsV2TooManyRequests) IsClientError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2TooManyRequests) IsClientError() bool
IsClientError returns true when this update detects by ids v2 too many requests response has a 4xx status code
func (*UpdateDetectsByIdsV2TooManyRequests) IsCode ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this update detects by ids v2 too many requests response a status code equal to that given
func (*UpdateDetectsByIdsV2TooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this update detects by ids v2 too many requests response has a 3xx status code
func (*UpdateDetectsByIdsV2TooManyRequests) IsServerError ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2TooManyRequests) IsServerError() bool
IsServerError returns true when this update detects by ids v2 too many requests response has a 5xx status code
func (*UpdateDetectsByIdsV2TooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this update detects by ids v2 too many requests response has a 2xx status code
func (*UpdateDetectsByIdsV2TooManyRequests) String ¶ added in v0.2.27
func (o *UpdateDetectsByIdsV2TooManyRequests) String() string