Documentation
¶
Index ¶
- type Client
- func (a *Client) GetSensorUsageHourly(params *GetSensorUsageHourlyParams, opts ...ClientOption) (*GetSensorUsageHourlyOK, error)
- func (a *Client) GetSensorUsageWeekly(params *GetSensorUsageWeeklyParams, opts ...ClientOption) (*GetSensorUsageWeeklyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSensorUsageHourlyBadRequest
- func (o *GetSensorUsageHourlyBadRequest) Code() int
- func (o *GetSensorUsageHourlyBadRequest) Error() string
- func (o *GetSensorUsageHourlyBadRequest) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageHourlyBadRequest) IsClientError() bool
- func (o *GetSensorUsageHourlyBadRequest) IsCode(code int) bool
- func (o *GetSensorUsageHourlyBadRequest) IsRedirect() bool
- func (o *GetSensorUsageHourlyBadRequest) IsServerError() bool
- func (o *GetSensorUsageHourlyBadRequest) IsSuccess() bool
- func (o *GetSensorUsageHourlyBadRequest) String() string
- type GetSensorUsageHourlyForbidden
- func (o *GetSensorUsageHourlyForbidden) Code() int
- func (o *GetSensorUsageHourlyForbidden) Error() string
- func (o *GetSensorUsageHourlyForbidden) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageHourlyForbidden) IsClientError() bool
- func (o *GetSensorUsageHourlyForbidden) IsCode(code int) bool
- func (o *GetSensorUsageHourlyForbidden) IsRedirect() bool
- func (o *GetSensorUsageHourlyForbidden) IsServerError() bool
- func (o *GetSensorUsageHourlyForbidden) IsSuccess() bool
- func (o *GetSensorUsageHourlyForbidden) String() string
- type GetSensorUsageHourlyInternalServerError
- func (o *GetSensorUsageHourlyInternalServerError) Code() int
- func (o *GetSensorUsageHourlyInternalServerError) Error() string
- func (o *GetSensorUsageHourlyInternalServerError) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageHourlyInternalServerError) IsClientError() bool
- func (o *GetSensorUsageHourlyInternalServerError) IsCode(code int) bool
- func (o *GetSensorUsageHourlyInternalServerError) IsRedirect() bool
- func (o *GetSensorUsageHourlyInternalServerError) IsServerError() bool
- func (o *GetSensorUsageHourlyInternalServerError) IsSuccess() bool
- func (o *GetSensorUsageHourlyInternalServerError) String() string
- type GetSensorUsageHourlyOK
- func (o *GetSensorUsageHourlyOK) Code() int
- func (o *GetSensorUsageHourlyOK) Error() string
- func (o *GetSensorUsageHourlyOK) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageHourlyOK) IsClientError() bool
- func (o *GetSensorUsageHourlyOK) IsCode(code int) bool
- func (o *GetSensorUsageHourlyOK) IsRedirect() bool
- func (o *GetSensorUsageHourlyOK) IsServerError() bool
- func (o *GetSensorUsageHourlyOK) IsSuccess() bool
- func (o *GetSensorUsageHourlyOK) String() string
- type GetSensorUsageHourlyParams
- func NewGetSensorUsageHourlyParams() *GetSensorUsageHourlyParams
- func NewGetSensorUsageHourlyParamsWithContext(ctx context.Context) *GetSensorUsageHourlyParams
- func NewGetSensorUsageHourlyParamsWithHTTPClient(client *http.Client) *GetSensorUsageHourlyParams
- func NewGetSensorUsageHourlyParamsWithTimeout(timeout time.Duration) *GetSensorUsageHourlyParams
- func (o *GetSensorUsageHourlyParams) SetContext(ctx context.Context)
- func (o *GetSensorUsageHourlyParams) SetDefaults()
- func (o *GetSensorUsageHourlyParams) SetFilter(filter *string)
- func (o *GetSensorUsageHourlyParams) SetHTTPClient(client *http.Client)
- func (o *GetSensorUsageHourlyParams) SetTimeout(timeout time.Duration)
- func (o *GetSensorUsageHourlyParams) WithContext(ctx context.Context) *GetSensorUsageHourlyParams
- func (o *GetSensorUsageHourlyParams) WithDefaults() *GetSensorUsageHourlyParams
- func (o *GetSensorUsageHourlyParams) WithFilter(filter *string) *GetSensorUsageHourlyParams
- func (o *GetSensorUsageHourlyParams) WithHTTPClient(client *http.Client) *GetSensorUsageHourlyParams
- func (o *GetSensorUsageHourlyParams) WithTimeout(timeout time.Duration) *GetSensorUsageHourlyParams
- func (o *GetSensorUsageHourlyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSensorUsageHourlyReader
- type GetSensorUsageHourlyTooManyRequests
- func (o *GetSensorUsageHourlyTooManyRequests) Code() int
- func (o *GetSensorUsageHourlyTooManyRequests) Error() string
- func (o *GetSensorUsageHourlyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorUsageHourlyTooManyRequests) IsClientError() bool
- func (o *GetSensorUsageHourlyTooManyRequests) IsCode(code int) bool
- func (o *GetSensorUsageHourlyTooManyRequests) IsRedirect() bool
- func (o *GetSensorUsageHourlyTooManyRequests) IsServerError() bool
- func (o *GetSensorUsageHourlyTooManyRequests) IsSuccess() bool
- func (o *GetSensorUsageHourlyTooManyRequests) String() string
- type GetSensorUsageWeeklyBadRequest
- func (o *GetSensorUsageWeeklyBadRequest) Code() int
- func (o *GetSensorUsageWeeklyBadRequest) Error() string
- func (o *GetSensorUsageWeeklyBadRequest) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageWeeklyBadRequest) IsClientError() bool
- func (o *GetSensorUsageWeeklyBadRequest) IsCode(code int) bool
- func (o *GetSensorUsageWeeklyBadRequest) IsRedirect() bool
- func (o *GetSensorUsageWeeklyBadRequest) IsServerError() bool
- func (o *GetSensorUsageWeeklyBadRequest) IsSuccess() bool
- func (o *GetSensorUsageWeeklyBadRequest) String() string
- type GetSensorUsageWeeklyForbidden
- func (o *GetSensorUsageWeeklyForbidden) Code() int
- func (o *GetSensorUsageWeeklyForbidden) Error() string
- func (o *GetSensorUsageWeeklyForbidden) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageWeeklyForbidden) IsClientError() bool
- func (o *GetSensorUsageWeeklyForbidden) IsCode(code int) bool
- func (o *GetSensorUsageWeeklyForbidden) IsRedirect() bool
- func (o *GetSensorUsageWeeklyForbidden) IsServerError() bool
- func (o *GetSensorUsageWeeklyForbidden) IsSuccess() bool
- func (o *GetSensorUsageWeeklyForbidden) String() string
- type GetSensorUsageWeeklyInternalServerError
- func (o *GetSensorUsageWeeklyInternalServerError) Code() int
- func (o *GetSensorUsageWeeklyInternalServerError) Error() string
- func (o *GetSensorUsageWeeklyInternalServerError) GetPayload() *models.APIHourlyAverageResponse
- func (o *GetSensorUsageWeeklyInternalServerError) IsClientError() bool
- func (o *GetSensorUsageWeeklyInternalServerError) IsCode(code int) bool
- func (o *GetSensorUsageWeeklyInternalServerError) IsRedirect() bool
- func (o *GetSensorUsageWeeklyInternalServerError) IsServerError() bool
- func (o *GetSensorUsageWeeklyInternalServerError) IsSuccess() bool
- func (o *GetSensorUsageWeeklyInternalServerError) String() string
- type GetSensorUsageWeeklyOK
- func (o *GetSensorUsageWeeklyOK) Code() int
- func (o *GetSensorUsageWeeklyOK) Error() string
- func (o *GetSensorUsageWeeklyOK) GetPayload() *models.APIWeeklyAverageResponse
- func (o *GetSensorUsageWeeklyOK) IsClientError() bool
- func (o *GetSensorUsageWeeklyOK) IsCode(code int) bool
- func (o *GetSensorUsageWeeklyOK) IsRedirect() bool
- func (o *GetSensorUsageWeeklyOK) IsServerError() bool
- func (o *GetSensorUsageWeeklyOK) IsSuccess() bool
- func (o *GetSensorUsageWeeklyOK) String() string
- type GetSensorUsageWeeklyParams
- func NewGetSensorUsageWeeklyParams() *GetSensorUsageWeeklyParams
- func NewGetSensorUsageWeeklyParamsWithContext(ctx context.Context) *GetSensorUsageWeeklyParams
- func NewGetSensorUsageWeeklyParamsWithHTTPClient(client *http.Client) *GetSensorUsageWeeklyParams
- func NewGetSensorUsageWeeklyParamsWithTimeout(timeout time.Duration) *GetSensorUsageWeeklyParams
- func (o *GetSensorUsageWeeklyParams) SetContext(ctx context.Context)
- func (o *GetSensorUsageWeeklyParams) SetDefaults()
- func (o *GetSensorUsageWeeklyParams) SetFilter(filter *string)
- func (o *GetSensorUsageWeeklyParams) SetHTTPClient(client *http.Client)
- func (o *GetSensorUsageWeeklyParams) SetTimeout(timeout time.Duration)
- func (o *GetSensorUsageWeeklyParams) WithContext(ctx context.Context) *GetSensorUsageWeeklyParams
- func (o *GetSensorUsageWeeklyParams) WithDefaults() *GetSensorUsageWeeklyParams
- func (o *GetSensorUsageWeeklyParams) WithFilter(filter *string) *GetSensorUsageWeeklyParams
- func (o *GetSensorUsageWeeklyParams) WithHTTPClient(client *http.Client) *GetSensorUsageWeeklyParams
- func (o *GetSensorUsageWeeklyParams) WithTimeout(timeout time.Duration) *GetSensorUsageWeeklyParams
- func (o *GetSensorUsageWeeklyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSensorUsageWeeklyReader
- type GetSensorUsageWeeklyTooManyRequests
- func (o *GetSensorUsageWeeklyTooManyRequests) Code() int
- func (o *GetSensorUsageWeeklyTooManyRequests) Error() string
- func (o *GetSensorUsageWeeklyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetSensorUsageWeeklyTooManyRequests) IsClientError() bool
- func (o *GetSensorUsageWeeklyTooManyRequests) IsCode(code int) bool
- func (o *GetSensorUsageWeeklyTooManyRequests) IsRedirect() bool
- func (o *GetSensorUsageWeeklyTooManyRequests) IsServerError() bool
- func (o *GetSensorUsageWeeklyTooManyRequests) IsSuccess() bool
- func (o *GetSensorUsageWeeklyTooManyRequests) 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 sensor usage api API
func (*Client) GetSensorUsageHourly ¶ added in v0.17.0
func (a *Client) GetSensorUsageHourly(params *GetSensorUsageHourlyParams, opts ...ClientOption) (*GetSensorUsageHourlyOK, error)
GetSensorUsageHourly fetches hourly average each data point represents the average of how many unique a i ds were seen per hour for the previous 28 days
func (*Client) GetSensorUsageWeekly ¶
func (a *Client) GetSensorUsageWeekly(params *GetSensorUsageWeeklyParams, opts ...ClientOption) (*GetSensorUsageWeeklyOK, error)
GetSensorUsageWeekly fetches weekly average each data point represents the average of how many unique a i ds were seen per week for the previous 28 days
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 {
GetSensorUsageHourly(params *GetSensorUsageHourlyParams, opts ...ClientOption) (*GetSensorUsageHourlyOK, error)
GetSensorUsageWeekly(params *GetSensorUsageWeeklyParams, opts ...ClientOption) (*GetSensorUsageWeeklyOK, 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 sensor usage api API client.
type GetSensorUsageHourlyBadRequest ¶ added in v0.17.0
type GetSensorUsageHourlyBadRequest 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.APIHourlyAverageResponse
}
GetSensorUsageHourlyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSensorUsageHourlyBadRequest ¶ added in v0.17.0
func NewGetSensorUsageHourlyBadRequest() *GetSensorUsageHourlyBadRequest
NewGetSensorUsageHourlyBadRequest creates a GetSensorUsageHourlyBadRequest with default headers values
func (*GetSensorUsageHourlyBadRequest) Code ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) Code() int
Code gets the status code for the get sensor usage hourly bad request response
func (*GetSensorUsageHourlyBadRequest) Error ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) Error() string
func (*GetSensorUsageHourlyBadRequest) GetPayload ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageHourlyBadRequest) IsClientError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) IsClientError() bool
IsClientError returns true when this get sensor usage hourly bad request response has a 4xx status code
func (*GetSensorUsageHourlyBadRequest) IsCode ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) IsCode(code int) bool
IsCode returns true when this get sensor usage hourly bad request response a status code equal to that given
func (*GetSensorUsageHourlyBadRequest) IsRedirect ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) IsRedirect() bool
IsRedirect returns true when this get sensor usage hourly bad request response has a 3xx status code
func (*GetSensorUsageHourlyBadRequest) IsServerError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) IsServerError() bool
IsServerError returns true when this get sensor usage hourly bad request response has a 5xx status code
func (*GetSensorUsageHourlyBadRequest) IsSuccess ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) IsSuccess() bool
IsSuccess returns true when this get sensor usage hourly bad request response has a 2xx status code
func (*GetSensorUsageHourlyBadRequest) String ¶ added in v0.17.0
func (o *GetSensorUsageHourlyBadRequest) String() string
type GetSensorUsageHourlyForbidden ¶ added in v0.17.0
type GetSensorUsageHourlyForbidden 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.APIHourlyAverageResponse
}
GetSensorUsageHourlyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSensorUsageHourlyForbidden ¶ added in v0.17.0
func NewGetSensorUsageHourlyForbidden() *GetSensorUsageHourlyForbidden
NewGetSensorUsageHourlyForbidden creates a GetSensorUsageHourlyForbidden with default headers values
func (*GetSensorUsageHourlyForbidden) Code ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) Code() int
Code gets the status code for the get sensor usage hourly forbidden response
func (*GetSensorUsageHourlyForbidden) Error ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) Error() string
func (*GetSensorUsageHourlyForbidden) GetPayload ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageHourlyForbidden) IsClientError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) IsClientError() bool
IsClientError returns true when this get sensor usage hourly forbidden response has a 4xx status code
func (*GetSensorUsageHourlyForbidden) IsCode ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) IsCode(code int) bool
IsCode returns true when this get sensor usage hourly forbidden response a status code equal to that given
func (*GetSensorUsageHourlyForbidden) IsRedirect ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) IsRedirect() bool
IsRedirect returns true when this get sensor usage hourly forbidden response has a 3xx status code
func (*GetSensorUsageHourlyForbidden) IsServerError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) IsServerError() bool
IsServerError returns true when this get sensor usage hourly forbidden response has a 5xx status code
func (*GetSensorUsageHourlyForbidden) IsSuccess ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) IsSuccess() bool
IsSuccess returns true when this get sensor usage hourly forbidden response has a 2xx status code
func (*GetSensorUsageHourlyForbidden) String ¶ added in v0.17.0
func (o *GetSensorUsageHourlyForbidden) String() string
type GetSensorUsageHourlyInternalServerError ¶ added in v0.17.0
type GetSensorUsageHourlyInternalServerError 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.APIHourlyAverageResponse
}
GetSensorUsageHourlyInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSensorUsageHourlyInternalServerError ¶ added in v0.17.0
func NewGetSensorUsageHourlyInternalServerError() *GetSensorUsageHourlyInternalServerError
NewGetSensorUsageHourlyInternalServerError creates a GetSensorUsageHourlyInternalServerError with default headers values
func (*GetSensorUsageHourlyInternalServerError) Code ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) Code() int
Code gets the status code for the get sensor usage hourly internal server error response
func (*GetSensorUsageHourlyInternalServerError) Error ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) Error() string
func (*GetSensorUsageHourlyInternalServerError) GetPayload ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageHourlyInternalServerError) IsClientError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) IsClientError() bool
IsClientError returns true when this get sensor usage hourly internal server error response has a 4xx status code
func (*GetSensorUsageHourlyInternalServerError) IsCode ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) IsCode(code int) bool
IsCode returns true when this get sensor usage hourly internal server error response a status code equal to that given
func (*GetSensorUsageHourlyInternalServerError) IsRedirect ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) IsRedirect() bool
IsRedirect returns true when this get sensor usage hourly internal server error response has a 3xx status code
func (*GetSensorUsageHourlyInternalServerError) IsServerError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) IsServerError() bool
IsServerError returns true when this get sensor usage hourly internal server error response has a 5xx status code
func (*GetSensorUsageHourlyInternalServerError) IsSuccess ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) IsSuccess() bool
IsSuccess returns true when this get sensor usage hourly internal server error response has a 2xx status code
func (*GetSensorUsageHourlyInternalServerError) String ¶ added in v0.17.0
func (o *GetSensorUsageHourlyInternalServerError) String() string
type GetSensorUsageHourlyOK ¶ added in v0.17.0
type GetSensorUsageHourlyOK 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.APIHourlyAverageResponse
}
GetSensorUsageHourlyOK describes a response with status code 200, with default header values.
OK
func NewGetSensorUsageHourlyOK ¶ added in v0.17.0
func NewGetSensorUsageHourlyOK() *GetSensorUsageHourlyOK
NewGetSensorUsageHourlyOK creates a GetSensorUsageHourlyOK with default headers values
func (*GetSensorUsageHourlyOK) Code ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) Code() int
Code gets the status code for the get sensor usage hourly o k response
func (*GetSensorUsageHourlyOK) Error ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) Error() string
func (*GetSensorUsageHourlyOK) GetPayload ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageHourlyOK) IsClientError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) IsClientError() bool
IsClientError returns true when this get sensor usage hourly o k response has a 4xx status code
func (*GetSensorUsageHourlyOK) IsCode ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) IsCode(code int) bool
IsCode returns true when this get sensor usage hourly o k response a status code equal to that given
func (*GetSensorUsageHourlyOK) IsRedirect ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) IsRedirect() bool
IsRedirect returns true when this get sensor usage hourly o k response has a 3xx status code
func (*GetSensorUsageHourlyOK) IsServerError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) IsServerError() bool
IsServerError returns true when this get sensor usage hourly o k response has a 5xx status code
func (*GetSensorUsageHourlyOK) IsSuccess ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) IsSuccess() bool
IsSuccess returns true when this get sensor usage hourly o k response has a 2xx status code
func (*GetSensorUsageHourlyOK) String ¶ added in v0.17.0
func (o *GetSensorUsageHourlyOK) String() string
type GetSensorUsageHourlyParams ¶ added in v0.17.0
type GetSensorUsageHourlyParams struct {
/* Filter.
The FQL search filter. Allowed fields:
"event_date" : A specified date that will be final date of the results returned. Specified date cannot be after the default.
Format: '2024-06-11'
Default: the current date, minus 2 days, in UTC
"period" : An integer surrounded by single quotes representing the number of days to return.
Format: '30'
Default: '28'
Minimum: '1'
Maximum: '395'
"selected_cids" : A comma separated list of CIDs to return data for. Caller must be a parent CID or have special access enabled.
Format: 'cid_1,cid_2,cid_3'
Default: for parent CIDs the default is the parent and all children, otherwise the current CID
*/
Filter *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetSensorUsageHourlyParams contains all the parameters to send to the API endpoint
for the get sensor usage hourly operation. Typically these are written to a http.Request.
func NewGetSensorUsageHourlyParams ¶ added in v0.17.0
func NewGetSensorUsageHourlyParams() *GetSensorUsageHourlyParams
NewGetSensorUsageHourlyParams creates a new GetSensorUsageHourlyParams 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 NewGetSensorUsageHourlyParamsWithContext ¶ added in v0.17.0
func NewGetSensorUsageHourlyParamsWithContext(ctx context.Context) *GetSensorUsageHourlyParams
NewGetSensorUsageHourlyParamsWithContext creates a new GetSensorUsageHourlyParams object with the ability to set a context for a request.
func NewGetSensorUsageHourlyParamsWithHTTPClient ¶ added in v0.17.0
func NewGetSensorUsageHourlyParamsWithHTTPClient(client *http.Client) *GetSensorUsageHourlyParams
NewGetSensorUsageHourlyParamsWithHTTPClient creates a new GetSensorUsageHourlyParams object with the ability to set a custom HTTPClient for a request.
func NewGetSensorUsageHourlyParamsWithTimeout ¶ added in v0.17.0
func NewGetSensorUsageHourlyParamsWithTimeout(timeout time.Duration) *GetSensorUsageHourlyParams
NewGetSensorUsageHourlyParamsWithTimeout creates a new GetSensorUsageHourlyParams object with the ability to set a timeout on a request.
func (*GetSensorUsageHourlyParams) SetContext ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) SetContext(ctx context.Context)
SetContext adds the context to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) SetDefaults ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) SetDefaults()
SetDefaults hydrates default values in the get sensor usage hourly params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorUsageHourlyParams) SetFilter ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) SetFilter(filter *string)
SetFilter adds the filter to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) SetHTTPClient ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) SetTimeout ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) WithContext ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) WithContext(ctx context.Context) *GetSensorUsageHourlyParams
WithContext adds the context to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) WithDefaults ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) WithDefaults() *GetSensorUsageHourlyParams
WithDefaults hydrates default values in the get sensor usage hourly params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorUsageHourlyParams) WithFilter ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) WithFilter(filter *string) *GetSensorUsageHourlyParams
WithFilter adds the filter to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) WithHTTPClient ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) WithHTTPClient(client *http.Client) *GetSensorUsageHourlyParams
WithHTTPClient adds the HTTPClient to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) WithTimeout ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) WithTimeout(timeout time.Duration) *GetSensorUsageHourlyParams
WithTimeout adds the timeout to the get sensor usage hourly params
func (*GetSensorUsageHourlyParams) WriteToRequest ¶ added in v0.17.0
func (o *GetSensorUsageHourlyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSensorUsageHourlyReader ¶ added in v0.17.0
type GetSensorUsageHourlyReader struct {
// contains filtered or unexported fields
}
GetSensorUsageHourlyReader is a Reader for the GetSensorUsageHourly structure.
func (*GetSensorUsageHourlyReader) ReadResponse ¶ added in v0.17.0
func (o *GetSensorUsageHourlyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSensorUsageHourlyTooManyRequests ¶ added in v0.17.0
type GetSensorUsageHourlyTooManyRequests 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
}
GetSensorUsageHourlyTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSensorUsageHourlyTooManyRequests ¶ added in v0.17.0
func NewGetSensorUsageHourlyTooManyRequests() *GetSensorUsageHourlyTooManyRequests
NewGetSensorUsageHourlyTooManyRequests creates a GetSensorUsageHourlyTooManyRequests with default headers values
func (*GetSensorUsageHourlyTooManyRequests) Code ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) Code() int
Code gets the status code for the get sensor usage hourly too many requests response
func (*GetSensorUsageHourlyTooManyRequests) Error ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) Error() string
func (*GetSensorUsageHourlyTooManyRequests) GetPayload ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorUsageHourlyTooManyRequests) IsClientError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) IsClientError() bool
IsClientError returns true when this get sensor usage hourly too many requests response has a 4xx status code
func (*GetSensorUsageHourlyTooManyRequests) IsCode ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) IsCode(code int) bool
IsCode returns true when this get sensor usage hourly too many requests response a status code equal to that given
func (*GetSensorUsageHourlyTooManyRequests) IsRedirect ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get sensor usage hourly too many requests response has a 3xx status code
func (*GetSensorUsageHourlyTooManyRequests) IsServerError ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) IsServerError() bool
IsServerError returns true when this get sensor usage hourly too many requests response has a 5xx status code
func (*GetSensorUsageHourlyTooManyRequests) IsSuccess ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get sensor usage hourly too many requests response has a 2xx status code
func (*GetSensorUsageHourlyTooManyRequests) String ¶ added in v0.17.0
func (o *GetSensorUsageHourlyTooManyRequests) String() string
type GetSensorUsageWeeklyBadRequest ¶
type GetSensorUsageWeeklyBadRequest 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.APIHourlyAverageResponse
}
GetSensorUsageWeeklyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSensorUsageWeeklyBadRequest ¶
func NewGetSensorUsageWeeklyBadRequest() *GetSensorUsageWeeklyBadRequest
NewGetSensorUsageWeeklyBadRequest creates a GetSensorUsageWeeklyBadRequest with default headers values
func (*GetSensorUsageWeeklyBadRequest) Code ¶
func (o *GetSensorUsageWeeklyBadRequest) Code() int
Code gets the status code for the get sensor usage weekly bad request response
func (*GetSensorUsageWeeklyBadRequest) Error ¶
func (o *GetSensorUsageWeeklyBadRequest) Error() string
func (*GetSensorUsageWeeklyBadRequest) GetPayload ¶
func (o *GetSensorUsageWeeklyBadRequest) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageWeeklyBadRequest) IsClientError ¶
func (o *GetSensorUsageWeeklyBadRequest) IsClientError() bool
IsClientError returns true when this get sensor usage weekly bad request response has a 4xx status code
func (*GetSensorUsageWeeklyBadRequest) IsCode ¶
func (o *GetSensorUsageWeeklyBadRequest) IsCode(code int) bool
IsCode returns true when this get sensor usage weekly bad request response a status code equal to that given
func (*GetSensorUsageWeeklyBadRequest) IsRedirect ¶
func (o *GetSensorUsageWeeklyBadRequest) IsRedirect() bool
IsRedirect returns true when this get sensor usage weekly bad request response has a 3xx status code
func (*GetSensorUsageWeeklyBadRequest) IsServerError ¶
func (o *GetSensorUsageWeeklyBadRequest) IsServerError() bool
IsServerError returns true when this get sensor usage weekly bad request response has a 5xx status code
func (*GetSensorUsageWeeklyBadRequest) IsSuccess ¶
func (o *GetSensorUsageWeeklyBadRequest) IsSuccess() bool
IsSuccess returns true when this get sensor usage weekly bad request response has a 2xx status code
func (*GetSensorUsageWeeklyBadRequest) String ¶
func (o *GetSensorUsageWeeklyBadRequest) String() string
type GetSensorUsageWeeklyForbidden ¶
type GetSensorUsageWeeklyForbidden 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.APIHourlyAverageResponse
}
GetSensorUsageWeeklyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSensorUsageWeeklyForbidden ¶
func NewGetSensorUsageWeeklyForbidden() *GetSensorUsageWeeklyForbidden
NewGetSensorUsageWeeklyForbidden creates a GetSensorUsageWeeklyForbidden with default headers values
func (*GetSensorUsageWeeklyForbidden) Code ¶
func (o *GetSensorUsageWeeklyForbidden) Code() int
Code gets the status code for the get sensor usage weekly forbidden response
func (*GetSensorUsageWeeklyForbidden) Error ¶
func (o *GetSensorUsageWeeklyForbidden) Error() string
func (*GetSensorUsageWeeklyForbidden) GetPayload ¶
func (o *GetSensorUsageWeeklyForbidden) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageWeeklyForbidden) IsClientError ¶
func (o *GetSensorUsageWeeklyForbidden) IsClientError() bool
IsClientError returns true when this get sensor usage weekly forbidden response has a 4xx status code
func (*GetSensorUsageWeeklyForbidden) IsCode ¶
func (o *GetSensorUsageWeeklyForbidden) IsCode(code int) bool
IsCode returns true when this get sensor usage weekly forbidden response a status code equal to that given
func (*GetSensorUsageWeeklyForbidden) IsRedirect ¶
func (o *GetSensorUsageWeeklyForbidden) IsRedirect() bool
IsRedirect returns true when this get sensor usage weekly forbidden response has a 3xx status code
func (*GetSensorUsageWeeklyForbidden) IsServerError ¶
func (o *GetSensorUsageWeeklyForbidden) IsServerError() bool
IsServerError returns true when this get sensor usage weekly forbidden response has a 5xx status code
func (*GetSensorUsageWeeklyForbidden) IsSuccess ¶
func (o *GetSensorUsageWeeklyForbidden) IsSuccess() bool
IsSuccess returns true when this get sensor usage weekly forbidden response has a 2xx status code
func (*GetSensorUsageWeeklyForbidden) String ¶
func (o *GetSensorUsageWeeklyForbidden) String() string
type GetSensorUsageWeeklyInternalServerError ¶
type GetSensorUsageWeeklyInternalServerError 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.APIHourlyAverageResponse
}
GetSensorUsageWeeklyInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSensorUsageWeeklyInternalServerError ¶
func NewGetSensorUsageWeeklyInternalServerError() *GetSensorUsageWeeklyInternalServerError
NewGetSensorUsageWeeklyInternalServerError creates a GetSensorUsageWeeklyInternalServerError with default headers values
func (*GetSensorUsageWeeklyInternalServerError) Code ¶
func (o *GetSensorUsageWeeklyInternalServerError) Code() int
Code gets the status code for the get sensor usage weekly internal server error response
func (*GetSensorUsageWeeklyInternalServerError) Error ¶
func (o *GetSensorUsageWeeklyInternalServerError) Error() string
func (*GetSensorUsageWeeklyInternalServerError) GetPayload ¶
func (o *GetSensorUsageWeeklyInternalServerError) GetPayload() *models.APIHourlyAverageResponse
func (*GetSensorUsageWeeklyInternalServerError) IsClientError ¶
func (o *GetSensorUsageWeeklyInternalServerError) IsClientError() bool
IsClientError returns true when this get sensor usage weekly internal server error response has a 4xx status code
func (*GetSensorUsageWeeklyInternalServerError) IsCode ¶
func (o *GetSensorUsageWeeklyInternalServerError) IsCode(code int) bool
IsCode returns true when this get sensor usage weekly internal server error response a status code equal to that given
func (*GetSensorUsageWeeklyInternalServerError) IsRedirect ¶
func (o *GetSensorUsageWeeklyInternalServerError) IsRedirect() bool
IsRedirect returns true when this get sensor usage weekly internal server error response has a 3xx status code
func (*GetSensorUsageWeeklyInternalServerError) IsServerError ¶
func (o *GetSensorUsageWeeklyInternalServerError) IsServerError() bool
IsServerError returns true when this get sensor usage weekly internal server error response has a 5xx status code
func (*GetSensorUsageWeeklyInternalServerError) IsSuccess ¶
func (o *GetSensorUsageWeeklyInternalServerError) IsSuccess() bool
IsSuccess returns true when this get sensor usage weekly internal server error response has a 2xx status code
func (*GetSensorUsageWeeklyInternalServerError) String ¶
func (o *GetSensorUsageWeeklyInternalServerError) String() string
type GetSensorUsageWeeklyOK ¶
type GetSensorUsageWeeklyOK 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.APIWeeklyAverageResponse
}
GetSensorUsageWeeklyOK describes a response with status code 200, with default header values.
OK
func NewGetSensorUsageWeeklyOK ¶
func NewGetSensorUsageWeeklyOK() *GetSensorUsageWeeklyOK
NewGetSensorUsageWeeklyOK creates a GetSensorUsageWeeklyOK with default headers values
func (*GetSensorUsageWeeklyOK) Code ¶
func (o *GetSensorUsageWeeklyOK) Code() int
Code gets the status code for the get sensor usage weekly o k response
func (*GetSensorUsageWeeklyOK) Error ¶
func (o *GetSensorUsageWeeklyOK) Error() string
func (*GetSensorUsageWeeklyOK) GetPayload ¶
func (o *GetSensorUsageWeeklyOK) GetPayload() *models.APIWeeklyAverageResponse
func (*GetSensorUsageWeeklyOK) IsClientError ¶
func (o *GetSensorUsageWeeklyOK) IsClientError() bool
IsClientError returns true when this get sensor usage weekly o k response has a 4xx status code
func (*GetSensorUsageWeeklyOK) IsCode ¶
func (o *GetSensorUsageWeeklyOK) IsCode(code int) bool
IsCode returns true when this get sensor usage weekly o k response a status code equal to that given
func (*GetSensorUsageWeeklyOK) IsRedirect ¶
func (o *GetSensorUsageWeeklyOK) IsRedirect() bool
IsRedirect returns true when this get sensor usage weekly o k response has a 3xx status code
func (*GetSensorUsageWeeklyOK) IsServerError ¶
func (o *GetSensorUsageWeeklyOK) IsServerError() bool
IsServerError returns true when this get sensor usage weekly o k response has a 5xx status code
func (*GetSensorUsageWeeklyOK) IsSuccess ¶
func (o *GetSensorUsageWeeklyOK) IsSuccess() bool
IsSuccess returns true when this get sensor usage weekly o k response has a 2xx status code
func (*GetSensorUsageWeeklyOK) String ¶
func (o *GetSensorUsageWeeklyOK) String() string
type GetSensorUsageWeeklyParams ¶
type GetSensorUsageWeeklyParams struct {
/* Filter.
The FQL search filter. Allowed fields:
"event_date" : A specified date that will be final date of the results returned. Specified date cannot be after the default.
Format: '2024-06-11'
Default: the current date, minus 2 days, in UTC
"period" : An integer surrounded by single quotes representing the number of days to return.
Format: '30'
Default: '28'
Minimum: '1'
Maximum: '395'
"selected_cids" : A comma separated list of CIDs to return data for. Caller must be a parent CID or have special access enabled.
Format: 'cid_1,cid_2,cid_3'
Default: for parent CIDs the default is the parent and all children, otherwise the current CID
*/
Filter *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetSensorUsageWeeklyParams contains all the parameters to send to the API endpoint
for the get sensor usage weekly operation. Typically these are written to a http.Request.
func NewGetSensorUsageWeeklyParams ¶
func NewGetSensorUsageWeeklyParams() *GetSensorUsageWeeklyParams
NewGetSensorUsageWeeklyParams creates a new GetSensorUsageWeeklyParams 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 NewGetSensorUsageWeeklyParamsWithContext ¶
func NewGetSensorUsageWeeklyParamsWithContext(ctx context.Context) *GetSensorUsageWeeklyParams
NewGetSensorUsageWeeklyParamsWithContext creates a new GetSensorUsageWeeklyParams object with the ability to set a context for a request.
func NewGetSensorUsageWeeklyParamsWithHTTPClient ¶
func NewGetSensorUsageWeeklyParamsWithHTTPClient(client *http.Client) *GetSensorUsageWeeklyParams
NewGetSensorUsageWeeklyParamsWithHTTPClient creates a new GetSensorUsageWeeklyParams object with the ability to set a custom HTTPClient for a request.
func NewGetSensorUsageWeeklyParamsWithTimeout ¶
func NewGetSensorUsageWeeklyParamsWithTimeout(timeout time.Duration) *GetSensorUsageWeeklyParams
NewGetSensorUsageWeeklyParamsWithTimeout creates a new GetSensorUsageWeeklyParams object with the ability to set a timeout on a request.
func (*GetSensorUsageWeeklyParams) SetContext ¶
func (o *GetSensorUsageWeeklyParams) SetContext(ctx context.Context)
SetContext adds the context to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) SetDefaults ¶
func (o *GetSensorUsageWeeklyParams) SetDefaults()
SetDefaults hydrates default values in the get sensor usage weekly params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorUsageWeeklyParams) SetFilter ¶
func (o *GetSensorUsageWeeklyParams) SetFilter(filter *string)
SetFilter adds the filter to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) SetHTTPClient ¶
func (o *GetSensorUsageWeeklyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) SetTimeout ¶
func (o *GetSensorUsageWeeklyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) WithContext ¶
func (o *GetSensorUsageWeeklyParams) WithContext(ctx context.Context) *GetSensorUsageWeeklyParams
WithContext adds the context to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) WithDefaults ¶
func (o *GetSensorUsageWeeklyParams) WithDefaults() *GetSensorUsageWeeklyParams
WithDefaults hydrates default values in the get sensor usage weekly params (not the query body).
All values with no default are reset to their zero value.
func (*GetSensorUsageWeeklyParams) WithFilter ¶
func (o *GetSensorUsageWeeklyParams) WithFilter(filter *string) *GetSensorUsageWeeklyParams
WithFilter adds the filter to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) WithHTTPClient ¶
func (o *GetSensorUsageWeeklyParams) WithHTTPClient(client *http.Client) *GetSensorUsageWeeklyParams
WithHTTPClient adds the HTTPClient to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) WithTimeout ¶
func (o *GetSensorUsageWeeklyParams) WithTimeout(timeout time.Duration) *GetSensorUsageWeeklyParams
WithTimeout adds the timeout to the get sensor usage weekly params
func (*GetSensorUsageWeeklyParams) WriteToRequest ¶
func (o *GetSensorUsageWeeklyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSensorUsageWeeklyReader ¶
type GetSensorUsageWeeklyReader struct {
// contains filtered or unexported fields
}
GetSensorUsageWeeklyReader is a Reader for the GetSensorUsageWeekly structure.
func (*GetSensorUsageWeeklyReader) ReadResponse ¶
func (o *GetSensorUsageWeeklyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSensorUsageWeeklyTooManyRequests ¶
type GetSensorUsageWeeklyTooManyRequests 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
}
GetSensorUsageWeeklyTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSensorUsageWeeklyTooManyRequests ¶
func NewGetSensorUsageWeeklyTooManyRequests() *GetSensorUsageWeeklyTooManyRequests
NewGetSensorUsageWeeklyTooManyRequests creates a GetSensorUsageWeeklyTooManyRequests with default headers values
func (*GetSensorUsageWeeklyTooManyRequests) Code ¶
func (o *GetSensorUsageWeeklyTooManyRequests) Code() int
Code gets the status code for the get sensor usage weekly too many requests response
func (*GetSensorUsageWeeklyTooManyRequests) Error ¶
func (o *GetSensorUsageWeeklyTooManyRequests) Error() string
func (*GetSensorUsageWeeklyTooManyRequests) GetPayload ¶
func (o *GetSensorUsageWeeklyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetSensorUsageWeeklyTooManyRequests) IsClientError ¶
func (o *GetSensorUsageWeeklyTooManyRequests) IsClientError() bool
IsClientError returns true when this get sensor usage weekly too many requests response has a 4xx status code
func (*GetSensorUsageWeeklyTooManyRequests) IsCode ¶
func (o *GetSensorUsageWeeklyTooManyRequests) IsCode(code int) bool
IsCode returns true when this get sensor usage weekly too many requests response a status code equal to that given
func (*GetSensorUsageWeeklyTooManyRequests) IsRedirect ¶
func (o *GetSensorUsageWeeklyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get sensor usage weekly too many requests response has a 3xx status code
func (*GetSensorUsageWeeklyTooManyRequests) IsServerError ¶
func (o *GetSensorUsageWeeklyTooManyRequests) IsServerError() bool
IsServerError returns true when this get sensor usage weekly too many requests response has a 5xx status code
func (*GetSensorUsageWeeklyTooManyRequests) IsSuccess ¶
func (o *GetSensorUsageWeeklyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get sensor usage weekly too many requests response has a 2xx status code
func (*GetSensorUsageWeeklyTooManyRequests) String ¶
func (o *GetSensorUsageWeeklyTooManyRequests) String() string