models.user_quota_summary_for_user module

class models.user_quota_summary_for_user.UserQuotaSummaryForUser(num_views_above_alert_threshold=None, num_views_above_hard_limit=None, total_num_views=None)[source]

Bases: object

Implementation of the ‘UserQuotaSummaryForUser’ model.

Speifies the summary of quota information for a particular user.

Attributes:
num_views_above_alert_threshold (int): Number of views in which user

has exceeded alert threshold limit.

num_views_above_hard_limit (int): Number of views in which the user

has exceeded hard limit.

total_num_views (int): Total number of views in which the user has a

quota policy specified or has non-zero usage.

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.