Documentation ¶
Index ¶
- type Client
- func (a *Client) IndicatorCreateV1(params *IndicatorCreateV1Params, opts ...ClientOption) (*IndicatorCreateV1Created, error)
- func (a *Client) IndicatorDeleteV1(params *IndicatorDeleteV1Params, opts ...ClientOption) (*IndicatorDeleteV1OK, error)
- func (a *Client) IndicatorGetV1(params *IndicatorGetV1Params, opts ...ClientOption) (*IndicatorGetV1OK, error)
- func (a *Client) IndicatorSearchV1(params *IndicatorSearchV1Params, opts ...ClientOption) (*IndicatorSearchV1OK, error)
- func (a *Client) IndicatorUpdateV1(params *IndicatorUpdateV1Params, opts ...ClientOption) (*IndicatorUpdateV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type IndicatorCreateV1Created
- type IndicatorCreateV1Forbidden
- type IndicatorCreateV1Params
- func NewIndicatorCreateV1Params() *IndicatorCreateV1Params
- func NewIndicatorCreateV1ParamsWithContext(ctx context.Context) *IndicatorCreateV1Params
- func NewIndicatorCreateV1ParamsWithHTTPClient(client *http.Client) *IndicatorCreateV1Params
- func NewIndicatorCreateV1ParamsWithTimeout(timeout time.Duration) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) SetBody(body *models.APIIndicatorCreateReqsV1)
- func (o *IndicatorCreateV1Params) SetContext(ctx context.Context)
- func (o *IndicatorCreateV1Params) SetDefaults()
- func (o *IndicatorCreateV1Params) SetHTTPClient(client *http.Client)
- func (o *IndicatorCreateV1Params) SetIgnoreWarnings(ignoreWarnings *bool)
- func (o *IndicatorCreateV1Params) SetRetrodetects(retrodetects *bool)
- func (o *IndicatorCreateV1Params) SetTimeout(timeout time.Duration)
- func (o *IndicatorCreateV1Params) SetXCSUSERNAME(xCSUSERNAME *string)
- func (o *IndicatorCreateV1Params) WithBody(body *models.APIIndicatorCreateReqsV1) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithContext(ctx context.Context) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithDefaults() *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithHTTPClient(client *http.Client) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithIgnoreWarnings(ignoreWarnings *bool) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithRetrodetects(retrodetects *bool) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithTimeout(timeout time.Duration) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WithXCSUSERNAME(xCSUSERNAME *string) *IndicatorCreateV1Params
- func (o *IndicatorCreateV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndicatorCreateV1Reader
- type IndicatorCreateV1TooManyRequests
- type IndicatorDeleteV1Default
- type IndicatorDeleteV1Forbidden
- type IndicatorDeleteV1OK
- type IndicatorDeleteV1Params
- func NewIndicatorDeleteV1Params() *IndicatorDeleteV1Params
- func NewIndicatorDeleteV1ParamsWithContext(ctx context.Context) *IndicatorDeleteV1Params
- func NewIndicatorDeleteV1ParamsWithHTTPClient(client *http.Client) *IndicatorDeleteV1Params
- func NewIndicatorDeleteV1ParamsWithTimeout(timeout time.Duration) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) SetComment(comment *string)
- func (o *IndicatorDeleteV1Params) SetContext(ctx context.Context)
- func (o *IndicatorDeleteV1Params) SetDefaults()
- func (o *IndicatorDeleteV1Params) SetFilter(filter *string)
- func (o *IndicatorDeleteV1Params) SetHTTPClient(client *http.Client)
- func (o *IndicatorDeleteV1Params) SetIds(ids []string)
- func (o *IndicatorDeleteV1Params) SetTimeout(timeout time.Duration)
- func (o *IndicatorDeleteV1Params) WithComment(comment *string) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WithContext(ctx context.Context) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WithDefaults() *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WithFilter(filter *string) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WithHTTPClient(client *http.Client) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WithIds(ids []string) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WithTimeout(timeout time.Duration) *IndicatorDeleteV1Params
- func (o *IndicatorDeleteV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndicatorDeleteV1Reader
- type IndicatorDeleteV1TooManyRequests
- type IndicatorGetV1Default
- type IndicatorGetV1Forbidden
- type IndicatorGetV1OK
- type IndicatorGetV1Params
- func NewIndicatorGetV1Params() *IndicatorGetV1Params
- func NewIndicatorGetV1ParamsWithContext(ctx context.Context) *IndicatorGetV1Params
- func NewIndicatorGetV1ParamsWithHTTPClient(client *http.Client) *IndicatorGetV1Params
- func NewIndicatorGetV1ParamsWithTimeout(timeout time.Duration) *IndicatorGetV1Params
- func (o *IndicatorGetV1Params) SetContext(ctx context.Context)
- func (o *IndicatorGetV1Params) SetDefaults()
- func (o *IndicatorGetV1Params) SetHTTPClient(client *http.Client)
- func (o *IndicatorGetV1Params) SetIds(ids []string)
- func (o *IndicatorGetV1Params) SetTimeout(timeout time.Duration)
- func (o *IndicatorGetV1Params) WithContext(ctx context.Context) *IndicatorGetV1Params
- func (o *IndicatorGetV1Params) WithDefaults() *IndicatorGetV1Params
- func (o *IndicatorGetV1Params) WithHTTPClient(client *http.Client) *IndicatorGetV1Params
- func (o *IndicatorGetV1Params) WithIds(ids []string) *IndicatorGetV1Params
- func (o *IndicatorGetV1Params) WithTimeout(timeout time.Duration) *IndicatorGetV1Params
- func (o *IndicatorGetV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndicatorGetV1Reader
- type IndicatorGetV1TooManyRequests
- type IndicatorSearchV1Default
- type IndicatorSearchV1Forbidden
- type IndicatorSearchV1OK
- type IndicatorSearchV1Params
- func NewIndicatorSearchV1Params() *IndicatorSearchV1Params
- func NewIndicatorSearchV1ParamsWithContext(ctx context.Context) *IndicatorSearchV1Params
- func NewIndicatorSearchV1ParamsWithHTTPClient(client *http.Client) *IndicatorSearchV1Params
- func NewIndicatorSearchV1ParamsWithTimeout(timeout time.Duration) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) SetContext(ctx context.Context)
- func (o *IndicatorSearchV1Params) SetDefaults()
- func (o *IndicatorSearchV1Params) SetFilter(filter *string)
- func (o *IndicatorSearchV1Params) SetHTTPClient(client *http.Client)
- func (o *IndicatorSearchV1Params) SetLimit(limit *int64)
- func (o *IndicatorSearchV1Params) SetOffset(offset *int64)
- func (o *IndicatorSearchV1Params) SetSort(sort *string)
- func (o *IndicatorSearchV1Params) SetTimeout(timeout time.Duration)
- func (o *IndicatorSearchV1Params) WithContext(ctx context.Context) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithDefaults() *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithFilter(filter *string) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithHTTPClient(client *http.Client) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithLimit(limit *int64) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithOffset(offset *int64) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithSort(sort *string) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WithTimeout(timeout time.Duration) *IndicatorSearchV1Params
- func (o *IndicatorSearchV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndicatorSearchV1Reader
- type IndicatorSearchV1TooManyRequests
- type IndicatorUpdateV1Default
- type IndicatorUpdateV1Forbidden
- type IndicatorUpdateV1OK
- type IndicatorUpdateV1Params
- func NewIndicatorUpdateV1Params() *IndicatorUpdateV1Params
- func NewIndicatorUpdateV1ParamsWithContext(ctx context.Context) *IndicatorUpdateV1Params
- func NewIndicatorUpdateV1ParamsWithHTTPClient(client *http.Client) *IndicatorUpdateV1Params
- func NewIndicatorUpdateV1ParamsWithTimeout(timeout time.Duration) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) SetBody(body *models.APIIndicatorUpdateReqsV1)
- func (o *IndicatorUpdateV1Params) SetContext(ctx context.Context)
- func (o *IndicatorUpdateV1Params) SetDefaults()
- func (o *IndicatorUpdateV1Params) SetHTTPClient(client *http.Client)
- func (o *IndicatorUpdateV1Params) SetIgnoreWarnings(ignoreWarnings *bool)
- func (o *IndicatorUpdateV1Params) SetRetrodetects(retrodetects *bool)
- func (o *IndicatorUpdateV1Params) SetTimeout(timeout time.Duration)
- func (o *IndicatorUpdateV1Params) SetXCSUSERNAME(xCSUSERNAME *string)
- func (o *IndicatorUpdateV1Params) WithBody(body *models.APIIndicatorUpdateReqsV1) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithContext(ctx context.Context) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithDefaults() *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithHTTPClient(client *http.Client) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithIgnoreWarnings(ignoreWarnings *bool) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithRetrodetects(retrodetects *bool) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithTimeout(timeout time.Duration) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WithXCSUSERNAME(xCSUSERNAME *string) *IndicatorUpdateV1Params
- func (o *IndicatorUpdateV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndicatorUpdateV1Reader
- type IndicatorUpdateV1TooManyRequests
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 ioc API
func (*Client) IndicatorCreateV1 ¶
func (a *Client) IndicatorCreateV1(params *IndicatorCreateV1Params, opts ...ClientOption) (*IndicatorCreateV1Created, error)
IndicatorCreateV1 creates indicators
func (*Client) IndicatorDeleteV1 ¶
func (a *Client) IndicatorDeleteV1(params *IndicatorDeleteV1Params, opts ...ClientOption) (*IndicatorDeleteV1OK, error)
IndicatorDeleteV1 deletes indicators by ids
func (*Client) IndicatorGetV1 ¶
func (a *Client) IndicatorGetV1(params *IndicatorGetV1Params, opts ...ClientOption) (*IndicatorGetV1OK, error)
IndicatorGetV1 gets indicators by ids
func (*Client) IndicatorSearchV1 ¶
func (a *Client) IndicatorSearchV1(params *IndicatorSearchV1Params, opts ...ClientOption) (*IndicatorSearchV1OK, error)
IndicatorSearchV1 searches for indicators
func (*Client) IndicatorUpdateV1 ¶
func (a *Client) IndicatorUpdateV1(params *IndicatorUpdateV1Params, opts ...ClientOption) (*IndicatorUpdateV1OK, error)
IndicatorUpdateV1 updates indicators
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 { IndicatorCreateV1(params *IndicatorCreateV1Params, opts ...ClientOption) (*IndicatorCreateV1Created, error) IndicatorDeleteV1(params *IndicatorDeleteV1Params, opts ...ClientOption) (*IndicatorDeleteV1OK, error) IndicatorGetV1(params *IndicatorGetV1Params, opts ...ClientOption) (*IndicatorGetV1OK, error) IndicatorSearchV1(params *IndicatorSearchV1Params, opts ...ClientOption) (*IndicatorSearchV1OK, error) IndicatorUpdateV1(params *IndicatorUpdateV1Params, opts ...ClientOption) (*IndicatorUpdateV1OK, 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 ioc API client.
type IndicatorCreateV1Created ¶
type IndicatorCreateV1Created 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.APIIndicatorRespV1 }
IndicatorCreateV1Created describes a response with status code 201, with default header values.
Created
func NewIndicatorCreateV1Created ¶
func NewIndicatorCreateV1Created() *IndicatorCreateV1Created
NewIndicatorCreateV1Created creates a IndicatorCreateV1Created with default headers values
func (*IndicatorCreateV1Created) Error ¶
func (o *IndicatorCreateV1Created) Error() string
func (*IndicatorCreateV1Created) GetPayload ¶
func (o *IndicatorCreateV1Created) GetPayload() *models.APIIndicatorRespV1
type IndicatorCreateV1Forbidden ¶
type IndicatorCreateV1Forbidden 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 }
IndicatorCreateV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewIndicatorCreateV1Forbidden ¶
func NewIndicatorCreateV1Forbidden() *IndicatorCreateV1Forbidden
NewIndicatorCreateV1Forbidden creates a IndicatorCreateV1Forbidden with default headers values
func (*IndicatorCreateV1Forbidden) Error ¶
func (o *IndicatorCreateV1Forbidden) Error() string
func (*IndicatorCreateV1Forbidden) GetPayload ¶
func (o *IndicatorCreateV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
type IndicatorCreateV1Params ¶
type IndicatorCreateV1Params struct { /* XCSUSERNAME. The username */ XCSUSERNAME *string // Body. Body *models.APIIndicatorCreateReqsV1 /* IgnoreWarnings. Set to true to ignore warnings and add all IOCs */ IgnoreWarnings *bool /* Retrodetects. Whether to submit to retrodetects */ Retrodetects *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IndicatorCreateV1Params contains all the parameters to send to the API endpoint
for the indicator create v1 operation. Typically these are written to a http.Request.
func NewIndicatorCreateV1Params ¶
func NewIndicatorCreateV1Params() *IndicatorCreateV1Params
NewIndicatorCreateV1Params creates a new IndicatorCreateV1Params 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 NewIndicatorCreateV1ParamsWithContext ¶
func NewIndicatorCreateV1ParamsWithContext(ctx context.Context) *IndicatorCreateV1Params
NewIndicatorCreateV1ParamsWithContext creates a new IndicatorCreateV1Params object with the ability to set a context for a request.
func NewIndicatorCreateV1ParamsWithHTTPClient ¶
func NewIndicatorCreateV1ParamsWithHTTPClient(client *http.Client) *IndicatorCreateV1Params
NewIndicatorCreateV1ParamsWithHTTPClient creates a new IndicatorCreateV1Params object with the ability to set a custom HTTPClient for a request.
func NewIndicatorCreateV1ParamsWithTimeout ¶
func NewIndicatorCreateV1ParamsWithTimeout(timeout time.Duration) *IndicatorCreateV1Params
NewIndicatorCreateV1ParamsWithTimeout creates a new IndicatorCreateV1Params object with the ability to set a timeout on a request.
func (*IndicatorCreateV1Params) SetBody ¶
func (o *IndicatorCreateV1Params) SetBody(body *models.APIIndicatorCreateReqsV1)
SetBody adds the body to the indicator create v1 params
func (*IndicatorCreateV1Params) SetContext ¶
func (o *IndicatorCreateV1Params) SetContext(ctx context.Context)
SetContext adds the context to the indicator create v1 params
func (*IndicatorCreateV1Params) SetDefaults ¶
func (o *IndicatorCreateV1Params) SetDefaults()
SetDefaults hydrates default values in the indicator create v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorCreateV1Params) SetHTTPClient ¶
func (o *IndicatorCreateV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the indicator create v1 params
func (*IndicatorCreateV1Params) SetIgnoreWarnings ¶
func (o *IndicatorCreateV1Params) SetIgnoreWarnings(ignoreWarnings *bool)
SetIgnoreWarnings adds the ignoreWarnings to the indicator create v1 params
func (*IndicatorCreateV1Params) SetRetrodetects ¶
func (o *IndicatorCreateV1Params) SetRetrodetects(retrodetects *bool)
SetRetrodetects adds the retrodetects to the indicator create v1 params
func (*IndicatorCreateV1Params) SetTimeout ¶
func (o *IndicatorCreateV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the indicator create v1 params
func (*IndicatorCreateV1Params) SetXCSUSERNAME ¶
func (o *IndicatorCreateV1Params) SetXCSUSERNAME(xCSUSERNAME *string)
SetXCSUSERNAME adds the xCSUSERNAME to the indicator create v1 params
func (*IndicatorCreateV1Params) WithBody ¶
func (o *IndicatorCreateV1Params) WithBody(body *models.APIIndicatorCreateReqsV1) *IndicatorCreateV1Params
WithBody adds the body to the indicator create v1 params
func (*IndicatorCreateV1Params) WithContext ¶
func (o *IndicatorCreateV1Params) WithContext(ctx context.Context) *IndicatorCreateV1Params
WithContext adds the context to the indicator create v1 params
func (*IndicatorCreateV1Params) WithDefaults ¶
func (o *IndicatorCreateV1Params) WithDefaults() *IndicatorCreateV1Params
WithDefaults hydrates default values in the indicator create v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorCreateV1Params) WithHTTPClient ¶
func (o *IndicatorCreateV1Params) WithHTTPClient(client *http.Client) *IndicatorCreateV1Params
WithHTTPClient adds the HTTPClient to the indicator create v1 params
func (*IndicatorCreateV1Params) WithIgnoreWarnings ¶
func (o *IndicatorCreateV1Params) WithIgnoreWarnings(ignoreWarnings *bool) *IndicatorCreateV1Params
WithIgnoreWarnings adds the ignoreWarnings to the indicator create v1 params
func (*IndicatorCreateV1Params) WithRetrodetects ¶
func (o *IndicatorCreateV1Params) WithRetrodetects(retrodetects *bool) *IndicatorCreateV1Params
WithRetrodetects adds the retrodetects to the indicator create v1 params
func (*IndicatorCreateV1Params) WithTimeout ¶
func (o *IndicatorCreateV1Params) WithTimeout(timeout time.Duration) *IndicatorCreateV1Params
WithTimeout adds the timeout to the indicator create v1 params
func (*IndicatorCreateV1Params) WithXCSUSERNAME ¶
func (o *IndicatorCreateV1Params) WithXCSUSERNAME(xCSUSERNAME *string) *IndicatorCreateV1Params
WithXCSUSERNAME adds the xCSUSERNAME to the indicator create v1 params
func (*IndicatorCreateV1Params) WriteToRequest ¶
func (o *IndicatorCreateV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IndicatorCreateV1Reader ¶
type IndicatorCreateV1Reader struct {
// contains filtered or unexported fields
}
IndicatorCreateV1Reader is a Reader for the IndicatorCreateV1 structure.
func (*IndicatorCreateV1Reader) ReadResponse ¶
func (o *IndicatorCreateV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IndicatorCreateV1TooManyRequests ¶
type IndicatorCreateV1TooManyRequests 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 }
IndicatorCreateV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewIndicatorCreateV1TooManyRequests ¶
func NewIndicatorCreateV1TooManyRequests() *IndicatorCreateV1TooManyRequests
NewIndicatorCreateV1TooManyRequests creates a IndicatorCreateV1TooManyRequests with default headers values
func (*IndicatorCreateV1TooManyRequests) Error ¶
func (o *IndicatorCreateV1TooManyRequests) Error() string
func (*IndicatorCreateV1TooManyRequests) GetPayload ¶
func (o *IndicatorCreateV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type IndicatorDeleteV1Default ¶
type IndicatorDeleteV1Default struct { Payload *models.APIIndicatorQueryResponse // contains filtered or unexported fields }
IndicatorDeleteV1Default describes a response with status code -1, with default header values.
OK
func NewIndicatorDeleteV1Default ¶
func NewIndicatorDeleteV1Default(code int) *IndicatorDeleteV1Default
NewIndicatorDeleteV1Default creates a IndicatorDeleteV1Default with default headers values
func (*IndicatorDeleteV1Default) Code ¶
func (o *IndicatorDeleteV1Default) Code() int
Code gets the status code for the indicator delete v1 default response
func (*IndicatorDeleteV1Default) Error ¶
func (o *IndicatorDeleteV1Default) Error() string
func (*IndicatorDeleteV1Default) GetPayload ¶
func (o *IndicatorDeleteV1Default) GetPayload() *models.APIIndicatorQueryResponse
type IndicatorDeleteV1Forbidden ¶
type IndicatorDeleteV1Forbidden 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 }
IndicatorDeleteV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewIndicatorDeleteV1Forbidden ¶
func NewIndicatorDeleteV1Forbidden() *IndicatorDeleteV1Forbidden
NewIndicatorDeleteV1Forbidden creates a IndicatorDeleteV1Forbidden with default headers values
func (*IndicatorDeleteV1Forbidden) Error ¶
func (o *IndicatorDeleteV1Forbidden) Error() string
func (*IndicatorDeleteV1Forbidden) GetPayload ¶
func (o *IndicatorDeleteV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
type IndicatorDeleteV1OK ¶
type IndicatorDeleteV1OK 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.APIIndicatorQueryResponse }
IndicatorDeleteV1OK describes a response with status code 200, with default header values.
OK
func NewIndicatorDeleteV1OK ¶
func NewIndicatorDeleteV1OK() *IndicatorDeleteV1OK
NewIndicatorDeleteV1OK creates a IndicatorDeleteV1OK with default headers values
func (*IndicatorDeleteV1OK) Error ¶
func (o *IndicatorDeleteV1OK) Error() string
func (*IndicatorDeleteV1OK) GetPayload ¶
func (o *IndicatorDeleteV1OK) GetPayload() *models.APIIndicatorQueryResponse
type IndicatorDeleteV1Params ¶
type IndicatorDeleteV1Params struct { /* Comment. The comment why these indicators were deleted */ Comment *string /* Filter. The FQL expression to delete Indicators in bulk. If both 'filter' and 'ids' are provided, then filter takes precedence and ignores ids. */ Filter *string /* Ids. The ids of the Indicators to delete. If both 'filter' and 'ids' are provided, then filter takes precedence and ignores ids */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IndicatorDeleteV1Params contains all the parameters to send to the API endpoint
for the indicator delete v1 operation. Typically these are written to a http.Request.
func NewIndicatorDeleteV1Params ¶
func NewIndicatorDeleteV1Params() *IndicatorDeleteV1Params
NewIndicatorDeleteV1Params creates a new IndicatorDeleteV1Params 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 NewIndicatorDeleteV1ParamsWithContext ¶
func NewIndicatorDeleteV1ParamsWithContext(ctx context.Context) *IndicatorDeleteV1Params
NewIndicatorDeleteV1ParamsWithContext creates a new IndicatorDeleteV1Params object with the ability to set a context for a request.
func NewIndicatorDeleteV1ParamsWithHTTPClient ¶
func NewIndicatorDeleteV1ParamsWithHTTPClient(client *http.Client) *IndicatorDeleteV1Params
NewIndicatorDeleteV1ParamsWithHTTPClient creates a new IndicatorDeleteV1Params object with the ability to set a custom HTTPClient for a request.
func NewIndicatorDeleteV1ParamsWithTimeout ¶
func NewIndicatorDeleteV1ParamsWithTimeout(timeout time.Duration) *IndicatorDeleteV1Params
NewIndicatorDeleteV1ParamsWithTimeout creates a new IndicatorDeleteV1Params object with the ability to set a timeout on a request.
func (*IndicatorDeleteV1Params) SetComment ¶
func (o *IndicatorDeleteV1Params) SetComment(comment *string)
SetComment adds the comment to the indicator delete v1 params
func (*IndicatorDeleteV1Params) SetContext ¶
func (o *IndicatorDeleteV1Params) SetContext(ctx context.Context)
SetContext adds the context to the indicator delete v1 params
func (*IndicatorDeleteV1Params) SetDefaults ¶
func (o *IndicatorDeleteV1Params) SetDefaults()
SetDefaults hydrates default values in the indicator delete v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorDeleteV1Params) SetFilter ¶
func (o *IndicatorDeleteV1Params) SetFilter(filter *string)
SetFilter adds the filter to the indicator delete v1 params
func (*IndicatorDeleteV1Params) SetHTTPClient ¶
func (o *IndicatorDeleteV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the indicator delete v1 params
func (*IndicatorDeleteV1Params) SetIds ¶
func (o *IndicatorDeleteV1Params) SetIds(ids []string)
SetIds adds the ids to the indicator delete v1 params
func (*IndicatorDeleteV1Params) SetTimeout ¶
func (o *IndicatorDeleteV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WithComment ¶
func (o *IndicatorDeleteV1Params) WithComment(comment *string) *IndicatorDeleteV1Params
WithComment adds the comment to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WithContext ¶
func (o *IndicatorDeleteV1Params) WithContext(ctx context.Context) *IndicatorDeleteV1Params
WithContext adds the context to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WithDefaults ¶
func (o *IndicatorDeleteV1Params) WithDefaults() *IndicatorDeleteV1Params
WithDefaults hydrates default values in the indicator delete v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorDeleteV1Params) WithFilter ¶
func (o *IndicatorDeleteV1Params) WithFilter(filter *string) *IndicatorDeleteV1Params
WithFilter adds the filter to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WithHTTPClient ¶
func (o *IndicatorDeleteV1Params) WithHTTPClient(client *http.Client) *IndicatorDeleteV1Params
WithHTTPClient adds the HTTPClient to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WithIds ¶
func (o *IndicatorDeleteV1Params) WithIds(ids []string) *IndicatorDeleteV1Params
WithIds adds the ids to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WithTimeout ¶
func (o *IndicatorDeleteV1Params) WithTimeout(timeout time.Duration) *IndicatorDeleteV1Params
WithTimeout adds the timeout to the indicator delete v1 params
func (*IndicatorDeleteV1Params) WriteToRequest ¶
func (o *IndicatorDeleteV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IndicatorDeleteV1Reader ¶
type IndicatorDeleteV1Reader struct {
// contains filtered or unexported fields
}
IndicatorDeleteV1Reader is a Reader for the IndicatorDeleteV1 structure.
func (*IndicatorDeleteV1Reader) ReadResponse ¶
func (o *IndicatorDeleteV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IndicatorDeleteV1TooManyRequests ¶
type IndicatorDeleteV1TooManyRequests 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 }
IndicatorDeleteV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewIndicatorDeleteV1TooManyRequests ¶
func NewIndicatorDeleteV1TooManyRequests() *IndicatorDeleteV1TooManyRequests
NewIndicatorDeleteV1TooManyRequests creates a IndicatorDeleteV1TooManyRequests with default headers values
func (*IndicatorDeleteV1TooManyRequests) Error ¶
func (o *IndicatorDeleteV1TooManyRequests) Error() string
func (*IndicatorDeleteV1TooManyRequests) GetPayload ¶
func (o *IndicatorDeleteV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type IndicatorGetV1Default ¶
type IndicatorGetV1Default struct { Payload *models.APIIndicatorRespV1 // contains filtered or unexported fields }
IndicatorGetV1Default describes a response with status code -1, with default header values.
OK
func NewIndicatorGetV1Default ¶
func NewIndicatorGetV1Default(code int) *IndicatorGetV1Default
NewIndicatorGetV1Default creates a IndicatorGetV1Default with default headers values
func (*IndicatorGetV1Default) Code ¶
func (o *IndicatorGetV1Default) Code() int
Code gets the status code for the indicator get v1 default response
func (*IndicatorGetV1Default) Error ¶
func (o *IndicatorGetV1Default) Error() string
func (*IndicatorGetV1Default) GetPayload ¶
func (o *IndicatorGetV1Default) GetPayload() *models.APIIndicatorRespV1
type IndicatorGetV1Forbidden ¶
type IndicatorGetV1Forbidden 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 }
IndicatorGetV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewIndicatorGetV1Forbidden ¶
func NewIndicatorGetV1Forbidden() *IndicatorGetV1Forbidden
NewIndicatorGetV1Forbidden creates a IndicatorGetV1Forbidden with default headers values
func (*IndicatorGetV1Forbidden) Error ¶
func (o *IndicatorGetV1Forbidden) Error() string
func (*IndicatorGetV1Forbidden) GetPayload ¶
func (o *IndicatorGetV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
type IndicatorGetV1OK ¶
type IndicatorGetV1OK 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.APIIndicatorRespV1 }
IndicatorGetV1OK describes a response with status code 200, with default header values.
OK
func NewIndicatorGetV1OK ¶
func NewIndicatorGetV1OK() *IndicatorGetV1OK
NewIndicatorGetV1OK creates a IndicatorGetV1OK with default headers values
func (*IndicatorGetV1OK) Error ¶
func (o *IndicatorGetV1OK) Error() string
func (*IndicatorGetV1OK) GetPayload ¶
func (o *IndicatorGetV1OK) GetPayload() *models.APIIndicatorRespV1
type IndicatorGetV1Params ¶
type IndicatorGetV1Params struct { /* Ids. The ids of the Indicators to retrieve */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IndicatorGetV1Params contains all the parameters to send to the API endpoint
for the indicator get v1 operation. Typically these are written to a http.Request.
func NewIndicatorGetV1Params ¶
func NewIndicatorGetV1Params() *IndicatorGetV1Params
NewIndicatorGetV1Params creates a new IndicatorGetV1Params 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 NewIndicatorGetV1ParamsWithContext ¶
func NewIndicatorGetV1ParamsWithContext(ctx context.Context) *IndicatorGetV1Params
NewIndicatorGetV1ParamsWithContext creates a new IndicatorGetV1Params object with the ability to set a context for a request.
func NewIndicatorGetV1ParamsWithHTTPClient ¶
func NewIndicatorGetV1ParamsWithHTTPClient(client *http.Client) *IndicatorGetV1Params
NewIndicatorGetV1ParamsWithHTTPClient creates a new IndicatorGetV1Params object with the ability to set a custom HTTPClient for a request.
func NewIndicatorGetV1ParamsWithTimeout ¶
func NewIndicatorGetV1ParamsWithTimeout(timeout time.Duration) *IndicatorGetV1Params
NewIndicatorGetV1ParamsWithTimeout creates a new IndicatorGetV1Params object with the ability to set a timeout on a request.
func (*IndicatorGetV1Params) SetContext ¶
func (o *IndicatorGetV1Params) SetContext(ctx context.Context)
SetContext adds the context to the indicator get v1 params
func (*IndicatorGetV1Params) SetDefaults ¶
func (o *IndicatorGetV1Params) SetDefaults()
SetDefaults hydrates default values in the indicator get v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorGetV1Params) SetHTTPClient ¶
func (o *IndicatorGetV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the indicator get v1 params
func (*IndicatorGetV1Params) SetIds ¶
func (o *IndicatorGetV1Params) SetIds(ids []string)
SetIds adds the ids to the indicator get v1 params
func (*IndicatorGetV1Params) SetTimeout ¶
func (o *IndicatorGetV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the indicator get v1 params
func (*IndicatorGetV1Params) WithContext ¶
func (o *IndicatorGetV1Params) WithContext(ctx context.Context) *IndicatorGetV1Params
WithContext adds the context to the indicator get v1 params
func (*IndicatorGetV1Params) WithDefaults ¶
func (o *IndicatorGetV1Params) WithDefaults() *IndicatorGetV1Params
WithDefaults hydrates default values in the indicator get v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorGetV1Params) WithHTTPClient ¶
func (o *IndicatorGetV1Params) WithHTTPClient(client *http.Client) *IndicatorGetV1Params
WithHTTPClient adds the HTTPClient to the indicator get v1 params
func (*IndicatorGetV1Params) WithIds ¶
func (o *IndicatorGetV1Params) WithIds(ids []string) *IndicatorGetV1Params
WithIds adds the ids to the indicator get v1 params
func (*IndicatorGetV1Params) WithTimeout ¶
func (o *IndicatorGetV1Params) WithTimeout(timeout time.Duration) *IndicatorGetV1Params
WithTimeout adds the timeout to the indicator get v1 params
func (*IndicatorGetV1Params) WriteToRequest ¶
func (o *IndicatorGetV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IndicatorGetV1Reader ¶
type IndicatorGetV1Reader struct {
// contains filtered or unexported fields
}
IndicatorGetV1Reader is a Reader for the IndicatorGetV1 structure.
func (*IndicatorGetV1Reader) ReadResponse ¶
func (o *IndicatorGetV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IndicatorGetV1TooManyRequests ¶
type IndicatorGetV1TooManyRequests 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 }
IndicatorGetV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewIndicatorGetV1TooManyRequests ¶
func NewIndicatorGetV1TooManyRequests() *IndicatorGetV1TooManyRequests
NewIndicatorGetV1TooManyRequests creates a IndicatorGetV1TooManyRequests with default headers values
func (*IndicatorGetV1TooManyRequests) Error ¶
func (o *IndicatorGetV1TooManyRequests) Error() string
func (*IndicatorGetV1TooManyRequests) GetPayload ¶
func (o *IndicatorGetV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type IndicatorSearchV1Default ¶
type IndicatorSearchV1Default struct { Payload *models.APIIndicatorQueryResponse // contains filtered or unexported fields }
IndicatorSearchV1Default describes a response with status code -1, with default header values.
OK
func NewIndicatorSearchV1Default ¶
func NewIndicatorSearchV1Default(code int) *IndicatorSearchV1Default
NewIndicatorSearchV1Default creates a IndicatorSearchV1Default with default headers values
func (*IndicatorSearchV1Default) Code ¶
func (o *IndicatorSearchV1Default) Code() int
Code gets the status code for the indicator search v1 default response
func (*IndicatorSearchV1Default) Error ¶
func (o *IndicatorSearchV1Default) Error() string
func (*IndicatorSearchV1Default) GetPayload ¶
func (o *IndicatorSearchV1Default) GetPayload() *models.APIIndicatorQueryResponse
type IndicatorSearchV1Forbidden ¶
type IndicatorSearchV1Forbidden 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 }
IndicatorSearchV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewIndicatorSearchV1Forbidden ¶
func NewIndicatorSearchV1Forbidden() *IndicatorSearchV1Forbidden
NewIndicatorSearchV1Forbidden creates a IndicatorSearchV1Forbidden with default headers values
func (*IndicatorSearchV1Forbidden) Error ¶
func (o *IndicatorSearchV1Forbidden) Error() string
func (*IndicatorSearchV1Forbidden) GetPayload ¶
func (o *IndicatorSearchV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
type IndicatorSearchV1OK ¶
type IndicatorSearchV1OK 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.APIIndicatorQueryResponse }
IndicatorSearchV1OK describes a response with status code 200, with default header values.
OK
func NewIndicatorSearchV1OK ¶
func NewIndicatorSearchV1OK() *IndicatorSearchV1OK
NewIndicatorSearchV1OK creates a IndicatorSearchV1OK with default headers values
func (*IndicatorSearchV1OK) Error ¶
func (o *IndicatorSearchV1OK) Error() string
func (*IndicatorSearchV1OK) GetPayload ¶
func (o *IndicatorSearchV1OK) GetPayload() *models.APIIndicatorQueryResponse
type IndicatorSearchV1Params ¶
type IndicatorSearchV1Params struct { /* Filter. The filter expression that should be used to limit the results. */ Filter *string /* Limit. The maximum records to return. */ Limit *int64 /* Offset. The offset to start retrieving records from. Offset and After params are mutually exclusive. If none provided then scrolling will be used by default. */ Offset *int64 /* Sort. The sort expression that should be used to sort the results. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IndicatorSearchV1Params contains all the parameters to send to the API endpoint
for the indicator search v1 operation. Typically these are written to a http.Request.
func NewIndicatorSearchV1Params ¶
func NewIndicatorSearchV1Params() *IndicatorSearchV1Params
NewIndicatorSearchV1Params creates a new IndicatorSearchV1Params 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 NewIndicatorSearchV1ParamsWithContext ¶
func NewIndicatorSearchV1ParamsWithContext(ctx context.Context) *IndicatorSearchV1Params
NewIndicatorSearchV1ParamsWithContext creates a new IndicatorSearchV1Params object with the ability to set a context for a request.
func NewIndicatorSearchV1ParamsWithHTTPClient ¶
func NewIndicatorSearchV1ParamsWithHTTPClient(client *http.Client) *IndicatorSearchV1Params
NewIndicatorSearchV1ParamsWithHTTPClient creates a new IndicatorSearchV1Params object with the ability to set a custom HTTPClient for a request.
func NewIndicatorSearchV1ParamsWithTimeout ¶
func NewIndicatorSearchV1ParamsWithTimeout(timeout time.Duration) *IndicatorSearchV1Params
NewIndicatorSearchV1ParamsWithTimeout creates a new IndicatorSearchV1Params object with the ability to set a timeout on a request.
func (*IndicatorSearchV1Params) SetContext ¶
func (o *IndicatorSearchV1Params) SetContext(ctx context.Context)
SetContext adds the context to the indicator search v1 params
func (*IndicatorSearchV1Params) SetDefaults ¶
func (o *IndicatorSearchV1Params) SetDefaults()
SetDefaults hydrates default values in the indicator search v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorSearchV1Params) SetFilter ¶
func (o *IndicatorSearchV1Params) SetFilter(filter *string)
SetFilter adds the filter to the indicator search v1 params
func (*IndicatorSearchV1Params) SetHTTPClient ¶
func (o *IndicatorSearchV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the indicator search v1 params
func (*IndicatorSearchV1Params) SetLimit ¶
func (o *IndicatorSearchV1Params) SetLimit(limit *int64)
SetLimit adds the limit to the indicator search v1 params
func (*IndicatorSearchV1Params) SetOffset ¶
func (o *IndicatorSearchV1Params) SetOffset(offset *int64)
SetOffset adds the offset to the indicator search v1 params
func (*IndicatorSearchV1Params) SetSort ¶
func (o *IndicatorSearchV1Params) SetSort(sort *string)
SetSort adds the sort to the indicator search v1 params
func (*IndicatorSearchV1Params) SetTimeout ¶
func (o *IndicatorSearchV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the indicator search v1 params
func (*IndicatorSearchV1Params) WithContext ¶
func (o *IndicatorSearchV1Params) WithContext(ctx context.Context) *IndicatorSearchV1Params
WithContext adds the context to the indicator search v1 params
func (*IndicatorSearchV1Params) WithDefaults ¶
func (o *IndicatorSearchV1Params) WithDefaults() *IndicatorSearchV1Params
WithDefaults hydrates default values in the indicator search v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorSearchV1Params) WithFilter ¶
func (o *IndicatorSearchV1Params) WithFilter(filter *string) *IndicatorSearchV1Params
WithFilter adds the filter to the indicator search v1 params
func (*IndicatorSearchV1Params) WithHTTPClient ¶
func (o *IndicatorSearchV1Params) WithHTTPClient(client *http.Client) *IndicatorSearchV1Params
WithHTTPClient adds the HTTPClient to the indicator search v1 params
func (*IndicatorSearchV1Params) WithLimit ¶
func (o *IndicatorSearchV1Params) WithLimit(limit *int64) *IndicatorSearchV1Params
WithLimit adds the limit to the indicator search v1 params
func (*IndicatorSearchV1Params) WithOffset ¶
func (o *IndicatorSearchV1Params) WithOffset(offset *int64) *IndicatorSearchV1Params
WithOffset adds the offset to the indicator search v1 params
func (*IndicatorSearchV1Params) WithSort ¶
func (o *IndicatorSearchV1Params) WithSort(sort *string) *IndicatorSearchV1Params
WithSort adds the sort to the indicator search v1 params
func (*IndicatorSearchV1Params) WithTimeout ¶
func (o *IndicatorSearchV1Params) WithTimeout(timeout time.Duration) *IndicatorSearchV1Params
WithTimeout adds the timeout to the indicator search v1 params
func (*IndicatorSearchV1Params) WriteToRequest ¶
func (o *IndicatorSearchV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IndicatorSearchV1Reader ¶
type IndicatorSearchV1Reader struct {
// contains filtered or unexported fields
}
IndicatorSearchV1Reader is a Reader for the IndicatorSearchV1 structure.
func (*IndicatorSearchV1Reader) ReadResponse ¶
func (o *IndicatorSearchV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IndicatorSearchV1TooManyRequests ¶
type IndicatorSearchV1TooManyRequests 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 }
IndicatorSearchV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewIndicatorSearchV1TooManyRequests ¶
func NewIndicatorSearchV1TooManyRequests() *IndicatorSearchV1TooManyRequests
NewIndicatorSearchV1TooManyRequests creates a IndicatorSearchV1TooManyRequests with default headers values
func (*IndicatorSearchV1TooManyRequests) Error ¶
func (o *IndicatorSearchV1TooManyRequests) Error() string
func (*IndicatorSearchV1TooManyRequests) GetPayload ¶
func (o *IndicatorSearchV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type IndicatorUpdateV1Default ¶
type IndicatorUpdateV1Default struct { Payload *models.APIIndicatorRespV1 // contains filtered or unexported fields }
IndicatorUpdateV1Default describes a response with status code -1, with default header values.
OK
func NewIndicatorUpdateV1Default ¶
func NewIndicatorUpdateV1Default(code int) *IndicatorUpdateV1Default
NewIndicatorUpdateV1Default creates a IndicatorUpdateV1Default with default headers values
func (*IndicatorUpdateV1Default) Code ¶
func (o *IndicatorUpdateV1Default) Code() int
Code gets the status code for the indicator update v1 default response
func (*IndicatorUpdateV1Default) Error ¶
func (o *IndicatorUpdateV1Default) Error() string
func (*IndicatorUpdateV1Default) GetPayload ¶
func (o *IndicatorUpdateV1Default) GetPayload() *models.APIIndicatorRespV1
type IndicatorUpdateV1Forbidden ¶
type IndicatorUpdateV1Forbidden 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 }
IndicatorUpdateV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewIndicatorUpdateV1Forbidden ¶
func NewIndicatorUpdateV1Forbidden() *IndicatorUpdateV1Forbidden
NewIndicatorUpdateV1Forbidden creates a IndicatorUpdateV1Forbidden with default headers values
func (*IndicatorUpdateV1Forbidden) Error ¶
func (o *IndicatorUpdateV1Forbidden) Error() string
func (*IndicatorUpdateV1Forbidden) GetPayload ¶
func (o *IndicatorUpdateV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
type IndicatorUpdateV1OK ¶
type IndicatorUpdateV1OK 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.APIIndicatorRespV1 }
IndicatorUpdateV1OK describes a response with status code 200, with default header values.
OK
func NewIndicatorUpdateV1OK ¶
func NewIndicatorUpdateV1OK() *IndicatorUpdateV1OK
NewIndicatorUpdateV1OK creates a IndicatorUpdateV1OK with default headers values
func (*IndicatorUpdateV1OK) Error ¶
func (o *IndicatorUpdateV1OK) Error() string
func (*IndicatorUpdateV1OK) GetPayload ¶
func (o *IndicatorUpdateV1OK) GetPayload() *models.APIIndicatorRespV1
type IndicatorUpdateV1Params ¶
type IndicatorUpdateV1Params struct { /* XCSUSERNAME. The username */ XCSUSERNAME *string // Body. Body *models.APIIndicatorUpdateReqsV1 /* IgnoreWarnings. Set to true to ignore warnings and add all IOCs */ IgnoreWarnings *bool /* Retrodetects. Whether to submit to retrodetects */ Retrodetects *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IndicatorUpdateV1Params contains all the parameters to send to the API endpoint
for the indicator update v1 operation. Typically these are written to a http.Request.
func NewIndicatorUpdateV1Params ¶
func NewIndicatorUpdateV1Params() *IndicatorUpdateV1Params
NewIndicatorUpdateV1Params creates a new IndicatorUpdateV1Params 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 NewIndicatorUpdateV1ParamsWithContext ¶
func NewIndicatorUpdateV1ParamsWithContext(ctx context.Context) *IndicatorUpdateV1Params
NewIndicatorUpdateV1ParamsWithContext creates a new IndicatorUpdateV1Params object with the ability to set a context for a request.
func NewIndicatorUpdateV1ParamsWithHTTPClient ¶
func NewIndicatorUpdateV1ParamsWithHTTPClient(client *http.Client) *IndicatorUpdateV1Params
NewIndicatorUpdateV1ParamsWithHTTPClient creates a new IndicatorUpdateV1Params object with the ability to set a custom HTTPClient for a request.
func NewIndicatorUpdateV1ParamsWithTimeout ¶
func NewIndicatorUpdateV1ParamsWithTimeout(timeout time.Duration) *IndicatorUpdateV1Params
NewIndicatorUpdateV1ParamsWithTimeout creates a new IndicatorUpdateV1Params object with the ability to set a timeout on a request.
func (*IndicatorUpdateV1Params) SetBody ¶
func (o *IndicatorUpdateV1Params) SetBody(body *models.APIIndicatorUpdateReqsV1)
SetBody adds the body to the indicator update v1 params
func (*IndicatorUpdateV1Params) SetContext ¶
func (o *IndicatorUpdateV1Params) SetContext(ctx context.Context)
SetContext adds the context to the indicator update v1 params
func (*IndicatorUpdateV1Params) SetDefaults ¶
func (o *IndicatorUpdateV1Params) SetDefaults()
SetDefaults hydrates default values in the indicator update v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorUpdateV1Params) SetHTTPClient ¶
func (o *IndicatorUpdateV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the indicator update v1 params
func (*IndicatorUpdateV1Params) SetIgnoreWarnings ¶
func (o *IndicatorUpdateV1Params) SetIgnoreWarnings(ignoreWarnings *bool)
SetIgnoreWarnings adds the ignoreWarnings to the indicator update v1 params
func (*IndicatorUpdateV1Params) SetRetrodetects ¶
func (o *IndicatorUpdateV1Params) SetRetrodetects(retrodetects *bool)
SetRetrodetects adds the retrodetects to the indicator update v1 params
func (*IndicatorUpdateV1Params) SetTimeout ¶
func (o *IndicatorUpdateV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the indicator update v1 params
func (*IndicatorUpdateV1Params) SetXCSUSERNAME ¶
func (o *IndicatorUpdateV1Params) SetXCSUSERNAME(xCSUSERNAME *string)
SetXCSUSERNAME adds the xCSUSERNAME to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithBody ¶
func (o *IndicatorUpdateV1Params) WithBody(body *models.APIIndicatorUpdateReqsV1) *IndicatorUpdateV1Params
WithBody adds the body to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithContext ¶
func (o *IndicatorUpdateV1Params) WithContext(ctx context.Context) *IndicatorUpdateV1Params
WithContext adds the context to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithDefaults ¶
func (o *IndicatorUpdateV1Params) WithDefaults() *IndicatorUpdateV1Params
WithDefaults hydrates default values in the indicator update v1 params (not the query body).
All values with no default are reset to their zero value.
func (*IndicatorUpdateV1Params) WithHTTPClient ¶
func (o *IndicatorUpdateV1Params) WithHTTPClient(client *http.Client) *IndicatorUpdateV1Params
WithHTTPClient adds the HTTPClient to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithIgnoreWarnings ¶
func (o *IndicatorUpdateV1Params) WithIgnoreWarnings(ignoreWarnings *bool) *IndicatorUpdateV1Params
WithIgnoreWarnings adds the ignoreWarnings to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithRetrodetects ¶
func (o *IndicatorUpdateV1Params) WithRetrodetects(retrodetects *bool) *IndicatorUpdateV1Params
WithRetrodetects adds the retrodetects to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithTimeout ¶
func (o *IndicatorUpdateV1Params) WithTimeout(timeout time.Duration) *IndicatorUpdateV1Params
WithTimeout adds the timeout to the indicator update v1 params
func (*IndicatorUpdateV1Params) WithXCSUSERNAME ¶
func (o *IndicatorUpdateV1Params) WithXCSUSERNAME(xCSUSERNAME *string) *IndicatorUpdateV1Params
WithXCSUSERNAME adds the xCSUSERNAME to the indicator update v1 params
func (*IndicatorUpdateV1Params) WriteToRequest ¶
func (o *IndicatorUpdateV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IndicatorUpdateV1Reader ¶
type IndicatorUpdateV1Reader struct {
// contains filtered or unexported fields
}
IndicatorUpdateV1Reader is a Reader for the IndicatorUpdateV1 structure.
func (*IndicatorUpdateV1Reader) ReadResponse ¶
func (o *IndicatorUpdateV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IndicatorUpdateV1TooManyRequests ¶
type IndicatorUpdateV1TooManyRequests 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 }
IndicatorUpdateV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewIndicatorUpdateV1TooManyRequests ¶
func NewIndicatorUpdateV1TooManyRequests() *IndicatorUpdateV1TooManyRequests
NewIndicatorUpdateV1TooManyRequests creates a IndicatorUpdateV1TooManyRequests with default headers values
func (*IndicatorUpdateV1TooManyRequests) Error ¶
func (o *IndicatorUpdateV1TooManyRequests) Error() string
func (*IndicatorUpdateV1TooManyRequests) GetPayload ¶
func (o *IndicatorUpdateV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- indicator_create_v1_parameters.go
- indicator_create_v1_responses.go
- indicator_delete_v1_parameters.go
- indicator_delete_v1_responses.go
- indicator_get_v1_parameters.go
- indicator_get_v1_responses.go
- indicator_search_v1_parameters.go
- indicator_search_v1_responses.go
- indicator_update_v1_parameters.go
- indicator_update_v1_responses.go
- ioc_client.go