dropbox.users_common – Users Common

This namespace contains common data types used within the users namespace.

class dropbox.users_common.AccountType(tag, value=None)

Bases: stone.backends.python_rsrc.stone_base.Union

What type of account this user has.

This class acts as a tagged union. Only one of the is_* methods will return true. To get the associated value of a tag (if one exists), use the corresponding get_* method.

basic = AccountType(u'basic', None)
business = AccountType(u'business', None)

Check if the union tag is basic.

Return type:bool

Check if the union tag is business.

Return type:bool

Check if the union tag is pro.

Return type:bool
pro = AccountType(u'pro', None)