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