intelligence_indicator_graph

package
v0.13.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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) SearchIndicators

func (a *Client) SearchIndicators(params *SearchIndicatorsParams, opts ...ClientOption) (*SearchIndicatorsOK, error)

SearchIndicators searches indicators based on f q l filter

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 {
	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 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 (*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 (*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

Code gets the status code for the search indicators internal server error response

func (*SearchIndicatorsInternalServerError) Error

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

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

IsSuccess returns true when this search indicators internal server error response has a 2xx status code

func (*SearchIndicatorsInternalServerError) 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 (*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

	/* Limit.

	   Limit
	*/
	Limit *int64

	/* Offset.

	   Offset
	*/
	Offset *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

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) 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) SetTimeout

func (o *SearchIndicatorsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search indicators params

func (*SearchIndicatorsParams) WithBody

WithBody adds the body to the search indicators params

func (*SearchIndicatorsParams) WithContext

WithContext adds the context to the search indicators params

func (*SearchIndicatorsParams) WithDefaults

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) 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) WithTimeout

WithTimeout adds the timeout to the search indicators params

func (*SearchIndicatorsParams) WriteToRequest

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

Code gets the status code for the search indicators too many requests response

func (*SearchIndicatorsTooManyRequests) Error

func (*SearchIndicatorsTooManyRequests) GetPayload

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL