iocs

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 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 iocs API

func (*Client) CreateIOC

func (a *Client) CreateIOC(params *CreateIOCParams, opts ...ClientOption) (*CreateIOCOK, error)

CreateIOC ds e p r e c a t e d use the new i o c management endpoint p o s t iocs entities indicators v1 create a new i o c

func (*Client) DeleteIOC

func (a *Client) DeleteIOC(params *DeleteIOCParams, opts ...ClientOption) (*DeleteIOCOK, error)

DeleteIOC ds e p r e c a t e d use the new i o c management endpoint d e l e t e iocs entities indicators v1 delete an i o c by providing a type and value

func (*Client) DevicesCount

func (a *Client) DevicesCount(params *DevicesCountParams, opts ...ClientOption) (*DevicesCountOK, error)

DevicesCount numbers of hosts in your customer account that have observed a given custom i o c

func (*Client) DevicesRanOn

func (a *Client) DevicesRanOn(params *DevicesRanOnParams, opts ...ClientOption) (*DevicesRanOnOK, error)

DevicesRanOn finds hosts that have observed a given custom i o c for details about those hosts use g e t devices entities devices v1

func (*Client) EntitiesProcesses

func (a *Client) EntitiesProcesses(params *EntitiesProcessesParams, opts ...ClientOption) (*EntitiesProcessesOK, error)

EntitiesProcesses fors the provided process ID retrieve the process details

func (*Client) GetIOC

func (a *Client) GetIOC(params *GetIOCParams, opts ...ClientOption) (*GetIOCOK, error)

GetIOC ds e p r e c a t e d use the new i o c management endpoint g e t iocs entities indicators v1 get an i o c by providing a type and value

func (*Client) ProcessesRanOn

func (a *Client) ProcessesRanOn(params *ProcessesRanOnParams, opts ...ClientOption) (*ProcessesRanOnOK, error)

ProcessesRanOn searches for processes associated with a custom i o c

func (*Client) QueryIOCs

func (a *Client) QueryIOCs(params *QueryIOCsParams, opts ...ClientOption) (*QueryIOCsOK, error)

QueryIOCs ds e p r e c a t e d use the new i o c management endpoint g e t iocs queries indicators v1 search the custom i o cs in your customer account

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateIOC

func (a *Client) UpdateIOC(params *UpdateIOCParams, opts ...ClientOption) (*UpdateIOCOK, error)

UpdateIOC ds e p r e c a t e d use the new i o c management endpoint p a t c h iocs entities indicators v1 update an i o c by providing a type and value

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateIOC(params *CreateIOCParams, opts ...ClientOption) (*CreateIOCOK, error)

	DeleteIOC(params *DeleteIOCParams, opts ...ClientOption) (*DeleteIOCOK, error)

	DevicesCount(params *DevicesCountParams, opts ...ClientOption) (*DevicesCountOK, error)

	DevicesRanOn(params *DevicesRanOnParams, opts ...ClientOption) (*DevicesRanOnOK, error)

	GetIOC(params *GetIOCParams, opts ...ClientOption) (*GetIOCOK, error)

	ProcessesRanOn(params *ProcessesRanOnParams, opts ...ClientOption) (*ProcessesRanOnOK, error)

	QueryIOCs(params *QueryIOCsParams, opts ...ClientOption) (*QueryIOCsOK, error)

	UpdateIOC(params *UpdateIOCParams, opts ...ClientOption) (*UpdateIOCOK, error)

	EntitiesProcesses(params *EntitiesProcessesParams, opts ...ClientOption) (*EntitiesProcessesOK, 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 iocs API client.

type CreateIOCDefault

type CreateIOCDefault struct {
	Payload *models.APIMsaReplyIOC
	// contains filtered or unexported fields
}
CreateIOCDefault describes a response with status code -1, with default header values.

OK

func NewCreateIOCDefault

func NewCreateIOCDefault(code int) *CreateIOCDefault

NewCreateIOCDefault creates a CreateIOCDefault with default headers values

func (*CreateIOCDefault) Code

func (o *CreateIOCDefault) Code() int

Code gets the status code for the create i o c default response

func (*CreateIOCDefault) Error

func (o *CreateIOCDefault) Error() string

func (*CreateIOCDefault) GetPayload

func (o *CreateIOCDefault) GetPayload() *models.APIMsaReplyIOC

type CreateIOCForbidden

type CreateIOCForbidden 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
}
CreateIOCForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateIOCForbidden

func NewCreateIOCForbidden() *CreateIOCForbidden

NewCreateIOCForbidden creates a CreateIOCForbidden with default headers values

func (*CreateIOCForbidden) Error

func (o *CreateIOCForbidden) Error() string

func (*CreateIOCForbidden) GetPayload

func (o *CreateIOCForbidden) GetPayload() *models.MsaReplyMetaOnly

type CreateIOCOK

type CreateIOCOK 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.APIMsaReplyIOC
}
CreateIOCOK describes a response with status code 200, with default header values.

OK

func NewCreateIOCOK

func NewCreateIOCOK() *CreateIOCOK

NewCreateIOCOK creates a CreateIOCOK with default headers values

func (*CreateIOCOK) Error

func (o *CreateIOCOK) Error() string

func (*CreateIOCOK) GetPayload

func (o *CreateIOCOK) GetPayload() *models.APIMsaReplyIOC

type CreateIOCParams

type CreateIOCParams struct {

	/* Body.

	     Create a new IOC by providing a JSON object that includes these key/value pairs:

	**type** (required): The type of the indicator. Valid values:

	- sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	- md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	- domain: A domain name. Length - min: 1, max: 200.

	- ipv4: An IPv4 address. Must be a valid IP address.

	- ipv6: An IPv6 address. Must be a valid IP address.

	**value** (required): The string representation of the indicator.

	**policy** (required): Action to take when a host observes the custom IOC. Values:

	- detect: Enable detections for this custom IOC

	- none: Disable detections for this custom IOC

	**share_level** (optional): Visibility of this custom IOC. All custom IOCs are visible only within your customer account, so only one value is valid:

	- red

	**expiration_days** (optional): Number of days this custom IOC is active. Only applies for the types `domain`, `ipv4`, and `ipv6`.

	**source** (optional): The source where this indicator originated. This can be used for tracking where this indicator was defined. Limit 200 characters.

	**description** (optional): Descriptive label for this custom IOC
	*/
	Body []*models.APIIOCViewRecord

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateIOCParams contains all the parameters to send to the API endpoint

for the create i o c operation.

Typically these are written to a http.Request.

func NewCreateIOCParams

func NewCreateIOCParams() *CreateIOCParams

NewCreateIOCParams creates a new CreateIOCParams 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 NewCreateIOCParamsWithContext

func NewCreateIOCParamsWithContext(ctx context.Context) *CreateIOCParams

NewCreateIOCParamsWithContext creates a new CreateIOCParams object with the ability to set a context for a request.

func NewCreateIOCParamsWithHTTPClient

func NewCreateIOCParamsWithHTTPClient(client *http.Client) *CreateIOCParams

NewCreateIOCParamsWithHTTPClient creates a new CreateIOCParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIOCParamsWithTimeout

func NewCreateIOCParamsWithTimeout(timeout time.Duration) *CreateIOCParams

NewCreateIOCParamsWithTimeout creates a new CreateIOCParams object with the ability to set a timeout on a request.

func (*CreateIOCParams) SetBody

func (o *CreateIOCParams) SetBody(body []*models.APIIOCViewRecord)

SetBody adds the body to the create i o c params

func (*CreateIOCParams) SetContext

func (o *CreateIOCParams) SetContext(ctx context.Context)

SetContext adds the context to the create i o c params

func (*CreateIOCParams) SetDefaults

func (o *CreateIOCParams) SetDefaults()

SetDefaults hydrates default values in the create i o c params (not the query body).

All values with no default are reset to their zero value.

func (*CreateIOCParams) SetHTTPClient

func (o *CreateIOCParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create i o c params

func (*CreateIOCParams) SetTimeout

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

SetTimeout adds the timeout to the create i o c params

func (*CreateIOCParams) WithBody

WithBody adds the body to the create i o c params

func (*CreateIOCParams) WithContext

func (o *CreateIOCParams) WithContext(ctx context.Context) *CreateIOCParams

WithContext adds the context to the create i o c params

func (*CreateIOCParams) WithDefaults

func (o *CreateIOCParams) WithDefaults() *CreateIOCParams

WithDefaults hydrates default values in the create i o c params (not the query body).

All values with no default are reset to their zero value.

func (*CreateIOCParams) WithHTTPClient

func (o *CreateIOCParams) WithHTTPClient(client *http.Client) *CreateIOCParams

WithHTTPClient adds the HTTPClient to the create i o c params

func (*CreateIOCParams) WithTimeout

func (o *CreateIOCParams) WithTimeout(timeout time.Duration) *CreateIOCParams

WithTimeout adds the timeout to the create i o c params

func (*CreateIOCParams) WriteToRequest

func (o *CreateIOCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateIOCReader

type CreateIOCReader struct {
	// contains filtered or unexported fields
}

CreateIOCReader is a Reader for the CreateIOC structure.

func (*CreateIOCReader) ReadResponse

func (o *CreateIOCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateIOCTooManyRequests

type CreateIOCTooManyRequests 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
}
CreateIOCTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateIOCTooManyRequests

func NewCreateIOCTooManyRequests() *CreateIOCTooManyRequests

NewCreateIOCTooManyRequests creates a CreateIOCTooManyRequests with default headers values

func (*CreateIOCTooManyRequests) Error

func (o *CreateIOCTooManyRequests) Error() string

func (*CreateIOCTooManyRequests) GetPayload

type DeleteIOCDefault

type DeleteIOCDefault struct {
	Payload *models.APIMsaReplyIOC
	// contains filtered or unexported fields
}
DeleteIOCDefault describes a response with status code -1, with default header values.

OK

func NewDeleteIOCDefault

func NewDeleteIOCDefault(code int) *DeleteIOCDefault

NewDeleteIOCDefault creates a DeleteIOCDefault with default headers values

func (*DeleteIOCDefault) Code

func (o *DeleteIOCDefault) Code() int

Code gets the status code for the delete i o c default response

func (*DeleteIOCDefault) Error

func (o *DeleteIOCDefault) Error() string

func (*DeleteIOCDefault) GetPayload

func (o *DeleteIOCDefault) GetPayload() *models.APIMsaReplyIOC

type DeleteIOCForbidden

type DeleteIOCForbidden 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
}
DeleteIOCForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteIOCForbidden

func NewDeleteIOCForbidden() *DeleteIOCForbidden

NewDeleteIOCForbidden creates a DeleteIOCForbidden with default headers values

func (*DeleteIOCForbidden) Error

func (o *DeleteIOCForbidden) Error() string

func (*DeleteIOCForbidden) GetPayload

func (o *DeleteIOCForbidden) GetPayload() *models.MsaReplyMetaOnly

type DeleteIOCOK

type DeleteIOCOK 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.APIMsaReplyIOC
}
DeleteIOCOK describes a response with status code 200, with default header values.

OK

func NewDeleteIOCOK

func NewDeleteIOCOK() *DeleteIOCOK

NewDeleteIOCOK creates a DeleteIOCOK with default headers values

func (*DeleteIOCOK) Error

func (o *DeleteIOCOK) Error() string

func (*DeleteIOCOK) GetPayload

func (o *DeleteIOCOK) GetPayload() *models.APIMsaReplyIOC

type DeleteIOCParams

type DeleteIOCParams struct {

	/* Type.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Type string

	/* Value.

	   The string representation of the indicator
	*/
	Value string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteIOCParams contains all the parameters to send to the API endpoint

for the delete i o c operation.

Typically these are written to a http.Request.

func NewDeleteIOCParams

func NewDeleteIOCParams() *DeleteIOCParams

NewDeleteIOCParams creates a new DeleteIOCParams 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 NewDeleteIOCParamsWithContext

func NewDeleteIOCParamsWithContext(ctx context.Context) *DeleteIOCParams

NewDeleteIOCParamsWithContext creates a new DeleteIOCParams object with the ability to set a context for a request.

func NewDeleteIOCParamsWithHTTPClient

func NewDeleteIOCParamsWithHTTPClient(client *http.Client) *DeleteIOCParams

NewDeleteIOCParamsWithHTTPClient creates a new DeleteIOCParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIOCParamsWithTimeout

func NewDeleteIOCParamsWithTimeout(timeout time.Duration) *DeleteIOCParams

NewDeleteIOCParamsWithTimeout creates a new DeleteIOCParams object with the ability to set a timeout on a request.

func (*DeleteIOCParams) SetContext

func (o *DeleteIOCParams) SetContext(ctx context.Context)

SetContext adds the context to the delete i o c params

func (*DeleteIOCParams) SetDefaults

func (o *DeleteIOCParams) SetDefaults()

SetDefaults hydrates default values in the delete i o c params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteIOCParams) SetHTTPClient

func (o *DeleteIOCParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete i o c params

func (*DeleteIOCParams) SetTimeout

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

SetTimeout adds the timeout to the delete i o c params

func (*DeleteIOCParams) SetType

func (o *DeleteIOCParams) SetType(typeVar string)

SetType adds the type to the delete i o c params

func (*DeleteIOCParams) SetValue

func (o *DeleteIOCParams) SetValue(value string)

SetValue adds the value to the delete i o c params

func (*DeleteIOCParams) WithContext

func (o *DeleteIOCParams) WithContext(ctx context.Context) *DeleteIOCParams

WithContext adds the context to the delete i o c params

func (*DeleteIOCParams) WithDefaults

func (o *DeleteIOCParams) WithDefaults() *DeleteIOCParams

WithDefaults hydrates default values in the delete i o c params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteIOCParams) WithHTTPClient

func (o *DeleteIOCParams) WithHTTPClient(client *http.Client) *DeleteIOCParams

WithHTTPClient adds the HTTPClient to the delete i o c params

func (*DeleteIOCParams) WithTimeout

func (o *DeleteIOCParams) WithTimeout(timeout time.Duration) *DeleteIOCParams

WithTimeout adds the timeout to the delete i o c params

func (*DeleteIOCParams) WithType

func (o *DeleteIOCParams) WithType(typeVar string) *DeleteIOCParams

WithType adds the typeVar to the delete i o c params

func (*DeleteIOCParams) WithValue

func (o *DeleteIOCParams) WithValue(value string) *DeleteIOCParams

WithValue adds the value to the delete i o c params

func (*DeleteIOCParams) WriteToRequest

func (o *DeleteIOCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteIOCReader

type DeleteIOCReader struct {
	// contains filtered or unexported fields
}

DeleteIOCReader is a Reader for the DeleteIOC structure.

func (*DeleteIOCReader) ReadResponse

func (o *DeleteIOCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteIOCTooManyRequests

type DeleteIOCTooManyRequests 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
}
DeleteIOCTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteIOCTooManyRequests

func NewDeleteIOCTooManyRequests() *DeleteIOCTooManyRequests

NewDeleteIOCTooManyRequests creates a DeleteIOCTooManyRequests with default headers values

func (*DeleteIOCTooManyRequests) Error

func (o *DeleteIOCTooManyRequests) Error() string

func (*DeleteIOCTooManyRequests) GetPayload

type DevicesCountDefault

type DevicesCountDefault struct {
	Payload *models.APIMsaReplyIOCDevicesCount
	// contains filtered or unexported fields
}
DevicesCountDefault describes a response with status code -1, with default header values.

OK

func NewDevicesCountDefault

func NewDevicesCountDefault(code int) *DevicesCountDefault

NewDevicesCountDefault creates a DevicesCountDefault with default headers values

func (*DevicesCountDefault) Code

func (o *DevicesCountDefault) Code() int

Code gets the status code for the devices count default response

func (*DevicesCountDefault) Error

func (o *DevicesCountDefault) Error() string

func (*DevicesCountDefault) GetPayload

type DevicesCountForbidden

type DevicesCountForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
DevicesCountForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDevicesCountForbidden

func NewDevicesCountForbidden() *DevicesCountForbidden

NewDevicesCountForbidden creates a DevicesCountForbidden with default headers values

func (*DevicesCountForbidden) Error

func (o *DevicesCountForbidden) Error() string

func (*DevicesCountForbidden) GetPayload

type DevicesCountOK

type DevicesCountOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIMsaReplyIOCDevicesCount
}
DevicesCountOK describes a response with status code 200, with default header values.

OK

func NewDevicesCountOK

func NewDevicesCountOK() *DevicesCountOK

NewDevicesCountOK creates a DevicesCountOK with default headers values

func (*DevicesCountOK) Error

func (o *DevicesCountOK) Error() string

func (*DevicesCountOK) GetPayload

type DevicesCountParams

type DevicesCountParams struct {

	/* Type.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Type string

	/* Value.

	   The string representation of the indicator
	*/
	Value string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DevicesCountParams contains all the parameters to send to the API endpoint

for the devices count operation.

Typically these are written to a http.Request.

func NewDevicesCountParams

func NewDevicesCountParams() *DevicesCountParams

NewDevicesCountParams creates a new DevicesCountParams 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 NewDevicesCountParamsWithContext

func NewDevicesCountParamsWithContext(ctx context.Context) *DevicesCountParams

NewDevicesCountParamsWithContext creates a new DevicesCountParams object with the ability to set a context for a request.

func NewDevicesCountParamsWithHTTPClient

func NewDevicesCountParamsWithHTTPClient(client *http.Client) *DevicesCountParams

NewDevicesCountParamsWithHTTPClient creates a new DevicesCountParams object with the ability to set a custom HTTPClient for a request.

func NewDevicesCountParamsWithTimeout

func NewDevicesCountParamsWithTimeout(timeout time.Duration) *DevicesCountParams

NewDevicesCountParamsWithTimeout creates a new DevicesCountParams object with the ability to set a timeout on a request.

func (*DevicesCountParams) SetContext

func (o *DevicesCountParams) SetContext(ctx context.Context)

SetContext adds the context to the devices count params

func (*DevicesCountParams) SetDefaults

func (o *DevicesCountParams) SetDefaults()

SetDefaults hydrates default values in the devices count params (not the query body).

All values with no default are reset to their zero value.

func (*DevicesCountParams) SetHTTPClient

func (o *DevicesCountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the devices count params

func (*DevicesCountParams) SetTimeout

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

SetTimeout adds the timeout to the devices count params

func (*DevicesCountParams) SetType

func (o *DevicesCountParams) SetType(typeVar string)

SetType adds the type to the devices count params

func (*DevicesCountParams) SetValue

func (o *DevicesCountParams) SetValue(value string)

SetValue adds the value to the devices count params

func (*DevicesCountParams) WithContext

WithContext adds the context to the devices count params

func (*DevicesCountParams) WithDefaults

func (o *DevicesCountParams) WithDefaults() *DevicesCountParams

WithDefaults hydrates default values in the devices count params (not the query body).

All values with no default are reset to their zero value.

func (*DevicesCountParams) WithHTTPClient

func (o *DevicesCountParams) WithHTTPClient(client *http.Client) *DevicesCountParams

WithHTTPClient adds the HTTPClient to the devices count params

func (*DevicesCountParams) WithTimeout

func (o *DevicesCountParams) WithTimeout(timeout time.Duration) *DevicesCountParams

WithTimeout adds the timeout to the devices count params

func (*DevicesCountParams) WithType

func (o *DevicesCountParams) WithType(typeVar string) *DevicesCountParams

WithType adds the typeVar to the devices count params

func (*DevicesCountParams) WithValue

func (o *DevicesCountParams) WithValue(value string) *DevicesCountParams

WithValue adds the value to the devices count params

func (*DevicesCountParams) WriteToRequest

func (o *DevicesCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DevicesCountReader

type DevicesCountReader struct {
	// contains filtered or unexported fields
}

DevicesCountReader is a Reader for the DevicesCount structure.

func (*DevicesCountReader) ReadResponse

func (o *DevicesCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DevicesCountTooManyRequests

type DevicesCountTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
DevicesCountTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDevicesCountTooManyRequests

func NewDevicesCountTooManyRequests() *DevicesCountTooManyRequests

NewDevicesCountTooManyRequests creates a DevicesCountTooManyRequests with default headers values

func (*DevicesCountTooManyRequests) Error

func (*DevicesCountTooManyRequests) GetPayload

type DevicesRanOnDefault

type DevicesRanOnDefault struct {
	Payload *models.APIMsaReplyDevicesRanOn
	// contains filtered or unexported fields
}
DevicesRanOnDefault describes a response with status code -1, with default header values.

OK

func NewDevicesRanOnDefault

func NewDevicesRanOnDefault(code int) *DevicesRanOnDefault

NewDevicesRanOnDefault creates a DevicesRanOnDefault with default headers values

func (*DevicesRanOnDefault) Code

func (o *DevicesRanOnDefault) Code() int

Code gets the status code for the devices ran on default response

func (*DevicesRanOnDefault) Error

func (o *DevicesRanOnDefault) Error() string

func (*DevicesRanOnDefault) GetPayload

type DevicesRanOnForbidden

type DevicesRanOnForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
DevicesRanOnForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDevicesRanOnForbidden

func NewDevicesRanOnForbidden() *DevicesRanOnForbidden

NewDevicesRanOnForbidden creates a DevicesRanOnForbidden with default headers values

func (*DevicesRanOnForbidden) Error

func (o *DevicesRanOnForbidden) Error() string

func (*DevicesRanOnForbidden) GetPayload

type DevicesRanOnOK

type DevicesRanOnOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIMsaReplyDevicesRanOn
}
DevicesRanOnOK describes a response with status code 200, with default header values.

OK

func NewDevicesRanOnOK

func NewDevicesRanOnOK() *DevicesRanOnOK

NewDevicesRanOnOK creates a DevicesRanOnOK with default headers values

func (*DevicesRanOnOK) Error

func (o *DevicesRanOnOK) Error() string

func (*DevicesRanOnOK) GetPayload

type DevicesRanOnParams

type DevicesRanOnParams struct {

	/* Limit.

	   The first process to return, where 0 is the latest offset. Use with the offset parameter to manage pagination of results.
	*/
	Limit *string

	/* Offset.

	   The first process to return, where 0 is the latest offset. Use with the limit parameter to manage pagination of results.
	*/
	Offset *string

	/* Type.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Type string

	/* Value.

	   The string representation of the indicator
	*/
	Value string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DevicesRanOnParams contains all the parameters to send to the API endpoint

for the devices ran on operation.

Typically these are written to a http.Request.

func NewDevicesRanOnParams

func NewDevicesRanOnParams() *DevicesRanOnParams

NewDevicesRanOnParams creates a new DevicesRanOnParams 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 NewDevicesRanOnParamsWithContext

func NewDevicesRanOnParamsWithContext(ctx context.Context) *DevicesRanOnParams

NewDevicesRanOnParamsWithContext creates a new DevicesRanOnParams object with the ability to set a context for a request.

func NewDevicesRanOnParamsWithHTTPClient

func NewDevicesRanOnParamsWithHTTPClient(client *http.Client) *DevicesRanOnParams

NewDevicesRanOnParamsWithHTTPClient creates a new DevicesRanOnParams object with the ability to set a custom HTTPClient for a request.

func NewDevicesRanOnParamsWithTimeout

func NewDevicesRanOnParamsWithTimeout(timeout time.Duration) *DevicesRanOnParams

NewDevicesRanOnParamsWithTimeout creates a new DevicesRanOnParams object with the ability to set a timeout on a request.

func (*DevicesRanOnParams) SetContext

func (o *DevicesRanOnParams) SetContext(ctx context.Context)

SetContext adds the context to the devices ran on params

func (*DevicesRanOnParams) SetDefaults

func (o *DevicesRanOnParams) SetDefaults()

SetDefaults hydrates default values in the devices ran on params (not the query body).

All values with no default are reset to their zero value.

func (*DevicesRanOnParams) SetHTTPClient

func (o *DevicesRanOnParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the devices ran on params

func (*DevicesRanOnParams) SetLimit

func (o *DevicesRanOnParams) SetLimit(limit *string)

SetLimit adds the limit to the devices ran on params

func (*DevicesRanOnParams) SetOffset

func (o *DevicesRanOnParams) SetOffset(offset *string)

SetOffset adds the offset to the devices ran on params

func (*DevicesRanOnParams) SetTimeout

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

SetTimeout adds the timeout to the devices ran on params

func (*DevicesRanOnParams) SetType

func (o *DevicesRanOnParams) SetType(typeVar string)

SetType adds the type to the devices ran on params

func (*DevicesRanOnParams) SetValue

func (o *DevicesRanOnParams) SetValue(value string)

SetValue adds the value to the devices ran on params

func (*DevicesRanOnParams) WithContext

WithContext adds the context to the devices ran on params

func (*DevicesRanOnParams) WithDefaults

func (o *DevicesRanOnParams) WithDefaults() *DevicesRanOnParams

WithDefaults hydrates default values in the devices ran on params (not the query body).

All values with no default are reset to their zero value.

func (*DevicesRanOnParams) WithHTTPClient

func (o *DevicesRanOnParams) WithHTTPClient(client *http.Client) *DevicesRanOnParams

WithHTTPClient adds the HTTPClient to the devices ran on params

func (*DevicesRanOnParams) WithLimit

func (o *DevicesRanOnParams) WithLimit(limit *string) *DevicesRanOnParams

WithLimit adds the limit to the devices ran on params

func (*DevicesRanOnParams) WithOffset

func (o *DevicesRanOnParams) WithOffset(offset *string) *DevicesRanOnParams

WithOffset adds the offset to the devices ran on params

func (*DevicesRanOnParams) WithTimeout

func (o *DevicesRanOnParams) WithTimeout(timeout time.Duration) *DevicesRanOnParams

WithTimeout adds the timeout to the devices ran on params

func (*DevicesRanOnParams) WithType

func (o *DevicesRanOnParams) WithType(typeVar string) *DevicesRanOnParams

WithType adds the typeVar to the devices ran on params

func (*DevicesRanOnParams) WithValue

func (o *DevicesRanOnParams) WithValue(value string) *DevicesRanOnParams

WithValue adds the value to the devices ran on params

func (*DevicesRanOnParams) WriteToRequest

func (o *DevicesRanOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DevicesRanOnReader

type DevicesRanOnReader struct {
	// contains filtered or unexported fields
}

DevicesRanOnReader is a Reader for the DevicesRanOn structure.

func (*DevicesRanOnReader) ReadResponse

func (o *DevicesRanOnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DevicesRanOnTooManyRequests

type DevicesRanOnTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
DevicesRanOnTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDevicesRanOnTooManyRequests

func NewDevicesRanOnTooManyRequests() *DevicesRanOnTooManyRequests

NewDevicesRanOnTooManyRequests creates a DevicesRanOnTooManyRequests with default headers values

func (*DevicesRanOnTooManyRequests) Error

func (*DevicesRanOnTooManyRequests) GetPayload

type EntitiesProcessesDefault

type EntitiesProcessesDefault struct {
	Payload *models.APIMsaProcessDetailResponse
	// contains filtered or unexported fields
}
EntitiesProcessesDefault describes a response with status code -1, with default header values.

OK

func NewEntitiesProcessesDefault

func NewEntitiesProcessesDefault(code int) *EntitiesProcessesDefault

NewEntitiesProcessesDefault creates a EntitiesProcessesDefault with default headers values

func (*EntitiesProcessesDefault) Code

func (o *EntitiesProcessesDefault) Code() int

Code gets the status code for the entities processes default response

func (*EntitiesProcessesDefault) Error

func (o *EntitiesProcessesDefault) Error() string

func (*EntitiesProcessesDefault) GetPayload

type EntitiesProcessesForbidden

type EntitiesProcessesForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
EntitiesProcessesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewEntitiesProcessesForbidden

func NewEntitiesProcessesForbidden() *EntitiesProcessesForbidden

NewEntitiesProcessesForbidden creates a EntitiesProcessesForbidden with default headers values

func (*EntitiesProcessesForbidden) Error

func (*EntitiesProcessesForbidden) GetPayload

type EntitiesProcessesOK

type EntitiesProcessesOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIMsaProcessDetailResponse
}
EntitiesProcessesOK describes a response with status code 200, with default header values.

OK

func NewEntitiesProcessesOK

func NewEntitiesProcessesOK() *EntitiesProcessesOK

NewEntitiesProcessesOK creates a EntitiesProcessesOK with default headers values

func (*EntitiesProcessesOK) Error

func (o *EntitiesProcessesOK) Error() string

func (*EntitiesProcessesOK) GetPayload

type EntitiesProcessesParams

type EntitiesProcessesParams struct {

	/* Ids.

	   ProcessID for the running process you want to lookup
	*/
	Ids []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EntitiesProcessesParams contains all the parameters to send to the API endpoint

for the entities processes operation.

Typically these are written to a http.Request.

func NewEntitiesProcessesParams

func NewEntitiesProcessesParams() *EntitiesProcessesParams

NewEntitiesProcessesParams creates a new EntitiesProcessesParams 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 NewEntitiesProcessesParamsWithContext

func NewEntitiesProcessesParamsWithContext(ctx context.Context) *EntitiesProcessesParams

NewEntitiesProcessesParamsWithContext creates a new EntitiesProcessesParams object with the ability to set a context for a request.

func NewEntitiesProcessesParamsWithHTTPClient

func NewEntitiesProcessesParamsWithHTTPClient(client *http.Client) *EntitiesProcessesParams

NewEntitiesProcessesParamsWithHTTPClient creates a new EntitiesProcessesParams object with the ability to set a custom HTTPClient for a request.

func NewEntitiesProcessesParamsWithTimeout

func NewEntitiesProcessesParamsWithTimeout(timeout time.Duration) *EntitiesProcessesParams

NewEntitiesProcessesParamsWithTimeout creates a new EntitiesProcessesParams object with the ability to set a timeout on a request.

func (*EntitiesProcessesParams) SetContext

func (o *EntitiesProcessesParams) SetContext(ctx context.Context)

SetContext adds the context to the entities processes params

func (*EntitiesProcessesParams) SetDefaults

func (o *EntitiesProcessesParams) SetDefaults()

SetDefaults hydrates default values in the entities processes params (not the query body).

All values with no default are reset to their zero value.

func (*EntitiesProcessesParams) SetHTTPClient

func (o *EntitiesProcessesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the entities processes params

func (*EntitiesProcessesParams) SetIds

func (o *EntitiesProcessesParams) SetIds(ids []string)

SetIds adds the ids to the entities processes params

func (*EntitiesProcessesParams) SetTimeout

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

SetTimeout adds the timeout to the entities processes params

func (*EntitiesProcessesParams) WithContext

WithContext adds the context to the entities processes params

func (*EntitiesProcessesParams) WithDefaults

WithDefaults hydrates default values in the entities processes params (not the query body).

All values with no default are reset to their zero value.

func (*EntitiesProcessesParams) WithHTTPClient

func (o *EntitiesProcessesParams) WithHTTPClient(client *http.Client) *EntitiesProcessesParams

WithHTTPClient adds the HTTPClient to the entities processes params

func (*EntitiesProcessesParams) WithIds

WithIds adds the ids to the entities processes params

func (*EntitiesProcessesParams) WithTimeout

WithTimeout adds the timeout to the entities processes params

func (*EntitiesProcessesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EntitiesProcessesReader

type EntitiesProcessesReader struct {
	// contains filtered or unexported fields
}

EntitiesProcessesReader is a Reader for the EntitiesProcesses structure.

func (*EntitiesProcessesReader) ReadResponse

func (o *EntitiesProcessesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EntitiesProcessesTooManyRequests

type EntitiesProcessesTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
EntitiesProcessesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewEntitiesProcessesTooManyRequests

func NewEntitiesProcessesTooManyRequests() *EntitiesProcessesTooManyRequests

NewEntitiesProcessesTooManyRequests creates a EntitiesProcessesTooManyRequests with default headers values

func (*EntitiesProcessesTooManyRequests) Error

func (*EntitiesProcessesTooManyRequests) GetPayload

type GetIOCDefault

type GetIOCDefault struct {
	Payload *models.APIMsaReplyIOC
	// contains filtered or unexported fields
}
GetIOCDefault describes a response with status code -1, with default header values.

OK

func NewGetIOCDefault

func NewGetIOCDefault(code int) *GetIOCDefault

NewGetIOCDefault creates a GetIOCDefault with default headers values

func (*GetIOCDefault) Code

func (o *GetIOCDefault) Code() int

Code gets the status code for the get i o c default response

func (*GetIOCDefault) Error

func (o *GetIOCDefault) Error() string

func (*GetIOCDefault) GetPayload

func (o *GetIOCDefault) GetPayload() *models.APIMsaReplyIOC

type GetIOCForbidden

type GetIOCForbidden 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
}
GetIOCForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetIOCForbidden

func NewGetIOCForbidden() *GetIOCForbidden

NewGetIOCForbidden creates a GetIOCForbidden with default headers values

func (*GetIOCForbidden) Error

func (o *GetIOCForbidden) Error() string

func (*GetIOCForbidden) GetPayload

func (o *GetIOCForbidden) GetPayload() *models.MsaReplyMetaOnly

type GetIOCOK

type GetIOCOK 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.APIMsaReplyIOC
}
GetIOCOK describes a response with status code 200, with default header values.

OK

func NewGetIOCOK

func NewGetIOCOK() *GetIOCOK

NewGetIOCOK creates a GetIOCOK with default headers values

func (*GetIOCOK) Error

func (o *GetIOCOK) Error() string

func (*GetIOCOK) GetPayload

func (o *GetIOCOK) GetPayload() *models.APIMsaReplyIOC

type GetIOCParams

type GetIOCParams struct {

	/* Type.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Type string

	/* Value.

	   The string representation of the indicator
	*/
	Value string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetIOCParams contains all the parameters to send to the API endpoint

for the get i o c operation.

Typically these are written to a http.Request.

func NewGetIOCParams

func NewGetIOCParams() *GetIOCParams

NewGetIOCParams creates a new GetIOCParams 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 NewGetIOCParamsWithContext

func NewGetIOCParamsWithContext(ctx context.Context) *GetIOCParams

NewGetIOCParamsWithContext creates a new GetIOCParams object with the ability to set a context for a request.

func NewGetIOCParamsWithHTTPClient

func NewGetIOCParamsWithHTTPClient(client *http.Client) *GetIOCParams

NewGetIOCParamsWithHTTPClient creates a new GetIOCParams object with the ability to set a custom HTTPClient for a request.

func NewGetIOCParamsWithTimeout

func NewGetIOCParamsWithTimeout(timeout time.Duration) *GetIOCParams

NewGetIOCParamsWithTimeout creates a new GetIOCParams object with the ability to set a timeout on a request.

func (*GetIOCParams) SetContext

func (o *GetIOCParams) SetContext(ctx context.Context)

SetContext adds the context to the get i o c params

func (*GetIOCParams) SetDefaults

func (o *GetIOCParams) SetDefaults()

SetDefaults hydrates default values in the get i o c params (not the query body).

All values with no default are reset to their zero value.

func (*GetIOCParams) SetHTTPClient

func (o *GetIOCParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get i o c params

func (*GetIOCParams) SetTimeout

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

SetTimeout adds the timeout to the get i o c params

func (*GetIOCParams) SetType

func (o *GetIOCParams) SetType(typeVar string)

SetType adds the type to the get i o c params

func (*GetIOCParams) SetValue

func (o *GetIOCParams) SetValue(value string)

SetValue adds the value to the get i o c params

func (*GetIOCParams) WithContext

func (o *GetIOCParams) WithContext(ctx context.Context) *GetIOCParams

WithContext adds the context to the get i o c params

func (*GetIOCParams) WithDefaults

func (o *GetIOCParams) WithDefaults() *GetIOCParams

WithDefaults hydrates default values in the get i o c params (not the query body).

All values with no default are reset to their zero value.

func (*GetIOCParams) WithHTTPClient

func (o *GetIOCParams) WithHTTPClient(client *http.Client) *GetIOCParams

WithHTTPClient adds the HTTPClient to the get i o c params

func (*GetIOCParams) WithTimeout

func (o *GetIOCParams) WithTimeout(timeout time.Duration) *GetIOCParams

WithTimeout adds the timeout to the get i o c params

func (*GetIOCParams) WithType

func (o *GetIOCParams) WithType(typeVar string) *GetIOCParams

WithType adds the typeVar to the get i o c params

func (*GetIOCParams) WithValue

func (o *GetIOCParams) WithValue(value string) *GetIOCParams

WithValue adds the value to the get i o c params

func (*GetIOCParams) WriteToRequest

func (o *GetIOCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetIOCReader

type GetIOCReader struct {
	// contains filtered or unexported fields
}

GetIOCReader is a Reader for the GetIOC structure.

func (*GetIOCReader) ReadResponse

func (o *GetIOCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetIOCTooManyRequests

type GetIOCTooManyRequests 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
}
GetIOCTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetIOCTooManyRequests

func NewGetIOCTooManyRequests() *GetIOCTooManyRequests

NewGetIOCTooManyRequests creates a GetIOCTooManyRequests with default headers values

func (*GetIOCTooManyRequests) Error

func (o *GetIOCTooManyRequests) Error() string

func (*GetIOCTooManyRequests) GetPayload

type ProcessesRanOnDefault

type ProcessesRanOnDefault struct {
	Payload *models.APIMsaReplyProcessesRanOn
	// contains filtered or unexported fields
}
ProcessesRanOnDefault describes a response with status code -1, with default header values.

OK

func NewProcessesRanOnDefault

func NewProcessesRanOnDefault(code int) *ProcessesRanOnDefault

NewProcessesRanOnDefault creates a ProcessesRanOnDefault with default headers values

func (*ProcessesRanOnDefault) Code

func (o *ProcessesRanOnDefault) Code() int

Code gets the status code for the processes ran on default response

func (*ProcessesRanOnDefault) Error

func (o *ProcessesRanOnDefault) Error() string

func (*ProcessesRanOnDefault) GetPayload

type ProcessesRanOnForbidden

type ProcessesRanOnForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}
ProcessesRanOnForbidden describes a response with status code 403, with default header values.

Forbidden

func NewProcessesRanOnForbidden

func NewProcessesRanOnForbidden() *ProcessesRanOnForbidden

NewProcessesRanOnForbidden creates a ProcessesRanOnForbidden with default headers values

func (*ProcessesRanOnForbidden) Error

func (o *ProcessesRanOnForbidden) Error() string

func (*ProcessesRanOnForbidden) GetPayload

type ProcessesRanOnOK

type ProcessesRanOnOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIMsaReplyProcessesRanOn
}
ProcessesRanOnOK describes a response with status code 200, with default header values.

OK

func NewProcessesRanOnOK

func NewProcessesRanOnOK() *ProcessesRanOnOK

NewProcessesRanOnOK creates a ProcessesRanOnOK with default headers values

func (*ProcessesRanOnOK) Error

func (o *ProcessesRanOnOK) Error() string

func (*ProcessesRanOnOK) GetPayload

type ProcessesRanOnParams

type ProcessesRanOnParams struct {

	/* DeviceID.

	   Specify a host's ID to return only processes from that host. Get a host's ID from GET /devices/queries/devices/v1, the Falcon console, or the Streaming API.
	*/
	DeviceID string

	/* Limit.

	   The first process to return, where 0 is the latest offset. Use with the offset parameter to manage pagination of results.
	*/
	Limit *string

	/* Offset.

	   The first process to return, where 0 is the latest offset. Use with the limit parameter to manage pagination of results.
	*/
	Offset *string

	/* Type.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Type string

	/* Value.

	   The string representation of the indicator
	*/
	Value string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProcessesRanOnParams contains all the parameters to send to the API endpoint

for the processes ran on operation.

Typically these are written to a http.Request.

func NewProcessesRanOnParams

func NewProcessesRanOnParams() *ProcessesRanOnParams

NewProcessesRanOnParams creates a new ProcessesRanOnParams 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 NewProcessesRanOnParamsWithContext

func NewProcessesRanOnParamsWithContext(ctx context.Context) *ProcessesRanOnParams

NewProcessesRanOnParamsWithContext creates a new ProcessesRanOnParams object with the ability to set a context for a request.

func NewProcessesRanOnParamsWithHTTPClient

func NewProcessesRanOnParamsWithHTTPClient(client *http.Client) *ProcessesRanOnParams

NewProcessesRanOnParamsWithHTTPClient creates a new ProcessesRanOnParams object with the ability to set a custom HTTPClient for a request.

func NewProcessesRanOnParamsWithTimeout

func NewProcessesRanOnParamsWithTimeout(timeout time.Duration) *ProcessesRanOnParams

NewProcessesRanOnParamsWithTimeout creates a new ProcessesRanOnParams object with the ability to set a timeout on a request.

func (*ProcessesRanOnParams) SetContext

func (o *ProcessesRanOnParams) SetContext(ctx context.Context)

SetContext adds the context to the processes ran on params

func (*ProcessesRanOnParams) SetDefaults

func (o *ProcessesRanOnParams) SetDefaults()

SetDefaults hydrates default values in the processes ran on params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessesRanOnParams) SetDeviceID

func (o *ProcessesRanOnParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the processes ran on params

func (*ProcessesRanOnParams) SetHTTPClient

func (o *ProcessesRanOnParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the processes ran on params

func (*ProcessesRanOnParams) SetLimit

func (o *ProcessesRanOnParams) SetLimit(limit *string)

SetLimit adds the limit to the processes ran on params

func (*ProcessesRanOnParams) SetOffset

func (o *ProcessesRanOnParams) SetOffset(offset *string)

SetOffset adds the offset to the processes ran on params

func (*ProcessesRanOnParams) SetTimeout

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

SetTimeout adds the timeout to the processes ran on params

func (*ProcessesRanOnParams) SetType

func (o *ProcessesRanOnParams) SetType(typeVar string)

SetType adds the type to the processes ran on params

func (*ProcessesRanOnParams) SetValue

func (o *ProcessesRanOnParams) SetValue(value string)

SetValue adds the value to the processes ran on params

func (*ProcessesRanOnParams) WithContext

WithContext adds the context to the processes ran on params

func (*ProcessesRanOnParams) WithDefaults

func (o *ProcessesRanOnParams) WithDefaults() *ProcessesRanOnParams

WithDefaults hydrates default values in the processes ran on params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessesRanOnParams) WithDeviceID

func (o *ProcessesRanOnParams) WithDeviceID(deviceID string) *ProcessesRanOnParams

WithDeviceID adds the deviceID to the processes ran on params

func (*ProcessesRanOnParams) WithHTTPClient

func (o *ProcessesRanOnParams) WithHTTPClient(client *http.Client) *ProcessesRanOnParams

WithHTTPClient adds the HTTPClient to the processes ran on params

func (*ProcessesRanOnParams) WithLimit

func (o *ProcessesRanOnParams) WithLimit(limit *string) *ProcessesRanOnParams

WithLimit adds the limit to the processes ran on params

func (*ProcessesRanOnParams) WithOffset

func (o *ProcessesRanOnParams) WithOffset(offset *string) *ProcessesRanOnParams

WithOffset adds the offset to the processes ran on params

func (*ProcessesRanOnParams) WithTimeout

func (o *ProcessesRanOnParams) WithTimeout(timeout time.Duration) *ProcessesRanOnParams

WithTimeout adds the timeout to the processes ran on params

func (*ProcessesRanOnParams) WithType

func (o *ProcessesRanOnParams) WithType(typeVar string) *ProcessesRanOnParams

WithType adds the typeVar to the processes ran on params

func (*ProcessesRanOnParams) WithValue

func (o *ProcessesRanOnParams) WithValue(value string) *ProcessesRanOnParams

WithValue adds the value to the processes ran on params

func (*ProcessesRanOnParams) WriteToRequest

func (o *ProcessesRanOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProcessesRanOnReader

type ProcessesRanOnReader struct {
	// contains filtered or unexported fields
}

ProcessesRanOnReader is a Reader for the ProcessesRanOn structure.

func (*ProcessesRanOnReader) ReadResponse

func (o *ProcessesRanOnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProcessesRanOnTooManyRequests

type ProcessesRanOnTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}
ProcessesRanOnTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewProcessesRanOnTooManyRequests

func NewProcessesRanOnTooManyRequests() *ProcessesRanOnTooManyRequests

NewProcessesRanOnTooManyRequests creates a ProcessesRanOnTooManyRequests with default headers values

func (*ProcessesRanOnTooManyRequests) Error

func (*ProcessesRanOnTooManyRequests) GetPayload

type QueryIOCsDefault

type QueryIOCsDefault struct {
	Payload *models.APIMsaReplyIOCIDs
	// contains filtered or unexported fields
}
QueryIOCsDefault describes a response with status code -1, with default header values.

OK

func NewQueryIOCsDefault

func NewQueryIOCsDefault(code int) *QueryIOCsDefault

NewQueryIOCsDefault creates a QueryIOCsDefault with default headers values

func (*QueryIOCsDefault) Code

func (o *QueryIOCsDefault) Code() int

Code gets the status code for the query i o cs default response

func (*QueryIOCsDefault) Error

func (o *QueryIOCsDefault) Error() string

func (*QueryIOCsDefault) GetPayload

func (o *QueryIOCsDefault) GetPayload() *models.APIMsaReplyIOCIDs

type QueryIOCsForbidden

type QueryIOCsForbidden 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
}
QueryIOCsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryIOCsForbidden

func NewQueryIOCsForbidden() *QueryIOCsForbidden

NewQueryIOCsForbidden creates a QueryIOCsForbidden with default headers values

func (*QueryIOCsForbidden) Error

func (o *QueryIOCsForbidden) Error() string

func (*QueryIOCsForbidden) GetPayload

func (o *QueryIOCsForbidden) GetPayload() *models.MsaReplyMetaOnly

type QueryIOCsOK

type QueryIOCsOK 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.APIMsaReplyIOCIDs
}
QueryIOCsOK describes a response with status code 200, with default header values.

OK

func NewQueryIOCsOK

func NewQueryIOCsOK() *QueryIOCsOK

NewQueryIOCsOK creates a QueryIOCsOK with default headers values

func (*QueryIOCsOK) Error

func (o *QueryIOCsOK) Error() string

func (*QueryIOCsOK) GetPayload

func (o *QueryIOCsOK) GetPayload() *models.APIMsaReplyIOCIDs

type QueryIOCsParams

type QueryIOCsParams struct {

	/* CreatedBy.

	   created_by
	*/
	CreatedBy *string

	/* DeletedBy.

	   The user or API client who deleted the custom IOC
	*/
	DeletedBy *string

	/* FromExpirationTimestamp.

	   Find custom IOCs created after this time (RFC-3339 timestamp)
	*/
	FromExpirationTimestamp *string

	/* IncludeDeleted.


	true: Include deleted IOCs

	false: Don't include deleted IOCs (default)

	*/
	IncludeDeleted *string

	/* Policies.

	   \ndetect: Find custom IOCs that produce notifications\n\nnone: Find custom IOCs the particular indicator has been detected on a host. This is equivalent to turning the indicator off.

	*/
	Policies *string

	/* ShareLevels.

	   The level at which the indicator will be shared. Currently only red share level (not shared) is supported, indicating that the IOC isn't shared with other FH customers.
	*/
	ShareLevels *string

	/* Sources.

	   The source where this indicator originated. This can be used for tracking where this indicator was defined. Limit 200 characters.
	*/
	Sources *string

	/* ToExpirationTimestamp.

	   Find custom IOCs created before this time (RFC-3339 timestamp)
	*/
	ToExpirationTimestamp *string

	/* Types.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Types *string

	/* Values.

	   The string representation of the indicator
	*/
	Values *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryIOCsParams contains all the parameters to send to the API endpoint

for the query i o cs operation.

Typically these are written to a http.Request.

func NewQueryIOCsParams

func NewQueryIOCsParams() *QueryIOCsParams

NewQueryIOCsParams creates a new QueryIOCsParams 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 NewQueryIOCsParamsWithContext

func NewQueryIOCsParamsWithContext(ctx context.Context) *QueryIOCsParams

NewQueryIOCsParamsWithContext creates a new QueryIOCsParams object with the ability to set a context for a request.

func NewQueryIOCsParamsWithHTTPClient

func NewQueryIOCsParamsWithHTTPClient(client *http.Client) *QueryIOCsParams

NewQueryIOCsParamsWithHTTPClient creates a new QueryIOCsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryIOCsParamsWithTimeout

func NewQueryIOCsParamsWithTimeout(timeout time.Duration) *QueryIOCsParams

NewQueryIOCsParamsWithTimeout creates a new QueryIOCsParams object with the ability to set a timeout on a request.

func (*QueryIOCsParams) SetContext

func (o *QueryIOCsParams) SetContext(ctx context.Context)

SetContext adds the context to the query i o cs params

func (*QueryIOCsParams) SetCreatedBy

func (o *QueryIOCsParams) SetCreatedBy(createdBy *string)

SetCreatedBy adds the createdBy to the query i o cs params

func (*QueryIOCsParams) SetDefaults

func (o *QueryIOCsParams) SetDefaults()

SetDefaults hydrates default values in the query i o cs params (not the query body).

All values with no default are reset to their zero value.

func (*QueryIOCsParams) SetDeletedBy

func (o *QueryIOCsParams) SetDeletedBy(deletedBy *string)

SetDeletedBy adds the deletedBy to the query i o cs params

func (*QueryIOCsParams) SetFromExpirationTimestamp

func (o *QueryIOCsParams) SetFromExpirationTimestamp(fromExpirationTimestamp *string)

SetFromExpirationTimestamp adds the fromExpirationTimestamp to the query i o cs params

func (*QueryIOCsParams) SetHTTPClient

func (o *QueryIOCsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query i o cs params

func (*QueryIOCsParams) SetIncludeDeleted

func (o *QueryIOCsParams) SetIncludeDeleted(includeDeleted *string)

SetIncludeDeleted adds the includeDeleted to the query i o cs params

func (*QueryIOCsParams) SetPolicies

func (o *QueryIOCsParams) SetPolicies(policies *string)

SetPolicies adds the policies to the query i o cs params

func (*QueryIOCsParams) SetShareLevels

func (o *QueryIOCsParams) SetShareLevels(shareLevels *string)

SetShareLevels adds the shareLevels to the query i o cs params

func (*QueryIOCsParams) SetSources

func (o *QueryIOCsParams) SetSources(sources *string)

SetSources adds the sources to the query i o cs params

func (*QueryIOCsParams) SetTimeout

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

SetTimeout adds the timeout to the query i o cs params

func (*QueryIOCsParams) SetToExpirationTimestamp

func (o *QueryIOCsParams) SetToExpirationTimestamp(toExpirationTimestamp *string)

SetToExpirationTimestamp adds the toExpirationTimestamp to the query i o cs params

func (*QueryIOCsParams) SetTypes

func (o *QueryIOCsParams) SetTypes(types *string)

SetTypes adds the types to the query i o cs params

func (*QueryIOCsParams) SetValues

func (o *QueryIOCsParams) SetValues(values *string)

SetValues adds the values to the query i o cs params

func (*QueryIOCsParams) WithContext

func (o *QueryIOCsParams) WithContext(ctx context.Context) *QueryIOCsParams

WithContext adds the context to the query i o cs params

func (*QueryIOCsParams) WithCreatedBy

func (o *QueryIOCsParams) WithCreatedBy(createdBy *string) *QueryIOCsParams

WithCreatedBy adds the createdBy to the query i o cs params

func (*QueryIOCsParams) WithDefaults

func (o *QueryIOCsParams) WithDefaults() *QueryIOCsParams

WithDefaults hydrates default values in the query i o cs params (not the query body).

All values with no default are reset to their zero value.

func (*QueryIOCsParams) WithDeletedBy

func (o *QueryIOCsParams) WithDeletedBy(deletedBy *string) *QueryIOCsParams

WithDeletedBy adds the deletedBy to the query i o cs params

func (*QueryIOCsParams) WithFromExpirationTimestamp

func (o *QueryIOCsParams) WithFromExpirationTimestamp(fromExpirationTimestamp *string) *QueryIOCsParams

WithFromExpirationTimestamp adds the fromExpirationTimestamp to the query i o cs params

func (*QueryIOCsParams) WithHTTPClient

func (o *QueryIOCsParams) WithHTTPClient(client *http.Client) *QueryIOCsParams

WithHTTPClient adds the HTTPClient to the query i o cs params

func (*QueryIOCsParams) WithIncludeDeleted

func (o *QueryIOCsParams) WithIncludeDeleted(includeDeleted *string) *QueryIOCsParams

WithIncludeDeleted adds the includeDeleted to the query i o cs params

func (*QueryIOCsParams) WithPolicies

func (o *QueryIOCsParams) WithPolicies(policies *string) *QueryIOCsParams

WithPolicies adds the policies to the query i o cs params

func (*QueryIOCsParams) WithShareLevels

func (o *QueryIOCsParams) WithShareLevels(shareLevels *string) *QueryIOCsParams

WithShareLevels adds the shareLevels to the query i o cs params

func (*QueryIOCsParams) WithSources

func (o *QueryIOCsParams) WithSources(sources *string) *QueryIOCsParams

WithSources adds the sources to the query i o cs params

func (*QueryIOCsParams) WithTimeout

func (o *QueryIOCsParams) WithTimeout(timeout time.Duration) *QueryIOCsParams

WithTimeout adds the timeout to the query i o cs params

func (*QueryIOCsParams) WithToExpirationTimestamp

func (o *QueryIOCsParams) WithToExpirationTimestamp(toExpirationTimestamp *string) *QueryIOCsParams

WithToExpirationTimestamp adds the toExpirationTimestamp to the query i o cs params

func (*QueryIOCsParams) WithTypes

func (o *QueryIOCsParams) WithTypes(types *string) *QueryIOCsParams

WithTypes adds the types to the query i o cs params

func (*QueryIOCsParams) WithValues

func (o *QueryIOCsParams) WithValues(values *string) *QueryIOCsParams

WithValues adds the values to the query i o cs params

func (*QueryIOCsParams) WriteToRequest

func (o *QueryIOCsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryIOCsReader

type QueryIOCsReader struct {
	// contains filtered or unexported fields
}

QueryIOCsReader is a Reader for the QueryIOCs structure.

func (*QueryIOCsReader) ReadResponse

func (o *QueryIOCsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryIOCsTooManyRequests

type QueryIOCsTooManyRequests 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
}
QueryIOCsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryIOCsTooManyRequests

func NewQueryIOCsTooManyRequests() *QueryIOCsTooManyRequests

NewQueryIOCsTooManyRequests creates a QueryIOCsTooManyRequests with default headers values

func (*QueryIOCsTooManyRequests) Error

func (o *QueryIOCsTooManyRequests) Error() string

func (*QueryIOCsTooManyRequests) GetPayload

type UpdateIOCDefault

type UpdateIOCDefault struct {
	Payload *models.APIMsaReplyIOC
	// contains filtered or unexported fields
}
UpdateIOCDefault describes a response with status code -1, with default header values.

OK

func NewUpdateIOCDefault

func NewUpdateIOCDefault(code int) *UpdateIOCDefault

NewUpdateIOCDefault creates a UpdateIOCDefault with default headers values

func (*UpdateIOCDefault) Code

func (o *UpdateIOCDefault) Code() int

Code gets the status code for the update i o c default response

func (*UpdateIOCDefault) Error

func (o *UpdateIOCDefault) Error() string

func (*UpdateIOCDefault) GetPayload

func (o *UpdateIOCDefault) GetPayload() *models.APIMsaReplyIOC

type UpdateIOCForbidden

type UpdateIOCForbidden 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
}
UpdateIOCForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateIOCForbidden

func NewUpdateIOCForbidden() *UpdateIOCForbidden

NewUpdateIOCForbidden creates a UpdateIOCForbidden with default headers values

func (*UpdateIOCForbidden) Error

func (o *UpdateIOCForbidden) Error() string

func (*UpdateIOCForbidden) GetPayload

func (o *UpdateIOCForbidden) GetPayload() *models.MsaReplyMetaOnly

type UpdateIOCOK

type UpdateIOCOK 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.APIMsaReplyIOC
}
UpdateIOCOK describes a response with status code 200, with default header values.

OK

func NewUpdateIOCOK

func NewUpdateIOCOK() *UpdateIOCOK

NewUpdateIOCOK creates a UpdateIOCOK with default headers values

func (*UpdateIOCOK) Error

func (o *UpdateIOCOK) Error() string

func (*UpdateIOCOK) GetPayload

func (o *UpdateIOCOK) GetPayload() *models.APIMsaReplyIOC

type UpdateIOCParams

type UpdateIOCParams struct {

	// Body.
	Body *models.APIIOCViewRecord

	/* Type.


	The type of the indicator. Valid types include:

	sha256: A hex-encoded sha256 hash string. Length - min: 64, max: 64.

	md5: A hex-encoded md5 hash string. Length - min 32, max: 32.

	domain: A domain name. Length - min: 1, max: 200.

	ipv4: An IPv4 address. Must be a valid IP address.

	ipv6: An IPv6 address. Must be a valid IP address.

	*/
	Type string

	/* Value.

	   The string representation of the indicator
	*/
	Value string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateIOCParams contains all the parameters to send to the API endpoint

for the update i o c operation.

Typically these are written to a http.Request.

func NewUpdateIOCParams

func NewUpdateIOCParams() *UpdateIOCParams

NewUpdateIOCParams creates a new UpdateIOCParams 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 NewUpdateIOCParamsWithContext

func NewUpdateIOCParamsWithContext(ctx context.Context) *UpdateIOCParams

NewUpdateIOCParamsWithContext creates a new UpdateIOCParams object with the ability to set a context for a request.

func NewUpdateIOCParamsWithHTTPClient

func NewUpdateIOCParamsWithHTTPClient(client *http.Client) *UpdateIOCParams

NewUpdateIOCParamsWithHTTPClient creates a new UpdateIOCParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIOCParamsWithTimeout

func NewUpdateIOCParamsWithTimeout(timeout time.Duration) *UpdateIOCParams

NewUpdateIOCParamsWithTimeout creates a new UpdateIOCParams object with the ability to set a timeout on a request.

func (*UpdateIOCParams) SetBody

func (o *UpdateIOCParams) SetBody(body *models.APIIOCViewRecord)

SetBody adds the body to the update i o c params

func (*UpdateIOCParams) SetContext

func (o *UpdateIOCParams) SetContext(ctx context.Context)

SetContext adds the context to the update i o c params

func (*UpdateIOCParams) SetDefaults

func (o *UpdateIOCParams) SetDefaults()

SetDefaults hydrates default values in the update i o c params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIOCParams) SetHTTPClient

func (o *UpdateIOCParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update i o c params

func (*UpdateIOCParams) SetTimeout

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

SetTimeout adds the timeout to the update i o c params

func (*UpdateIOCParams) SetType

func (o *UpdateIOCParams) SetType(typeVar string)

SetType adds the type to the update i o c params

func (*UpdateIOCParams) SetValue

func (o *UpdateIOCParams) SetValue(value string)

SetValue adds the value to the update i o c params

func (*UpdateIOCParams) WithBody

WithBody adds the body to the update i o c params

func (*UpdateIOCParams) WithContext

func (o *UpdateIOCParams) WithContext(ctx context.Context) *UpdateIOCParams

WithContext adds the context to the update i o c params

func (*UpdateIOCParams) WithDefaults

func (o *UpdateIOCParams) WithDefaults() *UpdateIOCParams

WithDefaults hydrates default values in the update i o c params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIOCParams) WithHTTPClient

func (o *UpdateIOCParams) WithHTTPClient(client *http.Client) *UpdateIOCParams

WithHTTPClient adds the HTTPClient to the update i o c params

func (*UpdateIOCParams) WithTimeout

func (o *UpdateIOCParams) WithTimeout(timeout time.Duration) *UpdateIOCParams

WithTimeout adds the timeout to the update i o c params

func (*UpdateIOCParams) WithType

func (o *UpdateIOCParams) WithType(typeVar string) *UpdateIOCParams

WithType adds the typeVar to the update i o c params

func (*UpdateIOCParams) WithValue

func (o *UpdateIOCParams) WithValue(value string) *UpdateIOCParams

WithValue adds the value to the update i o c params

func (*UpdateIOCParams) WriteToRequest

func (o *UpdateIOCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateIOCReader

type UpdateIOCReader struct {
	// contains filtered or unexported fields
}

UpdateIOCReader is a Reader for the UpdateIOC structure.

func (*UpdateIOCReader) ReadResponse

func (o *UpdateIOCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateIOCTooManyRequests

type UpdateIOCTooManyRequests 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
}
UpdateIOCTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateIOCTooManyRequests

func NewUpdateIOCTooManyRequests() *UpdateIOCTooManyRequests

NewUpdateIOCTooManyRequests creates a UpdateIOCTooManyRequests with default headers values

func (*UpdateIOCTooManyRequests) Error

func (o *UpdateIOCTooManyRequests) Error() string

func (*UpdateIOCTooManyRequests) GetPayload

Jump to

Keyboard shortcuts

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