models.entity_schema_proto_attributes_descriptor module

class models.entity_schema_proto_attributes_descriptor.EntitySchemaProtoAttributesDescriptor(attribute_vec=None, key_attribute_name_index=None)[source]

Bases: object

Implementation of the ‘EntitySchemaProto_AttributesDescriptor’ model.

Specifies a list of attributes about an entity.

Attributes:
attribute_vec (list of EntitySchemaProtoKeyValueDescriptor): Array of

Attributes. List of attributes about an entity.

key_attribute_name_index (int): Specifies the attribute to use as a

unique identifier for the entity. This value is returned in entityId when the GET public/statistics/entities operation is run.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.