timeseries.models package

Submodules

timeseries.models.badrequest module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class Badrequest(id=None, message=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'id': 'id', 'message': 'message'}
attribute_types = {'id': 'str', 'message': 'str'}
id

Gets the id of this Badrequest.

Returns:The id of this Badrequest.
Return type:str
message

Gets the message of this Badrequest.

Returns:The message of this Badrequest.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.delete_timeseries_request module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class DeleteTimeseriesRequest(_from=None, to=None, entity=None, propertysetname=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
_from

Gets the _from of this DeleteTimeseriesRequest.

Returns:The _from of this DeleteTimeseriesRequest.
Return type:str
attribute_map = {'_from': 'from', 'entity': 'entity', 'propertysetname': 'propertysetname', 'to': 'to'}
attribute_types = {'_from': 'str', 'entity': 'str', 'propertysetname': 'str', 'to': 'str'}
entity

Gets the entity of this DeleteTimeseriesRequest.

Returns:The entity of this DeleteTimeseriesRequest.
Return type:str
propertysetname

Gets the propertysetname of this DeleteTimeseriesRequest.

Returns:The propertysetname of this DeleteTimeseriesRequest.
Return type:str
to

Gets the to of this DeleteTimeseriesRequest.

Returns:The to of this DeleteTimeseriesRequest.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.error module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class Error(id=None, message=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'id': 'id', 'message': 'message'}
attribute_types = {'id': 'str', 'message': 'str'}
id

Gets the id of this Error.

Returns:The id of this Error.
Return type:str
message

Gets the message of this Error.

Returns:The message of this Error.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.get_timeseries_request module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class GetTimeseriesRequest(select=None, limit=None, _from=None, to=None, sort=None, entity=None, propertysetname=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
_from

Gets the _from of this GetTimeseriesRequest.

Returns:The _from of this GetTimeseriesRequest.
Return type:str
attribute_map = {'_from': 'from', 'entity': 'entity', 'limit': 'limit', 'propertysetname': 'propertysetname', 'select': 'select', 'sort': 'sort', 'to': 'to'}
attribute_types = {'_from': 'str', 'entity': 'str', 'limit': 'int', 'propertysetname': 'str', 'select': 'str', 'sort': 'str', 'to': 'str'}
entity

Gets the entity of this GetTimeseriesRequest.

Returns:The entity of this GetTimeseriesRequest.
Return type:str
limit

Gets the limit of this GetTimeseriesRequest.

Returns:The limit of this GetTimeseriesRequest.
Return type:int
propertysetname

Gets the propertysetname of this GetTimeseriesRequest.

Returns:The propertysetname of this GetTimeseriesRequest.
Return type:str
select

Gets the select of this GetTimeseriesRequest.

Returns:The select of this GetTimeseriesRequest.
Return type:str
sort

Gets the sort of this GetTimeseriesRequest.

Returns:The sort of this GetTimeseriesRequest.
Return type:str
to

Gets the to of this GetTimeseriesRequest.

Returns:The to of this GetTimeseriesRequest.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.notfound module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class Notfound(id=None, message=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'id': 'id', 'message': 'message'}
attribute_types = {'id': 'str', 'message': 'str'}
id

Gets the id of this Notfound.

Returns:The id of this Notfound.
Return type:str
message

Gets the message of this Notfound.

Returns:The message of this Notfound.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.put_timeseries_request module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class PutTimeseriesRequest(timeseries=None, entity=None, propertysetname=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'entity': 'entity', 'propertysetname': 'propertysetname', 'timeseries': 'timeseries'}
attribute_types = {'entity': 'str', 'propertysetname': 'str', 'timeseries': 'list[Timeseries]'}
entity

Gets the entity of this PutTimeseriesRequest.

Returns:The entity of this PutTimeseriesRequest.
Return type:str
propertysetname

Gets the propertysetname of this PutTimeseriesRequest.

Returns:The propertysetname of this PutTimeseriesRequest.
Return type:str
timeseries

Gets the timeseries of this PutTimeseriesRequest.

Returns:The timeseries of this PutTimeseriesRequest.
Return type:list[Timeseries]
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.timeseries module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class Timeseries(time=None, fields=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'fields': 'fields', 'time': '_time'}
attribute_types = {'fields': 'dict(str, object)', 'time': 'str'}
fields

Gets the fields of this Timeseries.

Returns:The fields of this Timeseries.
Return type:dict(str, object)
time

Gets the time of this Timeseries.

Returns:The time of this Timeseries.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.toomanyrequests module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class Toomanyrequests(id=None, message=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'id': 'id', 'message': 'message'}
attribute_types = {'id': 'str', 'message': 'str'}
id

Gets the id of this Toomanyrequests.

Returns:The id of this Toomanyrequests.
Return type:str
message

Gets the message of this Toomanyrequests.

Returns:The message of this Toomanyrequests.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

timeseries.models.unauthorized module

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501

class Unauthorized(id=None, message=None)[source]

Bases: object

Attributes:
attribute_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {'id': 'id', 'message': 'message'}
attribute_types = {'id': 'str', 'message': 'str'}
id

Gets the id of this Unauthorized.

Returns:The id of this Unauthorized.
Return type:str
message

Gets the message of this Unauthorized.

Returns:The message of this Unauthorized.
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

Module contents

IoT Time Series API

Store and query time series data with a precision of 1 millisecond. # noqa: E501