identity_entities

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

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

Code gets the status code for the get sensor aggregates forbidden response

func (*GetSensorAggregatesForbidden) Error

func (*GetSensorAggregatesForbidden) GetPayload

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

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

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

WithBody adds the body to the get sensor aggregates params

func (*GetSensorAggregatesParams) WithContext

WithContext adds the context to the get sensor aggregates params

func (*GetSensorAggregatesParams) WithDefaults

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

WithTimeout adds the timeout to the get sensor aggregates params

func (*GetSensorAggregatesParams) WriteToRequest

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

Code gets the status code for the get sensor aggregates too many requests response

func (*GetSensorAggregatesTooManyRequests) Error

func (*GetSensorAggregatesTooManyRequests) GetPayload

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

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

IsSuccess returns true when this get sensor aggregates too many requests response has a 2xx status code

func (*GetSensorAggregatesTooManyRequests) 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 (*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 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 (*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

WithBody adds the body to the get sensor details params

func (*GetSensorDetailsParams) WithContext

WithContext adds the context to the get sensor details params

func (*GetSensorDetailsParams) WithDefaults

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

WithTimeout adds the timeout to the get sensor details params

func (*GetSensorDetailsParams) WriteToRequest

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

Code gets the status code for the get sensor details too many requests response

func (*GetSensorDetailsTooManyRequests) Error

func (*GetSensorDetailsTooManyRequests) GetPayload

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

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

Code gets the status code for the query sensors by filter forbidden response

func (*QuerySensorsByFilterForbidden) Error

func (*QuerySensorsByFilterForbidden) GetPayload

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

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

WithContext adds the context to the query sensors by filter params

func (*QuerySensorsByFilterParams) WithDefaults

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

WithFilter adds the filter to the query sensors by filter params

func (*QuerySensorsByFilterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query sensors by filter params

func (*QuerySensorsByFilterParams) WithLimit

WithLimit adds the limit to the query sensors by filter params

func (*QuerySensorsByFilterParams) WithOffset

WithOffset adds the offset to the query sensors by filter params

func (*QuerySensorsByFilterParams) WithSort

WithSort adds the sort to the query sensors by filter params

func (*QuerySensorsByFilterParams) WithTimeout

WithTimeout adds the timeout to the query sensors by filter params

func (*QuerySensorsByFilterParams) WriteToRequest

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

Code gets the status code for the query sensors by filter too many requests response

func (*QuerySensorsByFilterTooManyRequests) Error

func (*QuerySensorsByFilterTooManyRequests) GetPayload

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

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

IsSuccess returns true when this query sensors by filter too many requests response has a 2xx status code

func (*QuerySensorsByFilterTooManyRequests) String

Jump to

Keyboard shortcuts

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