filip.models package
Subpackages
- filip.models.ngsi_ld package
- filip.models.ngsi_v2 package
- Submodules
- filip.models.ngsi_v2.base module
- filip.models.ngsi_v2.context module
ActionType
Command
ContextAttribute
ContextEntity
ContextEntity.id
ContextEntity.type
ContextEntity.add_attributes()
ContextEntity.check_attributes
ContextEntity.check_attributes_after
ContextEntity.delete_attributes()
ContextEntity.get_attribute()
ContextEntity.get_attribute_names()
ContextEntity.get_attributes()
ContextEntity.get_command_triple()
ContextEntity.get_commands()
ContextEntity.get_properties()
ContextEntity.get_relationships()
ContextEntity.update_attribute()
ContextEntityKeyValues
GetEntitiesOptions
NamedCommand
NamedContextAttribute
PropertyFormat
Query
Update
- filip.models.ngsi_v2.iot module
Device
Device.attributes
Device.commands
Device.device_id
Device.entity_name
Device.entity_type
Device.internal_attributes
Device.lazy
Device.ngsiVersion
Device.service
Device.service_path
Device.static_attributes
Device.add_attribute()
Device.add_command()
Device.delete_attribute()
Device.delete_command()
Device.get_attribute()
Device.get_command()
Device.update_attribute()
Device.update_command()
Device.validate_device_attributes_expression
Device.validate_device_attributes_name_object_id
Device.validate_duplicated_device_attributes
Device.validate_timezone
DeviceAttribute
DeviceCommand
DeviceSettings
ExpressionLanguage
IoTABaseAttribute
LazyDeviceAttribute
PayloadProtocol
ServiceGroup
ServiceGroup.apikey
ServiceGroup.attributes
ServiceGroup.autoprovision
ServiceGroup.cbHost
ServiceGroup.commands
ServiceGroup.defaultEntityNameConjunction
ServiceGroup.entity_type
ServiceGroup.explicitAttrs
ServiceGroup.expressionLanguage
ServiceGroup.internal_attributes
ServiceGroup.lazy
ServiceGroup.ngsiVersion
ServiceGroup.resource
ServiceGroup.service
ServiceGroup.static_attributes
ServiceGroup.subservice
ServiceGroup.timestamp
ServiceGroup.trust
ServiceGroup.valid_expressionLanguage()
ServiceGroup.validate_cbHost
StaticDeviceAttribute
TransportProtocol
- filip.models.ngsi_v2.registrations module
- filip.models.ngsi_v2.subscriptions module
Condition
HttpCustom
HttpMethods
Message
Mqtt
MqttCustom
NgsiPayload
NgsiPayloadAttr
Notification
Notification.attrs
Notification.attrsFormat
Notification.covered
Notification.exceptAttrs
Notification.http
Notification.httpCustom
Notification.metadata
Notification.mqtt
Notification.mqttCustom
Notification.onlyChangedAttrs
Notification.timesSent
Notification.validate_attr
Notification.validate_covered_attrs
Notification.validate_endpoints
Notification.validate_http
Response
Subject
Subscription
- filip.models.ngsi_v2.timeseries module
- filip.models.ngsi_v2.units module
- Module contents
Submodules
filip.models.base module
Shared data models
- class filip.models.base.DataType(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
str
,Enum
When possible reuse schema.org data types (Text, Number, DateTime, StructuredValue, etc.). Remember that null is not allowed in NGSI-LD and therefore should be avoided as a value.
- ARRAY = 'Array'
- BOOLEAN = 'Boolean'
- COMMAND = 'command'
- COMMAND_RESULT = 'commandResult'
- COMMAND_STATUS = 'commandStatus'
- DATE = 'Date'
- DATETIME = 'DateTime'
- FLOAT = 'Float'
- GEOJSON = 'geo:json'
- INTEGER = 'Integer'
- NUMBER = 'Number'
- OBJECT = 'Object'
- RELATIONSHIP = 'Relationship'
- STRUCTUREDVALUE = 'StructuredValue'
- TEXT = 'Text'
- TIME = 'Time'
- pydantic model filip.models.base.FiwareHeader[source]
Bases:
BaseModel
Define entity service paths which are supported by the NGSI Context Brokers to support hierarchical scopes: https://fiware-orion.readthedocs.io/en/master/user/service_path/index.html
- Config:
populate_by_name: bool = True
validate_assignment: bool = True
- Fields:
- Validators:
wrapper
»service
wrapper
»service_path
- pydantic model filip.models.base.FiwareHeaderSecure[source]
Bases:
FiwareHeader
Defines entity service paths and an authorization via Bearer-Token which are supported by the NGSI Context Brokers to support hierarchical scopes: https://fiware-orion.readthedocs.io/en/master/user/service_path/index.html
- Config:
populate_by_name: bool = True
validate_assignment: bool = True
- Fields:
- Validators:
- class filip.models.base.LogLevel(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
str
,Enum
An enumeration.
- CRITICAL = 'CRITICAL'
- DEBUG = 'DEBUG'
- ERROR = 'ERROR'
- INFO = 'INFO'
- NOTSET = 'NOTSET'
- WARNING = 'WARNING'
- class filip.models.base.NgsiVersion(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
str
,Enum
Version of NGSI-Specification that should be used within the target system. .. note:: Currently, the library only supports functionality for NGSI-v2
- ld = 'ld'
- v2 = 'v2'
filip.models.mqtt module
Module contains models for MQTT communication with FIWARE’s IoT-Agents.