models.view_user_quotas module

class models.view_user_quotas.ViewUserQuotas(cookie=None, quota_and_usage_in_all_views=None, summary_for_user=None, summary_for_view=None, user_quota_settings=None, users_quota_and_usage=None)[source]

Bases: object

Implementation of the ‘ViewUserQuotas’ model.

Specifies the Result parameters for all user quotas of a view.

Attributes:
cookie (string): This cookie can be used in the succeeding call to

list user quotas and usages to get the next set of user quota overrides. If set to nil, it means that there’s no more results that the server could provide.

quota_and_usage_in_all_views (list of QuotaAndUsageInView): The quota

and usage information for a user in all his views.

summary_for_user (UserQuotaSummaryForUser): UserQuotaSummaryForUser is

the summary for user quotas in all views for a user.

summary_for_view (UserQuotaSummaryForView): UserQuotaSummaryForView is

the summary for user quotas in a view.

user_quota_settings (UserQuotaSettings): The default user quota policy

for this view.

users_quota_and_usage (list of UserQuotaAndUsage): The list of user

quota policies/overrides and usages.

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.