discover_iot

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*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

Code gets the status code for the get iot hosts internal server error response

func (*GetIotHostsInternalServerError) Error

func (*GetIotHostsInternalServerError) GetPayload

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

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 (*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 (*GetIotHostsTooManyRequests) GetPayload

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

Code gets the status code for the query iot hosts internal server error response

func (*QueryIotHostsInternalServerError) Error

func (*QueryIotHostsInternalServerError) GetPayload

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

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

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

Code gets the status code for the query iot hosts too many requests response

func (*QueryIotHostsTooManyRequests) Error

func (*QueryIotHostsTooManyRequests) GetPayload

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

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

Code gets the status code for the query iot hosts v2 internal server error response

func (*QueryIotHostsV2InternalServerError) Error added in v0.7.0

func (*QueryIotHostsV2InternalServerError) GetPayload added in v0.7.0

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

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

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

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

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

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

Code gets the status code for the query iot hosts v2 too many requests response

func (*QueryIotHostsV2TooManyRequests) Error added in v0.7.0

func (*QueryIotHostsV2TooManyRequests) GetPayload added in v0.7.0

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

Jump to

Keyboard shortcuts

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