here.content.hmc2.environmental_zones module#

Bindings for the HMC Rules & Regulations - Environmental Zones.

class here.content.hmc2.environmental_zones.EnvironmentalZones(content: Content, layer_id: str, adapter: Adapter | None = None, layer_type: LayerType | None = None)[source]#

Bases: SingleLayerBinding

Bindings for the HMC Rules & Regulations - Environmental Zones.

classmethod object_types() Mapping[str, type][source]#
Returns:

the types of attributes supported by this binding

classmethod parse_and_index(partition_id: str, msg: Message) ContentPartition[source]#

Parse and index decoded message.

Parameters:
  • partition_id – identifier of the partition

  • msg – decoded content from the layer, in the form of a Protobuf message

Returns:

the content of a partition parsed and indexed in its own data structure

classmethod schema_hrn() List[str][source]#
Returns:

the HRN of schema this binding can parse and index

class here.content.hmc2.environmental_zones.Zone(identifier: Identifier, name: List[DecodedMessage], info: DecodedMessage, vehicle_class: List[DecodedMessage], environmental_badge: List[DecodedMessage], location_ref: List[Ref])[source]#

Bases: object

Environmental Zone

environmental_badge: List[DecodedMessage]#
identifier: Identifier#
indexer = ContentIndexer(partition=None, identifier='identifier', refs={'location': 'location_ref'})#
info: DecodedMessage#
location_ref: List[Ref]#
name: List[DecodedMessage]#
vehicle_class: List[DecodedMessage]#