Documentation ¶
Index ¶
- type Client
- func (a *Client) DevicesCount(params *DevicesCountParams, opts ...ClientOption) (*DevicesCountOK, error)
- func (a *Client) DevicesRanOn(params *DevicesRanOnParams, opts ...ClientOption) (*DevicesRanOnOK, error)
- func (a *Client) EntitiesProcesses(params *EntitiesProcessesParams, opts ...ClientOption) (*EntitiesProcessesOK, error)
- func (a *Client) ProcessesRanOn(params *ProcessesRanOnParams, opts ...ClientOption) (*ProcessesRanOnOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DevicesCountDefault
- func (o *DevicesCountDefault) Code() int
- func (o *DevicesCountDefault) Error() string
- func (o *DevicesCountDefault) GetPayload() *models.APIMsaReplyIOCDevicesCount
- func (o *DevicesCountDefault) IsClientError() bool
- func (o *DevicesCountDefault) IsCode(code int) bool
- func (o *DevicesCountDefault) IsRedirect() bool
- func (o *DevicesCountDefault) IsServerError() bool
- func (o *DevicesCountDefault) IsSuccess() bool
- func (o *DevicesCountDefault) String() string
- type DevicesCountForbidden
- func (o *DevicesCountForbidden) Error() string
- func (o *DevicesCountForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DevicesCountForbidden) IsClientError() bool
- func (o *DevicesCountForbidden) IsCode(code int) bool
- func (o *DevicesCountForbidden) IsRedirect() bool
- func (o *DevicesCountForbidden) IsServerError() bool
- func (o *DevicesCountForbidden) IsSuccess() bool
- func (o *DevicesCountForbidden) String() string
- type DevicesCountOK
- func (o *DevicesCountOK) Error() string
- func (o *DevicesCountOK) GetPayload() *models.APIMsaReplyIOCDevicesCount
- func (o *DevicesCountOK) IsClientError() bool
- func (o *DevicesCountOK) IsCode(code int) bool
- func (o *DevicesCountOK) IsRedirect() bool
- func (o *DevicesCountOK) IsServerError() bool
- func (o *DevicesCountOK) IsSuccess() bool
- func (o *DevicesCountOK) String() string
- type DevicesCountParams
- func (o *DevicesCountParams) SetContext(ctx context.Context)
- func (o *DevicesCountParams) SetDefaults()
- func (o *DevicesCountParams) SetHTTPClient(client *http.Client)
- func (o *DevicesCountParams) SetTimeout(timeout time.Duration)
- func (o *DevicesCountParams) SetType(typeVar string)
- func (o *DevicesCountParams) SetValue(value string)
- func (o *DevicesCountParams) WithContext(ctx context.Context) *DevicesCountParams
- func (o *DevicesCountParams) WithDefaults() *DevicesCountParams
- func (o *DevicesCountParams) WithHTTPClient(client *http.Client) *DevicesCountParams
- func (o *DevicesCountParams) WithTimeout(timeout time.Duration) *DevicesCountParams
- func (o *DevicesCountParams) WithType(typeVar string) *DevicesCountParams
- func (o *DevicesCountParams) WithValue(value string) *DevicesCountParams
- func (o *DevicesCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DevicesCountReader
- type DevicesCountTooManyRequests
- func (o *DevicesCountTooManyRequests) Error() string
- func (o *DevicesCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DevicesCountTooManyRequests) IsClientError() bool
- func (o *DevicesCountTooManyRequests) IsCode(code int) bool
- func (o *DevicesCountTooManyRequests) IsRedirect() bool
- func (o *DevicesCountTooManyRequests) IsServerError() bool
- func (o *DevicesCountTooManyRequests) IsSuccess() bool
- func (o *DevicesCountTooManyRequests) String() string
- type DevicesRanOnDefault
- func (o *DevicesRanOnDefault) Code() int
- func (o *DevicesRanOnDefault) Error() string
- func (o *DevicesRanOnDefault) GetPayload() *models.APIMsaReplyDevicesRanOn
- func (o *DevicesRanOnDefault) IsClientError() bool
- func (o *DevicesRanOnDefault) IsCode(code int) bool
- func (o *DevicesRanOnDefault) IsRedirect() bool
- func (o *DevicesRanOnDefault) IsServerError() bool
- func (o *DevicesRanOnDefault) IsSuccess() bool
- func (o *DevicesRanOnDefault) String() string
- type DevicesRanOnForbidden
- func (o *DevicesRanOnForbidden) Error() string
- func (o *DevicesRanOnForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DevicesRanOnForbidden) IsClientError() bool
- func (o *DevicesRanOnForbidden) IsCode(code int) bool
- func (o *DevicesRanOnForbidden) IsRedirect() bool
- func (o *DevicesRanOnForbidden) IsServerError() bool
- func (o *DevicesRanOnForbidden) IsSuccess() bool
- func (o *DevicesRanOnForbidden) String() string
- type DevicesRanOnOK
- func (o *DevicesRanOnOK) Error() string
- func (o *DevicesRanOnOK) GetPayload() *models.APIMsaReplyDevicesRanOn
- func (o *DevicesRanOnOK) IsClientError() bool
- func (o *DevicesRanOnOK) IsCode(code int) bool
- func (o *DevicesRanOnOK) IsRedirect() bool
- func (o *DevicesRanOnOK) IsServerError() bool
- func (o *DevicesRanOnOK) IsSuccess() bool
- func (o *DevicesRanOnOK) String() string
- type DevicesRanOnParams
- func (o *DevicesRanOnParams) SetContext(ctx context.Context)
- func (o *DevicesRanOnParams) SetDefaults()
- func (o *DevicesRanOnParams) SetHTTPClient(client *http.Client)
- func (o *DevicesRanOnParams) SetLimit(limit *string)
- func (o *DevicesRanOnParams) SetOffset(offset *string)
- func (o *DevicesRanOnParams) SetTimeout(timeout time.Duration)
- func (o *DevicesRanOnParams) SetType(typeVar string)
- func (o *DevicesRanOnParams) SetValue(value string)
- func (o *DevicesRanOnParams) WithContext(ctx context.Context) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithDefaults() *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithHTTPClient(client *http.Client) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithLimit(limit *string) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithOffset(offset *string) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithTimeout(timeout time.Duration) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithType(typeVar string) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WithValue(value string) *DevicesRanOnParams
- func (o *DevicesRanOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DevicesRanOnReader
- type DevicesRanOnTooManyRequests
- func (o *DevicesRanOnTooManyRequests) Error() string
- func (o *DevicesRanOnTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DevicesRanOnTooManyRequests) IsClientError() bool
- func (o *DevicesRanOnTooManyRequests) IsCode(code int) bool
- func (o *DevicesRanOnTooManyRequests) IsRedirect() bool
- func (o *DevicesRanOnTooManyRequests) IsServerError() bool
- func (o *DevicesRanOnTooManyRequests) IsSuccess() bool
- func (o *DevicesRanOnTooManyRequests) String() string
- type EntitiesProcessesDefault
- func (o *EntitiesProcessesDefault) Code() int
- func (o *EntitiesProcessesDefault) Error() string
- func (o *EntitiesProcessesDefault) GetPayload() *models.APIMsaProcessDetailResponse
- func (o *EntitiesProcessesDefault) IsClientError() bool
- func (o *EntitiesProcessesDefault) IsCode(code int) bool
- func (o *EntitiesProcessesDefault) IsRedirect() bool
- func (o *EntitiesProcessesDefault) IsServerError() bool
- func (o *EntitiesProcessesDefault) IsSuccess() bool
- func (o *EntitiesProcessesDefault) String() string
- type EntitiesProcessesForbidden
- func (o *EntitiesProcessesForbidden) Error() string
- func (o *EntitiesProcessesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *EntitiesProcessesForbidden) IsClientError() bool
- func (o *EntitiesProcessesForbidden) IsCode(code int) bool
- func (o *EntitiesProcessesForbidden) IsRedirect() bool
- func (o *EntitiesProcessesForbidden) IsServerError() bool
- func (o *EntitiesProcessesForbidden) IsSuccess() bool
- func (o *EntitiesProcessesForbidden) String() string
- type EntitiesProcessesOK
- func (o *EntitiesProcessesOK) Error() string
- func (o *EntitiesProcessesOK) GetPayload() *models.APIMsaProcessDetailResponse
- func (o *EntitiesProcessesOK) IsClientError() bool
- func (o *EntitiesProcessesOK) IsCode(code int) bool
- func (o *EntitiesProcessesOK) IsRedirect() bool
- func (o *EntitiesProcessesOK) IsServerError() bool
- func (o *EntitiesProcessesOK) IsSuccess() bool
- func (o *EntitiesProcessesOK) String() string
- type EntitiesProcessesParams
- func NewEntitiesProcessesParams() *EntitiesProcessesParams
- func NewEntitiesProcessesParamsWithContext(ctx context.Context) *EntitiesProcessesParams
- func NewEntitiesProcessesParamsWithHTTPClient(client *http.Client) *EntitiesProcessesParams
- func NewEntitiesProcessesParamsWithTimeout(timeout time.Duration) *EntitiesProcessesParams
- func (o *EntitiesProcessesParams) SetContext(ctx context.Context)
- func (o *EntitiesProcessesParams) SetDefaults()
- func (o *EntitiesProcessesParams) SetHTTPClient(client *http.Client)
- func (o *EntitiesProcessesParams) SetIds(ids []string)
- func (o *EntitiesProcessesParams) SetTimeout(timeout time.Duration)
- func (o *EntitiesProcessesParams) WithContext(ctx context.Context) *EntitiesProcessesParams
- func (o *EntitiesProcessesParams) WithDefaults() *EntitiesProcessesParams
- func (o *EntitiesProcessesParams) WithHTTPClient(client *http.Client) *EntitiesProcessesParams
- func (o *EntitiesProcessesParams) WithIds(ids []string) *EntitiesProcessesParams
- func (o *EntitiesProcessesParams) WithTimeout(timeout time.Duration) *EntitiesProcessesParams
- func (o *EntitiesProcessesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EntitiesProcessesReader
- type EntitiesProcessesTooManyRequests
- func (o *EntitiesProcessesTooManyRequests) Error() string
- func (o *EntitiesProcessesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *EntitiesProcessesTooManyRequests) IsClientError() bool
- func (o *EntitiesProcessesTooManyRequests) IsCode(code int) bool
- func (o *EntitiesProcessesTooManyRequests) IsRedirect() bool
- func (o *EntitiesProcessesTooManyRequests) IsServerError() bool
- func (o *EntitiesProcessesTooManyRequests) IsSuccess() bool
- func (o *EntitiesProcessesTooManyRequests) String() string
- type ProcessesRanOnDefault
- func (o *ProcessesRanOnDefault) Code() int
- func (o *ProcessesRanOnDefault) Error() string
- func (o *ProcessesRanOnDefault) GetPayload() *models.APIMsaReplyProcessesRanOn
- func (o *ProcessesRanOnDefault) IsClientError() bool
- func (o *ProcessesRanOnDefault) IsCode(code int) bool
- func (o *ProcessesRanOnDefault) IsRedirect() bool
- func (o *ProcessesRanOnDefault) IsServerError() bool
- func (o *ProcessesRanOnDefault) IsSuccess() bool
- func (o *ProcessesRanOnDefault) String() string
- type ProcessesRanOnForbidden
- func (o *ProcessesRanOnForbidden) Error() string
- func (o *ProcessesRanOnForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ProcessesRanOnForbidden) IsClientError() bool
- func (o *ProcessesRanOnForbidden) IsCode(code int) bool
- func (o *ProcessesRanOnForbidden) IsRedirect() bool
- func (o *ProcessesRanOnForbidden) IsServerError() bool
- func (o *ProcessesRanOnForbidden) IsSuccess() bool
- func (o *ProcessesRanOnForbidden) String() string
- type ProcessesRanOnOK
- func (o *ProcessesRanOnOK) Error() string
- func (o *ProcessesRanOnOK) GetPayload() *models.APIMsaReplyProcessesRanOn
- func (o *ProcessesRanOnOK) IsClientError() bool
- func (o *ProcessesRanOnOK) IsCode(code int) bool
- func (o *ProcessesRanOnOK) IsRedirect() bool
- func (o *ProcessesRanOnOK) IsServerError() bool
- func (o *ProcessesRanOnOK) IsSuccess() bool
- func (o *ProcessesRanOnOK) String() string
- type ProcessesRanOnParams
- func NewProcessesRanOnParams() *ProcessesRanOnParams
- func NewProcessesRanOnParamsWithContext(ctx context.Context) *ProcessesRanOnParams
- func NewProcessesRanOnParamsWithHTTPClient(client *http.Client) *ProcessesRanOnParams
- func NewProcessesRanOnParamsWithTimeout(timeout time.Duration) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) SetContext(ctx context.Context)
- func (o *ProcessesRanOnParams) SetDefaults()
- func (o *ProcessesRanOnParams) SetDeviceID(deviceID string)
- func (o *ProcessesRanOnParams) SetHTTPClient(client *http.Client)
- func (o *ProcessesRanOnParams) SetLimit(limit *string)
- func (o *ProcessesRanOnParams) SetOffset(offset *string)
- func (o *ProcessesRanOnParams) SetTimeout(timeout time.Duration)
- func (o *ProcessesRanOnParams) SetType(typeVar string)
- func (o *ProcessesRanOnParams) SetValue(value string)
- func (o *ProcessesRanOnParams) WithContext(ctx context.Context) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithDefaults() *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithDeviceID(deviceID string) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithHTTPClient(client *http.Client) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithLimit(limit *string) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithOffset(offset *string) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithTimeout(timeout time.Duration) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithType(typeVar string) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WithValue(value string) *ProcessesRanOnParams
- func (o *ProcessesRanOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProcessesRanOnReader
- type ProcessesRanOnTooManyRequests
- func (o *ProcessesRanOnTooManyRequests) Error() string
- func (o *ProcessesRanOnTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ProcessesRanOnTooManyRequests) IsClientError() bool
- func (o *ProcessesRanOnTooManyRequests) IsCode(code int) bool
- func (o *ProcessesRanOnTooManyRequests) IsRedirect() bool
- func (o *ProcessesRanOnTooManyRequests) IsServerError() bool
- func (o *ProcessesRanOnTooManyRequests) IsSuccess() bool
- func (o *ProcessesRanOnTooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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 (o *DevicesCountDefault) GetPayload() *models.APIMsaReplyIOCDevicesCount
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) Error ¶
func (o *DevicesCountForbidden) Error() string
func (*DevicesCountForbidden) GetPayload ¶
func (o *DevicesCountForbidden) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶
func (o *DevicesCountOK) Error() string
func (*DevicesCountOK) GetPayload ¶
func (o *DevicesCountOK) GetPayload() *models.APIMsaReplyIOCDevicesCount
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 ¶
func (o *DevicesCountParams) WithContext(ctx context.Context) *DevicesCountParams
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 (o *DevicesCountTooManyRequests) Error() string
func (*DevicesCountTooManyRequests) GetPayload ¶
func (o *DevicesCountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *DevicesRanOnDefault) GetPayload() *models.APIMsaReplyDevicesRanOn
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) Error ¶
func (o *DevicesRanOnForbidden) Error() string
func (*DevicesRanOnForbidden) GetPayload ¶
func (o *DevicesRanOnForbidden) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶
func (o *DevicesRanOnOK) Error() string
func (*DevicesRanOnOK) GetPayload ¶
func (o *DevicesRanOnOK) GetPayload() *models.APIMsaReplyDevicesRanOn
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 ¶
func (o *DevicesRanOnParams) WithContext(ctx context.Context) *DevicesRanOnParams
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 (o *DevicesRanOnTooManyRequests) Error() string
func (*DevicesRanOnTooManyRequests) GetPayload ¶
func (o *DevicesRanOnTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *EntitiesProcessesDefault) GetPayload() *models.APIMsaProcessDetailResponse
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) Error ¶
func (o *EntitiesProcessesForbidden) Error() string
func (*EntitiesProcessesForbidden) GetPayload ¶
func (o *EntitiesProcessesForbidden) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶
func (o *EntitiesProcessesOK) Error() string
func (*EntitiesProcessesOK) GetPayload ¶
func (o *EntitiesProcessesOK) GetPayload() *models.APIMsaProcessDetailResponse
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 ¶
func (o *EntitiesProcessesParams) WithContext(ctx context.Context) *EntitiesProcessesParams
WithContext adds the context to the entities processes params
func (*EntitiesProcessesParams) WithDefaults ¶
func (o *EntitiesProcessesParams) WithDefaults() *EntitiesProcessesParams
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 ¶
func (o *EntitiesProcessesParams) WithIds(ids []string) *EntitiesProcessesParams
WithIds adds the ids to the entities processes params
func (*EntitiesProcessesParams) WithTimeout ¶
func (o *EntitiesProcessesParams) WithTimeout(timeout time.Duration) *EntitiesProcessesParams
WithTimeout adds the timeout to the entities processes params
func (*EntitiesProcessesParams) WriteToRequest ¶
func (o *EntitiesProcessesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *EntitiesProcessesTooManyRequests) Error() string
func (*EntitiesProcessesTooManyRequests) GetPayload ¶
func (o *EntitiesProcessesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *EntitiesProcessesTooManyRequests) String() string
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 (o *ProcessesRanOnDefault) GetPayload() *models.APIMsaReplyProcessesRanOn
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) Error ¶
func (o *ProcessesRanOnForbidden) Error() string
func (*ProcessesRanOnForbidden) GetPayload ¶
func (o *ProcessesRanOnForbidden) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶
func (o *ProcessesRanOnOK) Error() string
func (*ProcessesRanOnOK) GetPayload ¶
func (o *ProcessesRanOnOK) GetPayload() *models.APIMsaReplyProcessesRanOn
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 ¶
func (o *ProcessesRanOnParams) WithContext(ctx context.Context) *ProcessesRanOnParams
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 (o *ProcessesRanOnTooManyRequests) Error() string
func (*ProcessesRanOnTooManyRequests) GetPayload ¶
func (o *ProcessesRanOnTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *ProcessesRanOnTooManyRequests) String() string