Documentation ¶
Index ¶
- type Client
- func (a *Client) GetIotHosts(params *GetIotHostsParams, opts ...ClientOption) (*GetIotHostsOK, error)
- func (a *Client) QueryIotHosts(params *QueryIotHostsParams, opts ...ClientOption) (*QueryIotHostsOK, error)
- func (a *Client) QueryIotHostsV2(params *QueryIotHostsV2Params, opts ...ClientOption) (*QueryIotHostsV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetIotHostsBadRequest
- func (o *GetIotHostsBadRequest) Code() int
- func (o *GetIotHostsBadRequest) Error() string
- func (o *GetIotHostsBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *GetIotHostsBadRequest) IsClientError() bool
- func (o *GetIotHostsBadRequest) IsCode(code int) bool
- func (o *GetIotHostsBadRequest) IsRedirect() bool
- func (o *GetIotHostsBadRequest) IsServerError() bool
- func (o *GetIotHostsBadRequest) IsSuccess() bool
- func (o *GetIotHostsBadRequest) String() string
- type GetIotHostsForbidden
- func (o *GetIotHostsForbidden) Code() int
- func (o *GetIotHostsForbidden) Error() string
- func (o *GetIotHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetIotHostsForbidden) IsClientError() bool
- func (o *GetIotHostsForbidden) IsCode(code int) bool
- func (o *GetIotHostsForbidden) IsRedirect() bool
- func (o *GetIotHostsForbidden) IsServerError() bool
- func (o *GetIotHostsForbidden) IsSuccess() bool
- func (o *GetIotHostsForbidden) String() string
- type GetIotHostsInternalServerError
- func (o *GetIotHostsInternalServerError) Code() int
- func (o *GetIotHostsInternalServerError) Error() string
- func (o *GetIotHostsInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *GetIotHostsInternalServerError) IsClientError() bool
- func (o *GetIotHostsInternalServerError) IsCode(code int) bool
- func (o *GetIotHostsInternalServerError) IsRedirect() bool
- func (o *GetIotHostsInternalServerError) IsServerError() bool
- func (o *GetIotHostsInternalServerError) IsSuccess() bool
- func (o *GetIotHostsInternalServerError) String() string
- type GetIotHostsOK
- func (o *GetIotHostsOK) Code() int
- func (o *GetIotHostsOK) Error() string
- func (o *GetIotHostsOK) GetPayload() *models.DomainDiscoverAPIIoTHostEntitiesResponse
- func (o *GetIotHostsOK) IsClientError() bool
- func (o *GetIotHostsOK) IsCode(code int) bool
- func (o *GetIotHostsOK) IsRedirect() bool
- func (o *GetIotHostsOK) IsServerError() bool
- func (o *GetIotHostsOK) IsSuccess() bool
- func (o *GetIotHostsOK) String() string
- type GetIotHostsParams
- func (o *GetIotHostsParams) SetContext(ctx context.Context)
- func (o *GetIotHostsParams) SetDefaults()
- func (o *GetIotHostsParams) SetHTTPClient(client *http.Client)
- func (o *GetIotHostsParams) SetIds(ids []string)
- func (o *GetIotHostsParams) SetTimeout(timeout time.Duration)
- func (o *GetIotHostsParams) WithContext(ctx context.Context) *GetIotHostsParams
- func (o *GetIotHostsParams) WithDefaults() *GetIotHostsParams
- func (o *GetIotHostsParams) WithHTTPClient(client *http.Client) *GetIotHostsParams
- func (o *GetIotHostsParams) WithIds(ids []string) *GetIotHostsParams
- func (o *GetIotHostsParams) WithTimeout(timeout time.Duration) *GetIotHostsParams
- func (o *GetIotHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIotHostsReader
- type GetIotHostsTooManyRequests
- func (o *GetIotHostsTooManyRequests) Code() int
- func (o *GetIotHostsTooManyRequests) Error() string
- func (o *GetIotHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetIotHostsTooManyRequests) IsClientError() bool
- func (o *GetIotHostsTooManyRequests) IsCode(code int) bool
- func (o *GetIotHostsTooManyRequests) IsRedirect() bool
- func (o *GetIotHostsTooManyRequests) IsServerError() bool
- func (o *GetIotHostsTooManyRequests) IsSuccess() bool
- func (o *GetIotHostsTooManyRequests) String() string
- type QueryIotHostsBadRequest
- func (o *QueryIotHostsBadRequest) Code() int
- func (o *QueryIotHostsBadRequest) Error() string
- func (o *QueryIotHostsBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *QueryIotHostsBadRequest) IsClientError() bool
- func (o *QueryIotHostsBadRequest) IsCode(code int) bool
- func (o *QueryIotHostsBadRequest) IsRedirect() bool
- func (o *QueryIotHostsBadRequest) IsServerError() bool
- func (o *QueryIotHostsBadRequest) IsSuccess() bool
- func (o *QueryIotHostsBadRequest) String() string
- type QueryIotHostsForbidden
- func (o *QueryIotHostsForbidden) Code() int
- func (o *QueryIotHostsForbidden) Error() string
- func (o *QueryIotHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryIotHostsForbidden) IsClientError() bool
- func (o *QueryIotHostsForbidden) IsCode(code int) bool
- func (o *QueryIotHostsForbidden) IsRedirect() bool
- func (o *QueryIotHostsForbidden) IsServerError() bool
- func (o *QueryIotHostsForbidden) IsSuccess() bool
- func (o *QueryIotHostsForbidden) String() string
- type QueryIotHostsInternalServerError
- func (o *QueryIotHostsInternalServerError) Code() int
- func (o *QueryIotHostsInternalServerError) Error() string
- func (o *QueryIotHostsInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *QueryIotHostsInternalServerError) IsClientError() bool
- func (o *QueryIotHostsInternalServerError) IsCode(code int) bool
- func (o *QueryIotHostsInternalServerError) IsRedirect() bool
- func (o *QueryIotHostsInternalServerError) IsServerError() bool
- func (o *QueryIotHostsInternalServerError) IsSuccess() bool
- func (o *QueryIotHostsInternalServerError) String() string
- type QueryIotHostsOK
- func (o *QueryIotHostsOK) Code() int
- func (o *QueryIotHostsOK) Error() string
- func (o *QueryIotHostsOK) GetPayload() *models.MsaspecQueryResponse
- func (o *QueryIotHostsOK) IsClientError() bool
- func (o *QueryIotHostsOK) IsCode(code int) bool
- func (o *QueryIotHostsOK) IsRedirect() bool
- func (o *QueryIotHostsOK) IsServerError() bool
- func (o *QueryIotHostsOK) IsSuccess() bool
- func (o *QueryIotHostsOK) String() string
- type QueryIotHostsParams
- func (o *QueryIotHostsParams) SetContext(ctx context.Context)
- func (o *QueryIotHostsParams) SetDefaults()
- func (o *QueryIotHostsParams) SetFilter(filter *string)
- func (o *QueryIotHostsParams) SetHTTPClient(client *http.Client)
- func (o *QueryIotHostsParams) SetLimit(limit *int64)
- func (o *QueryIotHostsParams) SetOffset(offset *int64)
- func (o *QueryIotHostsParams) SetSort(sort *string)
- func (o *QueryIotHostsParams) SetTimeout(timeout time.Duration)
- func (o *QueryIotHostsParams) WithContext(ctx context.Context) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithDefaults() *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithFilter(filter *string) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithHTTPClient(client *http.Client) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithLimit(limit *int64) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithOffset(offset *int64) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithSort(sort *string) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WithTimeout(timeout time.Duration) *QueryIotHostsParams
- func (o *QueryIotHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryIotHostsReader
- type QueryIotHostsTooManyRequests
- func (o *QueryIotHostsTooManyRequests) Code() int
- func (o *QueryIotHostsTooManyRequests) Error() string
- func (o *QueryIotHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryIotHostsTooManyRequests) IsClientError() bool
- func (o *QueryIotHostsTooManyRequests) IsCode(code int) bool
- func (o *QueryIotHostsTooManyRequests) IsRedirect() bool
- func (o *QueryIotHostsTooManyRequests) IsServerError() bool
- func (o *QueryIotHostsTooManyRequests) IsSuccess() bool
- func (o *QueryIotHostsTooManyRequests) String() string
- type QueryIotHostsV2BadRequest
- func (o *QueryIotHostsV2BadRequest) Code() int
- func (o *QueryIotHostsV2BadRequest) Error() string
- func (o *QueryIotHostsV2BadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *QueryIotHostsV2BadRequest) IsClientError() bool
- func (o *QueryIotHostsV2BadRequest) IsCode(code int) bool
- func (o *QueryIotHostsV2BadRequest) IsRedirect() bool
- func (o *QueryIotHostsV2BadRequest) IsServerError() bool
- func (o *QueryIotHostsV2BadRequest) IsSuccess() bool
- func (o *QueryIotHostsV2BadRequest) String() string
- type QueryIotHostsV2Forbidden
- func (o *QueryIotHostsV2Forbidden) Code() int
- func (o *QueryIotHostsV2Forbidden) Error() string
- func (o *QueryIotHostsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryIotHostsV2Forbidden) IsClientError() bool
- func (o *QueryIotHostsV2Forbidden) IsCode(code int) bool
- func (o *QueryIotHostsV2Forbidden) IsRedirect() bool
- func (o *QueryIotHostsV2Forbidden) IsServerError() bool
- func (o *QueryIotHostsV2Forbidden) IsSuccess() bool
- func (o *QueryIotHostsV2Forbidden) String() string
- type QueryIotHostsV2InternalServerError
- func (o *QueryIotHostsV2InternalServerError) Code() int
- func (o *QueryIotHostsV2InternalServerError) Error() string
- func (o *QueryIotHostsV2InternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *QueryIotHostsV2InternalServerError) IsClientError() bool
- func (o *QueryIotHostsV2InternalServerError) IsCode(code int) bool
- func (o *QueryIotHostsV2InternalServerError) IsRedirect() bool
- func (o *QueryIotHostsV2InternalServerError) IsServerError() bool
- func (o *QueryIotHostsV2InternalServerError) IsSuccess() bool
- func (o *QueryIotHostsV2InternalServerError) String() string
- type QueryIotHostsV2OK
- func (o *QueryIotHostsV2OK) Code() int
- func (o *QueryIotHostsV2OK) Error() string
- func (o *QueryIotHostsV2OK) GetPayload() *models.DomainDiscoverAPIResponse
- func (o *QueryIotHostsV2OK) IsClientError() bool
- func (o *QueryIotHostsV2OK) IsCode(code int) bool
- func (o *QueryIotHostsV2OK) IsRedirect() bool
- func (o *QueryIotHostsV2OK) IsServerError() bool
- func (o *QueryIotHostsV2OK) IsSuccess() bool
- func (o *QueryIotHostsV2OK) String() string
- type QueryIotHostsV2Params
- func NewQueryIotHostsV2Params() *QueryIotHostsV2Params
- func NewQueryIotHostsV2ParamsWithContext(ctx context.Context) *QueryIotHostsV2Params
- func NewQueryIotHostsV2ParamsWithHTTPClient(client *http.Client) *QueryIotHostsV2Params
- func NewQueryIotHostsV2ParamsWithTimeout(timeout time.Duration) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) SetAfter(after *string)
- func (o *QueryIotHostsV2Params) SetContext(ctx context.Context)
- func (o *QueryIotHostsV2Params) SetDefaults()
- func (o *QueryIotHostsV2Params) SetFilter(filter *string)
- func (o *QueryIotHostsV2Params) SetHTTPClient(client *http.Client)
- func (o *QueryIotHostsV2Params) SetLimit(limit *int64)
- func (o *QueryIotHostsV2Params) SetSort(sort *string)
- func (o *QueryIotHostsV2Params) SetTimeout(timeout time.Duration)
- func (o *QueryIotHostsV2Params) WithAfter(after *string) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithContext(ctx context.Context) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithDefaults() *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithFilter(filter *string) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithHTTPClient(client *http.Client) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithLimit(limit *int64) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithSort(sort *string) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WithTimeout(timeout time.Duration) *QueryIotHostsV2Params
- func (o *QueryIotHostsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryIotHostsV2Reader
- type QueryIotHostsV2TooManyRequests
- func (o *QueryIotHostsV2TooManyRequests) Code() int
- func (o *QueryIotHostsV2TooManyRequests) Error() string
- func (o *QueryIotHostsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryIotHostsV2TooManyRequests) IsClientError() bool
- func (o *QueryIotHostsV2TooManyRequests) IsCode(code int) bool
- func (o *QueryIotHostsV2TooManyRequests) IsRedirect() bool
- func (o *QueryIotHostsV2TooManyRequests) IsServerError() bool
- func (o *QueryIotHostsV2TooManyRequests) IsSuccess() bool
- func (o *QueryIotHostsV2TooManyRequests) 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 discover iot API
func (*Client) GetIotHosts ¶
func (a *Client) GetIotHosts(params *GetIotHostsParams, opts ...ClientOption) (*GetIotHostsOK, error)
GetIotHosts gets details on io t assets by providing one or more i ds
func (*Client) QueryIotHosts ¶
func (a *Client) QueryIotHosts(params *QueryIotHostsParams, opts ...ClientOption) (*QueryIotHostsOK, error)
QueryIotHosts searches for io t assets in your environment by providing an f q l falcon query language filter and paging details returns a set of asset i ds which match the filter criteria
func (*Client) QueryIotHostsV2 ¶ added in v0.7.0
func (a *Client) QueryIotHostsV2(params *QueryIotHostsV2Params, opts ...ClientOption) (*QueryIotHostsV2OK, error)
QueryIotHostsV2 searches for io t assets in your environment by providing an f q l falcon query language filter and paging details returns a set of asset i ds which match the filter criteria
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 { GetIotHosts(params *GetIotHostsParams, opts ...ClientOption) (*GetIotHostsOK, error) QueryIotHosts(params *QueryIotHostsParams, opts ...ClientOption) (*QueryIotHostsOK, error) QueryIotHostsV2(params *QueryIotHostsV2Params, opts ...ClientOption) (*QueryIotHostsV2OK, 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 discover iot API client.
type GetIotHostsBadRequest ¶
type GetIotHostsBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
GetIotHostsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetIotHostsBadRequest ¶
func NewGetIotHostsBadRequest() *GetIotHostsBadRequest
NewGetIotHostsBadRequest creates a GetIotHostsBadRequest with default headers values
func (*GetIotHostsBadRequest) Code ¶
func (o *GetIotHostsBadRequest) Code() int
Code gets the status code for the get iot hosts bad request response
func (*GetIotHostsBadRequest) Error ¶
func (o *GetIotHostsBadRequest) Error() string
func (*GetIotHostsBadRequest) GetPayload ¶
func (o *GetIotHostsBadRequest) GetPayload() *models.MsaspecResponseFields
func (*GetIotHostsBadRequest) IsClientError ¶
func (o *GetIotHostsBadRequest) IsClientError() bool
IsClientError returns true when this get iot hosts bad request response has a 4xx status code
func (*GetIotHostsBadRequest) IsCode ¶
func (o *GetIotHostsBadRequest) IsCode(code int) bool
IsCode returns true when this get iot hosts bad request response a status code equal to that given
func (*GetIotHostsBadRequest) IsRedirect ¶
func (o *GetIotHostsBadRequest) IsRedirect() bool
IsRedirect returns true when this get iot hosts bad request response has a 3xx status code
func (*GetIotHostsBadRequest) IsServerError ¶
func (o *GetIotHostsBadRequest) IsServerError() bool
IsServerError returns true when this get iot hosts bad request response has a 5xx status code
func (*GetIotHostsBadRequest) IsSuccess ¶
func (o *GetIotHostsBadRequest) IsSuccess() bool
IsSuccess returns true when this get iot hosts bad request response has a 2xx status code
func (*GetIotHostsBadRequest) String ¶
func (o *GetIotHostsBadRequest) String() string
type GetIotHostsForbidden ¶
type GetIotHostsForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetIotHostsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetIotHostsForbidden ¶
func NewGetIotHostsForbidden() *GetIotHostsForbidden
NewGetIotHostsForbidden creates a GetIotHostsForbidden with default headers values
func (*GetIotHostsForbidden) Code ¶
func (o *GetIotHostsForbidden) Code() int
Code gets the status code for the get iot hosts forbidden response
func (*GetIotHostsForbidden) Error ¶
func (o *GetIotHostsForbidden) Error() string
func (*GetIotHostsForbidden) GetPayload ¶
func (o *GetIotHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetIotHostsForbidden) IsClientError ¶
func (o *GetIotHostsForbidden) IsClientError() bool
IsClientError returns true when this get iot hosts forbidden response has a 4xx status code
func (*GetIotHostsForbidden) IsCode ¶
func (o *GetIotHostsForbidden) IsCode(code int) bool
IsCode returns true when this get iot hosts forbidden response a status code equal to that given
func (*GetIotHostsForbidden) IsRedirect ¶
func (o *GetIotHostsForbidden) IsRedirect() bool
IsRedirect returns true when this get iot hosts forbidden response has a 3xx status code
func (*GetIotHostsForbidden) IsServerError ¶
func (o *GetIotHostsForbidden) IsServerError() bool
IsServerError returns true when this get iot hosts forbidden response has a 5xx status code
func (*GetIotHostsForbidden) IsSuccess ¶
func (o *GetIotHostsForbidden) IsSuccess() bool
IsSuccess returns true when this get iot hosts forbidden response has a 2xx status code
func (*GetIotHostsForbidden) String ¶
func (o *GetIotHostsForbidden) String() string
type GetIotHostsInternalServerError ¶
type GetIotHostsInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
GetIotHostsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetIotHostsInternalServerError ¶
func NewGetIotHostsInternalServerError() *GetIotHostsInternalServerError
NewGetIotHostsInternalServerError creates a GetIotHostsInternalServerError with default headers values
func (*GetIotHostsInternalServerError) Code ¶
func (o *GetIotHostsInternalServerError) Code() int
Code gets the status code for the get iot hosts internal server error response
func (*GetIotHostsInternalServerError) Error ¶
func (o *GetIotHostsInternalServerError) Error() string
func (*GetIotHostsInternalServerError) GetPayload ¶
func (o *GetIotHostsInternalServerError) GetPayload() *models.MsaspecResponseFields
func (*GetIotHostsInternalServerError) IsClientError ¶
func (o *GetIotHostsInternalServerError) IsClientError() bool
IsClientError returns true when this get iot hosts internal server error response has a 4xx status code
func (*GetIotHostsInternalServerError) IsCode ¶
func (o *GetIotHostsInternalServerError) IsCode(code int) bool
IsCode returns true when this get iot hosts internal server error response a status code equal to that given
func (*GetIotHostsInternalServerError) IsRedirect ¶
func (o *GetIotHostsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get iot hosts internal server error response has a 3xx status code
func (*GetIotHostsInternalServerError) IsServerError ¶
func (o *GetIotHostsInternalServerError) IsServerError() bool
IsServerError returns true when this get iot hosts internal server error response has a 5xx status code
func (*GetIotHostsInternalServerError) IsSuccess ¶
func (o *GetIotHostsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get iot hosts internal server error response has a 2xx status code
func (*GetIotHostsInternalServerError) String ¶
func (o *GetIotHostsInternalServerError) String() string
type GetIotHostsOK ¶
type GetIotHostsOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainDiscoverAPIIoTHostEntitiesResponse }
GetIotHostsOK describes a response with status code 200, with default header values.
OK
func NewGetIotHostsOK ¶
func NewGetIotHostsOK() *GetIotHostsOK
NewGetIotHostsOK creates a GetIotHostsOK with default headers values
func (*GetIotHostsOK) Code ¶
func (o *GetIotHostsOK) Code() int
Code gets the status code for the get iot hosts o k response
func (*GetIotHostsOK) Error ¶
func (o *GetIotHostsOK) Error() string
func (*GetIotHostsOK) GetPayload ¶
func (o *GetIotHostsOK) GetPayload() *models.DomainDiscoverAPIIoTHostEntitiesResponse
func (*GetIotHostsOK) IsClientError ¶
func (o *GetIotHostsOK) IsClientError() bool
IsClientError returns true when this get iot hosts o k response has a 4xx status code
func (*GetIotHostsOK) IsCode ¶
func (o *GetIotHostsOK) IsCode(code int) bool
IsCode returns true when this get iot hosts o k response a status code equal to that given
func (*GetIotHostsOK) IsRedirect ¶
func (o *GetIotHostsOK) IsRedirect() bool
IsRedirect returns true when this get iot hosts o k response has a 3xx status code
func (*GetIotHostsOK) IsServerError ¶
func (o *GetIotHostsOK) IsServerError() bool
IsServerError returns true when this get iot hosts o k response has a 5xx status code
func (*GetIotHostsOK) IsSuccess ¶
func (o *GetIotHostsOK) IsSuccess() bool
IsSuccess returns true when this get iot hosts o k response has a 2xx status code
func (*GetIotHostsOK) String ¶
func (o *GetIotHostsOK) String() string
type GetIotHostsParams ¶
type GetIotHostsParams struct { /* Ids. One or more asset IDs (max: 100). Find asset IDs with GET `/discover/queries/iot-hosts/v1` */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIotHostsParams contains all the parameters to send to the API endpoint
for the get iot hosts operation. Typically these are written to a http.Request.
func NewGetIotHostsParams ¶
func NewGetIotHostsParams() *GetIotHostsParams
NewGetIotHostsParams creates a new GetIotHostsParams 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 NewGetIotHostsParamsWithContext ¶
func NewGetIotHostsParamsWithContext(ctx context.Context) *GetIotHostsParams
NewGetIotHostsParamsWithContext creates a new GetIotHostsParams object with the ability to set a context for a request.
func NewGetIotHostsParamsWithHTTPClient ¶
func NewGetIotHostsParamsWithHTTPClient(client *http.Client) *GetIotHostsParams
NewGetIotHostsParamsWithHTTPClient creates a new GetIotHostsParams object with the ability to set a custom HTTPClient for a request.
func NewGetIotHostsParamsWithTimeout ¶
func NewGetIotHostsParamsWithTimeout(timeout time.Duration) *GetIotHostsParams
NewGetIotHostsParamsWithTimeout creates a new GetIotHostsParams object with the ability to set a timeout on a request.
func (*GetIotHostsParams) SetContext ¶
func (o *GetIotHostsParams) SetContext(ctx context.Context)
SetContext adds the context to the get iot hosts params
func (*GetIotHostsParams) SetDefaults ¶
func (o *GetIotHostsParams) SetDefaults()
SetDefaults hydrates default values in the get iot hosts params (not the query body).
All values with no default are reset to their zero value.
func (*GetIotHostsParams) SetHTTPClient ¶
func (o *GetIotHostsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iot hosts params
func (*GetIotHostsParams) SetIds ¶
func (o *GetIotHostsParams) SetIds(ids []string)
SetIds adds the ids to the get iot hosts params
func (*GetIotHostsParams) SetTimeout ¶
func (o *GetIotHostsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iot hosts params
func (*GetIotHostsParams) WithContext ¶
func (o *GetIotHostsParams) WithContext(ctx context.Context) *GetIotHostsParams
WithContext adds the context to the get iot hosts params
func (*GetIotHostsParams) WithDefaults ¶
func (o *GetIotHostsParams) WithDefaults() *GetIotHostsParams
WithDefaults hydrates default values in the get iot hosts params (not the query body).
All values with no default are reset to their zero value.
func (*GetIotHostsParams) WithHTTPClient ¶
func (o *GetIotHostsParams) WithHTTPClient(client *http.Client) *GetIotHostsParams
WithHTTPClient adds the HTTPClient to the get iot hosts params
func (*GetIotHostsParams) WithIds ¶
func (o *GetIotHostsParams) WithIds(ids []string) *GetIotHostsParams
WithIds adds the ids to the get iot hosts params
func (*GetIotHostsParams) WithTimeout ¶
func (o *GetIotHostsParams) WithTimeout(timeout time.Duration) *GetIotHostsParams
WithTimeout adds the timeout to the get iot hosts params
func (*GetIotHostsParams) WriteToRequest ¶
func (o *GetIotHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIotHostsReader ¶
type GetIotHostsReader struct {
// contains filtered or unexported fields
}
GetIotHostsReader is a Reader for the GetIotHosts structure.
func (*GetIotHostsReader) ReadResponse ¶
func (o *GetIotHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIotHostsTooManyRequests ¶
type GetIotHostsTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetIotHostsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetIotHostsTooManyRequests ¶
func NewGetIotHostsTooManyRequests() *GetIotHostsTooManyRequests
NewGetIotHostsTooManyRequests creates a GetIotHostsTooManyRequests with default headers values
func (*GetIotHostsTooManyRequests) Code ¶
func (o *GetIotHostsTooManyRequests) Code() int
Code gets the status code for the get iot hosts too many requests response
func (*GetIotHostsTooManyRequests) Error ¶
func (o *GetIotHostsTooManyRequests) Error() string
func (*GetIotHostsTooManyRequests) GetPayload ¶
func (o *GetIotHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetIotHostsTooManyRequests) IsClientError ¶
func (o *GetIotHostsTooManyRequests) IsClientError() bool
IsClientError returns true when this get iot hosts too many requests response has a 4xx status code
func (*GetIotHostsTooManyRequests) IsCode ¶
func (o *GetIotHostsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get iot hosts too many requests response a status code equal to that given
func (*GetIotHostsTooManyRequests) IsRedirect ¶
func (o *GetIotHostsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get iot hosts too many requests response has a 3xx status code
func (*GetIotHostsTooManyRequests) IsServerError ¶
func (o *GetIotHostsTooManyRequests) IsServerError() bool
IsServerError returns true when this get iot hosts too many requests response has a 5xx status code
func (*GetIotHostsTooManyRequests) IsSuccess ¶
func (o *GetIotHostsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get iot hosts too many requests response has a 2xx status code
func (*GetIotHostsTooManyRequests) String ¶
func (o *GetIotHostsTooManyRequests) String() string
type QueryIotHostsBadRequest ¶
type QueryIotHostsBadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
QueryIotHostsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryIotHostsBadRequest ¶
func NewQueryIotHostsBadRequest() *QueryIotHostsBadRequest
NewQueryIotHostsBadRequest creates a QueryIotHostsBadRequest with default headers values
func (*QueryIotHostsBadRequest) Code ¶
func (o *QueryIotHostsBadRequest) Code() int
Code gets the status code for the query iot hosts bad request response
func (*QueryIotHostsBadRequest) Error ¶
func (o *QueryIotHostsBadRequest) Error() string
func (*QueryIotHostsBadRequest) GetPayload ¶
func (o *QueryIotHostsBadRequest) GetPayload() *models.MsaspecResponseFields
func (*QueryIotHostsBadRequest) IsClientError ¶
func (o *QueryIotHostsBadRequest) IsClientError() bool
IsClientError returns true when this query iot hosts bad request response has a 4xx status code
func (*QueryIotHostsBadRequest) IsCode ¶
func (o *QueryIotHostsBadRequest) IsCode(code int) bool
IsCode returns true when this query iot hosts bad request response a status code equal to that given
func (*QueryIotHostsBadRequest) IsRedirect ¶
func (o *QueryIotHostsBadRequest) IsRedirect() bool
IsRedirect returns true when this query iot hosts bad request response has a 3xx status code
func (*QueryIotHostsBadRequest) IsServerError ¶
func (o *QueryIotHostsBadRequest) IsServerError() bool
IsServerError returns true when this query iot hosts bad request response has a 5xx status code
func (*QueryIotHostsBadRequest) IsSuccess ¶
func (o *QueryIotHostsBadRequest) IsSuccess() bool
IsSuccess returns true when this query iot hosts bad request response has a 2xx status code
func (*QueryIotHostsBadRequest) String ¶
func (o *QueryIotHostsBadRequest) String() string
type QueryIotHostsForbidden ¶
type QueryIotHostsForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
QueryIotHostsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryIotHostsForbidden ¶
func NewQueryIotHostsForbidden() *QueryIotHostsForbidden
NewQueryIotHostsForbidden creates a QueryIotHostsForbidden with default headers values
func (*QueryIotHostsForbidden) Code ¶
func (o *QueryIotHostsForbidden) Code() int
Code gets the status code for the query iot hosts forbidden response
func (*QueryIotHostsForbidden) Error ¶
func (o *QueryIotHostsForbidden) Error() string
func (*QueryIotHostsForbidden) GetPayload ¶
func (o *QueryIotHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryIotHostsForbidden) IsClientError ¶
func (o *QueryIotHostsForbidden) IsClientError() bool
IsClientError returns true when this query iot hosts forbidden response has a 4xx status code
func (*QueryIotHostsForbidden) IsCode ¶
func (o *QueryIotHostsForbidden) IsCode(code int) bool
IsCode returns true when this query iot hosts forbidden response a status code equal to that given
func (*QueryIotHostsForbidden) IsRedirect ¶
func (o *QueryIotHostsForbidden) IsRedirect() bool
IsRedirect returns true when this query iot hosts forbidden response has a 3xx status code
func (*QueryIotHostsForbidden) IsServerError ¶
func (o *QueryIotHostsForbidden) IsServerError() bool
IsServerError returns true when this query iot hosts forbidden response has a 5xx status code
func (*QueryIotHostsForbidden) IsSuccess ¶
func (o *QueryIotHostsForbidden) IsSuccess() bool
IsSuccess returns true when this query iot hosts forbidden response has a 2xx status code
func (*QueryIotHostsForbidden) String ¶
func (o *QueryIotHostsForbidden) String() string
type QueryIotHostsInternalServerError ¶
type QueryIotHostsInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
QueryIotHostsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryIotHostsInternalServerError ¶
func NewQueryIotHostsInternalServerError() *QueryIotHostsInternalServerError
NewQueryIotHostsInternalServerError creates a QueryIotHostsInternalServerError with default headers values
func (*QueryIotHostsInternalServerError) Code ¶
func (o *QueryIotHostsInternalServerError) Code() int
Code gets the status code for the query iot hosts internal server error response
func (*QueryIotHostsInternalServerError) Error ¶
func (o *QueryIotHostsInternalServerError) Error() string
func (*QueryIotHostsInternalServerError) GetPayload ¶
func (o *QueryIotHostsInternalServerError) GetPayload() *models.MsaspecResponseFields
func (*QueryIotHostsInternalServerError) IsClientError ¶
func (o *QueryIotHostsInternalServerError) IsClientError() bool
IsClientError returns true when this query iot hosts internal server error response has a 4xx status code
func (*QueryIotHostsInternalServerError) IsCode ¶
func (o *QueryIotHostsInternalServerError) IsCode(code int) bool
IsCode returns true when this query iot hosts internal server error response a status code equal to that given
func (*QueryIotHostsInternalServerError) IsRedirect ¶
func (o *QueryIotHostsInternalServerError) IsRedirect() bool
IsRedirect returns true when this query iot hosts internal server error response has a 3xx status code
func (*QueryIotHostsInternalServerError) IsServerError ¶
func (o *QueryIotHostsInternalServerError) IsServerError() bool
IsServerError returns true when this query iot hosts internal server error response has a 5xx status code
func (*QueryIotHostsInternalServerError) IsSuccess ¶
func (o *QueryIotHostsInternalServerError) IsSuccess() bool
IsSuccess returns true when this query iot hosts internal server error response has a 2xx status code
func (*QueryIotHostsInternalServerError) String ¶
func (o *QueryIotHostsInternalServerError) String() string
type QueryIotHostsOK ¶
type QueryIotHostsOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecQueryResponse }
QueryIotHostsOK describes a response with status code 200, with default header values.
OK
func NewQueryIotHostsOK ¶
func NewQueryIotHostsOK() *QueryIotHostsOK
NewQueryIotHostsOK creates a QueryIotHostsOK with default headers values
func (*QueryIotHostsOK) Code ¶
func (o *QueryIotHostsOK) Code() int
Code gets the status code for the query iot hosts o k response
func (*QueryIotHostsOK) Error ¶
func (o *QueryIotHostsOK) Error() string
func (*QueryIotHostsOK) GetPayload ¶
func (o *QueryIotHostsOK) GetPayload() *models.MsaspecQueryResponse
func (*QueryIotHostsOK) IsClientError ¶
func (o *QueryIotHostsOK) IsClientError() bool
IsClientError returns true when this query iot hosts o k response has a 4xx status code
func (*QueryIotHostsOK) IsCode ¶
func (o *QueryIotHostsOK) IsCode(code int) bool
IsCode returns true when this query iot hosts o k response a status code equal to that given
func (*QueryIotHostsOK) IsRedirect ¶
func (o *QueryIotHostsOK) IsRedirect() bool
IsRedirect returns true when this query iot hosts o k response has a 3xx status code
func (*QueryIotHostsOK) IsServerError ¶
func (o *QueryIotHostsOK) IsServerError() bool
IsServerError returns true when this query iot hosts o k response has a 5xx status code
func (*QueryIotHostsOK) IsSuccess ¶
func (o *QueryIotHostsOK) IsSuccess() bool
IsSuccess returns true when this query iot hosts o k response has a 2xx status code
func (*QueryIotHostsOK) String ¶
func (o *QueryIotHostsOK) String() string
type QueryIotHostsParams ¶
type QueryIotHostsParams struct { /* Filter. Filter assets using an FQL query. Common filter options include:<ul><li>entity_type:'managed'</li><li>product_type_desc:'Workstation'</li><li>platform_name:'Windows'</li><li>last_seen_timestamp:>'now-7d'</li></ul> Available filter fields that support exact match: device_family, device_class, device_type, device_mode, business_criticality, line_of_business, virtual_zone, subnet, purdue_level, vlan, local_ip_addresses, mac_addresses, physical_connections_count, data_providers, local_ips_count, network_interfaces.local_ip, classification Available filter fields that supports wildcard (*): device_family, device_class, device_type, device_mode, business_criticality, line_of_business, virtual_zone, subnet, purdue_level, vlan, local_ip_addresses, mac_addresses, data_providers Available filter fields that supports range comparisons (>, <, >=, <=): physical_connections_count, local_ips_count All filter fields and operations supports negation (!). */ Filter *string /* Limit. The number of asset IDs to return in this response (min: 1, max: 100, default: 100). Use with the `offset` parameter to manage pagination of results. */ Limit *int64 /* Offset. An offset used with the `limit` parameter to manage pagination of results. On your first request, don’t provide an `offset`. On subsequent requests, add previous `offset` with the previous `limit` to continue from that place in the results. */ Offset *int64 /* Sort. Sort assets by their properties. A single sort field is allowed. Common sort options include: <ul><li>hostname|asc</li><li>product_type_desc|desc</li></ul> */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryIotHostsParams contains all the parameters to send to the API endpoint
for the query iot hosts operation. Typically these are written to a http.Request.
func NewQueryIotHostsParams ¶
func NewQueryIotHostsParams() *QueryIotHostsParams
NewQueryIotHostsParams creates a new QueryIotHostsParams 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 NewQueryIotHostsParamsWithContext ¶
func NewQueryIotHostsParamsWithContext(ctx context.Context) *QueryIotHostsParams
NewQueryIotHostsParamsWithContext creates a new QueryIotHostsParams object with the ability to set a context for a request.
func NewQueryIotHostsParamsWithHTTPClient ¶
func NewQueryIotHostsParamsWithHTTPClient(client *http.Client) *QueryIotHostsParams
NewQueryIotHostsParamsWithHTTPClient creates a new QueryIotHostsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryIotHostsParamsWithTimeout ¶
func NewQueryIotHostsParamsWithTimeout(timeout time.Duration) *QueryIotHostsParams
NewQueryIotHostsParamsWithTimeout creates a new QueryIotHostsParams object with the ability to set a timeout on a request.
func (*QueryIotHostsParams) SetContext ¶
func (o *QueryIotHostsParams) SetContext(ctx context.Context)
SetContext adds the context to the query iot hosts params
func (*QueryIotHostsParams) SetDefaults ¶
func (o *QueryIotHostsParams) SetDefaults()
SetDefaults hydrates default values in the query iot hosts params (not the query body).
All values with no default are reset to their zero value.
func (*QueryIotHostsParams) SetFilter ¶
func (o *QueryIotHostsParams) SetFilter(filter *string)
SetFilter adds the filter to the query iot hosts params
func (*QueryIotHostsParams) SetHTTPClient ¶
func (o *QueryIotHostsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query iot hosts params
func (*QueryIotHostsParams) SetLimit ¶
func (o *QueryIotHostsParams) SetLimit(limit *int64)
SetLimit adds the limit to the query iot hosts params
func (*QueryIotHostsParams) SetOffset ¶
func (o *QueryIotHostsParams) SetOffset(offset *int64)
SetOffset adds the offset to the query iot hosts params
func (*QueryIotHostsParams) SetSort ¶
func (o *QueryIotHostsParams) SetSort(sort *string)
SetSort adds the sort to the query iot hosts params
func (*QueryIotHostsParams) SetTimeout ¶
func (o *QueryIotHostsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query iot hosts params
func (*QueryIotHostsParams) WithContext ¶
func (o *QueryIotHostsParams) WithContext(ctx context.Context) *QueryIotHostsParams
WithContext adds the context to the query iot hosts params
func (*QueryIotHostsParams) WithDefaults ¶
func (o *QueryIotHostsParams) WithDefaults() *QueryIotHostsParams
WithDefaults hydrates default values in the query iot hosts params (not the query body).
All values with no default are reset to their zero value.
func (*QueryIotHostsParams) WithFilter ¶
func (o *QueryIotHostsParams) WithFilter(filter *string) *QueryIotHostsParams
WithFilter adds the filter to the query iot hosts params
func (*QueryIotHostsParams) WithHTTPClient ¶
func (o *QueryIotHostsParams) WithHTTPClient(client *http.Client) *QueryIotHostsParams
WithHTTPClient adds the HTTPClient to the query iot hosts params
func (*QueryIotHostsParams) WithLimit ¶
func (o *QueryIotHostsParams) WithLimit(limit *int64) *QueryIotHostsParams
WithLimit adds the limit to the query iot hosts params
func (*QueryIotHostsParams) WithOffset ¶
func (o *QueryIotHostsParams) WithOffset(offset *int64) *QueryIotHostsParams
WithOffset adds the offset to the query iot hosts params
func (*QueryIotHostsParams) WithSort ¶
func (o *QueryIotHostsParams) WithSort(sort *string) *QueryIotHostsParams
WithSort adds the sort to the query iot hosts params
func (*QueryIotHostsParams) WithTimeout ¶
func (o *QueryIotHostsParams) WithTimeout(timeout time.Duration) *QueryIotHostsParams
WithTimeout adds the timeout to the query iot hosts params
func (*QueryIotHostsParams) WriteToRequest ¶
func (o *QueryIotHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryIotHostsReader ¶
type QueryIotHostsReader struct {
// contains filtered or unexported fields
}
QueryIotHostsReader is a Reader for the QueryIotHosts structure.
func (*QueryIotHostsReader) ReadResponse ¶
func (o *QueryIotHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryIotHostsTooManyRequests ¶
type QueryIotHostsTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryIotHostsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryIotHostsTooManyRequests ¶
func NewQueryIotHostsTooManyRequests() *QueryIotHostsTooManyRequests
NewQueryIotHostsTooManyRequests creates a QueryIotHostsTooManyRequests with default headers values
func (*QueryIotHostsTooManyRequests) Code ¶
func (o *QueryIotHostsTooManyRequests) Code() int
Code gets the status code for the query iot hosts too many requests response
func (*QueryIotHostsTooManyRequests) Error ¶
func (o *QueryIotHostsTooManyRequests) Error() string
func (*QueryIotHostsTooManyRequests) GetPayload ¶
func (o *QueryIotHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryIotHostsTooManyRequests) IsClientError ¶
func (o *QueryIotHostsTooManyRequests) IsClientError() bool
IsClientError returns true when this query iot hosts too many requests response has a 4xx status code
func (*QueryIotHostsTooManyRequests) IsCode ¶
func (o *QueryIotHostsTooManyRequests) IsCode(code int) bool
IsCode returns true when this query iot hosts too many requests response a status code equal to that given
func (*QueryIotHostsTooManyRequests) IsRedirect ¶
func (o *QueryIotHostsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query iot hosts too many requests response has a 3xx status code
func (*QueryIotHostsTooManyRequests) IsServerError ¶
func (o *QueryIotHostsTooManyRequests) IsServerError() bool
IsServerError returns true when this query iot hosts too many requests response has a 5xx status code
func (*QueryIotHostsTooManyRequests) IsSuccess ¶
func (o *QueryIotHostsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query iot hosts too many requests response has a 2xx status code
func (*QueryIotHostsTooManyRequests) String ¶
func (o *QueryIotHostsTooManyRequests) String() string
type QueryIotHostsV2BadRequest ¶ added in v0.7.0
type QueryIotHostsV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
QueryIotHostsV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryIotHostsV2BadRequest ¶ added in v0.7.0
func NewQueryIotHostsV2BadRequest() *QueryIotHostsV2BadRequest
NewQueryIotHostsV2BadRequest creates a QueryIotHostsV2BadRequest with default headers values
func (*QueryIotHostsV2BadRequest) Code ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) Code() int
Code gets the status code for the query iot hosts v2 bad request response
func (*QueryIotHostsV2BadRequest) Error ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) Error() string
func (*QueryIotHostsV2BadRequest) GetPayload ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) GetPayload() *models.MsaspecResponseFields
func (*QueryIotHostsV2BadRequest) IsClientError ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) IsClientError() bool
IsClientError returns true when this query iot hosts v2 bad request response has a 4xx status code
func (*QueryIotHostsV2BadRequest) IsCode ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) IsCode(code int) bool
IsCode returns true when this query iot hosts v2 bad request response a status code equal to that given
func (*QueryIotHostsV2BadRequest) IsRedirect ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) IsRedirect() bool
IsRedirect returns true when this query iot hosts v2 bad request response has a 3xx status code
func (*QueryIotHostsV2BadRequest) IsServerError ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) IsServerError() bool
IsServerError returns true when this query iot hosts v2 bad request response has a 5xx status code
func (*QueryIotHostsV2BadRequest) IsSuccess ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) IsSuccess() bool
IsSuccess returns true when this query iot hosts v2 bad request response has a 2xx status code
func (*QueryIotHostsV2BadRequest) String ¶ added in v0.7.0
func (o *QueryIotHostsV2BadRequest) String() string
type QueryIotHostsV2Forbidden ¶ added in v0.7.0
type QueryIotHostsV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
QueryIotHostsV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryIotHostsV2Forbidden ¶ added in v0.7.0
func NewQueryIotHostsV2Forbidden() *QueryIotHostsV2Forbidden
NewQueryIotHostsV2Forbidden creates a QueryIotHostsV2Forbidden with default headers values
func (*QueryIotHostsV2Forbidden) Code ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) Code() int
Code gets the status code for the query iot hosts v2 forbidden response
func (*QueryIotHostsV2Forbidden) Error ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) Error() string
func (*QueryIotHostsV2Forbidden) GetPayload ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryIotHostsV2Forbidden) IsClientError ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) IsClientError() bool
IsClientError returns true when this query iot hosts v2 forbidden response has a 4xx status code
func (*QueryIotHostsV2Forbidden) IsCode ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) IsCode(code int) bool
IsCode returns true when this query iot hosts v2 forbidden response a status code equal to that given
func (*QueryIotHostsV2Forbidden) IsRedirect ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) IsRedirect() bool
IsRedirect returns true when this query iot hosts v2 forbidden response has a 3xx status code
func (*QueryIotHostsV2Forbidden) IsServerError ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) IsServerError() bool
IsServerError returns true when this query iot hosts v2 forbidden response has a 5xx status code
func (*QueryIotHostsV2Forbidden) IsSuccess ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) IsSuccess() bool
IsSuccess returns true when this query iot hosts v2 forbidden response has a 2xx status code
func (*QueryIotHostsV2Forbidden) String ¶ added in v0.7.0
func (o *QueryIotHostsV2Forbidden) String() string
type QueryIotHostsV2InternalServerError ¶ added in v0.7.0
type QueryIotHostsV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecResponseFields }
QueryIotHostsV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryIotHostsV2InternalServerError ¶ added in v0.7.0
func NewQueryIotHostsV2InternalServerError() *QueryIotHostsV2InternalServerError
NewQueryIotHostsV2InternalServerError creates a QueryIotHostsV2InternalServerError with default headers values
func (*QueryIotHostsV2InternalServerError) Code ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) Code() int
Code gets the status code for the query iot hosts v2 internal server error response
func (*QueryIotHostsV2InternalServerError) Error ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) Error() string
func (*QueryIotHostsV2InternalServerError) GetPayload ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) GetPayload() *models.MsaspecResponseFields
func (*QueryIotHostsV2InternalServerError) IsClientError ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) IsClientError() bool
IsClientError returns true when this query iot hosts v2 internal server error response has a 4xx status code
func (*QueryIotHostsV2InternalServerError) IsCode ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) IsCode(code int) bool
IsCode returns true when this query iot hosts v2 internal server error response a status code equal to that given
func (*QueryIotHostsV2InternalServerError) IsRedirect ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this query iot hosts v2 internal server error response has a 3xx status code
func (*QueryIotHostsV2InternalServerError) IsServerError ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) IsServerError() bool
IsServerError returns true when this query iot hosts v2 internal server error response has a 5xx status code
func (*QueryIotHostsV2InternalServerError) IsSuccess ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this query iot hosts v2 internal server error response has a 2xx status code
func (*QueryIotHostsV2InternalServerError) String ¶ added in v0.7.0
func (o *QueryIotHostsV2InternalServerError) String() string
type QueryIotHostsV2OK ¶ added in v0.7.0
type QueryIotHostsV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainDiscoverAPIResponse }
QueryIotHostsV2OK describes a response with status code 200, with default header values.
OK
func NewQueryIotHostsV2OK ¶ added in v0.7.0
func NewQueryIotHostsV2OK() *QueryIotHostsV2OK
NewQueryIotHostsV2OK creates a QueryIotHostsV2OK with default headers values
func (*QueryIotHostsV2OK) Code ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) Code() int
Code gets the status code for the query iot hosts v2 o k response
func (*QueryIotHostsV2OK) Error ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) Error() string
func (*QueryIotHostsV2OK) GetPayload ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) GetPayload() *models.DomainDiscoverAPIResponse
func (*QueryIotHostsV2OK) IsClientError ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) IsClientError() bool
IsClientError returns true when this query iot hosts v2 o k response has a 4xx status code
func (*QueryIotHostsV2OK) IsCode ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) IsCode(code int) bool
IsCode returns true when this query iot hosts v2 o k response a status code equal to that given
func (*QueryIotHostsV2OK) IsRedirect ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) IsRedirect() bool
IsRedirect returns true when this query iot hosts v2 o k response has a 3xx status code
func (*QueryIotHostsV2OK) IsServerError ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) IsServerError() bool
IsServerError returns true when this query iot hosts v2 o k response has a 5xx status code
func (*QueryIotHostsV2OK) IsSuccess ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) IsSuccess() bool
IsSuccess returns true when this query iot hosts v2 o k response has a 2xx status code
func (*QueryIotHostsV2OK) String ¶ added in v0.7.0
func (o *QueryIotHostsV2OK) String() string
type QueryIotHostsV2Params ¶ added in v0.7.0
type QueryIotHostsV2Params struct { /* After. A pagination token used with the `limit` parameter to manage pagination of results. On your first request, don't provide an `after` token. On subsequent requests, provide the `after` token from the previous response to continue from that place in the results. */ After *string /* Filter. Filter assets using an FQL query. Common filter options include:<ul><li>entity_type:'managed'</li><li>product_type_desc:'Workstation'</li><li>platform_name:'Windows'</li><li>last_seen_timestamp:>'now-7d'</li></ul> Available filter fields that support exact match: device_family, device_class, device_type, device_mode, business_criticality, line_of_business, virtual_zone, subnet, purdue_level, vlan, local_ip_addresses, mac_addresses, physical_connections_count, data_providers Available filter fields that supports wildcard (*): device_family, device_class, device_type, device_mode, business_criticality, line_of_business, virtual_zone, subnet, purdue_level, vlan, local_ip_addresses, mac_addresses, data_providers Available filter fields that supports range comparisons (>, <, >=, <=): physical_connections_count All filter fields and operations supports negation (!). */ Filter *string /* Limit. The number of asset IDs to return in this response (min: 1, max: 100, default: 100). Use with the `after` parameter to manage pagination of results. */ Limit *int64 /* Sort. Sort assets by their properties. A single sort field is allowed. Common sort options include: <ul><li>hostname|asc</li><li>product_type_desc|desc</li></ul> */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryIotHostsV2Params contains all the parameters to send to the API endpoint
for the query iot hosts v2 operation. Typically these are written to a http.Request.
func NewQueryIotHostsV2Params ¶ added in v0.7.0
func NewQueryIotHostsV2Params() *QueryIotHostsV2Params
NewQueryIotHostsV2Params creates a new QueryIotHostsV2Params 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 NewQueryIotHostsV2ParamsWithContext ¶ added in v0.7.0
func NewQueryIotHostsV2ParamsWithContext(ctx context.Context) *QueryIotHostsV2Params
NewQueryIotHostsV2ParamsWithContext creates a new QueryIotHostsV2Params object with the ability to set a context for a request.
func NewQueryIotHostsV2ParamsWithHTTPClient ¶ added in v0.7.0
func NewQueryIotHostsV2ParamsWithHTTPClient(client *http.Client) *QueryIotHostsV2Params
NewQueryIotHostsV2ParamsWithHTTPClient creates a new QueryIotHostsV2Params object with the ability to set a custom HTTPClient for a request.
func NewQueryIotHostsV2ParamsWithTimeout ¶ added in v0.7.0
func NewQueryIotHostsV2ParamsWithTimeout(timeout time.Duration) *QueryIotHostsV2Params
NewQueryIotHostsV2ParamsWithTimeout creates a new QueryIotHostsV2Params object with the ability to set a timeout on a request.
func (*QueryIotHostsV2Params) SetAfter ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetAfter(after *string)
SetAfter adds the after to the query iot hosts v2 params
func (*QueryIotHostsV2Params) SetContext ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the query iot hosts v2 params
func (*QueryIotHostsV2Params) SetDefaults ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetDefaults()
SetDefaults hydrates default values in the query iot hosts v2 params (not the query body).
All values with no default are reset to their zero value.
func (*QueryIotHostsV2Params) SetFilter ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetFilter(filter *string)
SetFilter adds the filter to the query iot hosts v2 params
func (*QueryIotHostsV2Params) SetHTTPClient ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query iot hosts v2 params
func (*QueryIotHostsV2Params) SetLimit ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the query iot hosts v2 params
func (*QueryIotHostsV2Params) SetSort ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetSort(sort *string)
SetSort adds the sort to the query iot hosts v2 params
func (*QueryIotHostsV2Params) SetTimeout ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithAfter ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithAfter(after *string) *QueryIotHostsV2Params
WithAfter adds the after to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithContext ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithContext(ctx context.Context) *QueryIotHostsV2Params
WithContext adds the context to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithDefaults ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithDefaults() *QueryIotHostsV2Params
WithDefaults hydrates default values in the query iot hosts v2 params (not the query body).
All values with no default are reset to their zero value.
func (*QueryIotHostsV2Params) WithFilter ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithFilter(filter *string) *QueryIotHostsV2Params
WithFilter adds the filter to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithHTTPClient ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithHTTPClient(client *http.Client) *QueryIotHostsV2Params
WithHTTPClient adds the HTTPClient to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithLimit ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithLimit(limit *int64) *QueryIotHostsV2Params
WithLimit adds the limit to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithSort ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithSort(sort *string) *QueryIotHostsV2Params
WithSort adds the sort to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WithTimeout ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WithTimeout(timeout time.Duration) *QueryIotHostsV2Params
WithTimeout adds the timeout to the query iot hosts v2 params
func (*QueryIotHostsV2Params) WriteToRequest ¶ added in v0.7.0
func (o *QueryIotHostsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryIotHostsV2Reader ¶ added in v0.7.0
type QueryIotHostsV2Reader struct {
// contains filtered or unexported fields
}
QueryIotHostsV2Reader is a Reader for the QueryIotHostsV2 structure.
func (*QueryIotHostsV2Reader) ReadResponse ¶ added in v0.7.0
func (o *QueryIotHostsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryIotHostsV2TooManyRequests ¶ added in v0.7.0
type QueryIotHostsV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryIotHostsV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryIotHostsV2TooManyRequests ¶ added in v0.7.0
func NewQueryIotHostsV2TooManyRequests() *QueryIotHostsV2TooManyRequests
NewQueryIotHostsV2TooManyRequests creates a QueryIotHostsV2TooManyRequests with default headers values
func (*QueryIotHostsV2TooManyRequests) Code ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) Code() int
Code gets the status code for the query iot hosts v2 too many requests response
func (*QueryIotHostsV2TooManyRequests) Error ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) Error() string
func (*QueryIotHostsV2TooManyRequests) GetPayload ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryIotHostsV2TooManyRequests) IsClientError ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) IsClientError() bool
IsClientError returns true when this query iot hosts v2 too many requests response has a 4xx status code
func (*QueryIotHostsV2TooManyRequests) IsCode ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this query iot hosts v2 too many requests response a status code equal to that given
func (*QueryIotHostsV2TooManyRequests) IsRedirect ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this query iot hosts v2 too many requests response has a 3xx status code
func (*QueryIotHostsV2TooManyRequests) IsServerError ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) IsServerError() bool
IsServerError returns true when this query iot hosts v2 too many requests response has a 5xx status code
func (*QueryIotHostsV2TooManyRequests) IsSuccess ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this query iot hosts v2 too many requests response has a 2xx status code
func (*QueryIotHostsV2TooManyRequests) String ¶ added in v0.7.0
func (o *QueryIotHostsV2TooManyRequests) String() string