here.content.hmc2.address_attributes module

here.content.hmc2.address_attributes module

Bindings for the HMC Address Attributes

class here.content.hmc2.address_attributes.AddressAttributes(content: Content, layer_id: str, adapter: Adapter | None = None, layer_type: LayerType | None = None)
Bases: BaseAttributesBinding

Bindings for the HMC Address Attributes.

classmethod object_types() Mapping[str, type]
Returns:
the types of attributes supported by this binding

classmethod parse_and_index(partition_id: str, msg: Message) ContentPartition
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]
Returns:
the HRN of schema this binding can parse and index

class here.content.hmc2.address_attributes.PostalCode(identifier: Identifier, postal_code: str, type: int, display: DecodedMessage)
Bases: object

Postal Code Details.

display: DecodedMessage

identifier: Identifier

postal_code: str

type: int