models.cluster_config_proto_qo_s_mapping_qo_s_context module

class models.cluster_config_proto_qo_s_mapping_qo_s_context.ClusterConfigProtoQoSMappingQoSContext(component=None, priority=None, mtype=None, view_box_id=None, view_id=None)[source]

Bases: object

Implementation of the ‘ClusterConfigProto_QoSMapping_QoSContext’ model.

QoSContext captures the properties that are relevant for QoS in a request. If a new field is added to QoSContext, cluster_config.h should be changed to enhance the hasher (QoSContextHash) and comparator (QoSContextEqual) for QoSContext.

Attributes:

component (int): Component from which request is coming. priority (int): Priority of a request. mtype (int): TODO: type description here. view_box_id (long|int): View box id of a request. view_id (long|int): View id of a request.

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.