models.schema_info module

class models.schema_info.SchemaInfo(entity_id=None, key=None, metric_name=None, schema_name=None)[source]

Bases: object

Implementation of the ‘SchemaInfo’ model.

Specifies the metric data point where public data metric name as key and the schema defined metric name as a value.

Attributes:
entity_id (string): Specifies the id of the entity represented as a

string.

key (string): Specifies the key which is public facing name for metric

name.

metric_name (string): Specifies the Apollo schema metric name. schema_name (string): Specifies the name of entity schema such as

‘ApolloViewBoxStats’.

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.