Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAggregateV2(params *GetAggregateV2Params, opts ...ClientOption) (*GetAggregateV2OK, error)
- func (a *Client) GetQueriesAlertsV1(params *GetQueriesAlertsV1Params, opts ...ClientOption) (*GetQueriesAlertsV1OK, error)
- func (a *Client) GetV2(params *GetV2Params, opts ...ClientOption) (*GetV2OK, error)
- func (a *Client) PatchEntitiesAlertsV2(params *PatchEntitiesAlertsV2Params, opts ...ClientOption) (*PatchEntitiesAlertsV2OK, error)
- func (a *Client) PostAggregatesAlertsV1(params *PostAggregatesAlertsV1Params, opts ...ClientOption) (*PostAggregatesAlertsV1OK, error)
- func (a *Client) PostEntitiesAlertsV1(params *PostEntitiesAlertsV1Params, opts ...ClientOption) (*PostEntitiesAlertsV1OK, error)
- func (a *Client) QueryV2(params *QueryV2Params, opts ...ClientOption) (*QueryV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateV3(params *UpdateV3Params, opts ...ClientOption) (*UpdateV3OK, error)
- type ClientOption
- type ClientService
- type GetAggregateV2BadRequest
- func (o *GetAggregateV2BadRequest) Code() int
- func (o *GetAggregateV2BadRequest) Error() string
- func (o *GetAggregateV2BadRequest) GetPayload() *models.DetectsapiAggregatesResponse
- func (o *GetAggregateV2BadRequest) IsClientError() bool
- func (o *GetAggregateV2BadRequest) IsCode(code int) bool
- func (o *GetAggregateV2BadRequest) IsRedirect() bool
- func (o *GetAggregateV2BadRequest) IsServerError() bool
- func (o *GetAggregateV2BadRequest) IsSuccess() bool
- func (o *GetAggregateV2BadRequest) String() string
- type GetAggregateV2Forbidden
- func (o *GetAggregateV2Forbidden) Code() int
- func (o *GetAggregateV2Forbidden) Error() string
- func (o *GetAggregateV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAggregateV2Forbidden) IsClientError() bool
- func (o *GetAggregateV2Forbidden) IsCode(code int) bool
- func (o *GetAggregateV2Forbidden) IsRedirect() bool
- func (o *GetAggregateV2Forbidden) IsServerError() bool
- func (o *GetAggregateV2Forbidden) IsSuccess() bool
- func (o *GetAggregateV2Forbidden) String() string
- type GetAggregateV2InternalServerError
- func (o *GetAggregateV2InternalServerError) Code() int
- func (o *GetAggregateV2InternalServerError) Error() string
- func (o *GetAggregateV2InternalServerError) GetPayload() *models.DetectsapiAggregatesResponse
- func (o *GetAggregateV2InternalServerError) IsClientError() bool
- func (o *GetAggregateV2InternalServerError) IsCode(code int) bool
- func (o *GetAggregateV2InternalServerError) IsRedirect() bool
- func (o *GetAggregateV2InternalServerError) IsServerError() bool
- func (o *GetAggregateV2InternalServerError) IsSuccess() bool
- func (o *GetAggregateV2InternalServerError) String() string
- type GetAggregateV2OK
- func (o *GetAggregateV2OK) Code() int
- func (o *GetAggregateV2OK) Error() string
- func (o *GetAggregateV2OK) GetPayload() *models.DetectsapiAggregatesResponse
- func (o *GetAggregateV2OK) IsClientError() bool
- func (o *GetAggregateV2OK) IsCode(code int) bool
- func (o *GetAggregateV2OK) IsRedirect() bool
- func (o *GetAggregateV2OK) IsServerError() bool
- func (o *GetAggregateV2OK) IsSuccess() bool
- func (o *GetAggregateV2OK) String() string
- type GetAggregateV2Params
- func NewGetAggregateV2Params() *GetAggregateV2Params
- func NewGetAggregateV2ParamsWithContext(ctx context.Context) *GetAggregateV2Params
- func NewGetAggregateV2ParamsWithHTTPClient(client *http.Client) *GetAggregateV2Params
- func NewGetAggregateV2ParamsWithTimeout(timeout time.Duration) *GetAggregateV2Params
- func (o *GetAggregateV2Params) SetBody(body []*models.DetectsapiAggregateAlertQueryRequest)
- func (o *GetAggregateV2Params) SetContext(ctx context.Context)
- func (o *GetAggregateV2Params) SetDefaults()
- func (o *GetAggregateV2Params) SetHTTPClient(client *http.Client)
- func (o *GetAggregateV2Params) SetIncludeHidden(includeHidden *bool)
- func (o *GetAggregateV2Params) SetTimeout(timeout time.Duration)
- func (o *GetAggregateV2Params) WithBody(body []*models.DetectsapiAggregateAlertQueryRequest) *GetAggregateV2Params
- func (o *GetAggregateV2Params) WithContext(ctx context.Context) *GetAggregateV2Params
- func (o *GetAggregateV2Params) WithDefaults() *GetAggregateV2Params
- func (o *GetAggregateV2Params) WithHTTPClient(client *http.Client) *GetAggregateV2Params
- func (o *GetAggregateV2Params) WithIncludeHidden(includeHidden *bool) *GetAggregateV2Params
- func (o *GetAggregateV2Params) WithTimeout(timeout time.Duration) *GetAggregateV2Params
- func (o *GetAggregateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAggregateV2Reader
- type GetAggregateV2TooManyRequests
- func (o *GetAggregateV2TooManyRequests) Code() int
- func (o *GetAggregateV2TooManyRequests) Error() string
- func (o *GetAggregateV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAggregateV2TooManyRequests) IsClientError() bool
- func (o *GetAggregateV2TooManyRequests) IsCode(code int) bool
- func (o *GetAggregateV2TooManyRequests) IsRedirect() bool
- func (o *GetAggregateV2TooManyRequests) IsServerError() bool
- func (o *GetAggregateV2TooManyRequests) IsSuccess() bool
- func (o *GetAggregateV2TooManyRequests) String() string
- type GetQueriesAlertsV1BadRequest
- func (o *GetQueriesAlertsV1BadRequest) Code() int
- func (o *GetQueriesAlertsV1BadRequest) Error() string
- func (o *GetQueriesAlertsV1BadRequest) GetPayload() *models.DetectsapiAlertQueryResponse
- func (o *GetQueriesAlertsV1BadRequest) IsClientError() bool
- func (o *GetQueriesAlertsV1BadRequest) IsCode(code int) bool
- func (o *GetQueriesAlertsV1BadRequest) IsRedirect() bool
- func (o *GetQueriesAlertsV1BadRequest) IsServerError() bool
- func (o *GetQueriesAlertsV1BadRequest) IsSuccess() bool
- func (o *GetQueriesAlertsV1BadRequest) String() string
- type GetQueriesAlertsV1Forbidden
- func (o *GetQueriesAlertsV1Forbidden) Code() int
- func (o *GetQueriesAlertsV1Forbidden) Error() string
- func (o *GetQueriesAlertsV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetQueriesAlertsV1Forbidden) IsClientError() bool
- func (o *GetQueriesAlertsV1Forbidden) IsCode(code int) bool
- func (o *GetQueriesAlertsV1Forbidden) IsRedirect() bool
- func (o *GetQueriesAlertsV1Forbidden) IsServerError() bool
- func (o *GetQueriesAlertsV1Forbidden) IsSuccess() bool
- func (o *GetQueriesAlertsV1Forbidden) String() string
- type GetQueriesAlertsV1InternalServerError
- func (o *GetQueriesAlertsV1InternalServerError) Code() int
- func (o *GetQueriesAlertsV1InternalServerError) Error() string
- func (o *GetQueriesAlertsV1InternalServerError) GetPayload() *models.DetectsapiAlertQueryResponse
- func (o *GetQueriesAlertsV1InternalServerError) IsClientError() bool
- func (o *GetQueriesAlertsV1InternalServerError) IsCode(code int) bool
- func (o *GetQueriesAlertsV1InternalServerError) IsRedirect() bool
- func (o *GetQueriesAlertsV1InternalServerError) IsServerError() bool
- func (o *GetQueriesAlertsV1InternalServerError) IsSuccess() bool
- func (o *GetQueriesAlertsV1InternalServerError) String() string
- type GetQueriesAlertsV1OK
- func (o *GetQueriesAlertsV1OK) Code() int
- func (o *GetQueriesAlertsV1OK) Error() string
- func (o *GetQueriesAlertsV1OK) GetPayload() *models.DetectsapiAlertQueryResponse
- func (o *GetQueriesAlertsV1OK) IsClientError() bool
- func (o *GetQueriesAlertsV1OK) IsCode(code int) bool
- func (o *GetQueriesAlertsV1OK) IsRedirect() bool
- func (o *GetQueriesAlertsV1OK) IsServerError() bool
- func (o *GetQueriesAlertsV1OK) IsSuccess() bool
- func (o *GetQueriesAlertsV1OK) String() string
- type GetQueriesAlertsV1Params
- func NewGetQueriesAlertsV1Params() *GetQueriesAlertsV1Params
- func NewGetQueriesAlertsV1ParamsWithContext(ctx context.Context) *GetQueriesAlertsV1Params
- func NewGetQueriesAlertsV1ParamsWithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params
- func NewGetQueriesAlertsV1ParamsWithTimeout(timeout time.Duration) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) SetContext(ctx context.Context)
- func (o *GetQueriesAlertsV1Params) SetDefaults()
- func (o *GetQueriesAlertsV1Params) SetFilter(filter *string)
- func (o *GetQueriesAlertsV1Params) SetHTTPClient(client *http.Client)
- func (o *GetQueriesAlertsV1Params) SetLimit(limit *int64)
- func (o *GetQueriesAlertsV1Params) SetOffset(offset *int64)
- func (o *GetQueriesAlertsV1Params) SetQ(q *string)
- func (o *GetQueriesAlertsV1Params) SetSort(sort *string)
- func (o *GetQueriesAlertsV1Params) SetTimeout(timeout time.Duration)
- func (o *GetQueriesAlertsV1Params) WithContext(ctx context.Context) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithDefaults() *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithFilter(filter *string) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithLimit(limit *int64) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithOffset(offset *int64) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithQ(q *string) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithSort(sort *string) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WithTimeout(timeout time.Duration) *GetQueriesAlertsV1Params
- func (o *GetQueriesAlertsV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetQueriesAlertsV1Reader
- type GetQueriesAlertsV1TooManyRequests
- func (o *GetQueriesAlertsV1TooManyRequests) Code() int
- func (o *GetQueriesAlertsV1TooManyRequests) Error() string
- func (o *GetQueriesAlertsV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetQueriesAlertsV1TooManyRequests) IsClientError() bool
- func (o *GetQueriesAlertsV1TooManyRequests) IsCode(code int) bool
- func (o *GetQueriesAlertsV1TooManyRequests) IsRedirect() bool
- func (o *GetQueriesAlertsV1TooManyRequests) IsServerError() bool
- func (o *GetQueriesAlertsV1TooManyRequests) IsSuccess() bool
- func (o *GetQueriesAlertsV1TooManyRequests) String() string
- type GetV2BadRequest
- func (o *GetV2BadRequest) Code() int
- func (o *GetV2BadRequest) Error() string
- func (o *GetV2BadRequest) GetPayload() *models.DetectsapiPostEntitiesAlertsV2Response
- func (o *GetV2BadRequest) IsClientError() bool
- func (o *GetV2BadRequest) IsCode(code int) bool
- func (o *GetV2BadRequest) IsRedirect() bool
- func (o *GetV2BadRequest) IsServerError() bool
- func (o *GetV2BadRequest) IsSuccess() bool
- func (o *GetV2BadRequest) String() string
- type GetV2Forbidden
- func (o *GetV2Forbidden) Code() int
- func (o *GetV2Forbidden) Error() string
- func (o *GetV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetV2Forbidden) IsClientError() bool
- func (o *GetV2Forbidden) IsCode(code int) bool
- func (o *GetV2Forbidden) IsRedirect() bool
- func (o *GetV2Forbidden) IsServerError() bool
- func (o *GetV2Forbidden) IsSuccess() bool
- func (o *GetV2Forbidden) String() string
- type GetV2InternalServerError
- func (o *GetV2InternalServerError) Code() int
- func (o *GetV2InternalServerError) Error() string
- func (o *GetV2InternalServerError) GetPayload() *models.DetectsapiPostEntitiesAlertsV2Response
- func (o *GetV2InternalServerError) IsClientError() bool
- func (o *GetV2InternalServerError) IsCode(code int) bool
- func (o *GetV2InternalServerError) IsRedirect() bool
- func (o *GetV2InternalServerError) IsServerError() bool
- func (o *GetV2InternalServerError) IsSuccess() bool
- func (o *GetV2InternalServerError) String() string
- type GetV2OK
- func (o *GetV2OK) Code() int
- func (o *GetV2OK) Error() string
- func (o *GetV2OK) GetPayload() *models.DetectsapiPostEntitiesAlertsV2Response
- func (o *GetV2OK) IsClientError() bool
- func (o *GetV2OK) IsCode(code int) bool
- func (o *GetV2OK) IsRedirect() bool
- func (o *GetV2OK) IsServerError() bool
- func (o *GetV2OK) IsSuccess() bool
- func (o *GetV2OK) String() string
- type GetV2Params
- func (o *GetV2Params) SetBody(body *models.DetectsapiPostEntitiesAlertsV2Request)
- func (o *GetV2Params) SetContext(ctx context.Context)
- func (o *GetV2Params) SetDefaults()
- func (o *GetV2Params) SetHTTPClient(client *http.Client)
- func (o *GetV2Params) SetIncludeHidden(includeHidden *bool)
- func (o *GetV2Params) SetTimeout(timeout time.Duration)
- func (o *GetV2Params) WithBody(body *models.DetectsapiPostEntitiesAlertsV2Request) *GetV2Params
- func (o *GetV2Params) WithContext(ctx context.Context) *GetV2Params
- func (o *GetV2Params) WithDefaults() *GetV2Params
- func (o *GetV2Params) WithHTTPClient(client *http.Client) *GetV2Params
- func (o *GetV2Params) WithIncludeHidden(includeHidden *bool) *GetV2Params
- func (o *GetV2Params) WithTimeout(timeout time.Duration) *GetV2Params
- func (o *GetV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV2Reader
- type GetV2TooManyRequests
- func (o *GetV2TooManyRequests) Code() int
- func (o *GetV2TooManyRequests) Error() string
- func (o *GetV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetV2TooManyRequests) IsClientError() bool
- func (o *GetV2TooManyRequests) IsCode(code int) bool
- func (o *GetV2TooManyRequests) IsRedirect() bool
- func (o *GetV2TooManyRequests) IsServerError() bool
- func (o *GetV2TooManyRequests) IsSuccess() bool
- func (o *GetV2TooManyRequests) String() string
- type PatchEntitiesAlertsV2BadRequest
- func (o *PatchEntitiesAlertsV2BadRequest) Code() int
- func (o *PatchEntitiesAlertsV2BadRequest) Error() string
- func (o *PatchEntitiesAlertsV2BadRequest) GetPayload() *models.DetectsapiResponseFields
- func (o *PatchEntitiesAlertsV2BadRequest) IsClientError() bool
- func (o *PatchEntitiesAlertsV2BadRequest) IsCode(code int) bool
- func (o *PatchEntitiesAlertsV2BadRequest) IsRedirect() bool
- func (o *PatchEntitiesAlertsV2BadRequest) IsServerError() bool
- func (o *PatchEntitiesAlertsV2BadRequest) IsSuccess() bool
- func (o *PatchEntitiesAlertsV2BadRequest) String() string
- type PatchEntitiesAlertsV2Forbidden
- func (o *PatchEntitiesAlertsV2Forbidden) Code() int
- func (o *PatchEntitiesAlertsV2Forbidden) Error() string
- func (o *PatchEntitiesAlertsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *PatchEntitiesAlertsV2Forbidden) IsClientError() bool
- func (o *PatchEntitiesAlertsV2Forbidden) IsCode(code int) bool
- func (o *PatchEntitiesAlertsV2Forbidden) IsRedirect() bool
- func (o *PatchEntitiesAlertsV2Forbidden) IsServerError() bool
- func (o *PatchEntitiesAlertsV2Forbidden) IsSuccess() bool
- func (o *PatchEntitiesAlertsV2Forbidden) String() string
- type PatchEntitiesAlertsV2InternalServerError
- func (o *PatchEntitiesAlertsV2InternalServerError) Code() int
- func (o *PatchEntitiesAlertsV2InternalServerError) Error() string
- func (o *PatchEntitiesAlertsV2InternalServerError) GetPayload() *models.DetectsapiResponseFields
- func (o *PatchEntitiesAlertsV2InternalServerError) IsClientError() bool
- func (o *PatchEntitiesAlertsV2InternalServerError) IsCode(code int) bool
- func (o *PatchEntitiesAlertsV2InternalServerError) IsRedirect() bool
- func (o *PatchEntitiesAlertsV2InternalServerError) IsServerError() bool
- func (o *PatchEntitiesAlertsV2InternalServerError) IsSuccess() bool
- func (o *PatchEntitiesAlertsV2InternalServerError) String() string
- type PatchEntitiesAlertsV2OK
- func (o *PatchEntitiesAlertsV2OK) Code() int
- func (o *PatchEntitiesAlertsV2OK) Error() string
- func (o *PatchEntitiesAlertsV2OK) GetPayload() *models.DetectsapiResponseFields
- func (o *PatchEntitiesAlertsV2OK) IsClientError() bool
- func (o *PatchEntitiesAlertsV2OK) IsCode(code int) bool
- func (o *PatchEntitiesAlertsV2OK) IsRedirect() bool
- func (o *PatchEntitiesAlertsV2OK) IsServerError() bool
- func (o *PatchEntitiesAlertsV2OK) IsSuccess() bool
- func (o *PatchEntitiesAlertsV2OK) String() string
- type PatchEntitiesAlertsV2Params
- func NewPatchEntitiesAlertsV2Params() *PatchEntitiesAlertsV2Params
- func NewPatchEntitiesAlertsV2ParamsWithContext(ctx context.Context) *PatchEntitiesAlertsV2Params
- func NewPatchEntitiesAlertsV2ParamsWithHTTPClient(client *http.Client) *PatchEntitiesAlertsV2Params
- func NewPatchEntitiesAlertsV2ParamsWithTimeout(timeout time.Duration) *PatchEntitiesAlertsV2Params
- func (o *PatchEntitiesAlertsV2Params) SetBody(body *models.DetectsapiPatchEntitiesAlertsV2Request)
- func (o *PatchEntitiesAlertsV2Params) SetContext(ctx context.Context)
- func (o *PatchEntitiesAlertsV2Params) SetDefaults()
- func (o *PatchEntitiesAlertsV2Params) SetHTTPClient(client *http.Client)
- func (o *PatchEntitiesAlertsV2Params) SetTimeout(timeout time.Duration)
- func (o *PatchEntitiesAlertsV2Params) WithBody(body *models.DetectsapiPatchEntitiesAlertsV2Request) *PatchEntitiesAlertsV2Params
- func (o *PatchEntitiesAlertsV2Params) WithContext(ctx context.Context) *PatchEntitiesAlertsV2Params
- func (o *PatchEntitiesAlertsV2Params) WithDefaults() *PatchEntitiesAlertsV2Params
- func (o *PatchEntitiesAlertsV2Params) WithHTTPClient(client *http.Client) *PatchEntitiesAlertsV2Params
- func (o *PatchEntitiesAlertsV2Params) WithTimeout(timeout time.Duration) *PatchEntitiesAlertsV2Params
- func (o *PatchEntitiesAlertsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEntitiesAlertsV2Reader
- type PatchEntitiesAlertsV2TooManyRequests
- func (o *PatchEntitiesAlertsV2TooManyRequests) Code() int
- func (o *PatchEntitiesAlertsV2TooManyRequests) Error() string
- func (o *PatchEntitiesAlertsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PatchEntitiesAlertsV2TooManyRequests) IsClientError() bool
- func (o *PatchEntitiesAlertsV2TooManyRequests) IsCode(code int) bool
- func (o *PatchEntitiesAlertsV2TooManyRequests) IsRedirect() bool
- func (o *PatchEntitiesAlertsV2TooManyRequests) IsServerError() bool
- func (o *PatchEntitiesAlertsV2TooManyRequests) IsSuccess() bool
- func (o *PatchEntitiesAlertsV2TooManyRequests) String() string
- type PostAggregatesAlertsV1BadRequest
- func (o *PostAggregatesAlertsV1BadRequest) Code() int
- func (o *PostAggregatesAlertsV1BadRequest) Error() string
- func (o *PostAggregatesAlertsV1BadRequest) GetPayload() *models.DetectsapiAggregatesResponse
- func (o *PostAggregatesAlertsV1BadRequest) IsClientError() bool
- func (o *PostAggregatesAlertsV1BadRequest) IsCode(code int) bool
- func (o *PostAggregatesAlertsV1BadRequest) IsRedirect() bool
- func (o *PostAggregatesAlertsV1BadRequest) IsServerError() bool
- func (o *PostAggregatesAlertsV1BadRequest) IsSuccess() bool
- func (o *PostAggregatesAlertsV1BadRequest) String() string
- type PostAggregatesAlertsV1Forbidden
- func (o *PostAggregatesAlertsV1Forbidden) Code() int
- func (o *PostAggregatesAlertsV1Forbidden) Error() string
- func (o *PostAggregatesAlertsV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *PostAggregatesAlertsV1Forbidden) IsClientError() bool
- func (o *PostAggregatesAlertsV1Forbidden) IsCode(code int) bool
- func (o *PostAggregatesAlertsV1Forbidden) IsRedirect() bool
- func (o *PostAggregatesAlertsV1Forbidden) IsServerError() bool
- func (o *PostAggregatesAlertsV1Forbidden) IsSuccess() bool
- func (o *PostAggregatesAlertsV1Forbidden) String() string
- type PostAggregatesAlertsV1InternalServerError
- func (o *PostAggregatesAlertsV1InternalServerError) Code() int
- func (o *PostAggregatesAlertsV1InternalServerError) Error() string
- func (o *PostAggregatesAlertsV1InternalServerError) GetPayload() *models.DetectsapiAggregatesResponse
- func (o *PostAggregatesAlertsV1InternalServerError) IsClientError() bool
- func (o *PostAggregatesAlertsV1InternalServerError) IsCode(code int) bool
- func (o *PostAggregatesAlertsV1InternalServerError) IsRedirect() bool
- func (o *PostAggregatesAlertsV1InternalServerError) IsServerError() bool
- func (o *PostAggregatesAlertsV1InternalServerError) IsSuccess() bool
- func (o *PostAggregatesAlertsV1InternalServerError) String() string
- type PostAggregatesAlertsV1OK
- func (o *PostAggregatesAlertsV1OK) Code() int
- func (o *PostAggregatesAlertsV1OK) Error() string
- func (o *PostAggregatesAlertsV1OK) GetPayload() *models.DetectsapiAggregatesResponse
- func (o *PostAggregatesAlertsV1OK) IsClientError() bool
- func (o *PostAggregatesAlertsV1OK) IsCode(code int) bool
- func (o *PostAggregatesAlertsV1OK) IsRedirect() bool
- func (o *PostAggregatesAlertsV1OK) IsServerError() bool
- func (o *PostAggregatesAlertsV1OK) IsSuccess() bool
- func (o *PostAggregatesAlertsV1OK) String() string
- type PostAggregatesAlertsV1Params
- func NewPostAggregatesAlertsV1Params() *PostAggregatesAlertsV1Params
- func NewPostAggregatesAlertsV1ParamsWithContext(ctx context.Context) *PostAggregatesAlertsV1Params
- func NewPostAggregatesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostAggregatesAlertsV1Params
- func NewPostAggregatesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostAggregatesAlertsV1Params
- func (o *PostAggregatesAlertsV1Params) SetBody(body []*models.DetectsapiAggregateAlertQueryRequest)
- func (o *PostAggregatesAlertsV1Params) SetContext(ctx context.Context)
- func (o *PostAggregatesAlertsV1Params) SetDefaults()
- func (o *PostAggregatesAlertsV1Params) SetHTTPClient(client *http.Client)
- func (o *PostAggregatesAlertsV1Params) SetTimeout(timeout time.Duration)
- func (o *PostAggregatesAlertsV1Params) WithBody(body []*models.DetectsapiAggregateAlertQueryRequest) *PostAggregatesAlertsV1Params
- func (o *PostAggregatesAlertsV1Params) WithContext(ctx context.Context) *PostAggregatesAlertsV1Params
- func (o *PostAggregatesAlertsV1Params) WithDefaults() *PostAggregatesAlertsV1Params
- func (o *PostAggregatesAlertsV1Params) WithHTTPClient(client *http.Client) *PostAggregatesAlertsV1Params
- func (o *PostAggregatesAlertsV1Params) WithTimeout(timeout time.Duration) *PostAggregatesAlertsV1Params
- func (o *PostAggregatesAlertsV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAggregatesAlertsV1Reader
- type PostAggregatesAlertsV1TooManyRequests
- func (o *PostAggregatesAlertsV1TooManyRequests) Code() int
- func (o *PostAggregatesAlertsV1TooManyRequests) Error() string
- func (o *PostAggregatesAlertsV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PostAggregatesAlertsV1TooManyRequests) IsClientError() bool
- func (o *PostAggregatesAlertsV1TooManyRequests) IsCode(code int) bool
- func (o *PostAggregatesAlertsV1TooManyRequests) IsRedirect() bool
- func (o *PostAggregatesAlertsV1TooManyRequests) IsServerError() bool
- func (o *PostAggregatesAlertsV1TooManyRequests) IsSuccess() bool
- func (o *PostAggregatesAlertsV1TooManyRequests) String() string
- type PostEntitiesAlertsV1BadRequest
- func (o *PostEntitiesAlertsV1BadRequest) Code() int
- func (o *PostEntitiesAlertsV1BadRequest) Error() string
- func (o *PostEntitiesAlertsV1BadRequest) GetPayload() *models.DetectsapiPostEntitiesAlertsV1Response
- func (o *PostEntitiesAlertsV1BadRequest) IsClientError() bool
- func (o *PostEntitiesAlertsV1BadRequest) IsCode(code int) bool
- func (o *PostEntitiesAlertsV1BadRequest) IsRedirect() bool
- func (o *PostEntitiesAlertsV1BadRequest) IsServerError() bool
- func (o *PostEntitiesAlertsV1BadRequest) IsSuccess() bool
- func (o *PostEntitiesAlertsV1BadRequest) String() string
- type PostEntitiesAlertsV1Forbidden
- func (o *PostEntitiesAlertsV1Forbidden) Code() int
- func (o *PostEntitiesAlertsV1Forbidden) Error() string
- func (o *PostEntitiesAlertsV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *PostEntitiesAlertsV1Forbidden) IsClientError() bool
- func (o *PostEntitiesAlertsV1Forbidden) IsCode(code int) bool
- func (o *PostEntitiesAlertsV1Forbidden) IsRedirect() bool
- func (o *PostEntitiesAlertsV1Forbidden) IsServerError() bool
- func (o *PostEntitiesAlertsV1Forbidden) IsSuccess() bool
- func (o *PostEntitiesAlertsV1Forbidden) String() string
- type PostEntitiesAlertsV1InternalServerError
- func (o *PostEntitiesAlertsV1InternalServerError) Code() int
- func (o *PostEntitiesAlertsV1InternalServerError) Error() string
- func (o *PostEntitiesAlertsV1InternalServerError) GetPayload() *models.DetectsapiPostEntitiesAlertsV1Response
- func (o *PostEntitiesAlertsV1InternalServerError) IsClientError() bool
- func (o *PostEntitiesAlertsV1InternalServerError) IsCode(code int) bool
- func (o *PostEntitiesAlertsV1InternalServerError) IsRedirect() bool
- func (o *PostEntitiesAlertsV1InternalServerError) IsServerError() bool
- func (o *PostEntitiesAlertsV1InternalServerError) IsSuccess() bool
- func (o *PostEntitiesAlertsV1InternalServerError) String() string
- type PostEntitiesAlertsV1OK
- func (o *PostEntitiesAlertsV1OK) Code() int
- func (o *PostEntitiesAlertsV1OK) Error() string
- func (o *PostEntitiesAlertsV1OK) GetPayload() *models.DetectsapiPostEntitiesAlertsV1Response
- func (o *PostEntitiesAlertsV1OK) IsClientError() bool
- func (o *PostEntitiesAlertsV1OK) IsCode(code int) bool
- func (o *PostEntitiesAlertsV1OK) IsRedirect() bool
- func (o *PostEntitiesAlertsV1OK) IsServerError() bool
- func (o *PostEntitiesAlertsV1OK) IsSuccess() bool
- func (o *PostEntitiesAlertsV1OK) String() string
- type PostEntitiesAlertsV1Params
- func NewPostEntitiesAlertsV1Params() *PostEntitiesAlertsV1Params
- func NewPostEntitiesAlertsV1ParamsWithContext(ctx context.Context) *PostEntitiesAlertsV1Params
- func NewPostEntitiesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostEntitiesAlertsV1Params
- func NewPostEntitiesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostEntitiesAlertsV1Params
- func (o *PostEntitiesAlertsV1Params) SetBody(body *models.DetectsapiPostEntitiesAlertsV1Request)
- func (o *PostEntitiesAlertsV1Params) SetContext(ctx context.Context)
- func (o *PostEntitiesAlertsV1Params) SetDefaults()
- func (o *PostEntitiesAlertsV1Params) SetHTTPClient(client *http.Client)
- func (o *PostEntitiesAlertsV1Params) SetTimeout(timeout time.Duration)
- func (o *PostEntitiesAlertsV1Params) WithBody(body *models.DetectsapiPostEntitiesAlertsV1Request) *PostEntitiesAlertsV1Params
- func (o *PostEntitiesAlertsV1Params) WithContext(ctx context.Context) *PostEntitiesAlertsV1Params
- func (o *PostEntitiesAlertsV1Params) WithDefaults() *PostEntitiesAlertsV1Params
- func (o *PostEntitiesAlertsV1Params) WithHTTPClient(client *http.Client) *PostEntitiesAlertsV1Params
- func (o *PostEntitiesAlertsV1Params) WithTimeout(timeout time.Duration) *PostEntitiesAlertsV1Params
- func (o *PostEntitiesAlertsV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEntitiesAlertsV1Reader
- type PostEntitiesAlertsV1TooManyRequests
- func (o *PostEntitiesAlertsV1TooManyRequests) Code() int
- func (o *PostEntitiesAlertsV1TooManyRequests) Error() string
- func (o *PostEntitiesAlertsV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PostEntitiesAlertsV1TooManyRequests) IsClientError() bool
- func (o *PostEntitiesAlertsV1TooManyRequests) IsCode(code int) bool
- func (o *PostEntitiesAlertsV1TooManyRequests) IsRedirect() bool
- func (o *PostEntitiesAlertsV1TooManyRequests) IsServerError() bool
- func (o *PostEntitiesAlertsV1TooManyRequests) IsSuccess() bool
- func (o *PostEntitiesAlertsV1TooManyRequests) String() string
- type QueryV2BadRequest
- func (o *QueryV2BadRequest) Code() int
- func (o *QueryV2BadRequest) Error() string
- func (o *QueryV2BadRequest) GetPayload() *models.DetectsapiAlertQueryResponse
- func (o *QueryV2BadRequest) IsClientError() bool
- func (o *QueryV2BadRequest) IsCode(code int) bool
- func (o *QueryV2BadRequest) IsRedirect() bool
- func (o *QueryV2BadRequest) IsServerError() bool
- func (o *QueryV2BadRequest) IsSuccess() bool
- func (o *QueryV2BadRequest) String() string
- type QueryV2Forbidden
- func (o *QueryV2Forbidden) Code() int
- func (o *QueryV2Forbidden) Error() string
- func (o *QueryV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryV2Forbidden) IsClientError() bool
- func (o *QueryV2Forbidden) IsCode(code int) bool
- func (o *QueryV2Forbidden) IsRedirect() bool
- func (o *QueryV2Forbidden) IsServerError() bool
- func (o *QueryV2Forbidden) IsSuccess() bool
- func (o *QueryV2Forbidden) String() string
- type QueryV2InternalServerError
- func (o *QueryV2InternalServerError) Code() int
- func (o *QueryV2InternalServerError) Error() string
- func (o *QueryV2InternalServerError) GetPayload() *models.DetectsapiAlertQueryResponse
- func (o *QueryV2InternalServerError) IsClientError() bool
- func (o *QueryV2InternalServerError) IsCode(code int) bool
- func (o *QueryV2InternalServerError) IsRedirect() bool
- func (o *QueryV2InternalServerError) IsServerError() bool
- func (o *QueryV2InternalServerError) IsSuccess() bool
- func (o *QueryV2InternalServerError) String() string
- type QueryV2OK
- func (o *QueryV2OK) Code() int
- func (o *QueryV2OK) Error() string
- func (o *QueryV2OK) GetPayload() *models.DetectsapiAlertQueryResponse
- func (o *QueryV2OK) IsClientError() bool
- func (o *QueryV2OK) IsCode(code int) bool
- func (o *QueryV2OK) IsRedirect() bool
- func (o *QueryV2OK) IsServerError() bool
- func (o *QueryV2OK) IsSuccess() bool
- func (o *QueryV2OK) String() string
- type QueryV2Params
- func (o *QueryV2Params) SetContext(ctx context.Context)
- func (o *QueryV2Params) SetDefaults()
- func (o *QueryV2Params) SetFilter(filter *string)
- func (o *QueryV2Params) SetHTTPClient(client *http.Client)
- func (o *QueryV2Params) SetIncludeHidden(includeHidden *bool)
- func (o *QueryV2Params) SetLimit(limit *int64)
- func (o *QueryV2Params) SetOffset(offset *int64)
- func (o *QueryV2Params) SetQ(q *string)
- func (o *QueryV2Params) SetSort(sort *string)
- func (o *QueryV2Params) SetTimeout(timeout time.Duration)
- func (o *QueryV2Params) WithContext(ctx context.Context) *QueryV2Params
- func (o *QueryV2Params) WithDefaults() *QueryV2Params
- func (o *QueryV2Params) WithFilter(filter *string) *QueryV2Params
- func (o *QueryV2Params) WithHTTPClient(client *http.Client) *QueryV2Params
- func (o *QueryV2Params) WithIncludeHidden(includeHidden *bool) *QueryV2Params
- func (o *QueryV2Params) WithLimit(limit *int64) *QueryV2Params
- func (o *QueryV2Params) WithOffset(offset *int64) *QueryV2Params
- func (o *QueryV2Params) WithQ(q *string) *QueryV2Params
- func (o *QueryV2Params) WithSort(sort *string) *QueryV2Params
- func (o *QueryV2Params) WithTimeout(timeout time.Duration) *QueryV2Params
- func (o *QueryV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryV2Reader
- type QueryV2TooManyRequests
- func (o *QueryV2TooManyRequests) Code() int
- func (o *QueryV2TooManyRequests) Error() string
- func (o *QueryV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryV2TooManyRequests) IsClientError() bool
- func (o *QueryV2TooManyRequests) IsCode(code int) bool
- func (o *QueryV2TooManyRequests) IsRedirect() bool
- func (o *QueryV2TooManyRequests) IsServerError() bool
- func (o *QueryV2TooManyRequests) IsSuccess() bool
- func (o *QueryV2TooManyRequests) String() string
- type UpdateV3BadRequest
- func (o *UpdateV3BadRequest) Code() int
- func (o *UpdateV3BadRequest) Error() string
- func (o *UpdateV3BadRequest) GetPayload() *models.DetectsapiResponseFields
- func (o *UpdateV3BadRequest) IsClientError() bool
- func (o *UpdateV3BadRequest) IsCode(code int) bool
- func (o *UpdateV3BadRequest) IsRedirect() bool
- func (o *UpdateV3BadRequest) IsServerError() bool
- func (o *UpdateV3BadRequest) IsSuccess() bool
- func (o *UpdateV3BadRequest) String() string
- type UpdateV3Forbidden
- func (o *UpdateV3Forbidden) Code() int
- func (o *UpdateV3Forbidden) Error() string
- func (o *UpdateV3Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateV3Forbidden) IsClientError() bool
- func (o *UpdateV3Forbidden) IsCode(code int) bool
- func (o *UpdateV3Forbidden) IsRedirect() bool
- func (o *UpdateV3Forbidden) IsServerError() bool
- func (o *UpdateV3Forbidden) IsSuccess() bool
- func (o *UpdateV3Forbidden) String() string
- type UpdateV3InternalServerError
- func (o *UpdateV3InternalServerError) Code() int
- func (o *UpdateV3InternalServerError) Error() string
- func (o *UpdateV3InternalServerError) GetPayload() *models.DetectsapiResponseFields
- func (o *UpdateV3InternalServerError) IsClientError() bool
- func (o *UpdateV3InternalServerError) IsCode(code int) bool
- func (o *UpdateV3InternalServerError) IsRedirect() bool
- func (o *UpdateV3InternalServerError) IsServerError() bool
- func (o *UpdateV3InternalServerError) IsSuccess() bool
- func (o *UpdateV3InternalServerError) String() string
- type UpdateV3OK
- func (o *UpdateV3OK) Code() int
- func (o *UpdateV3OK) Error() string
- func (o *UpdateV3OK) GetPayload() *models.DetectsapiResponseFields
- func (o *UpdateV3OK) IsClientError() bool
- func (o *UpdateV3OK) IsCode(code int) bool
- func (o *UpdateV3OK) IsRedirect() bool
- func (o *UpdateV3OK) IsServerError() bool
- func (o *UpdateV3OK) IsSuccess() bool
- func (o *UpdateV3OK) String() string
- type UpdateV3Params
- func (o *UpdateV3Params) SetBody(body *models.DetectsapiPatchEntitiesAlertsV3Request)
- func (o *UpdateV3Params) SetContext(ctx context.Context)
- func (o *UpdateV3Params) SetDefaults()
- func (o *UpdateV3Params) SetHTTPClient(client *http.Client)
- func (o *UpdateV3Params) SetIncludeHidden(includeHidden *bool)
- func (o *UpdateV3Params) SetTimeout(timeout time.Duration)
- func (o *UpdateV3Params) WithBody(body *models.DetectsapiPatchEntitiesAlertsV3Request) *UpdateV3Params
- func (o *UpdateV3Params) WithContext(ctx context.Context) *UpdateV3Params
- func (o *UpdateV3Params) WithDefaults() *UpdateV3Params
- func (o *UpdateV3Params) WithHTTPClient(client *http.Client) *UpdateV3Params
- func (o *UpdateV3Params) WithIncludeHidden(includeHidden *bool) *UpdateV3Params
- func (o *UpdateV3Params) WithTimeout(timeout time.Duration) *UpdateV3Params
- func (o *UpdateV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateV3Reader
- type UpdateV3TooManyRequests
- func (o *UpdateV3TooManyRequests) Code() int
- func (o *UpdateV3TooManyRequests) Error() string
- func (o *UpdateV3TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UpdateV3TooManyRequests) IsClientError() bool
- func (o *UpdateV3TooManyRequests) IsCode(code int) bool
- func (o *UpdateV3TooManyRequests) IsRedirect() bool
- func (o *UpdateV3TooManyRequests) IsServerError() bool
- func (o *UpdateV3TooManyRequests) IsSuccess() bool
- func (o *UpdateV3TooManyRequests) 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 alerts API
func (*Client) GetAggregateV2 ¶
func (a *Client) GetAggregateV2(params *GetAggregateV2Params, opts ...ClientOption) (*GetAggregateV2OK, error)
GetAggregateV2 retrieves aggregate values for alerts across all c i ds
func (*Client) GetQueriesAlertsV1 ¶
func (a *Client) GetQueriesAlertsV1(params *GetQueriesAlertsV1Params, opts ...ClientOption) (*GetQueriesAlertsV1OK, error)
GetQueriesAlertsV1 retrieves all alerts ids that match a given query
func (*Client) GetV2 ¶
func (a *Client) GetV2(params *GetV2Params, opts ...ClientOption) (*GetV2OK, error)
GetV2 retrieves all alerts given their composite ids
func (*Client) PatchEntitiesAlertsV2 ¶
func (a *Client) PatchEntitiesAlertsV2(params *PatchEntitiesAlertsV2Params, opts ...ClientOption) (*PatchEntitiesAlertsV2OK, error)
PatchEntitiesAlertsV2 performs actions on alerts identified by composite ID s in request each action has a name and a description which describes what the action does if a request adds and removes tag in a single request the order of processing would be to remove tags before adding new ones in
func (*Client) PostAggregatesAlertsV1 ¶
func (a *Client) PostAggregatesAlertsV1(params *PostAggregatesAlertsV1Params, opts ...ClientOption) (*PostAggregatesAlertsV1OK, error)
PostAggregatesAlertsV1 retrieves aggregate values for alerts across all c i ds
func (*Client) PostEntitiesAlertsV1 ¶
func (a *Client) PostEntitiesAlertsV1(params *PostEntitiesAlertsV1Params, opts ...ClientOption) (*PostEntitiesAlertsV1OK, error)
PostEntitiesAlertsV1 retrieves all alerts given their ids
func (*Client) QueryV2 ¶
func (a *Client) QueryV2(params *QueryV2Params, opts ...ClientOption) (*QueryV2OK, error)
QueryV2 retrieves all alerts ids that match a given query
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateV3 ¶
func (a *Client) UpdateV3(params *UpdateV3Params, opts ...ClientOption) (*UpdateV3OK, error)
UpdateV3 performs actions on alerts identified by composite ID s in request each action has a name and a description which describes what the action does if a request adds and removes tag in a single request the order of processing would be to remove tags before adding new ones in
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAggregateV2(params *GetAggregateV2Params, opts ...ClientOption) (*GetAggregateV2OK, error) GetQueriesAlertsV1(params *GetQueriesAlertsV1Params, opts ...ClientOption) (*GetQueriesAlertsV1OK, error) GetV2(params *GetV2Params, opts ...ClientOption) (*GetV2OK, error) PatchEntitiesAlertsV2(params *PatchEntitiesAlertsV2Params, opts ...ClientOption) (*PatchEntitiesAlertsV2OK, error) PostAggregatesAlertsV1(params *PostAggregatesAlertsV1Params, opts ...ClientOption) (*PostAggregatesAlertsV1OK, error) PostEntitiesAlertsV1(params *PostEntitiesAlertsV1Params, opts ...ClientOption) (*PostEntitiesAlertsV1OK, error) QueryV2(params *QueryV2Params, opts ...ClientOption) (*QueryV2OK, error) UpdateV3(params *UpdateV3Params, opts ...ClientOption) (*UpdateV3OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new alerts API client.
type GetAggregateV2BadRequest ¶
type GetAggregateV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAggregatesResponse }
GetAggregateV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAggregateV2BadRequest ¶
func NewGetAggregateV2BadRequest() *GetAggregateV2BadRequest
NewGetAggregateV2BadRequest creates a GetAggregateV2BadRequest with default headers values
func (*GetAggregateV2BadRequest) Code ¶
func (o *GetAggregateV2BadRequest) Code() int
Code gets the status code for the get aggregate v2 bad request response
func (*GetAggregateV2BadRequest) Error ¶
func (o *GetAggregateV2BadRequest) Error() string
func (*GetAggregateV2BadRequest) GetPayload ¶
func (o *GetAggregateV2BadRequest) GetPayload() *models.DetectsapiAggregatesResponse
func (*GetAggregateV2BadRequest) IsClientError ¶
func (o *GetAggregateV2BadRequest) IsClientError() bool
IsClientError returns true when this get aggregate v2 bad request response has a 4xx status code
func (*GetAggregateV2BadRequest) IsCode ¶
func (o *GetAggregateV2BadRequest) IsCode(code int) bool
IsCode returns true when this get aggregate v2 bad request response a status code equal to that given
func (*GetAggregateV2BadRequest) IsRedirect ¶
func (o *GetAggregateV2BadRequest) IsRedirect() bool
IsRedirect returns true when this get aggregate v2 bad request response has a 3xx status code
func (*GetAggregateV2BadRequest) IsServerError ¶
func (o *GetAggregateV2BadRequest) IsServerError() bool
IsServerError returns true when this get aggregate v2 bad request response has a 5xx status code
func (*GetAggregateV2BadRequest) IsSuccess ¶
func (o *GetAggregateV2BadRequest) IsSuccess() bool
IsSuccess returns true when this get aggregate v2 bad request response has a 2xx status code
func (*GetAggregateV2BadRequest) String ¶
func (o *GetAggregateV2BadRequest) String() string
type GetAggregateV2Forbidden ¶
type GetAggregateV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetAggregateV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAggregateV2Forbidden ¶
func NewGetAggregateV2Forbidden() *GetAggregateV2Forbidden
NewGetAggregateV2Forbidden creates a GetAggregateV2Forbidden with default headers values
func (*GetAggregateV2Forbidden) Code ¶
func (o *GetAggregateV2Forbidden) Code() int
Code gets the status code for the get aggregate v2 forbidden response
func (*GetAggregateV2Forbidden) Error ¶
func (o *GetAggregateV2Forbidden) Error() string
func (*GetAggregateV2Forbidden) GetPayload ¶
func (o *GetAggregateV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetAggregateV2Forbidden) IsClientError ¶
func (o *GetAggregateV2Forbidden) IsClientError() bool
IsClientError returns true when this get aggregate v2 forbidden response has a 4xx status code
func (*GetAggregateV2Forbidden) IsCode ¶
func (o *GetAggregateV2Forbidden) IsCode(code int) bool
IsCode returns true when this get aggregate v2 forbidden response a status code equal to that given
func (*GetAggregateV2Forbidden) IsRedirect ¶
func (o *GetAggregateV2Forbidden) IsRedirect() bool
IsRedirect returns true when this get aggregate v2 forbidden response has a 3xx status code
func (*GetAggregateV2Forbidden) IsServerError ¶
func (o *GetAggregateV2Forbidden) IsServerError() bool
IsServerError returns true when this get aggregate v2 forbidden response has a 5xx status code
func (*GetAggregateV2Forbidden) IsSuccess ¶
func (o *GetAggregateV2Forbidden) IsSuccess() bool
IsSuccess returns true when this get aggregate v2 forbidden response has a 2xx status code
func (*GetAggregateV2Forbidden) String ¶
func (o *GetAggregateV2Forbidden) String() string
type GetAggregateV2InternalServerError ¶
type GetAggregateV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAggregatesResponse }
GetAggregateV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAggregateV2InternalServerError ¶
func NewGetAggregateV2InternalServerError() *GetAggregateV2InternalServerError
NewGetAggregateV2InternalServerError creates a GetAggregateV2InternalServerError with default headers values
func (*GetAggregateV2InternalServerError) Code ¶
func (o *GetAggregateV2InternalServerError) Code() int
Code gets the status code for the get aggregate v2 internal server error response
func (*GetAggregateV2InternalServerError) Error ¶
func (o *GetAggregateV2InternalServerError) Error() string
func (*GetAggregateV2InternalServerError) GetPayload ¶
func (o *GetAggregateV2InternalServerError) GetPayload() *models.DetectsapiAggregatesResponse
func (*GetAggregateV2InternalServerError) IsClientError ¶
func (o *GetAggregateV2InternalServerError) IsClientError() bool
IsClientError returns true when this get aggregate v2 internal server error response has a 4xx status code
func (*GetAggregateV2InternalServerError) IsCode ¶
func (o *GetAggregateV2InternalServerError) IsCode(code int) bool
IsCode returns true when this get aggregate v2 internal server error response a status code equal to that given
func (*GetAggregateV2InternalServerError) IsRedirect ¶
func (o *GetAggregateV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this get aggregate v2 internal server error response has a 3xx status code
func (*GetAggregateV2InternalServerError) IsServerError ¶
func (o *GetAggregateV2InternalServerError) IsServerError() bool
IsServerError returns true when this get aggregate v2 internal server error response has a 5xx status code
func (*GetAggregateV2InternalServerError) IsSuccess ¶
func (o *GetAggregateV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this get aggregate v2 internal server error response has a 2xx status code
func (*GetAggregateV2InternalServerError) String ¶
func (o *GetAggregateV2InternalServerError) String() string
type GetAggregateV2OK ¶
type GetAggregateV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAggregatesResponse }
GetAggregateV2OK describes a response with status code 200, with default header values.
OK
func NewGetAggregateV2OK ¶
func NewGetAggregateV2OK() *GetAggregateV2OK
NewGetAggregateV2OK creates a GetAggregateV2OK with default headers values
func (*GetAggregateV2OK) Code ¶
func (o *GetAggregateV2OK) Code() int
Code gets the status code for the get aggregate v2 o k response
func (*GetAggregateV2OK) Error ¶
func (o *GetAggregateV2OK) Error() string
func (*GetAggregateV2OK) GetPayload ¶
func (o *GetAggregateV2OK) GetPayload() *models.DetectsapiAggregatesResponse
func (*GetAggregateV2OK) IsClientError ¶
func (o *GetAggregateV2OK) IsClientError() bool
IsClientError returns true when this get aggregate v2 o k response has a 4xx status code
func (*GetAggregateV2OK) IsCode ¶
func (o *GetAggregateV2OK) IsCode(code int) bool
IsCode returns true when this get aggregate v2 o k response a status code equal to that given
func (*GetAggregateV2OK) IsRedirect ¶
func (o *GetAggregateV2OK) IsRedirect() bool
IsRedirect returns true when this get aggregate v2 o k response has a 3xx status code
func (*GetAggregateV2OK) IsServerError ¶
func (o *GetAggregateV2OK) IsServerError() bool
IsServerError returns true when this get aggregate v2 o k response has a 5xx status code
func (*GetAggregateV2OK) IsSuccess ¶
func (o *GetAggregateV2OK) IsSuccess() bool
IsSuccess returns true when this get aggregate v2 o k response has a 2xx status code
func (*GetAggregateV2OK) String ¶
func (o *GetAggregateV2OK) String() string
type GetAggregateV2Params ¶
type GetAggregateV2Params struct { /* Body. request body takes a list of aggregate-alert query requests */ Body []*models.DetectsapiAggregateAlertQueryRequest /* IncludeHidden. allows previously hidden alerts to be retrieved Default: true */ IncludeHidden *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAggregateV2Params contains all the parameters to send to the API endpoint
for the get aggregate v2 operation. Typically these are written to a http.Request.
func NewGetAggregateV2Params ¶
func NewGetAggregateV2Params() *GetAggregateV2Params
NewGetAggregateV2Params creates a new GetAggregateV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAggregateV2ParamsWithContext ¶
func NewGetAggregateV2ParamsWithContext(ctx context.Context) *GetAggregateV2Params
NewGetAggregateV2ParamsWithContext creates a new GetAggregateV2Params object with the ability to set a context for a request.
func NewGetAggregateV2ParamsWithHTTPClient ¶
func NewGetAggregateV2ParamsWithHTTPClient(client *http.Client) *GetAggregateV2Params
NewGetAggregateV2ParamsWithHTTPClient creates a new GetAggregateV2Params object with the ability to set a custom HTTPClient for a request.
func NewGetAggregateV2ParamsWithTimeout ¶
func NewGetAggregateV2ParamsWithTimeout(timeout time.Duration) *GetAggregateV2Params
NewGetAggregateV2ParamsWithTimeout creates a new GetAggregateV2Params object with the ability to set a timeout on a request.
func (*GetAggregateV2Params) SetBody ¶
func (o *GetAggregateV2Params) SetBody(body []*models.DetectsapiAggregateAlertQueryRequest)
SetBody adds the body to the get aggregate v2 params
func (*GetAggregateV2Params) SetContext ¶
func (o *GetAggregateV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get aggregate v2 params
func (*GetAggregateV2Params) SetDefaults ¶
func (o *GetAggregateV2Params) SetDefaults()
SetDefaults hydrates default values in the get aggregate v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAggregateV2Params) SetHTTPClient ¶
func (o *GetAggregateV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get aggregate v2 params
func (*GetAggregateV2Params) SetIncludeHidden ¶
func (o *GetAggregateV2Params) SetIncludeHidden(includeHidden *bool)
SetIncludeHidden adds the includeHidden to the get aggregate v2 params
func (*GetAggregateV2Params) SetTimeout ¶
func (o *GetAggregateV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get aggregate v2 params
func (*GetAggregateV2Params) WithBody ¶
func (o *GetAggregateV2Params) WithBody(body []*models.DetectsapiAggregateAlertQueryRequest) *GetAggregateV2Params
WithBody adds the body to the get aggregate v2 params
func (*GetAggregateV2Params) WithContext ¶
func (o *GetAggregateV2Params) WithContext(ctx context.Context) *GetAggregateV2Params
WithContext adds the context to the get aggregate v2 params
func (*GetAggregateV2Params) WithDefaults ¶
func (o *GetAggregateV2Params) WithDefaults() *GetAggregateV2Params
WithDefaults hydrates default values in the get aggregate v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAggregateV2Params) WithHTTPClient ¶
func (o *GetAggregateV2Params) WithHTTPClient(client *http.Client) *GetAggregateV2Params
WithHTTPClient adds the HTTPClient to the get aggregate v2 params
func (*GetAggregateV2Params) WithIncludeHidden ¶
func (o *GetAggregateV2Params) WithIncludeHidden(includeHidden *bool) *GetAggregateV2Params
WithIncludeHidden adds the includeHidden to the get aggregate v2 params
func (*GetAggregateV2Params) WithTimeout ¶
func (o *GetAggregateV2Params) WithTimeout(timeout time.Duration) *GetAggregateV2Params
WithTimeout adds the timeout to the get aggregate v2 params
func (*GetAggregateV2Params) WriteToRequest ¶
func (o *GetAggregateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAggregateV2Reader ¶
type GetAggregateV2Reader struct {
// contains filtered or unexported fields
}
GetAggregateV2Reader is a Reader for the GetAggregateV2 structure.
func (*GetAggregateV2Reader) ReadResponse ¶
func (o *GetAggregateV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAggregateV2TooManyRequests ¶
type GetAggregateV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetAggregateV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAggregateV2TooManyRequests ¶
func NewGetAggregateV2TooManyRequests() *GetAggregateV2TooManyRequests
NewGetAggregateV2TooManyRequests creates a GetAggregateV2TooManyRequests with default headers values
func (*GetAggregateV2TooManyRequests) Code ¶
func (o *GetAggregateV2TooManyRequests) Code() int
Code gets the status code for the get aggregate v2 too many requests response
func (*GetAggregateV2TooManyRequests) Error ¶
func (o *GetAggregateV2TooManyRequests) Error() string
func (*GetAggregateV2TooManyRequests) GetPayload ¶
func (o *GetAggregateV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetAggregateV2TooManyRequests) IsClientError ¶
func (o *GetAggregateV2TooManyRequests) IsClientError() bool
IsClientError returns true when this get aggregate v2 too many requests response has a 4xx status code
func (*GetAggregateV2TooManyRequests) IsCode ¶
func (o *GetAggregateV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this get aggregate v2 too many requests response a status code equal to that given
func (*GetAggregateV2TooManyRequests) IsRedirect ¶
func (o *GetAggregateV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get aggregate v2 too many requests response has a 3xx status code
func (*GetAggregateV2TooManyRequests) IsServerError ¶
func (o *GetAggregateV2TooManyRequests) IsServerError() bool
IsServerError returns true when this get aggregate v2 too many requests response has a 5xx status code
func (*GetAggregateV2TooManyRequests) IsSuccess ¶
func (o *GetAggregateV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get aggregate v2 too many requests response has a 2xx status code
func (*GetAggregateV2TooManyRequests) String ¶
func (o *GetAggregateV2TooManyRequests) String() string
type GetQueriesAlertsV1BadRequest ¶
type GetQueriesAlertsV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAlertQueryResponse }
GetQueriesAlertsV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetQueriesAlertsV1BadRequest ¶
func NewGetQueriesAlertsV1BadRequest() *GetQueriesAlertsV1BadRequest
NewGetQueriesAlertsV1BadRequest creates a GetQueriesAlertsV1BadRequest with default headers values
func (*GetQueriesAlertsV1BadRequest) Code ¶
func (o *GetQueriesAlertsV1BadRequest) Code() int
Code gets the status code for the get queries alerts v1 bad request response
func (*GetQueriesAlertsV1BadRequest) Error ¶
func (o *GetQueriesAlertsV1BadRequest) Error() string
func (*GetQueriesAlertsV1BadRequest) GetPayload ¶
func (o *GetQueriesAlertsV1BadRequest) GetPayload() *models.DetectsapiAlertQueryResponse
func (*GetQueriesAlertsV1BadRequest) IsClientError ¶
func (o *GetQueriesAlertsV1BadRequest) IsClientError() bool
IsClientError returns true when this get queries alerts v1 bad request response has a 4xx status code
func (*GetQueriesAlertsV1BadRequest) IsCode ¶
func (o *GetQueriesAlertsV1BadRequest) IsCode(code int) bool
IsCode returns true when this get queries alerts v1 bad request response a status code equal to that given
func (*GetQueriesAlertsV1BadRequest) IsRedirect ¶
func (o *GetQueriesAlertsV1BadRequest) IsRedirect() bool
IsRedirect returns true when this get queries alerts v1 bad request response has a 3xx status code
func (*GetQueriesAlertsV1BadRequest) IsServerError ¶
func (o *GetQueriesAlertsV1BadRequest) IsServerError() bool
IsServerError returns true when this get queries alerts v1 bad request response has a 5xx status code
func (*GetQueriesAlertsV1BadRequest) IsSuccess ¶
func (o *GetQueriesAlertsV1BadRequest) IsSuccess() bool
IsSuccess returns true when this get queries alerts v1 bad request response has a 2xx status code
func (*GetQueriesAlertsV1BadRequest) String ¶
func (o *GetQueriesAlertsV1BadRequest) String() string
type GetQueriesAlertsV1Forbidden ¶
type GetQueriesAlertsV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetQueriesAlertsV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetQueriesAlertsV1Forbidden ¶
func NewGetQueriesAlertsV1Forbidden() *GetQueriesAlertsV1Forbidden
NewGetQueriesAlertsV1Forbidden creates a GetQueriesAlertsV1Forbidden with default headers values
func (*GetQueriesAlertsV1Forbidden) Code ¶
func (o *GetQueriesAlertsV1Forbidden) Code() int
Code gets the status code for the get queries alerts v1 forbidden response
func (*GetQueriesAlertsV1Forbidden) Error ¶
func (o *GetQueriesAlertsV1Forbidden) Error() string
func (*GetQueriesAlertsV1Forbidden) GetPayload ¶
func (o *GetQueriesAlertsV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetQueriesAlertsV1Forbidden) IsClientError ¶
func (o *GetQueriesAlertsV1Forbidden) IsClientError() bool
IsClientError returns true when this get queries alerts v1 forbidden response has a 4xx status code
func (*GetQueriesAlertsV1Forbidden) IsCode ¶
func (o *GetQueriesAlertsV1Forbidden) IsCode(code int) bool
IsCode returns true when this get queries alerts v1 forbidden response a status code equal to that given
func (*GetQueriesAlertsV1Forbidden) IsRedirect ¶
func (o *GetQueriesAlertsV1Forbidden) IsRedirect() bool
IsRedirect returns true when this get queries alerts v1 forbidden response has a 3xx status code
func (*GetQueriesAlertsV1Forbidden) IsServerError ¶
func (o *GetQueriesAlertsV1Forbidden) IsServerError() bool
IsServerError returns true when this get queries alerts v1 forbidden response has a 5xx status code
func (*GetQueriesAlertsV1Forbidden) IsSuccess ¶
func (o *GetQueriesAlertsV1Forbidden) IsSuccess() bool
IsSuccess returns true when this get queries alerts v1 forbidden response has a 2xx status code
func (*GetQueriesAlertsV1Forbidden) String ¶
func (o *GetQueriesAlertsV1Forbidden) String() string
type GetQueriesAlertsV1InternalServerError ¶
type GetQueriesAlertsV1InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAlertQueryResponse }
GetQueriesAlertsV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetQueriesAlertsV1InternalServerError ¶
func NewGetQueriesAlertsV1InternalServerError() *GetQueriesAlertsV1InternalServerError
NewGetQueriesAlertsV1InternalServerError creates a GetQueriesAlertsV1InternalServerError with default headers values
func (*GetQueriesAlertsV1InternalServerError) Code ¶
func (o *GetQueriesAlertsV1InternalServerError) Code() int
Code gets the status code for the get queries alerts v1 internal server error response
func (*GetQueriesAlertsV1InternalServerError) Error ¶
func (o *GetQueriesAlertsV1InternalServerError) Error() string
func (*GetQueriesAlertsV1InternalServerError) GetPayload ¶
func (o *GetQueriesAlertsV1InternalServerError) GetPayload() *models.DetectsapiAlertQueryResponse
func (*GetQueriesAlertsV1InternalServerError) IsClientError ¶
func (o *GetQueriesAlertsV1InternalServerError) IsClientError() bool
IsClientError returns true when this get queries alerts v1 internal server error response has a 4xx status code
func (*GetQueriesAlertsV1InternalServerError) IsCode ¶
func (o *GetQueriesAlertsV1InternalServerError) IsCode(code int) bool
IsCode returns true when this get queries alerts v1 internal server error response a status code equal to that given
func (*GetQueriesAlertsV1InternalServerError) IsRedirect ¶
func (o *GetQueriesAlertsV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this get queries alerts v1 internal server error response has a 3xx status code
func (*GetQueriesAlertsV1InternalServerError) IsServerError ¶
func (o *GetQueriesAlertsV1InternalServerError) IsServerError() bool
IsServerError returns true when this get queries alerts v1 internal server error response has a 5xx status code
func (*GetQueriesAlertsV1InternalServerError) IsSuccess ¶
func (o *GetQueriesAlertsV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this get queries alerts v1 internal server error response has a 2xx status code
func (*GetQueriesAlertsV1InternalServerError) String ¶
func (o *GetQueriesAlertsV1InternalServerError) String() string
type GetQueriesAlertsV1OK ¶
type GetQueriesAlertsV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAlertQueryResponse }
GetQueriesAlertsV1OK describes a response with status code 200, with default header values.
OK
func NewGetQueriesAlertsV1OK ¶
func NewGetQueriesAlertsV1OK() *GetQueriesAlertsV1OK
NewGetQueriesAlertsV1OK creates a GetQueriesAlertsV1OK with default headers values
func (*GetQueriesAlertsV1OK) Code ¶
func (o *GetQueriesAlertsV1OK) Code() int
Code gets the status code for the get queries alerts v1 o k response
func (*GetQueriesAlertsV1OK) Error ¶
func (o *GetQueriesAlertsV1OK) Error() string
func (*GetQueriesAlertsV1OK) GetPayload ¶
func (o *GetQueriesAlertsV1OK) GetPayload() *models.DetectsapiAlertQueryResponse
func (*GetQueriesAlertsV1OK) IsClientError ¶
func (o *GetQueriesAlertsV1OK) IsClientError() bool
IsClientError returns true when this get queries alerts v1 o k response has a 4xx status code
func (*GetQueriesAlertsV1OK) IsCode ¶
func (o *GetQueriesAlertsV1OK) IsCode(code int) bool
IsCode returns true when this get queries alerts v1 o k response a status code equal to that given
func (*GetQueriesAlertsV1OK) IsRedirect ¶
func (o *GetQueriesAlertsV1OK) IsRedirect() bool
IsRedirect returns true when this get queries alerts v1 o k response has a 3xx status code
func (*GetQueriesAlertsV1OK) IsServerError ¶
func (o *GetQueriesAlertsV1OK) IsServerError() bool
IsServerError returns true when this get queries alerts v1 o k response has a 5xx status code
func (*GetQueriesAlertsV1OK) IsSuccess ¶
func (o *GetQueriesAlertsV1OK) IsSuccess() bool
IsSuccess returns true when this get queries alerts v1 o k response has a 2xx status code
func (*GetQueriesAlertsV1OK) String ¶
func (o *GetQueriesAlertsV1OK) String() string
type GetQueriesAlertsV1Params ¶
type GetQueriesAlertsV1Params struct { /* Filter. Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql). */ Filter *string /* Limit. The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results. */ Limit *int64 /* Offset. The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results. */ Offset *int64 /* Q. Search all detection metadata for the provided string */ Q *string /* Sort. Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags If the fields are missing from the Alerts, the service will fallback to its default ordering */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetQueriesAlertsV1Params contains all the parameters to send to the API endpoint
for the get queries alerts v1 operation. Typically these are written to a http.Request.
func NewGetQueriesAlertsV1Params ¶
func NewGetQueriesAlertsV1Params() *GetQueriesAlertsV1Params
NewGetQueriesAlertsV1Params creates a new GetQueriesAlertsV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetQueriesAlertsV1ParamsWithContext ¶
func NewGetQueriesAlertsV1ParamsWithContext(ctx context.Context) *GetQueriesAlertsV1Params
NewGetQueriesAlertsV1ParamsWithContext creates a new GetQueriesAlertsV1Params object with the ability to set a context for a request.
func NewGetQueriesAlertsV1ParamsWithHTTPClient ¶
func NewGetQueriesAlertsV1ParamsWithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params
NewGetQueriesAlertsV1ParamsWithHTTPClient creates a new GetQueriesAlertsV1Params object with the ability to set a custom HTTPClient for a request.
func NewGetQueriesAlertsV1ParamsWithTimeout ¶
func NewGetQueriesAlertsV1ParamsWithTimeout(timeout time.Duration) *GetQueriesAlertsV1Params
NewGetQueriesAlertsV1ParamsWithTimeout creates a new GetQueriesAlertsV1Params object with the ability to set a timeout on a request.
func (*GetQueriesAlertsV1Params) SetContext ¶
func (o *GetQueriesAlertsV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetDefaults ¶
func (o *GetQueriesAlertsV1Params) SetDefaults()
SetDefaults hydrates default values in the get queries alerts v1 params (not the query body).
All values with no default are reset to their zero value.
func (*GetQueriesAlertsV1Params) SetFilter ¶
func (o *GetQueriesAlertsV1Params) SetFilter(filter *string)
SetFilter adds the filter to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetHTTPClient ¶
func (o *GetQueriesAlertsV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetLimit ¶
func (o *GetQueriesAlertsV1Params) SetLimit(limit *int64)
SetLimit adds the limit to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetOffset ¶
func (o *GetQueriesAlertsV1Params) SetOffset(offset *int64)
SetOffset adds the offset to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetQ ¶
func (o *GetQueriesAlertsV1Params) SetQ(q *string)
SetQ adds the q to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetSort ¶
func (o *GetQueriesAlertsV1Params) SetSort(sort *string)
SetSort adds the sort to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) SetTimeout ¶
func (o *GetQueriesAlertsV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithContext ¶
func (o *GetQueriesAlertsV1Params) WithContext(ctx context.Context) *GetQueriesAlertsV1Params
WithContext adds the context to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithDefaults ¶
func (o *GetQueriesAlertsV1Params) WithDefaults() *GetQueriesAlertsV1Params
WithDefaults hydrates default values in the get queries alerts v1 params (not the query body).
All values with no default are reset to their zero value.
func (*GetQueriesAlertsV1Params) WithFilter ¶
func (o *GetQueriesAlertsV1Params) WithFilter(filter *string) *GetQueriesAlertsV1Params
WithFilter adds the filter to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithHTTPClient ¶
func (o *GetQueriesAlertsV1Params) WithHTTPClient(client *http.Client) *GetQueriesAlertsV1Params
WithHTTPClient adds the HTTPClient to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithLimit ¶
func (o *GetQueriesAlertsV1Params) WithLimit(limit *int64) *GetQueriesAlertsV1Params
WithLimit adds the limit to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithOffset ¶
func (o *GetQueriesAlertsV1Params) WithOffset(offset *int64) *GetQueriesAlertsV1Params
WithOffset adds the offset to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithQ ¶
func (o *GetQueriesAlertsV1Params) WithQ(q *string) *GetQueriesAlertsV1Params
WithQ adds the q to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithSort ¶
func (o *GetQueriesAlertsV1Params) WithSort(sort *string) *GetQueriesAlertsV1Params
WithSort adds the sort to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WithTimeout ¶
func (o *GetQueriesAlertsV1Params) WithTimeout(timeout time.Duration) *GetQueriesAlertsV1Params
WithTimeout adds the timeout to the get queries alerts v1 params
func (*GetQueriesAlertsV1Params) WriteToRequest ¶
func (o *GetQueriesAlertsV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetQueriesAlertsV1Reader ¶
type GetQueriesAlertsV1Reader struct {
// contains filtered or unexported fields
}
GetQueriesAlertsV1Reader is a Reader for the GetQueriesAlertsV1 structure.
func (*GetQueriesAlertsV1Reader) ReadResponse ¶
func (o *GetQueriesAlertsV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetQueriesAlertsV1TooManyRequests ¶
type GetQueriesAlertsV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetQueriesAlertsV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetQueriesAlertsV1TooManyRequests ¶
func NewGetQueriesAlertsV1TooManyRequests() *GetQueriesAlertsV1TooManyRequests
NewGetQueriesAlertsV1TooManyRequests creates a GetQueriesAlertsV1TooManyRequests with default headers values
func (*GetQueriesAlertsV1TooManyRequests) Code ¶
func (o *GetQueriesAlertsV1TooManyRequests) Code() int
Code gets the status code for the get queries alerts v1 too many requests response
func (*GetQueriesAlertsV1TooManyRequests) Error ¶
func (o *GetQueriesAlertsV1TooManyRequests) Error() string
func (*GetQueriesAlertsV1TooManyRequests) GetPayload ¶
func (o *GetQueriesAlertsV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetQueriesAlertsV1TooManyRequests) IsClientError ¶
func (o *GetQueriesAlertsV1TooManyRequests) IsClientError() bool
IsClientError returns true when this get queries alerts v1 too many requests response has a 4xx status code
func (*GetQueriesAlertsV1TooManyRequests) IsCode ¶
func (o *GetQueriesAlertsV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this get queries alerts v1 too many requests response a status code equal to that given
func (*GetQueriesAlertsV1TooManyRequests) IsRedirect ¶
func (o *GetQueriesAlertsV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get queries alerts v1 too many requests response has a 3xx status code
func (*GetQueriesAlertsV1TooManyRequests) IsServerError ¶
func (o *GetQueriesAlertsV1TooManyRequests) IsServerError() bool
IsServerError returns true when this get queries alerts v1 too many requests response has a 5xx status code
func (*GetQueriesAlertsV1TooManyRequests) IsSuccess ¶
func (o *GetQueriesAlertsV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get queries alerts v1 too many requests response has a 2xx status code
func (*GetQueriesAlertsV1TooManyRequests) String ¶
func (o *GetQueriesAlertsV1TooManyRequests) String() string
type GetV2BadRequest ¶
type GetV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiPostEntitiesAlertsV2Response }
GetV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetV2BadRequest ¶
func NewGetV2BadRequest() *GetV2BadRequest
NewGetV2BadRequest creates a GetV2BadRequest with default headers values
func (*GetV2BadRequest) Code ¶
func (o *GetV2BadRequest) Code() int
Code gets the status code for the get v2 bad request response
func (*GetV2BadRequest) Error ¶
func (o *GetV2BadRequest) Error() string
func (*GetV2BadRequest) GetPayload ¶
func (o *GetV2BadRequest) GetPayload() *models.DetectsapiPostEntitiesAlertsV2Response
func (*GetV2BadRequest) IsClientError ¶
func (o *GetV2BadRequest) IsClientError() bool
IsClientError returns true when this get v2 bad request response has a 4xx status code
func (*GetV2BadRequest) IsCode ¶
func (o *GetV2BadRequest) IsCode(code int) bool
IsCode returns true when this get v2 bad request response a status code equal to that given
func (*GetV2BadRequest) IsRedirect ¶
func (o *GetV2BadRequest) IsRedirect() bool
IsRedirect returns true when this get v2 bad request response has a 3xx status code
func (*GetV2BadRequest) IsServerError ¶
func (o *GetV2BadRequest) IsServerError() bool
IsServerError returns true when this get v2 bad request response has a 5xx status code
func (*GetV2BadRequest) IsSuccess ¶
func (o *GetV2BadRequest) IsSuccess() bool
IsSuccess returns true when this get v2 bad request response has a 2xx status code
func (*GetV2BadRequest) String ¶
func (o *GetV2BadRequest) String() string
type GetV2Forbidden ¶
type GetV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetV2Forbidden ¶
func NewGetV2Forbidden() *GetV2Forbidden
NewGetV2Forbidden creates a GetV2Forbidden with default headers values
func (*GetV2Forbidden) Code ¶
func (o *GetV2Forbidden) Code() int
Code gets the status code for the get v2 forbidden response
func (*GetV2Forbidden) Error ¶
func (o *GetV2Forbidden) Error() string
func (*GetV2Forbidden) GetPayload ¶
func (o *GetV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetV2Forbidden) IsClientError ¶
func (o *GetV2Forbidden) IsClientError() bool
IsClientError returns true when this get v2 forbidden response has a 4xx status code
func (*GetV2Forbidden) IsCode ¶
func (o *GetV2Forbidden) IsCode(code int) bool
IsCode returns true when this get v2 forbidden response a status code equal to that given
func (*GetV2Forbidden) IsRedirect ¶
func (o *GetV2Forbidden) IsRedirect() bool
IsRedirect returns true when this get v2 forbidden response has a 3xx status code
func (*GetV2Forbidden) IsServerError ¶
func (o *GetV2Forbidden) IsServerError() bool
IsServerError returns true when this get v2 forbidden response has a 5xx status code
func (*GetV2Forbidden) IsSuccess ¶
func (o *GetV2Forbidden) IsSuccess() bool
IsSuccess returns true when this get v2 forbidden response has a 2xx status code
func (*GetV2Forbidden) String ¶
func (o *GetV2Forbidden) String() string
type GetV2InternalServerError ¶
type GetV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiPostEntitiesAlertsV2Response }
GetV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetV2InternalServerError ¶
func NewGetV2InternalServerError() *GetV2InternalServerError
NewGetV2InternalServerError creates a GetV2InternalServerError with default headers values
func (*GetV2InternalServerError) Code ¶
func (o *GetV2InternalServerError) Code() int
Code gets the status code for the get v2 internal server error response
func (*GetV2InternalServerError) Error ¶
func (o *GetV2InternalServerError) Error() string
func (*GetV2InternalServerError) GetPayload ¶
func (o *GetV2InternalServerError) GetPayload() *models.DetectsapiPostEntitiesAlertsV2Response
func (*GetV2InternalServerError) IsClientError ¶
func (o *GetV2InternalServerError) IsClientError() bool
IsClientError returns true when this get v2 internal server error response has a 4xx status code
func (*GetV2InternalServerError) IsCode ¶
func (o *GetV2InternalServerError) IsCode(code int) bool
IsCode returns true when this get v2 internal server error response a status code equal to that given
func (*GetV2InternalServerError) IsRedirect ¶
func (o *GetV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this get v2 internal server error response has a 3xx status code
func (*GetV2InternalServerError) IsServerError ¶
func (o *GetV2InternalServerError) IsServerError() bool
IsServerError returns true when this get v2 internal server error response has a 5xx status code
func (*GetV2InternalServerError) IsSuccess ¶
func (o *GetV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this get v2 internal server error response has a 2xx status code
func (*GetV2InternalServerError) String ¶
func (o *GetV2InternalServerError) String() string
type GetV2OK ¶
type GetV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiPostEntitiesAlertsV2Response }
GetV2OK describes a response with status code 200, with default header values.
OK
func NewGetV2OK ¶
func NewGetV2OK() *GetV2OK
NewGetV2OK creates a GetV2OK with default headers values
func (*GetV2OK) GetPayload ¶
func (o *GetV2OK) GetPayload() *models.DetectsapiPostEntitiesAlertsV2Response
func (*GetV2OK) IsClientError ¶
IsClientError returns true when this get v2 o k response has a 4xx status code
func (*GetV2OK) IsCode ¶
IsCode returns true when this get v2 o k response a status code equal to that given
func (*GetV2OK) IsRedirect ¶
IsRedirect returns true when this get v2 o k response has a 3xx status code
func (*GetV2OK) IsServerError ¶
IsServerError returns true when this get v2 o k response has a 5xx status code
type GetV2Params ¶
type GetV2Params struct { // Body. Body *models.DetectsapiPostEntitiesAlertsV2Request /* IncludeHidden. allows previously hidden alerts to be retrieved Default: true */ IncludeHidden *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV2Params contains all the parameters to send to the API endpoint
for the get v2 operation. Typically these are written to a http.Request.
func NewGetV2Params ¶
func NewGetV2Params() *GetV2Params
NewGetV2Params creates a new GetV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV2ParamsWithContext ¶
func NewGetV2ParamsWithContext(ctx context.Context) *GetV2Params
NewGetV2ParamsWithContext creates a new GetV2Params object with the ability to set a context for a request.
func NewGetV2ParamsWithHTTPClient ¶
func NewGetV2ParamsWithHTTPClient(client *http.Client) *GetV2Params
NewGetV2ParamsWithHTTPClient creates a new GetV2Params object with the ability to set a custom HTTPClient for a request.
func NewGetV2ParamsWithTimeout ¶
func NewGetV2ParamsWithTimeout(timeout time.Duration) *GetV2Params
NewGetV2ParamsWithTimeout creates a new GetV2Params object with the ability to set a timeout on a request.
func (*GetV2Params) SetBody ¶
func (o *GetV2Params) SetBody(body *models.DetectsapiPostEntitiesAlertsV2Request)
SetBody adds the body to the get v2 params
func (*GetV2Params) SetContext ¶
func (o *GetV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get v2 params
func (*GetV2Params) SetDefaults ¶
func (o *GetV2Params) SetDefaults()
SetDefaults hydrates default values in the get v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetV2Params) SetHTTPClient ¶
func (o *GetV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v2 params
func (*GetV2Params) SetIncludeHidden ¶
func (o *GetV2Params) SetIncludeHidden(includeHidden *bool)
SetIncludeHidden adds the includeHidden to the get v2 params
func (*GetV2Params) SetTimeout ¶
func (o *GetV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v2 params
func (*GetV2Params) WithBody ¶
func (o *GetV2Params) WithBody(body *models.DetectsapiPostEntitiesAlertsV2Request) *GetV2Params
WithBody adds the body to the get v2 params
func (*GetV2Params) WithContext ¶
func (o *GetV2Params) WithContext(ctx context.Context) *GetV2Params
WithContext adds the context to the get v2 params
func (*GetV2Params) WithDefaults ¶
func (o *GetV2Params) WithDefaults() *GetV2Params
WithDefaults hydrates default values in the get v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetV2Params) WithHTTPClient ¶
func (o *GetV2Params) WithHTTPClient(client *http.Client) *GetV2Params
WithHTTPClient adds the HTTPClient to the get v2 params
func (*GetV2Params) WithIncludeHidden ¶
func (o *GetV2Params) WithIncludeHidden(includeHidden *bool) *GetV2Params
WithIncludeHidden adds the includeHidden to the get v2 params
func (*GetV2Params) WithTimeout ¶
func (o *GetV2Params) WithTimeout(timeout time.Duration) *GetV2Params
WithTimeout adds the timeout to the get v2 params
func (*GetV2Params) WriteToRequest ¶
func (o *GetV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV2Reader ¶
type GetV2Reader struct {
// contains filtered or unexported fields
}
GetV2Reader is a Reader for the GetV2 structure.
func (*GetV2Reader) ReadResponse ¶
func (o *GetV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV2TooManyRequests ¶
type GetV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetV2TooManyRequests ¶
func NewGetV2TooManyRequests() *GetV2TooManyRequests
NewGetV2TooManyRequests creates a GetV2TooManyRequests with default headers values
func (*GetV2TooManyRequests) Code ¶
func (o *GetV2TooManyRequests) Code() int
Code gets the status code for the get v2 too many requests response
func (*GetV2TooManyRequests) Error ¶
func (o *GetV2TooManyRequests) Error() string
func (*GetV2TooManyRequests) GetPayload ¶
func (o *GetV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetV2TooManyRequests) IsClientError ¶
func (o *GetV2TooManyRequests) IsClientError() bool
IsClientError returns true when this get v2 too many requests response has a 4xx status code
func (*GetV2TooManyRequests) IsCode ¶
func (o *GetV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this get v2 too many requests response a status code equal to that given
func (*GetV2TooManyRequests) IsRedirect ¶
func (o *GetV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get v2 too many requests response has a 3xx status code
func (*GetV2TooManyRequests) IsServerError ¶
func (o *GetV2TooManyRequests) IsServerError() bool
IsServerError returns true when this get v2 too many requests response has a 5xx status code
func (*GetV2TooManyRequests) IsSuccess ¶
func (o *GetV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get v2 too many requests response has a 2xx status code
func (*GetV2TooManyRequests) String ¶
func (o *GetV2TooManyRequests) String() string
type PatchEntitiesAlertsV2BadRequest ¶
type PatchEntitiesAlertsV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiResponseFields }
PatchEntitiesAlertsV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPatchEntitiesAlertsV2BadRequest ¶
func NewPatchEntitiesAlertsV2BadRequest() *PatchEntitiesAlertsV2BadRequest
NewPatchEntitiesAlertsV2BadRequest creates a PatchEntitiesAlertsV2BadRequest with default headers values
func (*PatchEntitiesAlertsV2BadRequest) Code ¶
func (o *PatchEntitiesAlertsV2BadRequest) Code() int
Code gets the status code for the patch entities alerts v2 bad request response
func (*PatchEntitiesAlertsV2BadRequest) Error ¶
func (o *PatchEntitiesAlertsV2BadRequest) Error() string
func (*PatchEntitiesAlertsV2BadRequest) GetPayload ¶
func (o *PatchEntitiesAlertsV2BadRequest) GetPayload() *models.DetectsapiResponseFields
func (*PatchEntitiesAlertsV2BadRequest) IsClientError ¶
func (o *PatchEntitiesAlertsV2BadRequest) IsClientError() bool
IsClientError returns true when this patch entities alerts v2 bad request response has a 4xx status code
func (*PatchEntitiesAlertsV2BadRequest) IsCode ¶
func (o *PatchEntitiesAlertsV2BadRequest) IsCode(code int) bool
IsCode returns true when this patch entities alerts v2 bad request response a status code equal to that given
func (*PatchEntitiesAlertsV2BadRequest) IsRedirect ¶
func (o *PatchEntitiesAlertsV2BadRequest) IsRedirect() bool
IsRedirect returns true when this patch entities alerts v2 bad request response has a 3xx status code
func (*PatchEntitiesAlertsV2BadRequest) IsServerError ¶
func (o *PatchEntitiesAlertsV2BadRequest) IsServerError() bool
IsServerError returns true when this patch entities alerts v2 bad request response has a 5xx status code
func (*PatchEntitiesAlertsV2BadRequest) IsSuccess ¶
func (o *PatchEntitiesAlertsV2BadRequest) IsSuccess() bool
IsSuccess returns true when this patch entities alerts v2 bad request response has a 2xx status code
func (*PatchEntitiesAlertsV2BadRequest) String ¶
func (o *PatchEntitiesAlertsV2BadRequest) String() string
type PatchEntitiesAlertsV2Forbidden ¶
type PatchEntitiesAlertsV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
PatchEntitiesAlertsV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewPatchEntitiesAlertsV2Forbidden ¶
func NewPatchEntitiesAlertsV2Forbidden() *PatchEntitiesAlertsV2Forbidden
NewPatchEntitiesAlertsV2Forbidden creates a PatchEntitiesAlertsV2Forbidden with default headers values
func (*PatchEntitiesAlertsV2Forbidden) Code ¶
func (o *PatchEntitiesAlertsV2Forbidden) Code() int
Code gets the status code for the patch entities alerts v2 forbidden response
func (*PatchEntitiesAlertsV2Forbidden) Error ¶
func (o *PatchEntitiesAlertsV2Forbidden) Error() string
func (*PatchEntitiesAlertsV2Forbidden) GetPayload ¶
func (o *PatchEntitiesAlertsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*PatchEntitiesAlertsV2Forbidden) IsClientError ¶
func (o *PatchEntitiesAlertsV2Forbidden) IsClientError() bool
IsClientError returns true when this patch entities alerts v2 forbidden response has a 4xx status code
func (*PatchEntitiesAlertsV2Forbidden) IsCode ¶
func (o *PatchEntitiesAlertsV2Forbidden) IsCode(code int) bool
IsCode returns true when this patch entities alerts v2 forbidden response a status code equal to that given
func (*PatchEntitiesAlertsV2Forbidden) IsRedirect ¶
func (o *PatchEntitiesAlertsV2Forbidden) IsRedirect() bool
IsRedirect returns true when this patch entities alerts v2 forbidden response has a 3xx status code
func (*PatchEntitiesAlertsV2Forbidden) IsServerError ¶
func (o *PatchEntitiesAlertsV2Forbidden) IsServerError() bool
IsServerError returns true when this patch entities alerts v2 forbidden response has a 5xx status code
func (*PatchEntitiesAlertsV2Forbidden) IsSuccess ¶
func (o *PatchEntitiesAlertsV2Forbidden) IsSuccess() bool
IsSuccess returns true when this patch entities alerts v2 forbidden response has a 2xx status code
func (*PatchEntitiesAlertsV2Forbidden) String ¶
func (o *PatchEntitiesAlertsV2Forbidden) String() string
type PatchEntitiesAlertsV2InternalServerError ¶
type PatchEntitiesAlertsV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiResponseFields }
PatchEntitiesAlertsV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPatchEntitiesAlertsV2InternalServerError ¶
func NewPatchEntitiesAlertsV2InternalServerError() *PatchEntitiesAlertsV2InternalServerError
NewPatchEntitiesAlertsV2InternalServerError creates a PatchEntitiesAlertsV2InternalServerError with default headers values
func (*PatchEntitiesAlertsV2InternalServerError) Code ¶
func (o *PatchEntitiesAlertsV2InternalServerError) Code() int
Code gets the status code for the patch entities alerts v2 internal server error response
func (*PatchEntitiesAlertsV2InternalServerError) Error ¶
func (o *PatchEntitiesAlertsV2InternalServerError) Error() string
func (*PatchEntitiesAlertsV2InternalServerError) GetPayload ¶
func (o *PatchEntitiesAlertsV2InternalServerError) GetPayload() *models.DetectsapiResponseFields
func (*PatchEntitiesAlertsV2InternalServerError) IsClientError ¶
func (o *PatchEntitiesAlertsV2InternalServerError) IsClientError() bool
IsClientError returns true when this patch entities alerts v2 internal server error response has a 4xx status code
func (*PatchEntitiesAlertsV2InternalServerError) IsCode ¶
func (o *PatchEntitiesAlertsV2InternalServerError) IsCode(code int) bool
IsCode returns true when this patch entities alerts v2 internal server error response a status code equal to that given
func (*PatchEntitiesAlertsV2InternalServerError) IsRedirect ¶
func (o *PatchEntitiesAlertsV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this patch entities alerts v2 internal server error response has a 3xx status code
func (*PatchEntitiesAlertsV2InternalServerError) IsServerError ¶
func (o *PatchEntitiesAlertsV2InternalServerError) IsServerError() bool
IsServerError returns true when this patch entities alerts v2 internal server error response has a 5xx status code
func (*PatchEntitiesAlertsV2InternalServerError) IsSuccess ¶
func (o *PatchEntitiesAlertsV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this patch entities alerts v2 internal server error response has a 2xx status code
func (*PatchEntitiesAlertsV2InternalServerError) String ¶
func (o *PatchEntitiesAlertsV2InternalServerError) String() string
type PatchEntitiesAlertsV2OK ¶
type PatchEntitiesAlertsV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiResponseFields }
PatchEntitiesAlertsV2OK describes a response with status code 200, with default header values.
OK
func NewPatchEntitiesAlertsV2OK ¶
func NewPatchEntitiesAlertsV2OK() *PatchEntitiesAlertsV2OK
NewPatchEntitiesAlertsV2OK creates a PatchEntitiesAlertsV2OK with default headers values
func (*PatchEntitiesAlertsV2OK) Code ¶
func (o *PatchEntitiesAlertsV2OK) Code() int
Code gets the status code for the patch entities alerts v2 o k response
func (*PatchEntitiesAlertsV2OK) Error ¶
func (o *PatchEntitiesAlertsV2OK) Error() string
func (*PatchEntitiesAlertsV2OK) GetPayload ¶
func (o *PatchEntitiesAlertsV2OK) GetPayload() *models.DetectsapiResponseFields
func (*PatchEntitiesAlertsV2OK) IsClientError ¶
func (o *PatchEntitiesAlertsV2OK) IsClientError() bool
IsClientError returns true when this patch entities alerts v2 o k response has a 4xx status code
func (*PatchEntitiesAlertsV2OK) IsCode ¶
func (o *PatchEntitiesAlertsV2OK) IsCode(code int) bool
IsCode returns true when this patch entities alerts v2 o k response a status code equal to that given
func (*PatchEntitiesAlertsV2OK) IsRedirect ¶
func (o *PatchEntitiesAlertsV2OK) IsRedirect() bool
IsRedirect returns true when this patch entities alerts v2 o k response has a 3xx status code
func (*PatchEntitiesAlertsV2OK) IsServerError ¶
func (o *PatchEntitiesAlertsV2OK) IsServerError() bool
IsServerError returns true when this patch entities alerts v2 o k response has a 5xx status code
func (*PatchEntitiesAlertsV2OK) IsSuccess ¶
func (o *PatchEntitiesAlertsV2OK) IsSuccess() bool
IsSuccess returns true when this patch entities alerts v2 o k response has a 2xx status code
func (*PatchEntitiesAlertsV2OK) String ¶
func (o *PatchEntitiesAlertsV2OK) String() string
type PatchEntitiesAlertsV2Params ¶
type PatchEntitiesAlertsV2Params struct { /* Body. request body takes a list of action parameter request that is applied against all "ids" provided */ Body *models.DetectsapiPatchEntitiesAlertsV2Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchEntitiesAlertsV2Params contains all the parameters to send to the API endpoint
for the patch entities alerts v2 operation. Typically these are written to a http.Request.
func NewPatchEntitiesAlertsV2Params ¶
func NewPatchEntitiesAlertsV2Params() *PatchEntitiesAlertsV2Params
NewPatchEntitiesAlertsV2Params creates a new PatchEntitiesAlertsV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchEntitiesAlertsV2ParamsWithContext ¶
func NewPatchEntitiesAlertsV2ParamsWithContext(ctx context.Context) *PatchEntitiesAlertsV2Params
NewPatchEntitiesAlertsV2ParamsWithContext creates a new PatchEntitiesAlertsV2Params object with the ability to set a context for a request.
func NewPatchEntitiesAlertsV2ParamsWithHTTPClient ¶
func NewPatchEntitiesAlertsV2ParamsWithHTTPClient(client *http.Client) *PatchEntitiesAlertsV2Params
NewPatchEntitiesAlertsV2ParamsWithHTTPClient creates a new PatchEntitiesAlertsV2Params object with the ability to set a custom HTTPClient for a request.
func NewPatchEntitiesAlertsV2ParamsWithTimeout ¶
func NewPatchEntitiesAlertsV2ParamsWithTimeout(timeout time.Duration) *PatchEntitiesAlertsV2Params
NewPatchEntitiesAlertsV2ParamsWithTimeout creates a new PatchEntitiesAlertsV2Params object with the ability to set a timeout on a request.
func (*PatchEntitiesAlertsV2Params) SetBody ¶
func (o *PatchEntitiesAlertsV2Params) SetBody(body *models.DetectsapiPatchEntitiesAlertsV2Request)
SetBody adds the body to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) SetContext ¶
func (o *PatchEntitiesAlertsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) SetDefaults ¶
func (o *PatchEntitiesAlertsV2Params) SetDefaults()
SetDefaults hydrates default values in the patch entities alerts v2 params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEntitiesAlertsV2Params) SetHTTPClient ¶
func (o *PatchEntitiesAlertsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) SetTimeout ¶
func (o *PatchEntitiesAlertsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) WithBody ¶
func (o *PatchEntitiesAlertsV2Params) WithBody(body *models.DetectsapiPatchEntitiesAlertsV2Request) *PatchEntitiesAlertsV2Params
WithBody adds the body to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) WithContext ¶
func (o *PatchEntitiesAlertsV2Params) WithContext(ctx context.Context) *PatchEntitiesAlertsV2Params
WithContext adds the context to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) WithDefaults ¶
func (o *PatchEntitiesAlertsV2Params) WithDefaults() *PatchEntitiesAlertsV2Params
WithDefaults hydrates default values in the patch entities alerts v2 params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEntitiesAlertsV2Params) WithHTTPClient ¶
func (o *PatchEntitiesAlertsV2Params) WithHTTPClient(client *http.Client) *PatchEntitiesAlertsV2Params
WithHTTPClient adds the HTTPClient to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) WithTimeout ¶
func (o *PatchEntitiesAlertsV2Params) WithTimeout(timeout time.Duration) *PatchEntitiesAlertsV2Params
WithTimeout adds the timeout to the patch entities alerts v2 params
func (*PatchEntitiesAlertsV2Params) WriteToRequest ¶
func (o *PatchEntitiesAlertsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchEntitiesAlertsV2Reader ¶
type PatchEntitiesAlertsV2Reader struct {
// contains filtered or unexported fields
}
PatchEntitiesAlertsV2Reader is a Reader for the PatchEntitiesAlertsV2 structure.
func (*PatchEntitiesAlertsV2Reader) ReadResponse ¶
func (o *PatchEntitiesAlertsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchEntitiesAlertsV2TooManyRequests ¶
type PatchEntitiesAlertsV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
PatchEntitiesAlertsV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewPatchEntitiesAlertsV2TooManyRequests ¶
func NewPatchEntitiesAlertsV2TooManyRequests() *PatchEntitiesAlertsV2TooManyRequests
NewPatchEntitiesAlertsV2TooManyRequests creates a PatchEntitiesAlertsV2TooManyRequests with default headers values
func (*PatchEntitiesAlertsV2TooManyRequests) Code ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) Code() int
Code gets the status code for the patch entities alerts v2 too many requests response
func (*PatchEntitiesAlertsV2TooManyRequests) Error ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) Error() string
func (*PatchEntitiesAlertsV2TooManyRequests) GetPayload ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*PatchEntitiesAlertsV2TooManyRequests) IsClientError ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) IsClientError() bool
IsClientError returns true when this patch entities alerts v2 too many requests response has a 4xx status code
func (*PatchEntitiesAlertsV2TooManyRequests) IsCode ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this patch entities alerts v2 too many requests response a status code equal to that given
func (*PatchEntitiesAlertsV2TooManyRequests) IsRedirect ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch entities alerts v2 too many requests response has a 3xx status code
func (*PatchEntitiesAlertsV2TooManyRequests) IsServerError ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) IsServerError() bool
IsServerError returns true when this patch entities alerts v2 too many requests response has a 5xx status code
func (*PatchEntitiesAlertsV2TooManyRequests) IsSuccess ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch entities alerts v2 too many requests response has a 2xx status code
func (*PatchEntitiesAlertsV2TooManyRequests) String ¶
func (o *PatchEntitiesAlertsV2TooManyRequests) String() string
type PostAggregatesAlertsV1BadRequest ¶
type PostAggregatesAlertsV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAggregatesResponse }
PostAggregatesAlertsV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAggregatesAlertsV1BadRequest ¶
func NewPostAggregatesAlertsV1BadRequest() *PostAggregatesAlertsV1BadRequest
NewPostAggregatesAlertsV1BadRequest creates a PostAggregatesAlertsV1BadRequest with default headers values
func (*PostAggregatesAlertsV1BadRequest) Code ¶
func (o *PostAggregatesAlertsV1BadRequest) Code() int
Code gets the status code for the post aggregates alerts v1 bad request response
func (*PostAggregatesAlertsV1BadRequest) Error ¶
func (o *PostAggregatesAlertsV1BadRequest) Error() string
func (*PostAggregatesAlertsV1BadRequest) GetPayload ¶
func (o *PostAggregatesAlertsV1BadRequest) GetPayload() *models.DetectsapiAggregatesResponse
func (*PostAggregatesAlertsV1BadRequest) IsClientError ¶
func (o *PostAggregatesAlertsV1BadRequest) IsClientError() bool
IsClientError returns true when this post aggregates alerts v1 bad request response has a 4xx status code
func (*PostAggregatesAlertsV1BadRequest) IsCode ¶
func (o *PostAggregatesAlertsV1BadRequest) IsCode(code int) bool
IsCode returns true when this post aggregates alerts v1 bad request response a status code equal to that given
func (*PostAggregatesAlertsV1BadRequest) IsRedirect ¶
func (o *PostAggregatesAlertsV1BadRequest) IsRedirect() bool
IsRedirect returns true when this post aggregates alerts v1 bad request response has a 3xx status code
func (*PostAggregatesAlertsV1BadRequest) IsServerError ¶
func (o *PostAggregatesAlertsV1BadRequest) IsServerError() bool
IsServerError returns true when this post aggregates alerts v1 bad request response has a 5xx status code
func (*PostAggregatesAlertsV1BadRequest) IsSuccess ¶
func (o *PostAggregatesAlertsV1BadRequest) IsSuccess() bool
IsSuccess returns true when this post aggregates alerts v1 bad request response has a 2xx status code
func (*PostAggregatesAlertsV1BadRequest) String ¶
func (o *PostAggregatesAlertsV1BadRequest) String() string
type PostAggregatesAlertsV1Forbidden ¶
type PostAggregatesAlertsV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
PostAggregatesAlertsV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostAggregatesAlertsV1Forbidden ¶
func NewPostAggregatesAlertsV1Forbidden() *PostAggregatesAlertsV1Forbidden
NewPostAggregatesAlertsV1Forbidden creates a PostAggregatesAlertsV1Forbidden with default headers values
func (*PostAggregatesAlertsV1Forbidden) Code ¶
func (o *PostAggregatesAlertsV1Forbidden) Code() int
Code gets the status code for the post aggregates alerts v1 forbidden response
func (*PostAggregatesAlertsV1Forbidden) Error ¶
func (o *PostAggregatesAlertsV1Forbidden) Error() string
func (*PostAggregatesAlertsV1Forbidden) GetPayload ¶
func (o *PostAggregatesAlertsV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*PostAggregatesAlertsV1Forbidden) IsClientError ¶
func (o *PostAggregatesAlertsV1Forbidden) IsClientError() bool
IsClientError returns true when this post aggregates alerts v1 forbidden response has a 4xx status code
func (*PostAggregatesAlertsV1Forbidden) IsCode ¶
func (o *PostAggregatesAlertsV1Forbidden) IsCode(code int) bool
IsCode returns true when this post aggregates alerts v1 forbidden response a status code equal to that given
func (*PostAggregatesAlertsV1Forbidden) IsRedirect ¶
func (o *PostAggregatesAlertsV1Forbidden) IsRedirect() bool
IsRedirect returns true when this post aggregates alerts v1 forbidden response has a 3xx status code
func (*PostAggregatesAlertsV1Forbidden) IsServerError ¶
func (o *PostAggregatesAlertsV1Forbidden) IsServerError() bool
IsServerError returns true when this post aggregates alerts v1 forbidden response has a 5xx status code
func (*PostAggregatesAlertsV1Forbidden) IsSuccess ¶
func (o *PostAggregatesAlertsV1Forbidden) IsSuccess() bool
IsSuccess returns true when this post aggregates alerts v1 forbidden response has a 2xx status code
func (*PostAggregatesAlertsV1Forbidden) String ¶
func (o *PostAggregatesAlertsV1Forbidden) String() string
type PostAggregatesAlertsV1InternalServerError ¶
type PostAggregatesAlertsV1InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAggregatesResponse }
PostAggregatesAlertsV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAggregatesAlertsV1InternalServerError ¶
func NewPostAggregatesAlertsV1InternalServerError() *PostAggregatesAlertsV1InternalServerError
NewPostAggregatesAlertsV1InternalServerError creates a PostAggregatesAlertsV1InternalServerError with default headers values
func (*PostAggregatesAlertsV1InternalServerError) Code ¶
func (o *PostAggregatesAlertsV1InternalServerError) Code() int
Code gets the status code for the post aggregates alerts v1 internal server error response
func (*PostAggregatesAlertsV1InternalServerError) Error ¶
func (o *PostAggregatesAlertsV1InternalServerError) Error() string
func (*PostAggregatesAlertsV1InternalServerError) GetPayload ¶
func (o *PostAggregatesAlertsV1InternalServerError) GetPayload() *models.DetectsapiAggregatesResponse
func (*PostAggregatesAlertsV1InternalServerError) IsClientError ¶
func (o *PostAggregatesAlertsV1InternalServerError) IsClientError() bool
IsClientError returns true when this post aggregates alerts v1 internal server error response has a 4xx status code
func (*PostAggregatesAlertsV1InternalServerError) IsCode ¶
func (o *PostAggregatesAlertsV1InternalServerError) IsCode(code int) bool
IsCode returns true when this post aggregates alerts v1 internal server error response a status code equal to that given
func (*PostAggregatesAlertsV1InternalServerError) IsRedirect ¶
func (o *PostAggregatesAlertsV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this post aggregates alerts v1 internal server error response has a 3xx status code
func (*PostAggregatesAlertsV1InternalServerError) IsServerError ¶
func (o *PostAggregatesAlertsV1InternalServerError) IsServerError() bool
IsServerError returns true when this post aggregates alerts v1 internal server error response has a 5xx status code
func (*PostAggregatesAlertsV1InternalServerError) IsSuccess ¶
func (o *PostAggregatesAlertsV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this post aggregates alerts v1 internal server error response has a 2xx status code
func (*PostAggregatesAlertsV1InternalServerError) String ¶
func (o *PostAggregatesAlertsV1InternalServerError) String() string
type PostAggregatesAlertsV1OK ¶
type PostAggregatesAlertsV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAggregatesResponse }
PostAggregatesAlertsV1OK describes a response with status code 200, with default header values.
OK
func NewPostAggregatesAlertsV1OK ¶
func NewPostAggregatesAlertsV1OK() *PostAggregatesAlertsV1OK
NewPostAggregatesAlertsV1OK creates a PostAggregatesAlertsV1OK with default headers values
func (*PostAggregatesAlertsV1OK) Code ¶
func (o *PostAggregatesAlertsV1OK) Code() int
Code gets the status code for the post aggregates alerts v1 o k response
func (*PostAggregatesAlertsV1OK) Error ¶
func (o *PostAggregatesAlertsV1OK) Error() string
func (*PostAggregatesAlertsV1OK) GetPayload ¶
func (o *PostAggregatesAlertsV1OK) GetPayload() *models.DetectsapiAggregatesResponse
func (*PostAggregatesAlertsV1OK) IsClientError ¶
func (o *PostAggregatesAlertsV1OK) IsClientError() bool
IsClientError returns true when this post aggregates alerts v1 o k response has a 4xx status code
func (*PostAggregatesAlertsV1OK) IsCode ¶
func (o *PostAggregatesAlertsV1OK) IsCode(code int) bool
IsCode returns true when this post aggregates alerts v1 o k response a status code equal to that given
func (*PostAggregatesAlertsV1OK) IsRedirect ¶
func (o *PostAggregatesAlertsV1OK) IsRedirect() bool
IsRedirect returns true when this post aggregates alerts v1 o k response has a 3xx status code
func (*PostAggregatesAlertsV1OK) IsServerError ¶
func (o *PostAggregatesAlertsV1OK) IsServerError() bool
IsServerError returns true when this post aggregates alerts v1 o k response has a 5xx status code
func (*PostAggregatesAlertsV1OK) IsSuccess ¶
func (o *PostAggregatesAlertsV1OK) IsSuccess() bool
IsSuccess returns true when this post aggregates alerts v1 o k response has a 2xx status code
func (*PostAggregatesAlertsV1OK) String ¶
func (o *PostAggregatesAlertsV1OK) String() string
type PostAggregatesAlertsV1Params ¶
type PostAggregatesAlertsV1Params struct { /* Body. request body takes a list of aggregate-alert query requests */ Body []*models.DetectsapiAggregateAlertQueryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAggregatesAlertsV1Params contains all the parameters to send to the API endpoint
for the post aggregates alerts v1 operation. Typically these are written to a http.Request.
func NewPostAggregatesAlertsV1Params ¶
func NewPostAggregatesAlertsV1Params() *PostAggregatesAlertsV1Params
NewPostAggregatesAlertsV1Params creates a new PostAggregatesAlertsV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAggregatesAlertsV1ParamsWithContext ¶
func NewPostAggregatesAlertsV1ParamsWithContext(ctx context.Context) *PostAggregatesAlertsV1Params
NewPostAggregatesAlertsV1ParamsWithContext creates a new PostAggregatesAlertsV1Params object with the ability to set a context for a request.
func NewPostAggregatesAlertsV1ParamsWithHTTPClient ¶
func NewPostAggregatesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostAggregatesAlertsV1Params
NewPostAggregatesAlertsV1ParamsWithHTTPClient creates a new PostAggregatesAlertsV1Params object with the ability to set a custom HTTPClient for a request.
func NewPostAggregatesAlertsV1ParamsWithTimeout ¶
func NewPostAggregatesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostAggregatesAlertsV1Params
NewPostAggregatesAlertsV1ParamsWithTimeout creates a new PostAggregatesAlertsV1Params object with the ability to set a timeout on a request.
func (*PostAggregatesAlertsV1Params) SetBody ¶
func (o *PostAggregatesAlertsV1Params) SetBody(body []*models.DetectsapiAggregateAlertQueryRequest)
SetBody adds the body to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) SetContext ¶
func (o *PostAggregatesAlertsV1Params) SetContext(ctx context.Context)
SetContext adds the context to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) SetDefaults ¶
func (o *PostAggregatesAlertsV1Params) SetDefaults()
SetDefaults hydrates default values in the post aggregates alerts v1 params (not the query body).
All values with no default are reset to their zero value.
func (*PostAggregatesAlertsV1Params) SetHTTPClient ¶
func (o *PostAggregatesAlertsV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) SetTimeout ¶
func (o *PostAggregatesAlertsV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) WithBody ¶
func (o *PostAggregatesAlertsV1Params) WithBody(body []*models.DetectsapiAggregateAlertQueryRequest) *PostAggregatesAlertsV1Params
WithBody adds the body to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) WithContext ¶
func (o *PostAggregatesAlertsV1Params) WithContext(ctx context.Context) *PostAggregatesAlertsV1Params
WithContext adds the context to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) WithDefaults ¶
func (o *PostAggregatesAlertsV1Params) WithDefaults() *PostAggregatesAlertsV1Params
WithDefaults hydrates default values in the post aggregates alerts v1 params (not the query body).
All values with no default are reset to their zero value.
func (*PostAggregatesAlertsV1Params) WithHTTPClient ¶
func (o *PostAggregatesAlertsV1Params) WithHTTPClient(client *http.Client) *PostAggregatesAlertsV1Params
WithHTTPClient adds the HTTPClient to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) WithTimeout ¶
func (o *PostAggregatesAlertsV1Params) WithTimeout(timeout time.Duration) *PostAggregatesAlertsV1Params
WithTimeout adds the timeout to the post aggregates alerts v1 params
func (*PostAggregatesAlertsV1Params) WriteToRequest ¶
func (o *PostAggregatesAlertsV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAggregatesAlertsV1Reader ¶
type PostAggregatesAlertsV1Reader struct {
// contains filtered or unexported fields
}
PostAggregatesAlertsV1Reader is a Reader for the PostAggregatesAlertsV1 structure.
func (*PostAggregatesAlertsV1Reader) ReadResponse ¶
func (o *PostAggregatesAlertsV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAggregatesAlertsV1TooManyRequests ¶
type PostAggregatesAlertsV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
PostAggregatesAlertsV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewPostAggregatesAlertsV1TooManyRequests ¶
func NewPostAggregatesAlertsV1TooManyRequests() *PostAggregatesAlertsV1TooManyRequests
NewPostAggregatesAlertsV1TooManyRequests creates a PostAggregatesAlertsV1TooManyRequests with default headers values
func (*PostAggregatesAlertsV1TooManyRequests) Code ¶
func (o *PostAggregatesAlertsV1TooManyRequests) Code() int
Code gets the status code for the post aggregates alerts v1 too many requests response
func (*PostAggregatesAlertsV1TooManyRequests) Error ¶
func (o *PostAggregatesAlertsV1TooManyRequests) Error() string
func (*PostAggregatesAlertsV1TooManyRequests) GetPayload ¶
func (o *PostAggregatesAlertsV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*PostAggregatesAlertsV1TooManyRequests) IsClientError ¶
func (o *PostAggregatesAlertsV1TooManyRequests) IsClientError() bool
IsClientError returns true when this post aggregates alerts v1 too many requests response has a 4xx status code
func (*PostAggregatesAlertsV1TooManyRequests) IsCode ¶
func (o *PostAggregatesAlertsV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this post aggregates alerts v1 too many requests response a status code equal to that given
func (*PostAggregatesAlertsV1TooManyRequests) IsRedirect ¶
func (o *PostAggregatesAlertsV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this post aggregates alerts v1 too many requests response has a 3xx status code
func (*PostAggregatesAlertsV1TooManyRequests) IsServerError ¶
func (o *PostAggregatesAlertsV1TooManyRequests) IsServerError() bool
IsServerError returns true when this post aggregates alerts v1 too many requests response has a 5xx status code
func (*PostAggregatesAlertsV1TooManyRequests) IsSuccess ¶
func (o *PostAggregatesAlertsV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this post aggregates alerts v1 too many requests response has a 2xx status code
func (*PostAggregatesAlertsV1TooManyRequests) String ¶
func (o *PostAggregatesAlertsV1TooManyRequests) String() string
type PostEntitiesAlertsV1BadRequest ¶
type PostEntitiesAlertsV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiPostEntitiesAlertsV1Response }
PostEntitiesAlertsV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostEntitiesAlertsV1BadRequest ¶
func NewPostEntitiesAlertsV1BadRequest() *PostEntitiesAlertsV1BadRequest
NewPostEntitiesAlertsV1BadRequest creates a PostEntitiesAlertsV1BadRequest with default headers values
func (*PostEntitiesAlertsV1BadRequest) Code ¶
func (o *PostEntitiesAlertsV1BadRequest) Code() int
Code gets the status code for the post entities alerts v1 bad request response
func (*PostEntitiesAlertsV1BadRequest) Error ¶
func (o *PostEntitiesAlertsV1BadRequest) Error() string
func (*PostEntitiesAlertsV1BadRequest) GetPayload ¶
func (o *PostEntitiesAlertsV1BadRequest) GetPayload() *models.DetectsapiPostEntitiesAlertsV1Response
func (*PostEntitiesAlertsV1BadRequest) IsClientError ¶
func (o *PostEntitiesAlertsV1BadRequest) IsClientError() bool
IsClientError returns true when this post entities alerts v1 bad request response has a 4xx status code
func (*PostEntitiesAlertsV1BadRequest) IsCode ¶
func (o *PostEntitiesAlertsV1BadRequest) IsCode(code int) bool
IsCode returns true when this post entities alerts v1 bad request response a status code equal to that given
func (*PostEntitiesAlertsV1BadRequest) IsRedirect ¶
func (o *PostEntitiesAlertsV1BadRequest) IsRedirect() bool
IsRedirect returns true when this post entities alerts v1 bad request response has a 3xx status code
func (*PostEntitiesAlertsV1BadRequest) IsServerError ¶
func (o *PostEntitiesAlertsV1BadRequest) IsServerError() bool
IsServerError returns true when this post entities alerts v1 bad request response has a 5xx status code
func (*PostEntitiesAlertsV1BadRequest) IsSuccess ¶
func (o *PostEntitiesAlertsV1BadRequest) IsSuccess() bool
IsSuccess returns true when this post entities alerts v1 bad request response has a 2xx status code
func (*PostEntitiesAlertsV1BadRequest) String ¶
func (o *PostEntitiesAlertsV1BadRequest) String() string
type PostEntitiesAlertsV1Forbidden ¶
type PostEntitiesAlertsV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
PostEntitiesAlertsV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostEntitiesAlertsV1Forbidden ¶
func NewPostEntitiesAlertsV1Forbidden() *PostEntitiesAlertsV1Forbidden
NewPostEntitiesAlertsV1Forbidden creates a PostEntitiesAlertsV1Forbidden with default headers values
func (*PostEntitiesAlertsV1Forbidden) Code ¶
func (o *PostEntitiesAlertsV1Forbidden) Code() int
Code gets the status code for the post entities alerts v1 forbidden response
func (*PostEntitiesAlertsV1Forbidden) Error ¶
func (o *PostEntitiesAlertsV1Forbidden) Error() string
func (*PostEntitiesAlertsV1Forbidden) GetPayload ¶
func (o *PostEntitiesAlertsV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*PostEntitiesAlertsV1Forbidden) IsClientError ¶
func (o *PostEntitiesAlertsV1Forbidden) IsClientError() bool
IsClientError returns true when this post entities alerts v1 forbidden response has a 4xx status code
func (*PostEntitiesAlertsV1Forbidden) IsCode ¶
func (o *PostEntitiesAlertsV1Forbidden) IsCode(code int) bool
IsCode returns true when this post entities alerts v1 forbidden response a status code equal to that given
func (*PostEntitiesAlertsV1Forbidden) IsRedirect ¶
func (o *PostEntitiesAlertsV1Forbidden) IsRedirect() bool
IsRedirect returns true when this post entities alerts v1 forbidden response has a 3xx status code
func (*PostEntitiesAlertsV1Forbidden) IsServerError ¶
func (o *PostEntitiesAlertsV1Forbidden) IsServerError() bool
IsServerError returns true when this post entities alerts v1 forbidden response has a 5xx status code
func (*PostEntitiesAlertsV1Forbidden) IsSuccess ¶
func (o *PostEntitiesAlertsV1Forbidden) IsSuccess() bool
IsSuccess returns true when this post entities alerts v1 forbidden response has a 2xx status code
func (*PostEntitiesAlertsV1Forbidden) String ¶
func (o *PostEntitiesAlertsV1Forbidden) String() string
type PostEntitiesAlertsV1InternalServerError ¶
type PostEntitiesAlertsV1InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiPostEntitiesAlertsV1Response }
PostEntitiesAlertsV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostEntitiesAlertsV1InternalServerError ¶
func NewPostEntitiesAlertsV1InternalServerError() *PostEntitiesAlertsV1InternalServerError
NewPostEntitiesAlertsV1InternalServerError creates a PostEntitiesAlertsV1InternalServerError with default headers values
func (*PostEntitiesAlertsV1InternalServerError) Code ¶
func (o *PostEntitiesAlertsV1InternalServerError) Code() int
Code gets the status code for the post entities alerts v1 internal server error response
func (*PostEntitiesAlertsV1InternalServerError) Error ¶
func (o *PostEntitiesAlertsV1InternalServerError) Error() string
func (*PostEntitiesAlertsV1InternalServerError) GetPayload ¶
func (o *PostEntitiesAlertsV1InternalServerError) GetPayload() *models.DetectsapiPostEntitiesAlertsV1Response
func (*PostEntitiesAlertsV1InternalServerError) IsClientError ¶
func (o *PostEntitiesAlertsV1InternalServerError) IsClientError() bool
IsClientError returns true when this post entities alerts v1 internal server error response has a 4xx status code
func (*PostEntitiesAlertsV1InternalServerError) IsCode ¶
func (o *PostEntitiesAlertsV1InternalServerError) IsCode(code int) bool
IsCode returns true when this post entities alerts v1 internal server error response a status code equal to that given
func (*PostEntitiesAlertsV1InternalServerError) IsRedirect ¶
func (o *PostEntitiesAlertsV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this post entities alerts v1 internal server error response has a 3xx status code
func (*PostEntitiesAlertsV1InternalServerError) IsServerError ¶
func (o *PostEntitiesAlertsV1InternalServerError) IsServerError() bool
IsServerError returns true when this post entities alerts v1 internal server error response has a 5xx status code
func (*PostEntitiesAlertsV1InternalServerError) IsSuccess ¶
func (o *PostEntitiesAlertsV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this post entities alerts v1 internal server error response has a 2xx status code
func (*PostEntitiesAlertsV1InternalServerError) String ¶
func (o *PostEntitiesAlertsV1InternalServerError) String() string
type PostEntitiesAlertsV1OK ¶
type PostEntitiesAlertsV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiPostEntitiesAlertsV1Response }
PostEntitiesAlertsV1OK describes a response with status code 200, with default header values.
OK
func NewPostEntitiesAlertsV1OK ¶
func NewPostEntitiesAlertsV1OK() *PostEntitiesAlertsV1OK
NewPostEntitiesAlertsV1OK creates a PostEntitiesAlertsV1OK with default headers values
func (*PostEntitiesAlertsV1OK) Code ¶
func (o *PostEntitiesAlertsV1OK) Code() int
Code gets the status code for the post entities alerts v1 o k response
func (*PostEntitiesAlertsV1OK) Error ¶
func (o *PostEntitiesAlertsV1OK) Error() string
func (*PostEntitiesAlertsV1OK) GetPayload ¶
func (o *PostEntitiesAlertsV1OK) GetPayload() *models.DetectsapiPostEntitiesAlertsV1Response
func (*PostEntitiesAlertsV1OK) IsClientError ¶
func (o *PostEntitiesAlertsV1OK) IsClientError() bool
IsClientError returns true when this post entities alerts v1 o k response has a 4xx status code
func (*PostEntitiesAlertsV1OK) IsCode ¶
func (o *PostEntitiesAlertsV1OK) IsCode(code int) bool
IsCode returns true when this post entities alerts v1 o k response a status code equal to that given
func (*PostEntitiesAlertsV1OK) IsRedirect ¶
func (o *PostEntitiesAlertsV1OK) IsRedirect() bool
IsRedirect returns true when this post entities alerts v1 o k response has a 3xx status code
func (*PostEntitiesAlertsV1OK) IsServerError ¶
func (o *PostEntitiesAlertsV1OK) IsServerError() bool
IsServerError returns true when this post entities alerts v1 o k response has a 5xx status code
func (*PostEntitiesAlertsV1OK) IsSuccess ¶
func (o *PostEntitiesAlertsV1OK) IsSuccess() bool
IsSuccess returns true when this post entities alerts v1 o k response has a 2xx status code
func (*PostEntitiesAlertsV1OK) String ¶
func (o *PostEntitiesAlertsV1OK) String() string
type PostEntitiesAlertsV1Params ¶
type PostEntitiesAlertsV1Params struct { // Body. Body *models.DetectsapiPostEntitiesAlertsV1Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostEntitiesAlertsV1Params contains all the parameters to send to the API endpoint
for the post entities alerts v1 operation. Typically these are written to a http.Request.
func NewPostEntitiesAlertsV1Params ¶
func NewPostEntitiesAlertsV1Params() *PostEntitiesAlertsV1Params
NewPostEntitiesAlertsV1Params creates a new PostEntitiesAlertsV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostEntitiesAlertsV1ParamsWithContext ¶
func NewPostEntitiesAlertsV1ParamsWithContext(ctx context.Context) *PostEntitiesAlertsV1Params
NewPostEntitiesAlertsV1ParamsWithContext creates a new PostEntitiesAlertsV1Params object with the ability to set a context for a request.
func NewPostEntitiesAlertsV1ParamsWithHTTPClient ¶
func NewPostEntitiesAlertsV1ParamsWithHTTPClient(client *http.Client) *PostEntitiesAlertsV1Params
NewPostEntitiesAlertsV1ParamsWithHTTPClient creates a new PostEntitiesAlertsV1Params object with the ability to set a custom HTTPClient for a request.
func NewPostEntitiesAlertsV1ParamsWithTimeout ¶
func NewPostEntitiesAlertsV1ParamsWithTimeout(timeout time.Duration) *PostEntitiesAlertsV1Params
NewPostEntitiesAlertsV1ParamsWithTimeout creates a new PostEntitiesAlertsV1Params object with the ability to set a timeout on a request.
func (*PostEntitiesAlertsV1Params) SetBody ¶
func (o *PostEntitiesAlertsV1Params) SetBody(body *models.DetectsapiPostEntitiesAlertsV1Request)
SetBody adds the body to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) SetContext ¶
func (o *PostEntitiesAlertsV1Params) SetContext(ctx context.Context)
SetContext adds the context to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) SetDefaults ¶
func (o *PostEntitiesAlertsV1Params) SetDefaults()
SetDefaults hydrates default values in the post entities alerts v1 params (not the query body).
All values with no default are reset to their zero value.
func (*PostEntitiesAlertsV1Params) SetHTTPClient ¶
func (o *PostEntitiesAlertsV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) SetTimeout ¶
func (o *PostEntitiesAlertsV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) WithBody ¶
func (o *PostEntitiesAlertsV1Params) WithBody(body *models.DetectsapiPostEntitiesAlertsV1Request) *PostEntitiesAlertsV1Params
WithBody adds the body to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) WithContext ¶
func (o *PostEntitiesAlertsV1Params) WithContext(ctx context.Context) *PostEntitiesAlertsV1Params
WithContext adds the context to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) WithDefaults ¶
func (o *PostEntitiesAlertsV1Params) WithDefaults() *PostEntitiesAlertsV1Params
WithDefaults hydrates default values in the post entities alerts v1 params (not the query body).
All values with no default are reset to their zero value.
func (*PostEntitiesAlertsV1Params) WithHTTPClient ¶
func (o *PostEntitiesAlertsV1Params) WithHTTPClient(client *http.Client) *PostEntitiesAlertsV1Params
WithHTTPClient adds the HTTPClient to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) WithTimeout ¶
func (o *PostEntitiesAlertsV1Params) WithTimeout(timeout time.Duration) *PostEntitiesAlertsV1Params
WithTimeout adds the timeout to the post entities alerts v1 params
func (*PostEntitiesAlertsV1Params) WriteToRequest ¶
func (o *PostEntitiesAlertsV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostEntitiesAlertsV1Reader ¶
type PostEntitiesAlertsV1Reader struct {
// contains filtered or unexported fields
}
PostEntitiesAlertsV1Reader is a Reader for the PostEntitiesAlertsV1 structure.
func (*PostEntitiesAlertsV1Reader) ReadResponse ¶
func (o *PostEntitiesAlertsV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostEntitiesAlertsV1TooManyRequests ¶
type PostEntitiesAlertsV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
PostEntitiesAlertsV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewPostEntitiesAlertsV1TooManyRequests ¶
func NewPostEntitiesAlertsV1TooManyRequests() *PostEntitiesAlertsV1TooManyRequests
NewPostEntitiesAlertsV1TooManyRequests creates a PostEntitiesAlertsV1TooManyRequests with default headers values
func (*PostEntitiesAlertsV1TooManyRequests) Code ¶
func (o *PostEntitiesAlertsV1TooManyRequests) Code() int
Code gets the status code for the post entities alerts v1 too many requests response
func (*PostEntitiesAlertsV1TooManyRequests) Error ¶
func (o *PostEntitiesAlertsV1TooManyRequests) Error() string
func (*PostEntitiesAlertsV1TooManyRequests) GetPayload ¶
func (o *PostEntitiesAlertsV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*PostEntitiesAlertsV1TooManyRequests) IsClientError ¶
func (o *PostEntitiesAlertsV1TooManyRequests) IsClientError() bool
IsClientError returns true when this post entities alerts v1 too many requests response has a 4xx status code
func (*PostEntitiesAlertsV1TooManyRequests) IsCode ¶
func (o *PostEntitiesAlertsV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this post entities alerts v1 too many requests response a status code equal to that given
func (*PostEntitiesAlertsV1TooManyRequests) IsRedirect ¶
func (o *PostEntitiesAlertsV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this post entities alerts v1 too many requests response has a 3xx status code
func (*PostEntitiesAlertsV1TooManyRequests) IsServerError ¶
func (o *PostEntitiesAlertsV1TooManyRequests) IsServerError() bool
IsServerError returns true when this post entities alerts v1 too many requests response has a 5xx status code
func (*PostEntitiesAlertsV1TooManyRequests) IsSuccess ¶
func (o *PostEntitiesAlertsV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this post entities alerts v1 too many requests response has a 2xx status code
func (*PostEntitiesAlertsV1TooManyRequests) String ¶
func (o *PostEntitiesAlertsV1TooManyRequests) String() string
type QueryV2BadRequest ¶
type QueryV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAlertQueryResponse }
QueryV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryV2BadRequest ¶
func NewQueryV2BadRequest() *QueryV2BadRequest
NewQueryV2BadRequest creates a QueryV2BadRequest with default headers values
func (*QueryV2BadRequest) Code ¶
func (o *QueryV2BadRequest) Code() int
Code gets the status code for the query v2 bad request response
func (*QueryV2BadRequest) Error ¶
func (o *QueryV2BadRequest) Error() string
func (*QueryV2BadRequest) GetPayload ¶
func (o *QueryV2BadRequest) GetPayload() *models.DetectsapiAlertQueryResponse
func (*QueryV2BadRequest) IsClientError ¶
func (o *QueryV2BadRequest) IsClientError() bool
IsClientError returns true when this query v2 bad request response has a 4xx status code
func (*QueryV2BadRequest) IsCode ¶
func (o *QueryV2BadRequest) IsCode(code int) bool
IsCode returns true when this query v2 bad request response a status code equal to that given
func (*QueryV2BadRequest) IsRedirect ¶
func (o *QueryV2BadRequest) IsRedirect() bool
IsRedirect returns true when this query v2 bad request response has a 3xx status code
func (*QueryV2BadRequest) IsServerError ¶
func (o *QueryV2BadRequest) IsServerError() bool
IsServerError returns true when this query v2 bad request response has a 5xx status code
func (*QueryV2BadRequest) IsSuccess ¶
func (o *QueryV2BadRequest) IsSuccess() bool
IsSuccess returns true when this query v2 bad request response has a 2xx status code
func (*QueryV2BadRequest) String ¶
func (o *QueryV2BadRequest) String() string
type QueryV2Forbidden ¶
type QueryV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
QueryV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryV2Forbidden ¶
func NewQueryV2Forbidden() *QueryV2Forbidden
NewQueryV2Forbidden creates a QueryV2Forbidden with default headers values
func (*QueryV2Forbidden) Code ¶
func (o *QueryV2Forbidden) Code() int
Code gets the status code for the query v2 forbidden response
func (*QueryV2Forbidden) Error ¶
func (o *QueryV2Forbidden) Error() string
func (*QueryV2Forbidden) GetPayload ¶
func (o *QueryV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryV2Forbidden) IsClientError ¶
func (o *QueryV2Forbidden) IsClientError() bool
IsClientError returns true when this query v2 forbidden response has a 4xx status code
func (*QueryV2Forbidden) IsCode ¶
func (o *QueryV2Forbidden) IsCode(code int) bool
IsCode returns true when this query v2 forbidden response a status code equal to that given
func (*QueryV2Forbidden) IsRedirect ¶
func (o *QueryV2Forbidden) IsRedirect() bool
IsRedirect returns true when this query v2 forbidden response has a 3xx status code
func (*QueryV2Forbidden) IsServerError ¶
func (o *QueryV2Forbidden) IsServerError() bool
IsServerError returns true when this query v2 forbidden response has a 5xx status code
func (*QueryV2Forbidden) IsSuccess ¶
func (o *QueryV2Forbidden) IsSuccess() bool
IsSuccess returns true when this query v2 forbidden response has a 2xx status code
func (*QueryV2Forbidden) String ¶
func (o *QueryV2Forbidden) String() string
type QueryV2InternalServerError ¶
type QueryV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAlertQueryResponse }
QueryV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryV2InternalServerError ¶
func NewQueryV2InternalServerError() *QueryV2InternalServerError
NewQueryV2InternalServerError creates a QueryV2InternalServerError with default headers values
func (*QueryV2InternalServerError) Code ¶
func (o *QueryV2InternalServerError) Code() int
Code gets the status code for the query v2 internal server error response
func (*QueryV2InternalServerError) Error ¶
func (o *QueryV2InternalServerError) Error() string
func (*QueryV2InternalServerError) GetPayload ¶
func (o *QueryV2InternalServerError) GetPayload() *models.DetectsapiAlertQueryResponse
func (*QueryV2InternalServerError) IsClientError ¶
func (o *QueryV2InternalServerError) IsClientError() bool
IsClientError returns true when this query v2 internal server error response has a 4xx status code
func (*QueryV2InternalServerError) IsCode ¶
func (o *QueryV2InternalServerError) IsCode(code int) bool
IsCode returns true when this query v2 internal server error response a status code equal to that given
func (*QueryV2InternalServerError) IsRedirect ¶
func (o *QueryV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this query v2 internal server error response has a 3xx status code
func (*QueryV2InternalServerError) IsServerError ¶
func (o *QueryV2InternalServerError) IsServerError() bool
IsServerError returns true when this query v2 internal server error response has a 5xx status code
func (*QueryV2InternalServerError) IsSuccess ¶
func (o *QueryV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this query v2 internal server error response has a 2xx status code
func (*QueryV2InternalServerError) String ¶
func (o *QueryV2InternalServerError) String() string
type QueryV2OK ¶
type QueryV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiAlertQueryResponse }
QueryV2OK describes a response with status code 200, with default header values.
OK
func NewQueryV2OK ¶
func NewQueryV2OK() *QueryV2OK
NewQueryV2OK creates a QueryV2OK with default headers values
func (*QueryV2OK) GetPayload ¶
func (o *QueryV2OK) GetPayload() *models.DetectsapiAlertQueryResponse
func (*QueryV2OK) IsClientError ¶
IsClientError returns true when this query v2 o k response has a 4xx status code
func (*QueryV2OK) IsCode ¶
IsCode returns true when this query v2 o k response a status code equal to that given
func (*QueryV2OK) IsRedirect ¶
IsRedirect returns true when this query v2 o k response has a 3xx status code
func (*QueryV2OK) IsServerError ¶
IsServerError returns true when this query v2 o k response has a 5xx status code
type QueryV2Params ¶
type QueryV2Params struct { /* Filter. Filter Alerts using a query in Falcon Query Language (FQL).Filter fields can be any keyword field that is part of #domain.Alert An asterisk wildcard `*` includes all results. Empty value means to not filter on anything. Most commonly used filter fields that supports exact match: cid, id, aggregate_id, product, type, pattern_id, platform ... Most commonly used filter fields that supports wildcard (*): assigned_to_name, assigned_to_uuid, tactic_id, technique ... Most commonly filter fields that supports range comparisons (>, <, >=, <=): severity, created_timestamp, timestamp, updated_timestamp... All filter fields and operations support negation (!). The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql). */ Filter *string /* IncludeHidden. allows previously hidden alerts to be retrieved Default: true */ IncludeHidden *bool /* Limit. The maximum number of detections to return in this response (default: 100; max: 10000). Use with the `offset` parameter to manage pagination of results. */ Limit *int64 /* Offset. The first detection to return, where `0` is the latest detection. Use with the `offset` parameter to manage pagination of results. */ Offset *int64 /* Q. Search all detection metadata for the provided string */ Q *string /* Sort. Sort parameter takes the form <field|direction>. Direction can be either `asc` (ascending) or `desc` (descending) order. For example: `status|asc` or `status|desc`. The sorting fields can be any keyword field that is part of #domain.Alert except for the text based fields. Most commonly used fields are status, cid, aggregate_id, timestamp, created_timestamp, updated_timestamp, assigned_to_name, assigned_to_uid, assigned_to_uuid, show_in_ui, tactic_id, tactic, technique, technique_id, pattern_id, product, comment, tags If the fields are missing from the Alerts, the service will fallback to its default ordering */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryV2Params contains all the parameters to send to the API endpoint
for the query v2 operation. Typically these are written to a http.Request.
func NewQueryV2Params ¶
func NewQueryV2Params() *QueryV2Params
NewQueryV2Params creates a new QueryV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQueryV2ParamsWithContext ¶
func NewQueryV2ParamsWithContext(ctx context.Context) *QueryV2Params
NewQueryV2ParamsWithContext creates a new QueryV2Params object with the ability to set a context for a request.
func NewQueryV2ParamsWithHTTPClient ¶
func NewQueryV2ParamsWithHTTPClient(client *http.Client) *QueryV2Params
NewQueryV2ParamsWithHTTPClient creates a new QueryV2Params object with the ability to set a custom HTTPClient for a request.
func NewQueryV2ParamsWithTimeout ¶
func NewQueryV2ParamsWithTimeout(timeout time.Duration) *QueryV2Params
NewQueryV2ParamsWithTimeout creates a new QueryV2Params object with the ability to set a timeout on a request.
func (*QueryV2Params) SetContext ¶
func (o *QueryV2Params) SetContext(ctx context.Context)
SetContext adds the context to the query v2 params
func (*QueryV2Params) SetDefaults ¶
func (o *QueryV2Params) SetDefaults()
SetDefaults hydrates default values in the query v2 params (not the query body).
All values with no default are reset to their zero value.
func (*QueryV2Params) SetFilter ¶
func (o *QueryV2Params) SetFilter(filter *string)
SetFilter adds the filter to the query v2 params
func (*QueryV2Params) SetHTTPClient ¶
func (o *QueryV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query v2 params
func (*QueryV2Params) SetIncludeHidden ¶
func (o *QueryV2Params) SetIncludeHidden(includeHidden *bool)
SetIncludeHidden adds the includeHidden to the query v2 params
func (*QueryV2Params) SetLimit ¶
func (o *QueryV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the query v2 params
func (*QueryV2Params) SetOffset ¶
func (o *QueryV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the query v2 params
func (*QueryV2Params) SetQ ¶
func (o *QueryV2Params) SetQ(q *string)
SetQ adds the q to the query v2 params
func (*QueryV2Params) SetSort ¶
func (o *QueryV2Params) SetSort(sort *string)
SetSort adds the sort to the query v2 params
func (*QueryV2Params) SetTimeout ¶
func (o *QueryV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query v2 params
func (*QueryV2Params) WithContext ¶
func (o *QueryV2Params) WithContext(ctx context.Context) *QueryV2Params
WithContext adds the context to the query v2 params
func (*QueryV2Params) WithDefaults ¶
func (o *QueryV2Params) WithDefaults() *QueryV2Params
WithDefaults hydrates default values in the query v2 params (not the query body).
All values with no default are reset to their zero value.
func (*QueryV2Params) WithFilter ¶
func (o *QueryV2Params) WithFilter(filter *string) *QueryV2Params
WithFilter adds the filter to the query v2 params
func (*QueryV2Params) WithHTTPClient ¶
func (o *QueryV2Params) WithHTTPClient(client *http.Client) *QueryV2Params
WithHTTPClient adds the HTTPClient to the query v2 params
func (*QueryV2Params) WithIncludeHidden ¶
func (o *QueryV2Params) WithIncludeHidden(includeHidden *bool) *QueryV2Params
WithIncludeHidden adds the includeHidden to the query v2 params
func (*QueryV2Params) WithLimit ¶
func (o *QueryV2Params) WithLimit(limit *int64) *QueryV2Params
WithLimit adds the limit to the query v2 params
func (*QueryV2Params) WithOffset ¶
func (o *QueryV2Params) WithOffset(offset *int64) *QueryV2Params
WithOffset adds the offset to the query v2 params
func (*QueryV2Params) WithQ ¶
func (o *QueryV2Params) WithQ(q *string) *QueryV2Params
WithQ adds the q to the query v2 params
func (*QueryV2Params) WithSort ¶
func (o *QueryV2Params) WithSort(sort *string) *QueryV2Params
WithSort adds the sort to the query v2 params
func (*QueryV2Params) WithTimeout ¶
func (o *QueryV2Params) WithTimeout(timeout time.Duration) *QueryV2Params
WithTimeout adds the timeout to the query v2 params
func (*QueryV2Params) WriteToRequest ¶
func (o *QueryV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryV2Reader ¶
type QueryV2Reader struct {
// contains filtered or unexported fields
}
QueryV2Reader is a Reader for the QueryV2 structure.
func (*QueryV2Reader) ReadResponse ¶
func (o *QueryV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryV2TooManyRequests ¶
type QueryV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryV2TooManyRequests ¶
func NewQueryV2TooManyRequests() *QueryV2TooManyRequests
NewQueryV2TooManyRequests creates a QueryV2TooManyRequests with default headers values
func (*QueryV2TooManyRequests) Code ¶
func (o *QueryV2TooManyRequests) Code() int
Code gets the status code for the query v2 too many requests response
func (*QueryV2TooManyRequests) Error ¶
func (o *QueryV2TooManyRequests) Error() string
func (*QueryV2TooManyRequests) GetPayload ¶
func (o *QueryV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryV2TooManyRequests) IsClientError ¶
func (o *QueryV2TooManyRequests) IsClientError() bool
IsClientError returns true when this query v2 too many requests response has a 4xx status code
func (*QueryV2TooManyRequests) IsCode ¶
func (o *QueryV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this query v2 too many requests response a status code equal to that given
func (*QueryV2TooManyRequests) IsRedirect ¶
func (o *QueryV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this query v2 too many requests response has a 3xx status code
func (*QueryV2TooManyRequests) IsServerError ¶
func (o *QueryV2TooManyRequests) IsServerError() bool
IsServerError returns true when this query v2 too many requests response has a 5xx status code
func (*QueryV2TooManyRequests) IsSuccess ¶
func (o *QueryV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this query v2 too many requests response has a 2xx status code
func (*QueryV2TooManyRequests) String ¶
func (o *QueryV2TooManyRequests) String() string
type UpdateV3BadRequest ¶
type UpdateV3BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiResponseFields }
UpdateV3BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateV3BadRequest ¶
func NewUpdateV3BadRequest() *UpdateV3BadRequest
NewUpdateV3BadRequest creates a UpdateV3BadRequest with default headers values
func (*UpdateV3BadRequest) Code ¶
func (o *UpdateV3BadRequest) Code() int
Code gets the status code for the update v3 bad request response
func (*UpdateV3BadRequest) Error ¶
func (o *UpdateV3BadRequest) Error() string
func (*UpdateV3BadRequest) GetPayload ¶
func (o *UpdateV3BadRequest) GetPayload() *models.DetectsapiResponseFields
func (*UpdateV3BadRequest) IsClientError ¶
func (o *UpdateV3BadRequest) IsClientError() bool
IsClientError returns true when this update v3 bad request response has a 4xx status code
func (*UpdateV3BadRequest) IsCode ¶
func (o *UpdateV3BadRequest) IsCode(code int) bool
IsCode returns true when this update v3 bad request response a status code equal to that given
func (*UpdateV3BadRequest) IsRedirect ¶
func (o *UpdateV3BadRequest) IsRedirect() bool
IsRedirect returns true when this update v3 bad request response has a 3xx status code
func (*UpdateV3BadRequest) IsServerError ¶
func (o *UpdateV3BadRequest) IsServerError() bool
IsServerError returns true when this update v3 bad request response has a 5xx status code
func (*UpdateV3BadRequest) IsSuccess ¶
func (o *UpdateV3BadRequest) IsSuccess() bool
IsSuccess returns true when this update v3 bad request response has a 2xx status code
func (*UpdateV3BadRequest) String ¶
func (o *UpdateV3BadRequest) String() string
type UpdateV3Forbidden ¶
type UpdateV3Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
UpdateV3Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateV3Forbidden ¶
func NewUpdateV3Forbidden() *UpdateV3Forbidden
NewUpdateV3Forbidden creates a UpdateV3Forbidden with default headers values
func (*UpdateV3Forbidden) Code ¶
func (o *UpdateV3Forbidden) Code() int
Code gets the status code for the update v3 forbidden response
func (*UpdateV3Forbidden) Error ¶
func (o *UpdateV3Forbidden) Error() string
func (*UpdateV3Forbidden) GetPayload ¶
func (o *UpdateV3Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateV3Forbidden) IsClientError ¶
func (o *UpdateV3Forbidden) IsClientError() bool
IsClientError returns true when this update v3 forbidden response has a 4xx status code
func (*UpdateV3Forbidden) IsCode ¶
func (o *UpdateV3Forbidden) IsCode(code int) bool
IsCode returns true when this update v3 forbidden response a status code equal to that given
func (*UpdateV3Forbidden) IsRedirect ¶
func (o *UpdateV3Forbidden) IsRedirect() bool
IsRedirect returns true when this update v3 forbidden response has a 3xx status code
func (*UpdateV3Forbidden) IsServerError ¶
func (o *UpdateV3Forbidden) IsServerError() bool
IsServerError returns true when this update v3 forbidden response has a 5xx status code
func (*UpdateV3Forbidden) IsSuccess ¶
func (o *UpdateV3Forbidden) IsSuccess() bool
IsSuccess returns true when this update v3 forbidden response has a 2xx status code
func (*UpdateV3Forbidden) String ¶
func (o *UpdateV3Forbidden) String() string
type UpdateV3InternalServerError ¶
type UpdateV3InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiResponseFields }
UpdateV3InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateV3InternalServerError ¶
func NewUpdateV3InternalServerError() *UpdateV3InternalServerError
NewUpdateV3InternalServerError creates a UpdateV3InternalServerError with default headers values
func (*UpdateV3InternalServerError) Code ¶
func (o *UpdateV3InternalServerError) Code() int
Code gets the status code for the update v3 internal server error response
func (*UpdateV3InternalServerError) Error ¶
func (o *UpdateV3InternalServerError) Error() string
func (*UpdateV3InternalServerError) GetPayload ¶
func (o *UpdateV3InternalServerError) GetPayload() *models.DetectsapiResponseFields
func (*UpdateV3InternalServerError) IsClientError ¶
func (o *UpdateV3InternalServerError) IsClientError() bool
IsClientError returns true when this update v3 internal server error response has a 4xx status code
func (*UpdateV3InternalServerError) IsCode ¶
func (o *UpdateV3InternalServerError) IsCode(code int) bool
IsCode returns true when this update v3 internal server error response a status code equal to that given
func (*UpdateV3InternalServerError) IsRedirect ¶
func (o *UpdateV3InternalServerError) IsRedirect() bool
IsRedirect returns true when this update v3 internal server error response has a 3xx status code
func (*UpdateV3InternalServerError) IsServerError ¶
func (o *UpdateV3InternalServerError) IsServerError() bool
IsServerError returns true when this update v3 internal server error response has a 5xx status code
func (*UpdateV3InternalServerError) IsSuccess ¶
func (o *UpdateV3InternalServerError) IsSuccess() bool
IsSuccess returns true when this update v3 internal server error response has a 2xx status code
func (*UpdateV3InternalServerError) String ¶
func (o *UpdateV3InternalServerError) String() string
type UpdateV3OK ¶
type UpdateV3OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DetectsapiResponseFields }
UpdateV3OK describes a response with status code 200, with default header values.
OK
func NewUpdateV3OK ¶
func NewUpdateV3OK() *UpdateV3OK
NewUpdateV3OK creates a UpdateV3OK with default headers values
func (*UpdateV3OK) Code ¶
func (o *UpdateV3OK) Code() int
Code gets the status code for the update v3 o k response
func (*UpdateV3OK) Error ¶
func (o *UpdateV3OK) Error() string
func (*UpdateV3OK) GetPayload ¶
func (o *UpdateV3OK) GetPayload() *models.DetectsapiResponseFields
func (*UpdateV3OK) IsClientError ¶
func (o *UpdateV3OK) IsClientError() bool
IsClientError returns true when this update v3 o k response has a 4xx status code
func (*UpdateV3OK) IsCode ¶
func (o *UpdateV3OK) IsCode(code int) bool
IsCode returns true when this update v3 o k response a status code equal to that given
func (*UpdateV3OK) IsRedirect ¶
func (o *UpdateV3OK) IsRedirect() bool
IsRedirect returns true when this update v3 o k response has a 3xx status code
func (*UpdateV3OK) IsServerError ¶
func (o *UpdateV3OK) IsServerError() bool
IsServerError returns true when this update v3 o k response has a 5xx status code
func (*UpdateV3OK) IsSuccess ¶
func (o *UpdateV3OK) IsSuccess() bool
IsSuccess returns true when this update v3 o k response has a 2xx status code
func (*UpdateV3OK) String ¶
func (o *UpdateV3OK) String() string
type UpdateV3Params ¶
type UpdateV3Params struct { /* Body. request body takes a list of action parameter request that is applied against all "composite_ids" provided */ Body *models.DetectsapiPatchEntitiesAlertsV3Request /* IncludeHidden. allows previously hidden alerts to be retrieved Default: true */ IncludeHidden *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateV3Params contains all the parameters to send to the API endpoint
for the update v3 operation. Typically these are written to a http.Request.
func NewUpdateV3Params ¶
func NewUpdateV3Params() *UpdateV3Params
NewUpdateV3Params creates a new UpdateV3Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateV3ParamsWithContext ¶
func NewUpdateV3ParamsWithContext(ctx context.Context) *UpdateV3Params
NewUpdateV3ParamsWithContext creates a new UpdateV3Params object with the ability to set a context for a request.
func NewUpdateV3ParamsWithHTTPClient ¶
func NewUpdateV3ParamsWithHTTPClient(client *http.Client) *UpdateV3Params
NewUpdateV3ParamsWithHTTPClient creates a new UpdateV3Params object with the ability to set a custom HTTPClient for a request.
func NewUpdateV3ParamsWithTimeout ¶
func NewUpdateV3ParamsWithTimeout(timeout time.Duration) *UpdateV3Params
NewUpdateV3ParamsWithTimeout creates a new UpdateV3Params object with the ability to set a timeout on a request.
func (*UpdateV3Params) SetBody ¶
func (o *UpdateV3Params) SetBody(body *models.DetectsapiPatchEntitiesAlertsV3Request)
SetBody adds the body to the update v3 params
func (*UpdateV3Params) SetContext ¶
func (o *UpdateV3Params) SetContext(ctx context.Context)
SetContext adds the context to the update v3 params
func (*UpdateV3Params) SetDefaults ¶
func (o *UpdateV3Params) SetDefaults()
SetDefaults hydrates default values in the update v3 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateV3Params) SetHTTPClient ¶
func (o *UpdateV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update v3 params
func (*UpdateV3Params) SetIncludeHidden ¶
func (o *UpdateV3Params) SetIncludeHidden(includeHidden *bool)
SetIncludeHidden adds the includeHidden to the update v3 params
func (*UpdateV3Params) SetTimeout ¶
func (o *UpdateV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update v3 params
func (*UpdateV3Params) WithBody ¶
func (o *UpdateV3Params) WithBody(body *models.DetectsapiPatchEntitiesAlertsV3Request) *UpdateV3Params
WithBody adds the body to the update v3 params
func (*UpdateV3Params) WithContext ¶
func (o *UpdateV3Params) WithContext(ctx context.Context) *UpdateV3Params
WithContext adds the context to the update v3 params
func (*UpdateV3Params) WithDefaults ¶
func (o *UpdateV3Params) WithDefaults() *UpdateV3Params
WithDefaults hydrates default values in the update v3 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateV3Params) WithHTTPClient ¶
func (o *UpdateV3Params) WithHTTPClient(client *http.Client) *UpdateV3Params
WithHTTPClient adds the HTTPClient to the update v3 params
func (*UpdateV3Params) WithIncludeHidden ¶
func (o *UpdateV3Params) WithIncludeHidden(includeHidden *bool) *UpdateV3Params
WithIncludeHidden adds the includeHidden to the update v3 params
func (*UpdateV3Params) WithTimeout ¶
func (o *UpdateV3Params) WithTimeout(timeout time.Duration) *UpdateV3Params
WithTimeout adds the timeout to the update v3 params
func (*UpdateV3Params) WriteToRequest ¶
func (o *UpdateV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateV3Reader ¶
type UpdateV3Reader struct {
// contains filtered or unexported fields
}
UpdateV3Reader is a Reader for the UpdateV3 structure.
func (*UpdateV3Reader) ReadResponse ¶
func (o *UpdateV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateV3TooManyRequests ¶
type UpdateV3TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
UpdateV3TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdateV3TooManyRequests ¶
func NewUpdateV3TooManyRequests() *UpdateV3TooManyRequests
NewUpdateV3TooManyRequests creates a UpdateV3TooManyRequests with default headers values
func (*UpdateV3TooManyRequests) Code ¶
func (o *UpdateV3TooManyRequests) Code() int
Code gets the status code for the update v3 too many requests response
func (*UpdateV3TooManyRequests) Error ¶
func (o *UpdateV3TooManyRequests) Error() string
func (*UpdateV3TooManyRequests) GetPayload ¶
func (o *UpdateV3TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UpdateV3TooManyRequests) IsClientError ¶
func (o *UpdateV3TooManyRequests) IsClientError() bool
IsClientError returns true when this update v3 too many requests response has a 4xx status code
func (*UpdateV3TooManyRequests) IsCode ¶
func (o *UpdateV3TooManyRequests) IsCode(code int) bool
IsCode returns true when this update v3 too many requests response a status code equal to that given
func (*UpdateV3TooManyRequests) IsRedirect ¶
func (o *UpdateV3TooManyRequests) IsRedirect() bool
IsRedirect returns true when this update v3 too many requests response has a 3xx status code
func (*UpdateV3TooManyRequests) IsServerError ¶
func (o *UpdateV3TooManyRequests) IsServerError() bool
IsServerError returns true when this update v3 too many requests response has a 5xx status code
func (*UpdateV3TooManyRequests) IsSuccess ¶
func (o *UpdateV3TooManyRequests) IsSuccess() bool
IsSuccess returns true when this update v3 too many requests response has a 2xx status code
func (*UpdateV3TooManyRequests) String ¶
func (o *UpdateV3TooManyRequests) String() string
Source Files ¶
- alerts_client.go
- get_aggregate_v2_parameters.go
- get_aggregate_v2_responses.go
- get_queries_alerts_v1_parameters.go
- get_queries_alerts_v1_responses.go
- get_v2_parameters.go
- get_v2_responses.go
- patch_entities_alerts_v2_parameters.go
- patch_entities_alerts_v2_responses.go
- post_aggregates_alerts_v1_parameters.go
- post_aggregates_alerts_v1_responses.go
- post_entities_alerts_v1_parameters.go
- post_entities_alerts_v1_responses.go
- query_v2_parameters.go
- query_v2_responses.go
- update_v3_parameters.go
- update_v3_responses.go