Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSensorAggregates(params *GetSensorAggregatesParams, opts ...ClientOption) (*GetSensorAggregatesOK, error)
- func (a *Client) GetSensorDetails(params *GetSensorDetailsParams, opts ...ClientOption) (*GetSensorDetailsOK, error)
- func (a *Client) QuerySensorsByFilter(params *QuerySensorsByFilterParams, opts ...ClientOption) (*QuerySensorsByFilterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSensorAggregatesForbidden
- func (o *GetSensorAggregatesForbidden) Code() int
- func (o *GetSensorAggregatesForbidden) Error() string
- func (o *GetSensorAggregatesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorAggregatesForbidden) IsClientError() bool
- func (o *GetSensorAggregatesForbidden) IsCode(code int) bool
- func (o *GetSensorAggregatesForbidden) IsRedirect() bool
- func (o *GetSensorAggregatesForbidden) IsServerError() bool
- func (o *GetSensorAggregatesForbidden) IsSuccess() bool
- func (o *GetSensorAggregatesForbidden) String() string
- type GetSensorAggregatesInternalServerError
- func (o *GetSensorAggregatesInternalServerError) Code() int
- func (o *GetSensorAggregatesInternalServerError) Error() string
- func (o *GetSensorAggregatesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorAggregatesInternalServerError) IsClientError() bool
- func (o *GetSensorAggregatesInternalServerError) IsCode(code int) bool
- func (o *GetSensorAggregatesInternalServerError) IsRedirect() bool
- func (o *GetSensorAggregatesInternalServerError) IsServerError() bool
- func (o *GetSensorAggregatesInternalServerError) IsSuccess() bool
- func (o *GetSensorAggregatesInternalServerError) String() string
- type GetSensorAggregatesOK
- func (o *GetSensorAggregatesOK) Code() int
- func (o *GetSensorAggregatesOK) Error() string
- func (o *GetSensorAggregatesOK) GetPayload() *models.MsaAggregatesResponse
- func (o *GetSensorAggregatesOK) IsClientError() bool
- func (o *GetSensorAggregatesOK) IsCode(code int) bool
- func (o *GetSensorAggregatesOK) IsRedirect() bool
- func (o *GetSensorAggregatesOK) IsServerError() bool
- func (o *GetSensorAggregatesOK) IsSuccess() bool
- func (o *GetSensorAggregatesOK) String() string
- type GetSensorAggregatesParams
- func NewGetSensorAggregatesParams() *GetSensorAggregatesParams
- func NewGetSensorAggregatesParamsWithContext(ctx context.Context) *GetSensorAggregatesParams
- func NewGetSensorAggregatesParamsWithHTTPClient(client *http.Client) *GetSensorAggregatesParams
- func NewGetSensorAggregatesParamsWithTimeout(timeout time.Duration) *GetSensorAggregatesParams
- func (o *GetSensorAggregatesParams) SetBody(body *models.MsaAggregateQueryRequest)
- func (o *GetSensorAggregatesParams) SetContext(ctx context.Context)
- func (o *GetSensorAggregatesParams) SetDefaults()
- func (o *GetSensorAggregatesParams) SetHTTPClient(client *http.Client)
- func (o *GetSensorAggregatesParams) SetTimeout(timeout time.Duration)
- func (o *GetSensorAggregatesParams) WithBody(body *models.MsaAggregateQueryRequest) *GetSensorAggregatesParams
- func (o *GetSensorAggregatesParams) WithContext(ctx context.Context) *GetSensorAggregatesParams
- func (o *GetSensorAggregatesParams) WithDefaults() *GetSensorAggregatesParams
- func (o *GetSensorAggregatesParams) WithHTTPClient(client *http.Client) *GetSensorAggregatesParams
- func (o *GetSensorAggregatesParams) WithTimeout(timeout time.Duration) *GetSensorAggregatesParams
- func (o *GetSensorAggregatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSensorAggregatesReader
- type GetSensorAggregatesTooManyRequests
- func (o *GetSensorAggregatesTooManyRequests) Code() int
- func (o *GetSensorAggregatesTooManyRequests) Error() string
- func (o *GetSensorAggregatesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorAggregatesTooManyRequests) IsClientError() bool
- func (o *GetSensorAggregatesTooManyRequests) IsCode(code int) bool
- func (o *GetSensorAggregatesTooManyRequests) IsRedirect() bool
- func (o *GetSensorAggregatesTooManyRequests) IsServerError() bool
- func (o *GetSensorAggregatesTooManyRequests) IsSuccess() bool
- func (o *GetSensorAggregatesTooManyRequests) String() string
- type GetSensorDetailsForbidden
- func (o *GetSensorDetailsForbidden) Code() int
- func (o *GetSensorDetailsForbidden) Error() string
- func (o *GetSensorDetailsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorDetailsForbidden) IsClientError() bool
- func (o *GetSensorDetailsForbidden) IsCode(code int) bool
- func (o *GetSensorDetailsForbidden) IsRedirect() bool
- func (o *GetSensorDetailsForbidden) IsServerError() bool
- func (o *GetSensorDetailsForbidden) IsSuccess() bool
- func (o *GetSensorDetailsForbidden) String() string
- type GetSensorDetailsInternalServerError
- func (o *GetSensorDetailsInternalServerError) Code() int
- func (o *GetSensorDetailsInternalServerError) Error() string
- func (o *GetSensorDetailsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorDetailsInternalServerError) IsClientError() bool
- func (o *GetSensorDetailsInternalServerError) IsCode(code int) bool
- func (o *GetSensorDetailsInternalServerError) IsRedirect() bool
- func (o *GetSensorDetailsInternalServerError) IsServerError() bool
- func (o *GetSensorDetailsInternalServerError) IsSuccess() bool
- func (o *GetSensorDetailsInternalServerError) String() string
- type GetSensorDetailsOK
- func (o *GetSensorDetailsOK) Code() int
- func (o *GetSensorDetailsOK) Error() string
- func (o *GetSensorDetailsOK) GetPayload() *models.APISensorDetailsResponseSwagger
- func (o *GetSensorDetailsOK) IsClientError() bool
- func (o *GetSensorDetailsOK) IsCode(code int) bool
- func (o *GetSensorDetailsOK) IsRedirect() bool
- func (o *GetSensorDetailsOK) IsServerError() bool
- func (o *GetSensorDetailsOK) IsSuccess() bool
- func (o *GetSensorDetailsOK) String() string
- type GetSensorDetailsParams
- func NewGetSensorDetailsParams() *GetSensorDetailsParams
- func NewGetSensorDetailsParamsWithContext(ctx context.Context) *GetSensorDetailsParams
- func NewGetSensorDetailsParamsWithHTTPClient(client *http.Client) *GetSensorDetailsParams
- func NewGetSensorDetailsParamsWithTimeout(timeout time.Duration) *GetSensorDetailsParams
- func (o *GetSensorDetailsParams) SetBody(body *models.MsaIdsRequest)
- func (o *GetSensorDetailsParams) SetContext(ctx context.Context)
- func (o *GetSensorDetailsParams) SetDefaults()
- func (o *GetSensorDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GetSensorDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GetSensorDetailsParams) WithBody(body *models.MsaIdsRequest) *GetSensorDetailsParams
- func (o *GetSensorDetailsParams) WithContext(ctx context.Context) *GetSensorDetailsParams
- func (o *GetSensorDetailsParams) WithDefaults() *GetSensorDetailsParams
- func (o *GetSensorDetailsParams) WithHTTPClient(client *http.Client) *GetSensorDetailsParams
- func (o *GetSensorDetailsParams) WithTimeout(timeout time.Duration) *GetSensorDetailsParams
- func (o *GetSensorDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSensorDetailsReader
- type GetSensorDetailsTooManyRequests
- func (o *GetSensorDetailsTooManyRequests) Code() int
- func (o *GetSensorDetailsTooManyRequests) Error() string
- func (o *GetSensorDetailsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorDetailsTooManyRequests) IsClientError() bool
- func (o *GetSensorDetailsTooManyRequests) IsCode(code int) bool
- func (o *GetSensorDetailsTooManyRequests) IsRedirect() bool
- func (o *GetSensorDetailsTooManyRequests) IsServerError() bool
- func (o *GetSensorDetailsTooManyRequests) IsSuccess() bool
- func (o *GetSensorDetailsTooManyRequests) String() string
- type QuerySensorsByFilterForbidden
- func (o *QuerySensorsByFilterForbidden) Code() int
- func (o *QuerySensorsByFilterForbidden) Error() string
- func (o *QuerySensorsByFilterForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QuerySensorsByFilterForbidden) IsClientError() bool
- func (o *QuerySensorsByFilterForbidden) IsCode(code int) bool
- func (o *QuerySensorsByFilterForbidden) IsRedirect() bool
- func (o *QuerySensorsByFilterForbidden) IsServerError() bool
- func (o *QuerySensorsByFilterForbidden) IsSuccess() bool
- func (o *QuerySensorsByFilterForbidden) String() string
- type QuerySensorsByFilterInternalServerError
- func (o *QuerySensorsByFilterInternalServerError) Code() int
- func (o *QuerySensorsByFilterInternalServerError) Error() string
- func (o *QuerySensorsByFilterInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *QuerySensorsByFilterInternalServerError) IsClientError() bool
- func (o *QuerySensorsByFilterInternalServerError) IsCode(code int) bool
- func (o *QuerySensorsByFilterInternalServerError) IsRedirect() bool
- func (o *QuerySensorsByFilterInternalServerError) IsServerError() bool
- func (o *QuerySensorsByFilterInternalServerError) IsSuccess() bool
- func (o *QuerySensorsByFilterInternalServerError) String() string
- type QuerySensorsByFilterOK
- func (o *QuerySensorsByFilterOK) Code() int
- func (o *QuerySensorsByFilterOK) Error() string
- func (o *QuerySensorsByFilterOK) GetPayload() *models.MsaspecQueryResponse
- func (o *QuerySensorsByFilterOK) IsClientError() bool
- func (o *QuerySensorsByFilterOK) IsCode(code int) bool
- func (o *QuerySensorsByFilterOK) IsRedirect() bool
- func (o *QuerySensorsByFilterOK) IsServerError() bool
- func (o *QuerySensorsByFilterOK) IsSuccess() bool
- func (o *QuerySensorsByFilterOK) String() string
- type QuerySensorsByFilterParams
- func NewQuerySensorsByFilterParams() *QuerySensorsByFilterParams
- func NewQuerySensorsByFilterParamsWithContext(ctx context.Context) *QuerySensorsByFilterParams
- func NewQuerySensorsByFilterParamsWithHTTPClient(client *http.Client) *QuerySensorsByFilterParams
- func NewQuerySensorsByFilterParamsWithTimeout(timeout time.Duration) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) SetContext(ctx context.Context)
- func (o *QuerySensorsByFilterParams) SetDefaults()
- func (o *QuerySensorsByFilterParams) SetFilter(filter *string)
- func (o *QuerySensorsByFilterParams) SetHTTPClient(client *http.Client)
- func (o *QuerySensorsByFilterParams) SetLimit(limit *int64)
- func (o *QuerySensorsByFilterParams) SetOffset(offset *int64)
- func (o *QuerySensorsByFilterParams) SetSort(sort *string)
- func (o *QuerySensorsByFilterParams) SetTimeout(timeout time.Duration)
- func (o *QuerySensorsByFilterParams) WithContext(ctx context.Context) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithDefaults() *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithFilter(filter *string) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithHTTPClient(client *http.Client) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithLimit(limit *int64) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithOffset(offset *int64) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithSort(sort *string) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WithTimeout(timeout time.Duration) *QuerySensorsByFilterParams
- func (o *QuerySensorsByFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySensorsByFilterReader
- type QuerySensorsByFilterTooManyRequests
- func (o *QuerySensorsByFilterTooManyRequests) Code() int
- func (o *QuerySensorsByFilterTooManyRequests) Error() string
- func (o *QuerySensorsByFilterTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QuerySensorsByFilterTooManyRequests) IsClientError() bool
- func (o *QuerySensorsByFilterTooManyRequests) IsCode(code int) bool
- func (o *QuerySensorsByFilterTooManyRequests) IsRedirect() bool
- func (o *QuerySensorsByFilterTooManyRequests) IsServerError() bool
- func (o *QuerySensorsByFilterTooManyRequests) IsSuccess() bool
- func (o *QuerySensorsByFilterTooManyRequests) 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 identity entities API
func (*Client) GetSensorAggregates ¶
func (a *Client) GetSensorAggregates(params *GetSensorAggregatesParams, opts ...ClientOption) (*GetSensorAggregatesOK, error)
GetSensorAggregates gets sensor aggregates as specified via json in request body
func (*Client) GetSensorDetails ¶
func (a *Client) GetSensorDetails(params *GetSensorDetailsParams, opts ...ClientOption) (*GetSensorDetailsOK, error)
GetSensorDetails gets details on one or more sensors by providing device i ds in a p o s t body supports up to a maximum of 5000 i ds
func (*Client) QuerySensorsByFilter ¶
func (a *Client) QuerySensorsByFilter(params *QuerySensorsByFilterParams, opts ...ClientOption) (*QuerySensorsByFilterOK, error)
QuerySensorsByFilter searches for sensors in your environment by hostname IP and other 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 { GetSensorAggregates(params *GetSensorAggregatesParams, opts ...ClientOption) (*GetSensorAggregatesOK, error) GetSensorDetails(params *GetSensorDetailsParams, opts ...ClientOption) (*GetSensorDetailsOK, error) QuerySensorsByFilter(params *QuerySensorsByFilterParams, opts ...ClientOption) (*QuerySensorsByFilterOK, 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 identity entities API client.
type GetSensorAggregatesForbidden ¶
type GetSensorAggregatesForbidden 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 }
GetSensorAggregatesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSensorAggregatesForbidden ¶
func NewGetSensorAggregatesForbidden() *GetSensorAggregatesForbidden
NewGetSensorAggregatesForbidden creates a GetSensorAggregatesForbidden with default headers values
func (*GetSensorAggregatesForbidden) Code ¶
func (o *GetSensorAggregatesForbidden) Code() int
Code gets the status code for the get sensor aggregates forbidden response
func (*GetSensorAggregatesForbidden) Error ¶
func (o *GetSensorAggregatesForbidden) Error() string
func (*GetSensorAggregatesForbidden) GetPayload ¶
func (o *GetSensorAggregatesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorAggregatesForbidden) IsClientError ¶
func (o *GetSensorAggregatesForbidden) IsClientError() bool
IsClientError returns true when this get sensor aggregates forbidden response has a 4xx status code
func (*GetSensorAggregatesForbidden) IsCode ¶
func (o *GetSensorAggregatesForbidden) IsCode(code int) bool
IsCode returns true when this get sensor aggregates forbidden response a status code equal to that given
func (*GetSensorAggregatesForbidden) IsRedirect ¶
func (o *GetSensorAggregatesForbidden) IsRedirect() bool
IsRedirect returns true when this get sensor aggregates forbidden response has a 3xx status code
func (*GetSensorAggregatesForbidden) IsServerError ¶
func (o *GetSensorAggregatesForbidden) IsServerError() bool
IsServerError returns true when this get sensor aggregates forbidden response has a 5xx status code
func (*GetSensorAggregatesForbidden) IsSuccess ¶
func (o *GetSensorAggregatesForbidden) IsSuccess() bool
IsSuccess returns true when this get sensor aggregates forbidden response has a 2xx status code
func (*GetSensorAggregatesForbidden) String ¶
func (o *GetSensorAggregatesForbidden) String() string
type GetSensorAggregatesInternalServerError ¶ added in v0.9.0
type GetSensorAggregatesInternalServerError 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 }
GetSensorAggregatesInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewGetSensorAggregatesInternalServerError ¶ added in v0.9.0
func NewGetSensorAggregatesInternalServerError() *GetSensorAggregatesInternalServerError
NewGetSensorAggregatesInternalServerError creates a GetSensorAggregatesInternalServerError with default headers values
func (*GetSensorAggregatesInternalServerError) Code ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) Code() int
Code gets the status code for the get sensor aggregates internal server error response
func (*GetSensorAggregatesInternalServerError) Error ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) Error() string
func (*GetSensorAggregatesInternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorAggregatesInternalServerError) IsClientError ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) IsClientError() bool
IsClientError returns true when this get sensor aggregates internal server error response has a 4xx status code
func (*GetSensorAggregatesInternalServerError) IsCode ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) IsCode(code int) bool
IsCode returns true when this get sensor aggregates internal server error response a status code equal to that given
func (*GetSensorAggregatesInternalServerError) IsRedirect ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get sensor aggregates internal server error response has a 3xx status code
func (*GetSensorAggregatesInternalServerError) IsServerError ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) IsServerError() bool
IsServerError returns true when this get sensor aggregates internal server error response has a 5xx status code
func (*GetSensorAggregatesInternalServerError) IsSuccess ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get sensor aggregates internal server error response has a 2xx status code
func (*GetSensorAggregatesInternalServerError) String ¶ added in v0.9.0
func (o *GetSensorAggregatesInternalServerError) String() string
type GetSensorAggregatesOK ¶
type GetSensorAggregatesOK 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.MsaAggregatesResponse }
GetSensorAggregatesOK describes a response with status code 200, with default header values.
OK
func NewGetSensorAggregatesOK ¶
func NewGetSensorAggregatesOK() *GetSensorAggregatesOK
NewGetSensorAggregatesOK creates a GetSensorAggregatesOK with default headers values
func (*GetSensorAggregatesOK) Code ¶
func (o *GetSensorAggregatesOK) Code() int
Code gets the status code for the get sensor aggregates o k response
func (*GetSensorAggregatesOK) Error ¶
func (o *GetSensorAggregatesOK) Error() string
func (*GetSensorAggregatesOK) GetPayload ¶
func (o *GetSensorAggregatesOK) GetPayload() *models.MsaAggregatesResponse
func (*GetSensorAggregatesOK) IsClientError ¶
func (o *GetSensorAggregatesOK) IsClientError() bool
IsClientError returns true when this get sensor aggregates o k response has a 4xx status code
func (*GetSensorAggregatesOK) IsCode ¶
func (o *GetSensorAggregatesOK) IsCode(code int) bool
IsCode returns true when this get sensor aggregates o k response a status code equal to that given
func (*GetSensorAggregatesOK) IsRedirect ¶
func (o *GetSensorAggregatesOK) IsRedirect() bool
IsRedirect returns true when this get sensor aggregates o k response has a 3xx status code
func (*GetSensorAggregatesOK) IsServerError ¶
func (o *GetSensorAggregatesOK) IsServerError() bool
IsServerError returns true when this get sensor aggregates o k response has a 5xx status code
func (*GetSensorAggregatesOK) IsSuccess ¶
func (o *GetSensorAggregatesOK) IsSuccess() bool
IsSuccess returns true when this get sensor aggregates o k response has a 2xx status code
func (*GetSensorAggregatesOK) String ¶
func (o *GetSensorAggregatesOK) String() string
type GetSensorAggregatesParams ¶
type GetSensorAggregatesParams struct { // Body. Body *models.MsaAggregateQueryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSensorAggregatesParams contains all the parameters to send to the API endpoint
for the get sensor aggregates operation. Typically these are written to a http.Request.
func NewGetSensorAggregatesParams ¶
func NewGetSensorAggregatesParams() *GetSensorAggregatesParams
NewGetSensorAggregatesParams creates a new GetSensorAggregatesParams 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 NewGetSensorAggregatesParamsWithContext ¶
func NewGetSensorAggregatesParamsWithContext(ctx context.Context) *GetSensorAggregatesParams
NewGetSensorAggregatesParamsWithContext creates a new GetSensorAggregatesParams object with the ability to set a context for a request.
func NewGetSensorAggregatesParamsWithHTTPClient ¶
func NewGetSensorAggregatesParamsWithHTTPClient(client *http.Client) *GetSensorAggregatesParams
NewGetSensorAggregatesParamsWithHTTPClient creates a new GetSensorAggregatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSensorAggregatesParamsWithTimeout ¶
func NewGetSensorAggregatesParamsWithTimeout(timeout time.Duration) *GetSensorAggregatesParams
NewGetSensorAggregatesParamsWithTimeout creates a new GetSensorAggregatesParams object with the ability to set a timeout on a request.
func (*GetSensorAggregatesParams) SetBody ¶
func (o *GetSensorAggregatesParams) SetBody(body *models.MsaAggregateQueryRequest)
SetBody adds the body to the get sensor aggregates params
func (*GetSensorAggregatesParams) SetContext ¶
func (o *GetSensorAggregatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get sensor aggregates params
func (*GetSensorAggregatesParams) SetDefaults ¶
func (o *GetSensorAggregatesParams) SetDefaults()
SetDefaults hydrates default values in the get sensor aggregates params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorAggregatesParams) SetHTTPClient ¶
func (o *GetSensorAggregatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sensor aggregates params
func (*GetSensorAggregatesParams) SetTimeout ¶
func (o *GetSensorAggregatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sensor aggregates params
func (*GetSensorAggregatesParams) WithBody ¶
func (o *GetSensorAggregatesParams) WithBody(body *models.MsaAggregateQueryRequest) *GetSensorAggregatesParams
WithBody adds the body to the get sensor aggregates params
func (*GetSensorAggregatesParams) WithContext ¶
func (o *GetSensorAggregatesParams) WithContext(ctx context.Context) *GetSensorAggregatesParams
WithContext adds the context to the get sensor aggregates params
func (*GetSensorAggregatesParams) WithDefaults ¶
func (o *GetSensorAggregatesParams) WithDefaults() *GetSensorAggregatesParams
WithDefaults hydrates default values in the get sensor aggregates params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorAggregatesParams) WithHTTPClient ¶
func (o *GetSensorAggregatesParams) WithHTTPClient(client *http.Client) *GetSensorAggregatesParams
WithHTTPClient adds the HTTPClient to the get sensor aggregates params
func (*GetSensorAggregatesParams) WithTimeout ¶
func (o *GetSensorAggregatesParams) WithTimeout(timeout time.Duration) *GetSensorAggregatesParams
WithTimeout adds the timeout to the get sensor aggregates params
func (*GetSensorAggregatesParams) WriteToRequest ¶
func (o *GetSensorAggregatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSensorAggregatesReader ¶
type GetSensorAggregatesReader struct {
// contains filtered or unexported fields
}
GetSensorAggregatesReader is a Reader for the GetSensorAggregates structure.
func (*GetSensorAggregatesReader) ReadResponse ¶
func (o *GetSensorAggregatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSensorAggregatesTooManyRequests ¶
type GetSensorAggregatesTooManyRequests 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 }
GetSensorAggregatesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSensorAggregatesTooManyRequests ¶
func NewGetSensorAggregatesTooManyRequests() *GetSensorAggregatesTooManyRequests
NewGetSensorAggregatesTooManyRequests creates a GetSensorAggregatesTooManyRequests with default headers values
func (*GetSensorAggregatesTooManyRequests) Code ¶
func (o *GetSensorAggregatesTooManyRequests) Code() int
Code gets the status code for the get sensor aggregates too many requests response
func (*GetSensorAggregatesTooManyRequests) Error ¶
func (o *GetSensorAggregatesTooManyRequests) Error() string
func (*GetSensorAggregatesTooManyRequests) GetPayload ¶
func (o *GetSensorAggregatesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorAggregatesTooManyRequests) IsClientError ¶
func (o *GetSensorAggregatesTooManyRequests) IsClientError() bool
IsClientError returns true when this get sensor aggregates too many requests response has a 4xx status code
func (*GetSensorAggregatesTooManyRequests) IsCode ¶
func (o *GetSensorAggregatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get sensor aggregates too many requests response a status code equal to that given
func (*GetSensorAggregatesTooManyRequests) IsRedirect ¶
func (o *GetSensorAggregatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get sensor aggregates too many requests response has a 3xx status code
func (*GetSensorAggregatesTooManyRequests) IsServerError ¶
func (o *GetSensorAggregatesTooManyRequests) IsServerError() bool
IsServerError returns true when this get sensor aggregates too many requests response has a 5xx status code
func (*GetSensorAggregatesTooManyRequests) IsSuccess ¶
func (o *GetSensorAggregatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get sensor aggregates too many requests response has a 2xx status code
func (*GetSensorAggregatesTooManyRequests) String ¶
func (o *GetSensorAggregatesTooManyRequests) String() string
type GetSensorDetailsForbidden ¶
type GetSensorDetailsForbidden 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 }
GetSensorDetailsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSensorDetailsForbidden ¶
func NewGetSensorDetailsForbidden() *GetSensorDetailsForbidden
NewGetSensorDetailsForbidden creates a GetSensorDetailsForbidden with default headers values
func (*GetSensorDetailsForbidden) Code ¶
func (o *GetSensorDetailsForbidden) Code() int
Code gets the status code for the get sensor details forbidden response
func (*GetSensorDetailsForbidden) Error ¶
func (o *GetSensorDetailsForbidden) Error() string
func (*GetSensorDetailsForbidden) GetPayload ¶
func (o *GetSensorDetailsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorDetailsForbidden) IsClientError ¶
func (o *GetSensorDetailsForbidden) IsClientError() bool
IsClientError returns true when this get sensor details forbidden response has a 4xx status code
func (*GetSensorDetailsForbidden) IsCode ¶
func (o *GetSensorDetailsForbidden) IsCode(code int) bool
IsCode returns true when this get sensor details forbidden response a status code equal to that given
func (*GetSensorDetailsForbidden) IsRedirect ¶
func (o *GetSensorDetailsForbidden) IsRedirect() bool
IsRedirect returns true when this get sensor details forbidden response has a 3xx status code
func (*GetSensorDetailsForbidden) IsServerError ¶
func (o *GetSensorDetailsForbidden) IsServerError() bool
IsServerError returns true when this get sensor details forbidden response has a 5xx status code
func (*GetSensorDetailsForbidden) IsSuccess ¶
func (o *GetSensorDetailsForbidden) IsSuccess() bool
IsSuccess returns true when this get sensor details forbidden response has a 2xx status code
func (*GetSensorDetailsForbidden) String ¶
func (o *GetSensorDetailsForbidden) String() string
type GetSensorDetailsInternalServerError ¶ added in v0.9.0
type GetSensorDetailsInternalServerError 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 }
GetSensorDetailsInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewGetSensorDetailsInternalServerError ¶ added in v0.9.0
func NewGetSensorDetailsInternalServerError() *GetSensorDetailsInternalServerError
NewGetSensorDetailsInternalServerError creates a GetSensorDetailsInternalServerError with default headers values
func (*GetSensorDetailsInternalServerError) Code ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) Code() int
Code gets the status code for the get sensor details internal server error response
func (*GetSensorDetailsInternalServerError) Error ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) Error() string
func (*GetSensorDetailsInternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorDetailsInternalServerError) IsClientError ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) IsClientError() bool
IsClientError returns true when this get sensor details internal server error response has a 4xx status code
func (*GetSensorDetailsInternalServerError) IsCode ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) IsCode(code int) bool
IsCode returns true when this get sensor details internal server error response a status code equal to that given
func (*GetSensorDetailsInternalServerError) IsRedirect ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get sensor details internal server error response has a 3xx status code
func (*GetSensorDetailsInternalServerError) IsServerError ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) IsServerError() bool
IsServerError returns true when this get sensor details internal server error response has a 5xx status code
func (*GetSensorDetailsInternalServerError) IsSuccess ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get sensor details internal server error response has a 2xx status code
func (*GetSensorDetailsInternalServerError) String ¶ added in v0.9.0
func (o *GetSensorDetailsInternalServerError) String() string
type GetSensorDetailsOK ¶
type GetSensorDetailsOK 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.APISensorDetailsResponseSwagger }
GetSensorDetailsOK describes a response with status code 200, with default header values.
OK
func NewGetSensorDetailsOK ¶
func NewGetSensorDetailsOK() *GetSensorDetailsOK
NewGetSensorDetailsOK creates a GetSensorDetailsOK with default headers values
func (*GetSensorDetailsOK) Code ¶
func (o *GetSensorDetailsOK) Code() int
Code gets the status code for the get sensor details o k response
func (*GetSensorDetailsOK) Error ¶
func (o *GetSensorDetailsOK) Error() string
func (*GetSensorDetailsOK) GetPayload ¶
func (o *GetSensorDetailsOK) GetPayload() *models.APISensorDetailsResponseSwagger
func (*GetSensorDetailsOK) IsClientError ¶
func (o *GetSensorDetailsOK) IsClientError() bool
IsClientError returns true when this get sensor details o k response has a 4xx status code
func (*GetSensorDetailsOK) IsCode ¶
func (o *GetSensorDetailsOK) IsCode(code int) bool
IsCode returns true when this get sensor details o k response a status code equal to that given
func (*GetSensorDetailsOK) IsRedirect ¶
func (o *GetSensorDetailsOK) IsRedirect() bool
IsRedirect returns true when this get sensor details o k response has a 3xx status code
func (*GetSensorDetailsOK) IsServerError ¶
func (o *GetSensorDetailsOK) IsServerError() bool
IsServerError returns true when this get sensor details o k response has a 5xx status code
func (*GetSensorDetailsOK) IsSuccess ¶
func (o *GetSensorDetailsOK) IsSuccess() bool
IsSuccess returns true when this get sensor details o k response has a 2xx status code
func (*GetSensorDetailsOK) String ¶
func (o *GetSensorDetailsOK) String() string
type GetSensorDetailsParams ¶
type GetSensorDetailsParams struct { // Body. Body *models.MsaIdsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSensorDetailsParams contains all the parameters to send to the API endpoint
for the get sensor details operation. Typically these are written to a http.Request.
func NewGetSensorDetailsParams ¶
func NewGetSensorDetailsParams() *GetSensorDetailsParams
NewGetSensorDetailsParams creates a new GetSensorDetailsParams 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 NewGetSensorDetailsParamsWithContext ¶
func NewGetSensorDetailsParamsWithContext(ctx context.Context) *GetSensorDetailsParams
NewGetSensorDetailsParamsWithContext creates a new GetSensorDetailsParams object with the ability to set a context for a request.
func NewGetSensorDetailsParamsWithHTTPClient ¶
func NewGetSensorDetailsParamsWithHTTPClient(client *http.Client) *GetSensorDetailsParams
NewGetSensorDetailsParamsWithHTTPClient creates a new GetSensorDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSensorDetailsParamsWithTimeout ¶
func NewGetSensorDetailsParamsWithTimeout(timeout time.Duration) *GetSensorDetailsParams
NewGetSensorDetailsParamsWithTimeout creates a new GetSensorDetailsParams object with the ability to set a timeout on a request.
func (*GetSensorDetailsParams) SetBody ¶
func (o *GetSensorDetailsParams) SetBody(body *models.MsaIdsRequest)
SetBody adds the body to the get sensor details params
func (*GetSensorDetailsParams) SetContext ¶
func (o *GetSensorDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get sensor details params
func (*GetSensorDetailsParams) SetDefaults ¶
func (o *GetSensorDetailsParams) SetDefaults()
SetDefaults hydrates default values in the get sensor details params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorDetailsParams) SetHTTPClient ¶
func (o *GetSensorDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sensor details params
func (*GetSensorDetailsParams) SetTimeout ¶
func (o *GetSensorDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sensor details params
func (*GetSensorDetailsParams) WithBody ¶
func (o *GetSensorDetailsParams) WithBody(body *models.MsaIdsRequest) *GetSensorDetailsParams
WithBody adds the body to the get sensor details params
func (*GetSensorDetailsParams) WithContext ¶
func (o *GetSensorDetailsParams) WithContext(ctx context.Context) *GetSensorDetailsParams
WithContext adds the context to the get sensor details params
func (*GetSensorDetailsParams) WithDefaults ¶
func (o *GetSensorDetailsParams) WithDefaults() *GetSensorDetailsParams
WithDefaults hydrates default values in the get sensor details params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorDetailsParams) WithHTTPClient ¶
func (o *GetSensorDetailsParams) WithHTTPClient(client *http.Client) *GetSensorDetailsParams
WithHTTPClient adds the HTTPClient to the get sensor details params
func (*GetSensorDetailsParams) WithTimeout ¶
func (o *GetSensorDetailsParams) WithTimeout(timeout time.Duration) *GetSensorDetailsParams
WithTimeout adds the timeout to the get sensor details params
func (*GetSensorDetailsParams) WriteToRequest ¶
func (o *GetSensorDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSensorDetailsReader ¶
type GetSensorDetailsReader struct {
// contains filtered or unexported fields
}
GetSensorDetailsReader is a Reader for the GetSensorDetails structure.
func (*GetSensorDetailsReader) ReadResponse ¶
func (o *GetSensorDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSensorDetailsTooManyRequests ¶
type GetSensorDetailsTooManyRequests 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 }
GetSensorDetailsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSensorDetailsTooManyRequests ¶
func NewGetSensorDetailsTooManyRequests() *GetSensorDetailsTooManyRequests
NewGetSensorDetailsTooManyRequests creates a GetSensorDetailsTooManyRequests with default headers values
func (*GetSensorDetailsTooManyRequests) Code ¶
func (o *GetSensorDetailsTooManyRequests) Code() int
Code gets the status code for the get sensor details too many requests response
func (*GetSensorDetailsTooManyRequests) Error ¶
func (o *GetSensorDetailsTooManyRequests) Error() string
func (*GetSensorDetailsTooManyRequests) GetPayload ¶
func (o *GetSensorDetailsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorDetailsTooManyRequests) IsClientError ¶
func (o *GetSensorDetailsTooManyRequests) IsClientError() bool
IsClientError returns true when this get sensor details too many requests response has a 4xx status code
func (*GetSensorDetailsTooManyRequests) IsCode ¶
func (o *GetSensorDetailsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get sensor details too many requests response a status code equal to that given
func (*GetSensorDetailsTooManyRequests) IsRedirect ¶
func (o *GetSensorDetailsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get sensor details too many requests response has a 3xx status code
func (*GetSensorDetailsTooManyRequests) IsServerError ¶
func (o *GetSensorDetailsTooManyRequests) IsServerError() bool
IsServerError returns true when this get sensor details too many requests response has a 5xx status code
func (*GetSensorDetailsTooManyRequests) IsSuccess ¶
func (o *GetSensorDetailsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get sensor details too many requests response has a 2xx status code
func (*GetSensorDetailsTooManyRequests) String ¶
func (o *GetSensorDetailsTooManyRequests) String() string
type QuerySensorsByFilterForbidden ¶
type QuerySensorsByFilterForbidden 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 }
QuerySensorsByFilterForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQuerySensorsByFilterForbidden ¶
func NewQuerySensorsByFilterForbidden() *QuerySensorsByFilterForbidden
NewQuerySensorsByFilterForbidden creates a QuerySensorsByFilterForbidden with default headers values
func (*QuerySensorsByFilterForbidden) Code ¶
func (o *QuerySensorsByFilterForbidden) Code() int
Code gets the status code for the query sensors by filter forbidden response
func (*QuerySensorsByFilterForbidden) Error ¶
func (o *QuerySensorsByFilterForbidden) Error() string
func (*QuerySensorsByFilterForbidden) GetPayload ¶
func (o *QuerySensorsByFilterForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QuerySensorsByFilterForbidden) IsClientError ¶
func (o *QuerySensorsByFilterForbidden) IsClientError() bool
IsClientError returns true when this query sensors by filter forbidden response has a 4xx status code
func (*QuerySensorsByFilterForbidden) IsCode ¶
func (o *QuerySensorsByFilterForbidden) IsCode(code int) bool
IsCode returns true when this query sensors by filter forbidden response a status code equal to that given
func (*QuerySensorsByFilterForbidden) IsRedirect ¶
func (o *QuerySensorsByFilterForbidden) IsRedirect() bool
IsRedirect returns true when this query sensors by filter forbidden response has a 3xx status code
func (*QuerySensorsByFilterForbidden) IsServerError ¶
func (o *QuerySensorsByFilterForbidden) IsServerError() bool
IsServerError returns true when this query sensors by filter forbidden response has a 5xx status code
func (*QuerySensorsByFilterForbidden) IsSuccess ¶
func (o *QuerySensorsByFilterForbidden) IsSuccess() bool
IsSuccess returns true when this query sensors by filter forbidden response has a 2xx status code
func (*QuerySensorsByFilterForbidden) String ¶
func (o *QuerySensorsByFilterForbidden) String() string
type QuerySensorsByFilterInternalServerError ¶ added in v0.9.0
type QuerySensorsByFilterInternalServerError 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 }
QuerySensorsByFilterInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewQuerySensorsByFilterInternalServerError ¶ added in v0.9.0
func NewQuerySensorsByFilterInternalServerError() *QuerySensorsByFilterInternalServerError
NewQuerySensorsByFilterInternalServerError creates a QuerySensorsByFilterInternalServerError with default headers values
func (*QuerySensorsByFilterInternalServerError) Code ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) Code() int
Code gets the status code for the query sensors by filter internal server error response
func (*QuerySensorsByFilterInternalServerError) Error ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) Error() string
func (*QuerySensorsByFilterInternalServerError) GetPayload ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*QuerySensorsByFilterInternalServerError) IsClientError ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) IsClientError() bool
IsClientError returns true when this query sensors by filter internal server error response has a 4xx status code
func (*QuerySensorsByFilterInternalServerError) IsCode ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) IsCode(code int) bool
IsCode returns true when this query sensors by filter internal server error response a status code equal to that given
func (*QuerySensorsByFilterInternalServerError) IsRedirect ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) IsRedirect() bool
IsRedirect returns true when this query sensors by filter internal server error response has a 3xx status code
func (*QuerySensorsByFilterInternalServerError) IsServerError ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) IsServerError() bool
IsServerError returns true when this query sensors by filter internal server error response has a 5xx status code
func (*QuerySensorsByFilterInternalServerError) IsSuccess ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) IsSuccess() bool
IsSuccess returns true when this query sensors by filter internal server error response has a 2xx status code
func (*QuerySensorsByFilterInternalServerError) String ¶ added in v0.9.0
func (o *QuerySensorsByFilterInternalServerError) String() string
type QuerySensorsByFilterOK ¶
type QuerySensorsByFilterOK 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 }
QuerySensorsByFilterOK describes a response with status code 200, with default header values.
OK
func NewQuerySensorsByFilterOK ¶
func NewQuerySensorsByFilterOK() *QuerySensorsByFilterOK
NewQuerySensorsByFilterOK creates a QuerySensorsByFilterOK with default headers values
func (*QuerySensorsByFilterOK) Code ¶
func (o *QuerySensorsByFilterOK) Code() int
Code gets the status code for the query sensors by filter o k response
func (*QuerySensorsByFilterOK) Error ¶
func (o *QuerySensorsByFilterOK) Error() string
func (*QuerySensorsByFilterOK) GetPayload ¶
func (o *QuerySensorsByFilterOK) GetPayload() *models.MsaspecQueryResponse
func (*QuerySensorsByFilterOK) IsClientError ¶
func (o *QuerySensorsByFilterOK) IsClientError() bool
IsClientError returns true when this query sensors by filter o k response has a 4xx status code
func (*QuerySensorsByFilterOK) IsCode ¶
func (o *QuerySensorsByFilterOK) IsCode(code int) bool
IsCode returns true when this query sensors by filter o k response a status code equal to that given
func (*QuerySensorsByFilterOK) IsRedirect ¶
func (o *QuerySensorsByFilterOK) IsRedirect() bool
IsRedirect returns true when this query sensors by filter o k response has a 3xx status code
func (*QuerySensorsByFilterOK) IsServerError ¶
func (o *QuerySensorsByFilterOK) IsServerError() bool
IsServerError returns true when this query sensors by filter o k response has a 5xx status code
func (*QuerySensorsByFilterOK) IsSuccess ¶
func (o *QuerySensorsByFilterOK) IsSuccess() bool
IsSuccess returns true when this query sensors by filter o k response has a 2xx status code
func (*QuerySensorsByFilterOK) String ¶
func (o *QuerySensorsByFilterOK) String() string
type QuerySensorsByFilterParams ¶
type QuerySensorsByFilterParams struct { /* Filter. The filter expression that should be used to limit the results */ Filter *string /* Limit. The maximum records to return. [1-200] */ Limit *int64 /* Offset. The offset to start retrieving records from */ Offset *int64 /* Sort. The property to sort by (e.g. status.desc or hostname.asc) */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySensorsByFilterParams contains all the parameters to send to the API endpoint
for the query sensors by filter operation. Typically these are written to a http.Request.
func NewQuerySensorsByFilterParams ¶
func NewQuerySensorsByFilterParams() *QuerySensorsByFilterParams
NewQuerySensorsByFilterParams creates a new QuerySensorsByFilterParams 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 NewQuerySensorsByFilterParamsWithContext ¶
func NewQuerySensorsByFilterParamsWithContext(ctx context.Context) *QuerySensorsByFilterParams
NewQuerySensorsByFilterParamsWithContext creates a new QuerySensorsByFilterParams object with the ability to set a context for a request.
func NewQuerySensorsByFilterParamsWithHTTPClient ¶
func NewQuerySensorsByFilterParamsWithHTTPClient(client *http.Client) *QuerySensorsByFilterParams
NewQuerySensorsByFilterParamsWithHTTPClient creates a new QuerySensorsByFilterParams object with the ability to set a custom HTTPClient for a request.
func NewQuerySensorsByFilterParamsWithTimeout ¶
func NewQuerySensorsByFilterParamsWithTimeout(timeout time.Duration) *QuerySensorsByFilterParams
NewQuerySensorsByFilterParamsWithTimeout creates a new QuerySensorsByFilterParams object with the ability to set a timeout on a request.
func (*QuerySensorsByFilterParams) SetContext ¶
func (o *QuerySensorsByFilterParams) SetContext(ctx context.Context)
SetContext adds the context to the query sensors by filter params
func (*QuerySensorsByFilterParams) SetDefaults ¶
func (o *QuerySensorsByFilterParams) SetDefaults()
SetDefaults hydrates default values in the query sensors by filter params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySensorsByFilterParams) SetFilter ¶
func (o *QuerySensorsByFilterParams) SetFilter(filter *string)
SetFilter adds the filter to the query sensors by filter params
func (*QuerySensorsByFilterParams) SetHTTPClient ¶
func (o *QuerySensorsByFilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query sensors by filter params
func (*QuerySensorsByFilterParams) SetLimit ¶
func (o *QuerySensorsByFilterParams) SetLimit(limit *int64)
SetLimit adds the limit to the query sensors by filter params
func (*QuerySensorsByFilterParams) SetOffset ¶
func (o *QuerySensorsByFilterParams) SetOffset(offset *int64)
SetOffset adds the offset to the query sensors by filter params
func (*QuerySensorsByFilterParams) SetSort ¶
func (o *QuerySensorsByFilterParams) SetSort(sort *string)
SetSort adds the sort to the query sensors by filter params
func (*QuerySensorsByFilterParams) SetTimeout ¶
func (o *QuerySensorsByFilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithContext ¶
func (o *QuerySensorsByFilterParams) WithContext(ctx context.Context) *QuerySensorsByFilterParams
WithContext adds the context to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithDefaults ¶
func (o *QuerySensorsByFilterParams) WithDefaults() *QuerySensorsByFilterParams
WithDefaults hydrates default values in the query sensors by filter params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySensorsByFilterParams) WithFilter ¶
func (o *QuerySensorsByFilterParams) WithFilter(filter *string) *QuerySensorsByFilterParams
WithFilter adds the filter to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithHTTPClient ¶
func (o *QuerySensorsByFilterParams) WithHTTPClient(client *http.Client) *QuerySensorsByFilterParams
WithHTTPClient adds the HTTPClient to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithLimit ¶
func (o *QuerySensorsByFilterParams) WithLimit(limit *int64) *QuerySensorsByFilterParams
WithLimit adds the limit to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithOffset ¶
func (o *QuerySensorsByFilterParams) WithOffset(offset *int64) *QuerySensorsByFilterParams
WithOffset adds the offset to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithSort ¶
func (o *QuerySensorsByFilterParams) WithSort(sort *string) *QuerySensorsByFilterParams
WithSort adds the sort to the query sensors by filter params
func (*QuerySensorsByFilterParams) WithTimeout ¶
func (o *QuerySensorsByFilterParams) WithTimeout(timeout time.Duration) *QuerySensorsByFilterParams
WithTimeout adds the timeout to the query sensors by filter params
func (*QuerySensorsByFilterParams) WriteToRequest ¶
func (o *QuerySensorsByFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySensorsByFilterReader ¶
type QuerySensorsByFilterReader struct {
// contains filtered or unexported fields
}
QuerySensorsByFilterReader is a Reader for the QuerySensorsByFilter structure.
func (*QuerySensorsByFilterReader) ReadResponse ¶
func (o *QuerySensorsByFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySensorsByFilterTooManyRequests ¶
type QuerySensorsByFilterTooManyRequests 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 }
QuerySensorsByFilterTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQuerySensorsByFilterTooManyRequests ¶
func NewQuerySensorsByFilterTooManyRequests() *QuerySensorsByFilterTooManyRequests
NewQuerySensorsByFilterTooManyRequests creates a QuerySensorsByFilterTooManyRequests with default headers values
func (*QuerySensorsByFilterTooManyRequests) Code ¶
func (o *QuerySensorsByFilterTooManyRequests) Code() int
Code gets the status code for the query sensors by filter too many requests response
func (*QuerySensorsByFilterTooManyRequests) Error ¶
func (o *QuerySensorsByFilterTooManyRequests) Error() string
func (*QuerySensorsByFilterTooManyRequests) GetPayload ¶
func (o *QuerySensorsByFilterTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QuerySensorsByFilterTooManyRequests) IsClientError ¶
func (o *QuerySensorsByFilterTooManyRequests) IsClientError() bool
IsClientError returns true when this query sensors by filter too many requests response has a 4xx status code
func (*QuerySensorsByFilterTooManyRequests) IsCode ¶
func (o *QuerySensorsByFilterTooManyRequests) IsCode(code int) bool
IsCode returns true when this query sensors by filter too many requests response a status code equal to that given
func (*QuerySensorsByFilterTooManyRequests) IsRedirect ¶
func (o *QuerySensorsByFilterTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query sensors by filter too many requests response has a 3xx status code
func (*QuerySensorsByFilterTooManyRequests) IsServerError ¶
func (o *QuerySensorsByFilterTooManyRequests) IsServerError() bool
IsServerError returns true when this query sensors by filter too many requests response has a 5xx status code
func (*QuerySensorsByFilterTooManyRequests) IsSuccess ¶
func (o *QuerySensorsByFilterTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query sensors by filter too many requests response has a 2xx status code
func (*QuerySensorsByFilterTooManyRequests) String ¶
func (o *QuerySensorsByFilterTooManyRequests) String() string