iocs

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 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) 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) ProcessesRanOn

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

ProcessesRanOn searches for processes associated with a custom i o c

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 {
	DevicesCount(params *DevicesCountParams, opts ...ClientOption) (*DevicesCountOK, error)

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

	ProcessesRanOn(params *ProcessesRanOnParams, opts ...ClientOption) (*ProcessesRanOnOK, 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 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

func (*DevicesCountDefault) IsClientError added in v0.2.27

func (o *DevicesCountDefault) IsClientError() bool

IsClientError returns true when this devices count default response has a 4xx status code

func (*DevicesCountDefault) IsCode added in v0.2.27

func (o *DevicesCountDefault) IsCode(code int) bool

IsCode returns true when this devices count default response a status code equal to that given

func (*DevicesCountDefault) IsRedirect added in v0.2.27

func (o *DevicesCountDefault) IsRedirect() bool

IsRedirect returns true when this devices count default response has a 3xx status code

func (*DevicesCountDefault) IsServerError added in v0.2.27

func (o *DevicesCountDefault) IsServerError() bool

IsServerError returns true when this devices count default response has a 5xx status code

func (*DevicesCountDefault) IsSuccess added in v0.2.27

func (o *DevicesCountDefault) IsSuccess() bool

IsSuccess returns true when this devices count default response has a 2xx status code

func (*DevicesCountDefault) String added in v0.2.27

func (o *DevicesCountDefault) String() string

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) Code added in v0.2.33

func (o *DevicesCountForbidden) Code() int

Code gets the status code for the devices count forbidden response

func (*DevicesCountForbidden) Error

func (o *DevicesCountForbidden) Error() string

func (*DevicesCountForbidden) GetPayload

func (*DevicesCountForbidden) IsClientError added in v0.2.27

func (o *DevicesCountForbidden) IsClientError() bool

IsClientError returns true when this devices count forbidden response has a 4xx status code

func (*DevicesCountForbidden) IsCode added in v0.2.27

func (o *DevicesCountForbidden) IsCode(code int) bool

IsCode returns true when this devices count forbidden response a status code equal to that given

func (*DevicesCountForbidden) IsRedirect added in v0.2.27

func (o *DevicesCountForbidden) IsRedirect() bool

IsRedirect returns true when this devices count forbidden response has a 3xx status code

func (*DevicesCountForbidden) IsServerError added in v0.2.27

func (o *DevicesCountForbidden) IsServerError() bool

IsServerError returns true when this devices count forbidden response has a 5xx status code

func (*DevicesCountForbidden) IsSuccess added in v0.2.27

func (o *DevicesCountForbidden) IsSuccess() bool

IsSuccess returns true when this devices count forbidden response has a 2xx status code

func (*DevicesCountForbidden) String added in v0.2.27

func (o *DevicesCountForbidden) String() string

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) Code added in v0.2.33

func (o *DevicesCountOK) Code() int

Code gets the status code for the devices count o k response

func (*DevicesCountOK) Error

func (o *DevicesCountOK) Error() string

func (*DevicesCountOK) GetPayload

func (*DevicesCountOK) IsClientError added in v0.2.27

func (o *DevicesCountOK) IsClientError() bool

IsClientError returns true when this devices count o k response has a 4xx status code

func (*DevicesCountOK) IsCode added in v0.2.27

func (o *DevicesCountOK) IsCode(code int) bool

IsCode returns true when this devices count o k response a status code equal to that given

func (*DevicesCountOK) IsRedirect added in v0.2.27

func (o *DevicesCountOK) IsRedirect() bool

IsRedirect returns true when this devices count o k response has a 3xx status code

func (*DevicesCountOK) IsServerError added in v0.2.27

func (o *DevicesCountOK) IsServerError() bool

IsServerError returns true when this devices count o k response has a 5xx status code

func (*DevicesCountOK) IsSuccess added in v0.2.27

func (o *DevicesCountOK) IsSuccess() bool

IsSuccess returns true when this devices count o k response has a 2xx status code

func (*DevicesCountOK) String added in v0.2.27

func (o *DevicesCountOK) String() string

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) Code added in v0.2.33

func (o *DevicesCountTooManyRequests) Code() int

Code gets the status code for the devices count too many requests response

func (*DevicesCountTooManyRequests) Error

func (*DevicesCountTooManyRequests) GetPayload

func (*DevicesCountTooManyRequests) IsClientError added in v0.2.27

func (o *DevicesCountTooManyRequests) IsClientError() bool

IsClientError returns true when this devices count too many requests response has a 4xx status code

func (*DevicesCountTooManyRequests) IsCode added in v0.2.27

func (o *DevicesCountTooManyRequests) IsCode(code int) bool

IsCode returns true when this devices count too many requests response a status code equal to that given

func (*DevicesCountTooManyRequests) IsRedirect added in v0.2.27

func (o *DevicesCountTooManyRequests) IsRedirect() bool

IsRedirect returns true when this devices count too many requests response has a 3xx status code

func (*DevicesCountTooManyRequests) IsServerError added in v0.2.27

func (o *DevicesCountTooManyRequests) IsServerError() bool

IsServerError returns true when this devices count too many requests response has a 5xx status code

func (*DevicesCountTooManyRequests) IsSuccess added in v0.2.27

func (o *DevicesCountTooManyRequests) IsSuccess() bool

IsSuccess returns true when this devices count too many requests response has a 2xx status code

func (*DevicesCountTooManyRequests) String added in v0.2.27

func (o *DevicesCountTooManyRequests) String() string

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

func (*DevicesRanOnDefault) IsClientError added in v0.2.27

func (o *DevicesRanOnDefault) IsClientError() bool

IsClientError returns true when this devices ran on default response has a 4xx status code

func (*DevicesRanOnDefault) IsCode added in v0.2.27

func (o *DevicesRanOnDefault) IsCode(code int) bool

IsCode returns true when this devices ran on default response a status code equal to that given

func (*DevicesRanOnDefault) IsRedirect added in v0.2.27

func (o *DevicesRanOnDefault) IsRedirect() bool

IsRedirect returns true when this devices ran on default response has a 3xx status code

func (*DevicesRanOnDefault) IsServerError added in v0.2.27

func (o *DevicesRanOnDefault) IsServerError() bool

IsServerError returns true when this devices ran on default response has a 5xx status code

func (*DevicesRanOnDefault) IsSuccess added in v0.2.27

func (o *DevicesRanOnDefault) IsSuccess() bool

IsSuccess returns true when this devices ran on default response has a 2xx status code

func (*DevicesRanOnDefault) String added in v0.2.27

func (o *DevicesRanOnDefault) String() string

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) Code added in v0.2.33

func (o *DevicesRanOnForbidden) Code() int

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

func (*DevicesRanOnForbidden) Error

func (o *DevicesRanOnForbidden) Error() string

func (*DevicesRanOnForbidden) GetPayload

func (*DevicesRanOnForbidden) IsClientError added in v0.2.27

func (o *DevicesRanOnForbidden) IsClientError() bool

IsClientError returns true when this devices ran on forbidden response has a 4xx status code

func (*DevicesRanOnForbidden) IsCode added in v0.2.27

func (o *DevicesRanOnForbidden) IsCode(code int) bool

IsCode returns true when this devices ran on forbidden response a status code equal to that given

func (*DevicesRanOnForbidden) IsRedirect added in v0.2.27

func (o *DevicesRanOnForbidden) IsRedirect() bool

IsRedirect returns true when this devices ran on forbidden response has a 3xx status code

func (*DevicesRanOnForbidden) IsServerError added in v0.2.27

func (o *DevicesRanOnForbidden) IsServerError() bool

IsServerError returns true when this devices ran on forbidden response has a 5xx status code

func (*DevicesRanOnForbidden) IsSuccess added in v0.2.27

func (o *DevicesRanOnForbidden) IsSuccess() bool

IsSuccess returns true when this devices ran on forbidden response has a 2xx status code

func (*DevicesRanOnForbidden) String added in v0.2.27

func (o *DevicesRanOnForbidden) String() string

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) Code added in v0.2.33

func (o *DevicesRanOnOK) Code() int

Code gets the status code for the devices ran on o k response

func (*DevicesRanOnOK) Error

func (o *DevicesRanOnOK) Error() string

func (*DevicesRanOnOK) GetPayload

func (*DevicesRanOnOK) IsClientError added in v0.2.27

func (o *DevicesRanOnOK) IsClientError() bool

IsClientError returns true when this devices ran on o k response has a 4xx status code

func (*DevicesRanOnOK) IsCode added in v0.2.27

func (o *DevicesRanOnOK) IsCode(code int) bool

IsCode returns true when this devices ran on o k response a status code equal to that given

func (*DevicesRanOnOK) IsRedirect added in v0.2.27

func (o *DevicesRanOnOK) IsRedirect() bool

IsRedirect returns true when this devices ran on o k response has a 3xx status code

func (*DevicesRanOnOK) IsServerError added in v0.2.27

func (o *DevicesRanOnOK) IsServerError() bool

IsServerError returns true when this devices ran on o k response has a 5xx status code

func (*DevicesRanOnOK) IsSuccess added in v0.2.27

func (o *DevicesRanOnOK) IsSuccess() bool

IsSuccess returns true when this devices ran on o k response has a 2xx status code

func (*DevicesRanOnOK) String added in v0.2.27

func (o *DevicesRanOnOK) String() string

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) Code added in v0.2.33

func (o *DevicesRanOnTooManyRequests) Code() int

Code gets the status code for the devices ran on too many requests response

func (*DevicesRanOnTooManyRequests) Error

func (*DevicesRanOnTooManyRequests) GetPayload

func (*DevicesRanOnTooManyRequests) IsClientError added in v0.2.27

func (o *DevicesRanOnTooManyRequests) IsClientError() bool

IsClientError returns true when this devices ran on too many requests response has a 4xx status code

func (*DevicesRanOnTooManyRequests) IsCode added in v0.2.27

func (o *DevicesRanOnTooManyRequests) IsCode(code int) bool

IsCode returns true when this devices ran on too many requests response a status code equal to that given

func (*DevicesRanOnTooManyRequests) IsRedirect added in v0.2.27

func (o *DevicesRanOnTooManyRequests) IsRedirect() bool

IsRedirect returns true when this devices ran on too many requests response has a 3xx status code

func (*DevicesRanOnTooManyRequests) IsServerError added in v0.2.27

func (o *DevicesRanOnTooManyRequests) IsServerError() bool

IsServerError returns true when this devices ran on too many requests response has a 5xx status code

func (*DevicesRanOnTooManyRequests) IsSuccess added in v0.2.27

func (o *DevicesRanOnTooManyRequests) IsSuccess() bool

IsSuccess returns true when this devices ran on too many requests response has a 2xx status code

func (*DevicesRanOnTooManyRequests) String added in v0.2.27

func (o *DevicesRanOnTooManyRequests) String() string

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

func (*EntitiesProcessesDefault) IsClientError added in v0.2.27

func (o *EntitiesProcessesDefault) IsClientError() bool

IsClientError returns true when this entities processes default response has a 4xx status code

func (*EntitiesProcessesDefault) IsCode added in v0.2.27

func (o *EntitiesProcessesDefault) IsCode(code int) bool

IsCode returns true when this entities processes default response a status code equal to that given

func (*EntitiesProcessesDefault) IsRedirect added in v0.2.27

func (o *EntitiesProcessesDefault) IsRedirect() bool

IsRedirect returns true when this entities processes default response has a 3xx status code

func (*EntitiesProcessesDefault) IsServerError added in v0.2.27

func (o *EntitiesProcessesDefault) IsServerError() bool

IsServerError returns true when this entities processes default response has a 5xx status code

func (*EntitiesProcessesDefault) IsSuccess added in v0.2.27

func (o *EntitiesProcessesDefault) IsSuccess() bool

IsSuccess returns true when this entities processes default response has a 2xx status code

func (*EntitiesProcessesDefault) String added in v0.2.27

func (o *EntitiesProcessesDefault) String() string

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) Code added in v0.2.33

func (o *EntitiesProcessesForbidden) Code() int

Code gets the status code for the entities processes forbidden response

func (*EntitiesProcessesForbidden) Error

func (*EntitiesProcessesForbidden) GetPayload

func (*EntitiesProcessesForbidden) IsClientError added in v0.2.27

func (o *EntitiesProcessesForbidden) IsClientError() bool

IsClientError returns true when this entities processes forbidden response has a 4xx status code

func (*EntitiesProcessesForbidden) IsCode added in v0.2.27

func (o *EntitiesProcessesForbidden) IsCode(code int) bool

IsCode returns true when this entities processes forbidden response a status code equal to that given

func (*EntitiesProcessesForbidden) IsRedirect added in v0.2.27

func (o *EntitiesProcessesForbidden) IsRedirect() bool

IsRedirect returns true when this entities processes forbidden response has a 3xx status code

func (*EntitiesProcessesForbidden) IsServerError added in v0.2.27

func (o *EntitiesProcessesForbidden) IsServerError() bool

IsServerError returns true when this entities processes forbidden response has a 5xx status code

func (*EntitiesProcessesForbidden) IsSuccess added in v0.2.27

func (o *EntitiesProcessesForbidden) IsSuccess() bool

IsSuccess returns true when this entities processes forbidden response has a 2xx status code

func (*EntitiesProcessesForbidden) String added in v0.2.27

func (o *EntitiesProcessesForbidden) String() string

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) Code added in v0.2.33

func (o *EntitiesProcessesOK) Code() int

Code gets the status code for the entities processes o k response

func (*EntitiesProcessesOK) Error

func (o *EntitiesProcessesOK) Error() string

func (*EntitiesProcessesOK) GetPayload

func (*EntitiesProcessesOK) IsClientError added in v0.2.27

func (o *EntitiesProcessesOK) IsClientError() bool

IsClientError returns true when this entities processes o k response has a 4xx status code

func (*EntitiesProcessesOK) IsCode added in v0.2.27

func (o *EntitiesProcessesOK) IsCode(code int) bool

IsCode returns true when this entities processes o k response a status code equal to that given

func (*EntitiesProcessesOK) IsRedirect added in v0.2.27

func (o *EntitiesProcessesOK) IsRedirect() bool

IsRedirect returns true when this entities processes o k response has a 3xx status code

func (*EntitiesProcessesOK) IsServerError added in v0.2.27

func (o *EntitiesProcessesOK) IsServerError() bool

IsServerError returns true when this entities processes o k response has a 5xx status code

func (*EntitiesProcessesOK) IsSuccess added in v0.2.27

func (o *EntitiesProcessesOK) IsSuccess() bool

IsSuccess returns true when this entities processes o k response has a 2xx status code

func (*EntitiesProcessesOK) String added in v0.2.27

func (o *EntitiesProcessesOK) String() string

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) Code added in v0.2.33

Code gets the status code for the entities processes too many requests response

func (*EntitiesProcessesTooManyRequests) Error

func (*EntitiesProcessesTooManyRequests) GetPayload

func (*EntitiesProcessesTooManyRequests) IsClientError added in v0.2.27

func (o *EntitiesProcessesTooManyRequests) IsClientError() bool

IsClientError returns true when this entities processes too many requests response has a 4xx status code

func (*EntitiesProcessesTooManyRequests) IsCode added in v0.2.27

func (o *EntitiesProcessesTooManyRequests) IsCode(code int) bool

IsCode returns true when this entities processes too many requests response a status code equal to that given

func (*EntitiesProcessesTooManyRequests) IsRedirect added in v0.2.27

func (o *EntitiesProcessesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this entities processes too many requests response has a 3xx status code

func (*EntitiesProcessesTooManyRequests) IsServerError added in v0.2.27

func (o *EntitiesProcessesTooManyRequests) IsServerError() bool

IsServerError returns true when this entities processes too many requests response has a 5xx status code

func (*EntitiesProcessesTooManyRequests) IsSuccess added in v0.2.27

func (o *EntitiesProcessesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this entities processes too many requests response has a 2xx status code

func (*EntitiesProcessesTooManyRequests) String added in v0.2.27

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

func (*ProcessesRanOnDefault) IsClientError added in v0.2.27

func (o *ProcessesRanOnDefault) IsClientError() bool

IsClientError returns true when this processes ran on default response has a 4xx status code

func (*ProcessesRanOnDefault) IsCode added in v0.2.27

func (o *ProcessesRanOnDefault) IsCode(code int) bool

IsCode returns true when this processes ran on default response a status code equal to that given

func (*ProcessesRanOnDefault) IsRedirect added in v0.2.27

func (o *ProcessesRanOnDefault) IsRedirect() bool

IsRedirect returns true when this processes ran on default response has a 3xx status code

func (*ProcessesRanOnDefault) IsServerError added in v0.2.27

func (o *ProcessesRanOnDefault) IsServerError() bool

IsServerError returns true when this processes ran on default response has a 5xx status code

func (*ProcessesRanOnDefault) IsSuccess added in v0.2.27

func (o *ProcessesRanOnDefault) IsSuccess() bool

IsSuccess returns true when this processes ran on default response has a 2xx status code

func (*ProcessesRanOnDefault) String added in v0.2.27

func (o *ProcessesRanOnDefault) String() string

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) Code added in v0.2.33

func (o *ProcessesRanOnForbidden) Code() int

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

func (*ProcessesRanOnForbidden) Error

func (o *ProcessesRanOnForbidden) Error() string

func (*ProcessesRanOnForbidden) GetPayload

func (*ProcessesRanOnForbidden) IsClientError added in v0.2.27

func (o *ProcessesRanOnForbidden) IsClientError() bool

IsClientError returns true when this processes ran on forbidden response has a 4xx status code

func (*ProcessesRanOnForbidden) IsCode added in v0.2.27

func (o *ProcessesRanOnForbidden) IsCode(code int) bool

IsCode returns true when this processes ran on forbidden response a status code equal to that given

func (*ProcessesRanOnForbidden) IsRedirect added in v0.2.27

func (o *ProcessesRanOnForbidden) IsRedirect() bool

IsRedirect returns true when this processes ran on forbidden response has a 3xx status code

func (*ProcessesRanOnForbidden) IsServerError added in v0.2.27

func (o *ProcessesRanOnForbidden) IsServerError() bool

IsServerError returns true when this processes ran on forbidden response has a 5xx status code

func (*ProcessesRanOnForbidden) IsSuccess added in v0.2.27

func (o *ProcessesRanOnForbidden) IsSuccess() bool

IsSuccess returns true when this processes ran on forbidden response has a 2xx status code

func (*ProcessesRanOnForbidden) String added in v0.2.27

func (o *ProcessesRanOnForbidden) String() string

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) Code added in v0.2.33

func (o *ProcessesRanOnOK) Code() int

Code gets the status code for the processes ran on o k response

func (*ProcessesRanOnOK) Error

func (o *ProcessesRanOnOK) Error() string

func (*ProcessesRanOnOK) GetPayload

func (*ProcessesRanOnOK) IsClientError added in v0.2.27

func (o *ProcessesRanOnOK) IsClientError() bool

IsClientError returns true when this processes ran on o k response has a 4xx status code

func (*ProcessesRanOnOK) IsCode added in v0.2.27

func (o *ProcessesRanOnOK) IsCode(code int) bool

IsCode returns true when this processes ran on o k response a status code equal to that given

func (*ProcessesRanOnOK) IsRedirect added in v0.2.27

func (o *ProcessesRanOnOK) IsRedirect() bool

IsRedirect returns true when this processes ran on o k response has a 3xx status code

func (*ProcessesRanOnOK) IsServerError added in v0.2.27

func (o *ProcessesRanOnOK) IsServerError() bool

IsServerError returns true when this processes ran on o k response has a 5xx status code

func (*ProcessesRanOnOK) IsSuccess added in v0.2.27

func (o *ProcessesRanOnOK) IsSuccess() bool

IsSuccess returns true when this processes ran on o k response has a 2xx status code

func (*ProcessesRanOnOK) String added in v0.2.27

func (o *ProcessesRanOnOK) String() string

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) Code added in v0.2.33

Code gets the status code for the processes ran on too many requests response

func (*ProcessesRanOnTooManyRequests) Error

func (*ProcessesRanOnTooManyRequests) GetPayload

func (*ProcessesRanOnTooManyRequests) IsClientError added in v0.2.27

func (o *ProcessesRanOnTooManyRequests) IsClientError() bool

IsClientError returns true when this processes ran on too many requests response has a 4xx status code

func (*ProcessesRanOnTooManyRequests) IsCode added in v0.2.27

func (o *ProcessesRanOnTooManyRequests) IsCode(code int) bool

IsCode returns true when this processes ran on too many requests response a status code equal to that given

func (*ProcessesRanOnTooManyRequests) IsRedirect added in v0.2.27

func (o *ProcessesRanOnTooManyRequests) IsRedirect() bool

IsRedirect returns true when this processes ran on too many requests response has a 3xx status code

func (*ProcessesRanOnTooManyRequests) IsServerError added in v0.2.27

func (o *ProcessesRanOnTooManyRequests) IsServerError() bool

IsServerError returns true when this processes ran on too many requests response has a 5xx status code

func (*ProcessesRanOnTooManyRequests) IsSuccess added in v0.2.27

func (o *ProcessesRanOnTooManyRequests) IsSuccess() bool

IsSuccess returns true when this processes ran on too many requests response has a 2xx status code

func (*ProcessesRanOnTooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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