models.view_protocol_stats module

class models.view_protocol_stats.ViewProtocolStats(protocols=None, size_bytes=None, view_count=None)[source]

Bases: object

Implementation of the ‘ViewProtocolStats’ model.

Specifies the View Protocol stats.

Attributes:
protocols (list of ProtocolViewProtocolStatsEnum): Specifies the

protocols supported on these Views.

size_bytes (long|int): Specifies the size of all the Views in bytes

which are using the specified protocol.

view_count (long|int): Specifies the number of Views which are using

the specified protocol.

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.