Documentation ¶
Index ¶
- type Client
- 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
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) 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) 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 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 `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