dropbox.team_common – Team Common

class dropbox.team_common.GroupManagementType(tag, value=None)

Bases: dropbox.stone_base.Union

The group type determines how a group is managed.

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.

Variables:
company_managed = GroupManagementType('company_managed', None)
is_company_managed()

Check if the union tag is company_managed.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_system_managed()

Check if the union tag is system_managed.

Return type:bool
is_user_managed()

Check if the union tag is user_managed.

Return type:bool
other = GroupManagementType('other', None)
system_managed = GroupManagementType('system_managed', None)
user_managed = GroupManagementType('user_managed', None)
class dropbox.team_common.GroupSummary(group_name=None, group_id=None, group_management_type=None, group_external_id=None, member_count=None)

Bases: dropbox.stone_base.Struct

Information about a group.

Variables:
__init__(group_name=None, group_id=None, group_management_type=None, group_external_id=None, member_count=None)

x.__init__(…) initializes x; see help(type(x)) for signature

group_external_id

External ID of group. This is an arbitrary ID that an admin can attach to a group.

Return type:str
group_id
Return type:str
group_management_type

Who is allowed to manage the group.

Return type:team_common.GroupManagementType
group_name
Return type:str
member_count

The number of members in the group.

Return type:int
class dropbox.team_common.GroupType(tag, value=None)

Bases: dropbox.stone_base.Union

The group type determines how a group is created and managed.

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.

Variables:
is_other()

Check if the union tag is other.

Return type:bool
is_team()

Check if the union tag is team.

Return type:bool
is_user_managed()

Check if the union tag is user_managed.

Return type:bool
other = GroupType('other', None)
team = GroupType('team', None)
user_managed = GroupType('user_managed', None)
class dropbox.team_common.MemberSpaceLimitType(tag, value=None)

Bases: dropbox.stone_base.Union

The type of the space limit imposed on a team member.

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.

Variables:
alert_only = MemberSpaceLimitType('alert_only', None)
is_alert_only()

Check if the union tag is alert_only.

Return type:bool
is_off()

Check if the union tag is off.

Return type:bool
is_other()

Check if the union tag is other.

Return type:bool
is_stop_sync()

Check if the union tag is stop_sync.

Return type:bool
off = MemberSpaceLimitType('off', None)
other = MemberSpaceLimitType('other', None)
stop_sync = MemberSpaceLimitType('stop_sync', None)
class dropbox.team_common.TimeRange(start_time=None, end_time=None)

Bases: dropbox.stone_base.Struct

Time range.

Variables:
__init__(start_time=None, end_time=None)

x.__init__(…) initializes x; see help(type(x)) for signature

end_time

Optional ending time (exclusive).

Return type:datetime.datetime
start_time

Optional starting time (inclusive).

Return type:datetime.datetime