Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type LookupIndicatorsBadRequest
- func (o *LookupIndicatorsBadRequest) Code() int
- func (o *LookupIndicatorsBadRequest) Error() string
- func (o *LookupIndicatorsBadRequest) IsClientError() bool
- func (o *LookupIndicatorsBadRequest) IsCode(code int) bool
- func (o *LookupIndicatorsBadRequest) IsRedirect() bool
- func (o *LookupIndicatorsBadRequest) IsServerError() bool
- func (o *LookupIndicatorsBadRequest) IsSuccess() bool
- func (o *LookupIndicatorsBadRequest) String() string
- type LookupIndicatorsForbidden
- func (o *LookupIndicatorsForbidden) Code() int
- func (o *LookupIndicatorsForbidden) Error() string
- func (o *LookupIndicatorsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *LookupIndicatorsForbidden) IsClientError() bool
- func (o *LookupIndicatorsForbidden) IsCode(code int) bool
- func (o *LookupIndicatorsForbidden) IsRedirect() bool
- func (o *LookupIndicatorsForbidden) IsServerError() bool
- func (o *LookupIndicatorsForbidden) IsSuccess() bool
- func (o *LookupIndicatorsForbidden) String() string
- type LookupIndicatorsInternalServerError
- func (o *LookupIndicatorsInternalServerError) Code() int
- func (o *LookupIndicatorsInternalServerError) Error() string
- func (o *LookupIndicatorsInternalServerError) IsClientError() bool
- func (o *LookupIndicatorsInternalServerError) IsCode(code int) bool
- func (o *LookupIndicatorsInternalServerError) IsRedirect() bool
- func (o *LookupIndicatorsInternalServerError) IsServerError() bool
- func (o *LookupIndicatorsInternalServerError) IsSuccess() bool
- func (o *LookupIndicatorsInternalServerError) String() string
- type LookupIndicatorsNotFound
- func (o *LookupIndicatorsNotFound) Code() int
- func (o *LookupIndicatorsNotFound) Error() string
- func (o *LookupIndicatorsNotFound) IsClientError() bool
- func (o *LookupIndicatorsNotFound) IsCode(code int) bool
- func (o *LookupIndicatorsNotFound) IsRedirect() bool
- func (o *LookupIndicatorsNotFound) IsServerError() bool
- func (o *LookupIndicatorsNotFound) IsSuccess() bool
- func (o *LookupIndicatorsNotFound) String() string
- type LookupIndicatorsOK
- func (o *LookupIndicatorsOK) Code() int
- func (o *LookupIndicatorsOK) Error() string
- func (o *LookupIndicatorsOK) GetPayload() *models.RestapiLookupIndicatorResponse
- func (o *LookupIndicatorsOK) IsClientError() bool
- func (o *LookupIndicatorsOK) IsCode(code int) bool
- func (o *LookupIndicatorsOK) IsRedirect() bool
- func (o *LookupIndicatorsOK) IsServerError() bool
- func (o *LookupIndicatorsOK) IsSuccess() bool
- func (o *LookupIndicatorsOK) String() string
- type LookupIndicatorsParams
- func NewLookupIndicatorsParams() *LookupIndicatorsParams
- func NewLookupIndicatorsParamsWithContext(ctx context.Context) *LookupIndicatorsParams
- func NewLookupIndicatorsParamsWithHTTPClient(client *http.Client) *LookupIndicatorsParams
- func NewLookupIndicatorsParamsWithTimeout(timeout time.Duration) *LookupIndicatorsParams
- func (o *LookupIndicatorsParams) SetBody(body *models.RestapiIndicatorsLookupRequest)
- func (o *LookupIndicatorsParams) SetContext(ctx context.Context)
- func (o *LookupIndicatorsParams) SetDefaults()
- func (o *LookupIndicatorsParams) SetHTTPClient(client *http.Client)
- func (o *LookupIndicatorsParams) SetTimeout(timeout time.Duration)
- func (o *LookupIndicatorsParams) WithBody(body *models.RestapiIndicatorsLookupRequest) *LookupIndicatorsParams
- func (o *LookupIndicatorsParams) WithContext(ctx context.Context) *LookupIndicatorsParams
- func (o *LookupIndicatorsParams) WithDefaults() *LookupIndicatorsParams
- func (o *LookupIndicatorsParams) WithHTTPClient(client *http.Client) *LookupIndicatorsParams
- func (o *LookupIndicatorsParams) WithTimeout(timeout time.Duration) *LookupIndicatorsParams
- func (o *LookupIndicatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LookupIndicatorsReader
- type LookupIndicatorsTooManyRequests
- func (o *LookupIndicatorsTooManyRequests) Code() int
- func (o *LookupIndicatorsTooManyRequests) Error() string
- func (o *LookupIndicatorsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *LookupIndicatorsTooManyRequests) IsClientError() bool
- func (o *LookupIndicatorsTooManyRequests) IsCode(code int) bool
- func (o *LookupIndicatorsTooManyRequests) IsRedirect() bool
- func (o *LookupIndicatorsTooManyRequests) IsServerError() bool
- func (o *LookupIndicatorsTooManyRequests) IsSuccess() bool
- func (o *LookupIndicatorsTooManyRequests) String() string
- type SearchIndicatorsBadRequest
- func (o *SearchIndicatorsBadRequest) Code() int
- func (o *SearchIndicatorsBadRequest) Error() string
- func (o *SearchIndicatorsBadRequest) IsClientError() bool
- func (o *SearchIndicatorsBadRequest) IsCode(code int) bool
- func (o *SearchIndicatorsBadRequest) IsRedirect() bool
- func (o *SearchIndicatorsBadRequest) IsServerError() bool
- func (o *SearchIndicatorsBadRequest) IsSuccess() bool
- func (o *SearchIndicatorsBadRequest) String() string
- type SearchIndicatorsForbidden
- func (o *SearchIndicatorsForbidden) Code() int
- func (o *SearchIndicatorsForbidden) Error() string
- func (o *SearchIndicatorsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchIndicatorsForbidden) IsClientError() bool
- func (o *SearchIndicatorsForbidden) IsCode(code int) bool
- func (o *SearchIndicatorsForbidden) IsRedirect() bool
- func (o *SearchIndicatorsForbidden) IsServerError() bool
- func (o *SearchIndicatorsForbidden) IsSuccess() bool
- func (o *SearchIndicatorsForbidden) String() string
- type SearchIndicatorsInternalServerError
- func (o *SearchIndicatorsInternalServerError) Code() int
- func (o *SearchIndicatorsInternalServerError) Error() string
- func (o *SearchIndicatorsInternalServerError) IsClientError() bool
- func (o *SearchIndicatorsInternalServerError) IsCode(code int) bool
- func (o *SearchIndicatorsInternalServerError) IsRedirect() bool
- func (o *SearchIndicatorsInternalServerError) IsServerError() bool
- func (o *SearchIndicatorsInternalServerError) IsSuccess() bool
- func (o *SearchIndicatorsInternalServerError) String() string
- type SearchIndicatorsNotFound
- func (o *SearchIndicatorsNotFound) Code() int
- func (o *SearchIndicatorsNotFound) Error() string
- func (o *SearchIndicatorsNotFound) IsClientError() bool
- func (o *SearchIndicatorsNotFound) IsCode(code int) bool
- func (o *SearchIndicatorsNotFound) IsRedirect() bool
- func (o *SearchIndicatorsNotFound) IsServerError() bool
- func (o *SearchIndicatorsNotFound) IsSuccess() bool
- func (o *SearchIndicatorsNotFound) String() string
- type SearchIndicatorsOK
- func (o *SearchIndicatorsOK) Code() int
- func (o *SearchIndicatorsOK) Error() string
- func (o *SearchIndicatorsOK) GetPayload() *models.RestapiIndicatorResponse
- func (o *SearchIndicatorsOK) IsClientError() bool
- func (o *SearchIndicatorsOK) IsCode(code int) bool
- func (o *SearchIndicatorsOK) IsRedirect() bool
- func (o *SearchIndicatorsOK) IsServerError() bool
- func (o *SearchIndicatorsOK) IsSuccess() bool
- func (o *SearchIndicatorsOK) String() string
- type SearchIndicatorsParams
- func NewSearchIndicatorsParams() *SearchIndicatorsParams
- func NewSearchIndicatorsParamsWithContext(ctx context.Context) *SearchIndicatorsParams
- func NewSearchIndicatorsParamsWithHTTPClient(client *http.Client) *SearchIndicatorsParams
- func NewSearchIndicatorsParamsWithTimeout(timeout time.Duration) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) SetBody(body *models.RestapiIndicatorsQueryRequest)
- func (o *SearchIndicatorsParams) SetContext(ctx context.Context)
- func (o *SearchIndicatorsParams) SetDefaults()
- func (o *SearchIndicatorsParams) SetFilter(filter *string)
- func (o *SearchIndicatorsParams) SetHTTPClient(client *http.Client)
- func (o *SearchIndicatorsParams) SetLimit(limit *int64)
- func (o *SearchIndicatorsParams) SetOffset(offset *string)
- func (o *SearchIndicatorsParams) SetSort(sort *string)
- func (o *SearchIndicatorsParams) SetTimeout(timeout time.Duration)
- func (o *SearchIndicatorsParams) WithBody(body *models.RestapiIndicatorsQueryRequest) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithContext(ctx context.Context) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithDefaults() *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithFilter(filter *string) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithHTTPClient(client *http.Client) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithLimit(limit *int64) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithOffset(offset *string) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithSort(sort *string) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WithTimeout(timeout time.Duration) *SearchIndicatorsParams
- func (o *SearchIndicatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchIndicatorsReader
- type SearchIndicatorsTooManyRequests
- func (o *SearchIndicatorsTooManyRequests) Code() int
- func (o *SearchIndicatorsTooManyRequests) Error() string
- func (o *SearchIndicatorsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchIndicatorsTooManyRequests) IsClientError() bool
- func (o *SearchIndicatorsTooManyRequests) IsCode(code int) bool
- func (o *SearchIndicatorsTooManyRequests) IsRedirect() bool
- func (o *SearchIndicatorsTooManyRequests) IsServerError() bool
- func (o *SearchIndicatorsTooManyRequests) IsSuccess() bool
- func (o *SearchIndicatorsTooManyRequests) 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 intelligence indicator graph API
func (*Client) LookupIndicators ¶ added in v0.16.0
func (a *Client) LookupIndicators(params *LookupIndicatorsParams, opts ...ClientOption) (*LookupIndicatorsOK, error)
LookupIndicators gets indicators based on their value
Look up intelligence data for multiple indicators. Supports various indicator types including domains, IP addresses, and file hashes (MD5, SHA1, SHA256). Provide up to 500 indicators in a single request.
func (*Client) SearchIndicators ¶
func (a *Client) SearchIndicators(params *SearchIndicatorsParams, opts ...ClientOption) (*SearchIndicatorsOK, error)
SearchIndicators searches indicators based on f q l filter
This method supports flexible parameter input through both query parameters and JSON request body.
## Parameter Precedence Rules
| Parameter | Query Param | JSON Body | Precedence Rule | |-----------|-------------|-----------|-----------------| | filter | ✅ | ✅ | **EXCLUSIVE** - Cannot specify both | | sort | ✅ | ✅ | **Query param OVERRIDES** JSON body | | limit | ✅ | ❌ | Query param only | | offset | ✅ | ❌ | Query param only |
### Usage Patterns: - **Query-only:** Use query parameters for simple requests - **Body-only:** Use JSON body for complex configurations - **Hybrid:** Combine both, following precedence rules above
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
LookupIndicators(params *LookupIndicatorsParams, opts ...ClientOption) (*LookupIndicatorsOK, error)
SearchIndicators(params *SearchIndicatorsParams, opts ...ClientOption) (*SearchIndicatorsOK, 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 intelligence indicator graph API client.
type LookupIndicatorsBadRequest ¶ added in v0.16.0
type LookupIndicatorsBadRequest 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
}
LookupIndicatorsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewLookupIndicatorsBadRequest ¶ added in v0.16.0
func NewLookupIndicatorsBadRequest() *LookupIndicatorsBadRequest
NewLookupIndicatorsBadRequest creates a LookupIndicatorsBadRequest with default headers values
func (*LookupIndicatorsBadRequest) Code ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) Code() int
Code gets the status code for the lookup indicators bad request response
func (*LookupIndicatorsBadRequest) Error ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) Error() string
func (*LookupIndicatorsBadRequest) IsClientError ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) IsClientError() bool
IsClientError returns true when this lookup indicators bad request response has a 4xx status code
func (*LookupIndicatorsBadRequest) IsCode ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) IsCode(code int) bool
IsCode returns true when this lookup indicators bad request response a status code equal to that given
func (*LookupIndicatorsBadRequest) IsRedirect ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) IsRedirect() bool
IsRedirect returns true when this lookup indicators bad request response has a 3xx status code
func (*LookupIndicatorsBadRequest) IsServerError ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) IsServerError() bool
IsServerError returns true when this lookup indicators bad request response has a 5xx status code
func (*LookupIndicatorsBadRequest) IsSuccess ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) IsSuccess() bool
IsSuccess returns true when this lookup indicators bad request response has a 2xx status code
func (*LookupIndicatorsBadRequest) String ¶ added in v0.16.0
func (o *LookupIndicatorsBadRequest) String() string
type LookupIndicatorsForbidden ¶ added in v0.16.0
type LookupIndicatorsForbidden 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
}
LookupIndicatorsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewLookupIndicatorsForbidden ¶ added in v0.16.0
func NewLookupIndicatorsForbidden() *LookupIndicatorsForbidden
NewLookupIndicatorsForbidden creates a LookupIndicatorsForbidden with default headers values
func (*LookupIndicatorsForbidden) Code ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) Code() int
Code gets the status code for the lookup indicators forbidden response
func (*LookupIndicatorsForbidden) Error ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) Error() string
func (*LookupIndicatorsForbidden) GetPayload ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*LookupIndicatorsForbidden) IsClientError ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) IsClientError() bool
IsClientError returns true when this lookup indicators forbidden response has a 4xx status code
func (*LookupIndicatorsForbidden) IsCode ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) IsCode(code int) bool
IsCode returns true when this lookup indicators forbidden response a status code equal to that given
func (*LookupIndicatorsForbidden) IsRedirect ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) IsRedirect() bool
IsRedirect returns true when this lookup indicators forbidden response has a 3xx status code
func (*LookupIndicatorsForbidden) IsServerError ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) IsServerError() bool
IsServerError returns true when this lookup indicators forbidden response has a 5xx status code
func (*LookupIndicatorsForbidden) IsSuccess ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) IsSuccess() bool
IsSuccess returns true when this lookup indicators forbidden response has a 2xx status code
func (*LookupIndicatorsForbidden) String ¶ added in v0.16.0
func (o *LookupIndicatorsForbidden) String() string
type LookupIndicatorsInternalServerError ¶ added in v0.16.0
type LookupIndicatorsInternalServerError 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
}
LookupIndicatorsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewLookupIndicatorsInternalServerError ¶ added in v0.16.0
func NewLookupIndicatorsInternalServerError() *LookupIndicatorsInternalServerError
NewLookupIndicatorsInternalServerError creates a LookupIndicatorsInternalServerError with default headers values
func (*LookupIndicatorsInternalServerError) Code ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) Code() int
Code gets the status code for the lookup indicators internal server error response
func (*LookupIndicatorsInternalServerError) Error ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) Error() string
func (*LookupIndicatorsInternalServerError) IsClientError ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) IsClientError() bool
IsClientError returns true when this lookup indicators internal server error response has a 4xx status code
func (*LookupIndicatorsInternalServerError) IsCode ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) IsCode(code int) bool
IsCode returns true when this lookup indicators internal server error response a status code equal to that given
func (*LookupIndicatorsInternalServerError) IsRedirect ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) IsRedirect() bool
IsRedirect returns true when this lookup indicators internal server error response has a 3xx status code
func (*LookupIndicatorsInternalServerError) IsServerError ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) IsServerError() bool
IsServerError returns true when this lookup indicators internal server error response has a 5xx status code
func (*LookupIndicatorsInternalServerError) IsSuccess ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) IsSuccess() bool
IsSuccess returns true when this lookup indicators internal server error response has a 2xx status code
func (*LookupIndicatorsInternalServerError) String ¶ added in v0.16.0
func (o *LookupIndicatorsInternalServerError) String() string
type LookupIndicatorsNotFound ¶ added in v0.16.0
type LookupIndicatorsNotFound 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
}
LookupIndicatorsNotFound describes a response with status code 404, with default header values.
Not Found
func NewLookupIndicatorsNotFound ¶ added in v0.16.0
func NewLookupIndicatorsNotFound() *LookupIndicatorsNotFound
NewLookupIndicatorsNotFound creates a LookupIndicatorsNotFound with default headers values
func (*LookupIndicatorsNotFound) Code ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) Code() int
Code gets the status code for the lookup indicators not found response
func (*LookupIndicatorsNotFound) Error ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) Error() string
func (*LookupIndicatorsNotFound) IsClientError ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) IsClientError() bool
IsClientError returns true when this lookup indicators not found response has a 4xx status code
func (*LookupIndicatorsNotFound) IsCode ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) IsCode(code int) bool
IsCode returns true when this lookup indicators not found response a status code equal to that given
func (*LookupIndicatorsNotFound) IsRedirect ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) IsRedirect() bool
IsRedirect returns true when this lookup indicators not found response has a 3xx status code
func (*LookupIndicatorsNotFound) IsServerError ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) IsServerError() bool
IsServerError returns true when this lookup indicators not found response has a 5xx status code
func (*LookupIndicatorsNotFound) IsSuccess ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) IsSuccess() bool
IsSuccess returns true when this lookup indicators not found response has a 2xx status code
func (*LookupIndicatorsNotFound) String ¶ added in v0.16.0
func (o *LookupIndicatorsNotFound) String() string
type LookupIndicatorsOK ¶ added in v0.16.0
type LookupIndicatorsOK 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.RestapiLookupIndicatorResponse
}
LookupIndicatorsOK describes a response with status code 200, with default header values.
OK
func NewLookupIndicatorsOK ¶ added in v0.16.0
func NewLookupIndicatorsOK() *LookupIndicatorsOK
NewLookupIndicatorsOK creates a LookupIndicatorsOK with default headers values
func (*LookupIndicatorsOK) Code ¶ added in v0.16.0
func (o *LookupIndicatorsOK) Code() int
Code gets the status code for the lookup indicators o k response
func (*LookupIndicatorsOK) Error ¶ added in v0.16.0
func (o *LookupIndicatorsOK) Error() string
func (*LookupIndicatorsOK) GetPayload ¶ added in v0.16.0
func (o *LookupIndicatorsOK) GetPayload() *models.RestapiLookupIndicatorResponse
func (*LookupIndicatorsOK) IsClientError ¶ added in v0.16.0
func (o *LookupIndicatorsOK) IsClientError() bool
IsClientError returns true when this lookup indicators o k response has a 4xx status code
func (*LookupIndicatorsOK) IsCode ¶ added in v0.16.0
func (o *LookupIndicatorsOK) IsCode(code int) bool
IsCode returns true when this lookup indicators o k response a status code equal to that given
func (*LookupIndicatorsOK) IsRedirect ¶ added in v0.16.0
func (o *LookupIndicatorsOK) IsRedirect() bool
IsRedirect returns true when this lookup indicators o k response has a 3xx status code
func (*LookupIndicatorsOK) IsServerError ¶ added in v0.16.0
func (o *LookupIndicatorsOK) IsServerError() bool
IsServerError returns true when this lookup indicators o k response has a 5xx status code
func (*LookupIndicatorsOK) IsSuccess ¶ added in v0.16.0
func (o *LookupIndicatorsOK) IsSuccess() bool
IsSuccess returns true when this lookup indicators o k response has a 2xx status code
func (*LookupIndicatorsOK) String ¶ added in v0.16.0
func (o *LookupIndicatorsOK) String() string
type LookupIndicatorsParams ¶ added in v0.16.0
type LookupIndicatorsParams struct {
// Body.
Body *models.RestapiIndicatorsLookupRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LookupIndicatorsParams contains all the parameters to send to the API endpoint
for the lookup indicators operation. Typically these are written to a http.Request.
func NewLookupIndicatorsParams ¶ added in v0.16.0
func NewLookupIndicatorsParams() *LookupIndicatorsParams
NewLookupIndicatorsParams creates a new LookupIndicatorsParams 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 NewLookupIndicatorsParamsWithContext ¶ added in v0.16.0
func NewLookupIndicatorsParamsWithContext(ctx context.Context) *LookupIndicatorsParams
NewLookupIndicatorsParamsWithContext creates a new LookupIndicatorsParams object with the ability to set a context for a request.
func NewLookupIndicatorsParamsWithHTTPClient ¶ added in v0.16.0
func NewLookupIndicatorsParamsWithHTTPClient(client *http.Client) *LookupIndicatorsParams
NewLookupIndicatorsParamsWithHTTPClient creates a new LookupIndicatorsParams object with the ability to set a custom HTTPClient for a request.
func NewLookupIndicatorsParamsWithTimeout ¶ added in v0.16.0
func NewLookupIndicatorsParamsWithTimeout(timeout time.Duration) *LookupIndicatorsParams
NewLookupIndicatorsParamsWithTimeout creates a new LookupIndicatorsParams object with the ability to set a timeout on a request.
func (*LookupIndicatorsParams) SetBody ¶ added in v0.16.0
func (o *LookupIndicatorsParams) SetBody(body *models.RestapiIndicatorsLookupRequest)
SetBody adds the body to the lookup indicators params
func (*LookupIndicatorsParams) SetContext ¶ added in v0.16.0
func (o *LookupIndicatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the lookup indicators params
func (*LookupIndicatorsParams) SetDefaults ¶ added in v0.16.0
func (o *LookupIndicatorsParams) SetDefaults()
SetDefaults hydrates default values in the lookup indicators params (not the query body).
All values with no default are reset to their zero value.
func (*LookupIndicatorsParams) SetHTTPClient ¶ added in v0.16.0
func (o *LookupIndicatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lookup indicators params
func (*LookupIndicatorsParams) SetTimeout ¶ added in v0.16.0
func (o *LookupIndicatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lookup indicators params
func (*LookupIndicatorsParams) WithBody ¶ added in v0.16.0
func (o *LookupIndicatorsParams) WithBody(body *models.RestapiIndicatorsLookupRequest) *LookupIndicatorsParams
WithBody adds the body to the lookup indicators params
func (*LookupIndicatorsParams) WithContext ¶ added in v0.16.0
func (o *LookupIndicatorsParams) WithContext(ctx context.Context) *LookupIndicatorsParams
WithContext adds the context to the lookup indicators params
func (*LookupIndicatorsParams) WithDefaults ¶ added in v0.16.0
func (o *LookupIndicatorsParams) WithDefaults() *LookupIndicatorsParams
WithDefaults hydrates default values in the lookup indicators params (not the query body).
All values with no default are reset to their zero value.
func (*LookupIndicatorsParams) WithHTTPClient ¶ added in v0.16.0
func (o *LookupIndicatorsParams) WithHTTPClient(client *http.Client) *LookupIndicatorsParams
WithHTTPClient adds the HTTPClient to the lookup indicators params
func (*LookupIndicatorsParams) WithTimeout ¶ added in v0.16.0
func (o *LookupIndicatorsParams) WithTimeout(timeout time.Duration) *LookupIndicatorsParams
WithTimeout adds the timeout to the lookup indicators params
func (*LookupIndicatorsParams) WriteToRequest ¶ added in v0.16.0
func (o *LookupIndicatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LookupIndicatorsReader ¶ added in v0.16.0
type LookupIndicatorsReader struct {
// contains filtered or unexported fields
}
LookupIndicatorsReader is a Reader for the LookupIndicators structure.
func (*LookupIndicatorsReader) ReadResponse ¶ added in v0.16.0
func (o *LookupIndicatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LookupIndicatorsTooManyRequests ¶ added in v0.16.0
type LookupIndicatorsTooManyRequests 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
}
LookupIndicatorsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewLookupIndicatorsTooManyRequests ¶ added in v0.16.0
func NewLookupIndicatorsTooManyRequests() *LookupIndicatorsTooManyRequests
NewLookupIndicatorsTooManyRequests creates a LookupIndicatorsTooManyRequests with default headers values
func (*LookupIndicatorsTooManyRequests) Code ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) Code() int
Code gets the status code for the lookup indicators too many requests response
func (*LookupIndicatorsTooManyRequests) Error ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) Error() string
func (*LookupIndicatorsTooManyRequests) GetPayload ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*LookupIndicatorsTooManyRequests) IsClientError ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) IsClientError() bool
IsClientError returns true when this lookup indicators too many requests response has a 4xx status code
func (*LookupIndicatorsTooManyRequests) IsCode ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) IsCode(code int) bool
IsCode returns true when this lookup indicators too many requests response a status code equal to that given
func (*LookupIndicatorsTooManyRequests) IsRedirect ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this lookup indicators too many requests response has a 3xx status code
func (*LookupIndicatorsTooManyRequests) IsServerError ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) IsServerError() bool
IsServerError returns true when this lookup indicators too many requests response has a 5xx status code
func (*LookupIndicatorsTooManyRequests) IsSuccess ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this lookup indicators too many requests response has a 2xx status code
func (*LookupIndicatorsTooManyRequests) String ¶ added in v0.16.0
func (o *LookupIndicatorsTooManyRequests) String() string
type SearchIndicatorsBadRequest ¶
type SearchIndicatorsBadRequest 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
}
SearchIndicatorsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSearchIndicatorsBadRequest ¶
func NewSearchIndicatorsBadRequest() *SearchIndicatorsBadRequest
NewSearchIndicatorsBadRequest creates a SearchIndicatorsBadRequest with default headers values
func (*SearchIndicatorsBadRequest) Code ¶
func (o *SearchIndicatorsBadRequest) Code() int
Code gets the status code for the search indicators bad request response
func (*SearchIndicatorsBadRequest) Error ¶
func (o *SearchIndicatorsBadRequest) Error() string
func (*SearchIndicatorsBadRequest) IsClientError ¶
func (o *SearchIndicatorsBadRequest) IsClientError() bool
IsClientError returns true when this search indicators bad request response has a 4xx status code
func (*SearchIndicatorsBadRequest) IsCode ¶
func (o *SearchIndicatorsBadRequest) IsCode(code int) bool
IsCode returns true when this search indicators bad request response a status code equal to that given
func (*SearchIndicatorsBadRequest) IsRedirect ¶
func (o *SearchIndicatorsBadRequest) IsRedirect() bool
IsRedirect returns true when this search indicators bad request response has a 3xx status code
func (*SearchIndicatorsBadRequest) IsServerError ¶
func (o *SearchIndicatorsBadRequest) IsServerError() bool
IsServerError returns true when this search indicators bad request response has a 5xx status code
func (*SearchIndicatorsBadRequest) IsSuccess ¶
func (o *SearchIndicatorsBadRequest) IsSuccess() bool
IsSuccess returns true when this search indicators bad request response has a 2xx status code
func (*SearchIndicatorsBadRequest) String ¶
func (o *SearchIndicatorsBadRequest) String() string
type SearchIndicatorsForbidden ¶
type SearchIndicatorsForbidden 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
}
SearchIndicatorsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSearchIndicatorsForbidden ¶
func NewSearchIndicatorsForbidden() *SearchIndicatorsForbidden
NewSearchIndicatorsForbidden creates a SearchIndicatorsForbidden with default headers values
func (*SearchIndicatorsForbidden) Code ¶
func (o *SearchIndicatorsForbidden) Code() int
Code gets the status code for the search indicators forbidden response
func (*SearchIndicatorsForbidden) Error ¶
func (o *SearchIndicatorsForbidden) Error() string
func (*SearchIndicatorsForbidden) GetPayload ¶
func (o *SearchIndicatorsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*SearchIndicatorsForbidden) IsClientError ¶
func (o *SearchIndicatorsForbidden) IsClientError() bool
IsClientError returns true when this search indicators forbidden response has a 4xx status code
func (*SearchIndicatorsForbidden) IsCode ¶
func (o *SearchIndicatorsForbidden) IsCode(code int) bool
IsCode returns true when this search indicators forbidden response a status code equal to that given
func (*SearchIndicatorsForbidden) IsRedirect ¶
func (o *SearchIndicatorsForbidden) IsRedirect() bool
IsRedirect returns true when this search indicators forbidden response has a 3xx status code
func (*SearchIndicatorsForbidden) IsServerError ¶
func (o *SearchIndicatorsForbidden) IsServerError() bool
IsServerError returns true when this search indicators forbidden response has a 5xx status code
func (*SearchIndicatorsForbidden) IsSuccess ¶
func (o *SearchIndicatorsForbidden) IsSuccess() bool
IsSuccess returns true when this search indicators forbidden response has a 2xx status code
func (*SearchIndicatorsForbidden) String ¶
func (o *SearchIndicatorsForbidden) String() string
type SearchIndicatorsInternalServerError ¶
type SearchIndicatorsInternalServerError 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
}
SearchIndicatorsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewSearchIndicatorsInternalServerError ¶
func NewSearchIndicatorsInternalServerError() *SearchIndicatorsInternalServerError
NewSearchIndicatorsInternalServerError creates a SearchIndicatorsInternalServerError with default headers values
func (*SearchIndicatorsInternalServerError) Code ¶
func (o *SearchIndicatorsInternalServerError) Code() int
Code gets the status code for the search indicators internal server error response
func (*SearchIndicatorsInternalServerError) Error ¶
func (o *SearchIndicatorsInternalServerError) Error() string
func (*SearchIndicatorsInternalServerError) IsClientError ¶
func (o *SearchIndicatorsInternalServerError) IsClientError() bool
IsClientError returns true when this search indicators internal server error response has a 4xx status code
func (*SearchIndicatorsInternalServerError) IsCode ¶
func (o *SearchIndicatorsInternalServerError) IsCode(code int) bool
IsCode returns true when this search indicators internal server error response a status code equal to that given
func (*SearchIndicatorsInternalServerError) IsRedirect ¶
func (o *SearchIndicatorsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search indicators internal server error response has a 3xx status code
func (*SearchIndicatorsInternalServerError) IsServerError ¶
func (o *SearchIndicatorsInternalServerError) IsServerError() bool
IsServerError returns true when this search indicators internal server error response has a 5xx status code
func (*SearchIndicatorsInternalServerError) IsSuccess ¶
func (o *SearchIndicatorsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search indicators internal server error response has a 2xx status code
func (*SearchIndicatorsInternalServerError) String ¶
func (o *SearchIndicatorsInternalServerError) String() string
type SearchIndicatorsNotFound ¶
type SearchIndicatorsNotFound 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
}
SearchIndicatorsNotFound describes a response with status code 404, with default header values.
Not Found
func NewSearchIndicatorsNotFound ¶
func NewSearchIndicatorsNotFound() *SearchIndicatorsNotFound
NewSearchIndicatorsNotFound creates a SearchIndicatorsNotFound with default headers values
func (*SearchIndicatorsNotFound) Code ¶
func (o *SearchIndicatorsNotFound) Code() int
Code gets the status code for the search indicators not found response
func (*SearchIndicatorsNotFound) Error ¶
func (o *SearchIndicatorsNotFound) Error() string
func (*SearchIndicatorsNotFound) IsClientError ¶
func (o *SearchIndicatorsNotFound) IsClientError() bool
IsClientError returns true when this search indicators not found response has a 4xx status code
func (*SearchIndicatorsNotFound) IsCode ¶
func (o *SearchIndicatorsNotFound) IsCode(code int) bool
IsCode returns true when this search indicators not found response a status code equal to that given
func (*SearchIndicatorsNotFound) IsRedirect ¶
func (o *SearchIndicatorsNotFound) IsRedirect() bool
IsRedirect returns true when this search indicators not found response has a 3xx status code
func (*SearchIndicatorsNotFound) IsServerError ¶
func (o *SearchIndicatorsNotFound) IsServerError() bool
IsServerError returns true when this search indicators not found response has a 5xx status code
func (*SearchIndicatorsNotFound) IsSuccess ¶
func (o *SearchIndicatorsNotFound) IsSuccess() bool
IsSuccess returns true when this search indicators not found response has a 2xx status code
func (*SearchIndicatorsNotFound) String ¶
func (o *SearchIndicatorsNotFound) String() string
type SearchIndicatorsOK ¶
type SearchIndicatorsOK 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.RestapiIndicatorResponse
}
SearchIndicatorsOK describes a response with status code 200, with default header values.
OK
func NewSearchIndicatorsOK ¶
func NewSearchIndicatorsOK() *SearchIndicatorsOK
NewSearchIndicatorsOK creates a SearchIndicatorsOK with default headers values
func (*SearchIndicatorsOK) Code ¶
func (o *SearchIndicatorsOK) Code() int
Code gets the status code for the search indicators o k response
func (*SearchIndicatorsOK) Error ¶
func (o *SearchIndicatorsOK) Error() string
func (*SearchIndicatorsOK) GetPayload ¶
func (o *SearchIndicatorsOK) GetPayload() *models.RestapiIndicatorResponse
func (*SearchIndicatorsOK) IsClientError ¶
func (o *SearchIndicatorsOK) IsClientError() bool
IsClientError returns true when this search indicators o k response has a 4xx status code
func (*SearchIndicatorsOK) IsCode ¶
func (o *SearchIndicatorsOK) IsCode(code int) bool
IsCode returns true when this search indicators o k response a status code equal to that given
func (*SearchIndicatorsOK) IsRedirect ¶
func (o *SearchIndicatorsOK) IsRedirect() bool
IsRedirect returns true when this search indicators o k response has a 3xx status code
func (*SearchIndicatorsOK) IsServerError ¶
func (o *SearchIndicatorsOK) IsServerError() bool
IsServerError returns true when this search indicators o k response has a 5xx status code
func (*SearchIndicatorsOK) IsSuccess ¶
func (o *SearchIndicatorsOK) IsSuccess() bool
IsSuccess returns true when this search indicators o k response has a 2xx status code
func (*SearchIndicatorsOK) String ¶
func (o *SearchIndicatorsOK) String() string
type SearchIndicatorsParams ¶
type SearchIndicatorsParams struct {
// Body.
Body *models.RestapiIndicatorsQueryRequest
/* Filter.
FQL query specifying the filter parameters.
**Filter parameters include:** Type, LastUpdated, KillChain, MaliciousConfidence, MaliciousConfidenceValidatedTime, FirstSeen, LastSeen,
Adversaries.Name, Adversaries.Slug, Reports.Title, Reports.Slug, Threats.FamilyName, Vulnerabilities.CVE, Sectors.Name, FileDetails.SHA256,
FileDetails.SHA1, FileDetails.MD5, DomainDetails.Detail, IPv4Details.IPv4, IPv6Details.IPv6, URLDetails.URL and others
*/
Filter *string
/* Limit.
Limit
*/
Limit *int64
/* Offset.
Offset
*/
Offset *string
/* Sort.
Parameter to specify the order(field examples: FileDetails.SHA256, URLDetails.URL, PublishDate, MaliciousConfidence) Ex: 'PublishDate|asc'.
*/
Sort *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SearchIndicatorsParams contains all the parameters to send to the API endpoint
for the search indicators operation. Typically these are written to a http.Request.
func NewSearchIndicatorsParams ¶
func NewSearchIndicatorsParams() *SearchIndicatorsParams
NewSearchIndicatorsParams creates a new SearchIndicatorsParams 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 NewSearchIndicatorsParamsWithContext ¶
func NewSearchIndicatorsParamsWithContext(ctx context.Context) *SearchIndicatorsParams
NewSearchIndicatorsParamsWithContext creates a new SearchIndicatorsParams object with the ability to set a context for a request.
func NewSearchIndicatorsParamsWithHTTPClient ¶
func NewSearchIndicatorsParamsWithHTTPClient(client *http.Client) *SearchIndicatorsParams
NewSearchIndicatorsParamsWithHTTPClient creates a new SearchIndicatorsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchIndicatorsParamsWithTimeout ¶
func NewSearchIndicatorsParamsWithTimeout(timeout time.Duration) *SearchIndicatorsParams
NewSearchIndicatorsParamsWithTimeout creates a new SearchIndicatorsParams object with the ability to set a timeout on a request.
func (*SearchIndicatorsParams) SetBody ¶
func (o *SearchIndicatorsParams) SetBody(body *models.RestapiIndicatorsQueryRequest)
SetBody adds the body to the search indicators params
func (*SearchIndicatorsParams) SetContext ¶
func (o *SearchIndicatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the search indicators params
func (*SearchIndicatorsParams) SetDefaults ¶
func (o *SearchIndicatorsParams) SetDefaults()
SetDefaults hydrates default values in the search indicators params (not the query body).
All values with no default are reset to their zero value.
func (*SearchIndicatorsParams) SetFilter ¶ added in v0.16.0
func (o *SearchIndicatorsParams) SetFilter(filter *string)
SetFilter adds the filter to the search indicators params
func (*SearchIndicatorsParams) SetHTTPClient ¶
func (o *SearchIndicatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search indicators params
func (*SearchIndicatorsParams) SetLimit ¶
func (o *SearchIndicatorsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search indicators params
func (*SearchIndicatorsParams) SetOffset ¶
func (o *SearchIndicatorsParams) SetOffset(offset *string)
SetOffset adds the offset to the search indicators params
func (*SearchIndicatorsParams) SetSort ¶ added in v0.16.0
func (o *SearchIndicatorsParams) SetSort(sort *string)
SetSort adds the sort to the search indicators params
func (*SearchIndicatorsParams) SetTimeout ¶
func (o *SearchIndicatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search indicators params
func (*SearchIndicatorsParams) WithBody ¶
func (o *SearchIndicatorsParams) WithBody(body *models.RestapiIndicatorsQueryRequest) *SearchIndicatorsParams
WithBody adds the body to the search indicators params
func (*SearchIndicatorsParams) WithContext ¶
func (o *SearchIndicatorsParams) WithContext(ctx context.Context) *SearchIndicatorsParams
WithContext adds the context to the search indicators params
func (*SearchIndicatorsParams) WithDefaults ¶
func (o *SearchIndicatorsParams) WithDefaults() *SearchIndicatorsParams
WithDefaults hydrates default values in the search indicators params (not the query body).
All values with no default are reset to their zero value.
func (*SearchIndicatorsParams) WithFilter ¶ added in v0.16.0
func (o *SearchIndicatorsParams) WithFilter(filter *string) *SearchIndicatorsParams
WithFilter adds the filter to the search indicators params
func (*SearchIndicatorsParams) WithHTTPClient ¶
func (o *SearchIndicatorsParams) WithHTTPClient(client *http.Client) *SearchIndicatorsParams
WithHTTPClient adds the HTTPClient to the search indicators params
func (*SearchIndicatorsParams) WithLimit ¶
func (o *SearchIndicatorsParams) WithLimit(limit *int64) *SearchIndicatorsParams
WithLimit adds the limit to the search indicators params
func (*SearchIndicatorsParams) WithOffset ¶
func (o *SearchIndicatorsParams) WithOffset(offset *string) *SearchIndicatorsParams
WithOffset adds the offset to the search indicators params
func (*SearchIndicatorsParams) WithSort ¶ added in v0.16.0
func (o *SearchIndicatorsParams) WithSort(sort *string) *SearchIndicatorsParams
WithSort adds the sort to the search indicators params
func (*SearchIndicatorsParams) WithTimeout ¶
func (o *SearchIndicatorsParams) WithTimeout(timeout time.Duration) *SearchIndicatorsParams
WithTimeout adds the timeout to the search indicators params
func (*SearchIndicatorsParams) WriteToRequest ¶
func (o *SearchIndicatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchIndicatorsReader ¶
type SearchIndicatorsReader struct {
// contains filtered or unexported fields
}
SearchIndicatorsReader is a Reader for the SearchIndicators structure.
func (*SearchIndicatorsReader) ReadResponse ¶
func (o *SearchIndicatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchIndicatorsTooManyRequests ¶
type SearchIndicatorsTooManyRequests 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
}
SearchIndicatorsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSearchIndicatorsTooManyRequests ¶
func NewSearchIndicatorsTooManyRequests() *SearchIndicatorsTooManyRequests
NewSearchIndicatorsTooManyRequests creates a SearchIndicatorsTooManyRequests with default headers values
func (*SearchIndicatorsTooManyRequests) Code ¶
func (o *SearchIndicatorsTooManyRequests) Code() int
Code gets the status code for the search indicators too many requests response
func (*SearchIndicatorsTooManyRequests) Error ¶
func (o *SearchIndicatorsTooManyRequests) Error() string
func (*SearchIndicatorsTooManyRequests) GetPayload ¶
func (o *SearchIndicatorsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*SearchIndicatorsTooManyRequests) IsClientError ¶
func (o *SearchIndicatorsTooManyRequests) IsClientError() bool
IsClientError returns true when this search indicators too many requests response has a 4xx status code
func (*SearchIndicatorsTooManyRequests) IsCode ¶
func (o *SearchIndicatorsTooManyRequests) IsCode(code int) bool
IsCode returns true when this search indicators too many requests response a status code equal to that given
func (*SearchIndicatorsTooManyRequests) IsRedirect ¶
func (o *SearchIndicatorsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this search indicators too many requests response has a 3xx status code
func (*SearchIndicatorsTooManyRequests) IsServerError ¶
func (o *SearchIndicatorsTooManyRequests) IsServerError() bool
IsServerError returns true when this search indicators too many requests response has a 5xx status code
func (*SearchIndicatorsTooManyRequests) IsSuccess ¶
func (o *SearchIndicatorsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this search indicators too many requests response has a 2xx status code
func (*SearchIndicatorsTooManyRequests) String ¶
func (o *SearchIndicatorsTooManyRequests) String() string