team

package
v5.6.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package team : has no documentation (yet)

Index

Constants

View Source
const (
	AdminTierTeamAdmin           = "team_admin"
	AdminTierUserManagementAdmin = "user_management_admin"
	AdminTierSupportAdmin        = "support_admin"
	AdminTierMemberOnly          = "member_only"
)

Valid tag values for AdminTier

View Source
const (
	BaseTeamFolderErrorAccessError            = "access_error"
	BaseTeamFolderErrorStatusError            = "status_error"
	BaseTeamFolderErrorTeamSharedDropboxError = "team_shared_dropbox_error"
	BaseTeamFolderErrorOther                  = "other"
)

Valid tag values for BaseTeamFolderError

View Source
const (
	CustomQuotaErrorTooManyUsers = "too_many_users"
	CustomQuotaErrorOther        = "other"
)

Valid tag values for CustomQuotaError

View Source
const (
	CustomQuotaResultSuccess     = "success"
	CustomQuotaResultInvalidUser = "invalid_user"
	CustomQuotaResultOther       = "other"
)

Valid tag values for CustomQuotaResult

View Source
const (
	DesktopPlatformWindows = "windows"
	DesktopPlatformMac     = "mac"
	DesktopPlatformLinux   = "linux"
	DesktopPlatformOther   = "other"
)

Valid tag values for DesktopPlatform

View Source
const (
	ExcludedUsersListContinueErrorInvalidCursor = "invalid_cursor"
	ExcludedUsersListContinueErrorOther         = "other"
)

Valid tag values for ExcludedUsersListContinueError

View Source
const (
	ExcludedUsersListErrorListError = "list_error"
	ExcludedUsersListErrorOther     = "other"
)

Valid tag values for ExcludedUsersListError

View Source
const (
	ExcludedUsersUpdateErrorUsersNotInTeam = "users_not_in_team"
	ExcludedUsersUpdateErrorTooManyUsers   = "too_many_users"
	ExcludedUsersUpdateErrorOther          = "other"
)

Valid tag values for ExcludedUsersUpdateError

View Source
const (
	ExcludedUsersUpdateStatusSuccess = "success"
	ExcludedUsersUpdateStatusOther   = "other"
)

Valid tag values for ExcludedUsersUpdateStatus

View Source
const (
	FeatureUploadApiRateLimit   = "upload_api_rate_limit"
	FeatureHasTeamSharedDropbox = "has_team_shared_dropbox"
	FeatureHasTeamFileEvents    = "has_team_file_events"
	FeatureHasTeamSelectiveSync = "has_team_selective_sync"
	FeatureOther                = "other"
)

Valid tag values for Feature

View Source
const (
	FeatureValueUploadApiRateLimit   = "upload_api_rate_limit"
	FeatureValueHasTeamSharedDropbox = "has_team_shared_dropbox"
	FeatureValueHasTeamFileEvents    = "has_team_file_events"
	FeatureValueHasTeamSelectiveSync = "has_team_selective_sync"
	FeatureValueOther                = "other"
)

Valid tag values for FeatureValue

View Source
const (
	FeaturesGetValuesBatchErrorEmptyFeaturesList = "empty_features_list"
	FeaturesGetValuesBatchErrorOther             = "other"
)

Valid tag values for FeaturesGetValuesBatchError

View Source
const (
	GroupAccessTypeMember = "member"
	GroupAccessTypeOwner  = "owner"
)

Valid tag values for GroupAccessType

View Source
const (
	GroupCreateErrorGroupNameAlreadyUsed         = "group_name_already_used"
	GroupCreateErrorGroupNameInvalid             = "group_name_invalid"
	GroupCreateErrorExternalIdAlreadyInUse       = "external_id_already_in_use"
	GroupCreateErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
	GroupCreateErrorOther                        = "other"
)

Valid tag values for GroupCreateError

View Source
const (
	GroupSelectorErrorGroupNotFound = "group_not_found"
	GroupSelectorErrorOther         = "other"
)

Valid tag values for GroupSelectorError

View Source
const (
	GroupSelectorWithTeamGroupErrorGroupNotFound                = "group_not_found"
	GroupSelectorWithTeamGroupErrorOther                        = "other"
	GroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
)

Valid tag values for GroupSelectorWithTeamGroupError

View Source
const (
	GroupDeleteErrorGroupNotFound                = "group_not_found"
	GroupDeleteErrorOther                        = "other"
	GroupDeleteErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
	GroupDeleteErrorGroupAlreadyDeleted          = "group_already_deleted"
)

Valid tag values for GroupDeleteError

View Source
const (
	GroupMemberSelectorErrorGroupNotFound                = "group_not_found"
	GroupMemberSelectorErrorOther                        = "other"
	GroupMemberSelectorErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
	GroupMemberSelectorErrorMemberNotInGroup             = "member_not_in_group"
)

Valid tag values for GroupMemberSelectorError

View Source
const (
	GroupMemberSetAccessTypeErrorGroupNotFound                            = "group_not_found"
	GroupMemberSetAccessTypeErrorOther                                    = "other"
	GroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed             = "system_managed_group_disallowed"
	GroupMemberSetAccessTypeErrorMemberNotInGroup                         = "member_not_in_group"
	GroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup = "user_cannot_be_manager_of_company_managed_group"
)

Valid tag values for GroupMemberSetAccessTypeError

View Source
const (
	GroupMembersAddErrorGroupNotFound                            = "group_not_found"
	GroupMembersAddErrorOther                                    = "other"
	GroupMembersAddErrorSystemManagedGroupDisallowed             = "system_managed_group_disallowed"
	GroupMembersAddErrorDuplicateUser                            = "duplicate_user"
	GroupMembersAddErrorGroupNotInTeam                           = "group_not_in_team"
	GroupMembersAddErrorMembersNotInTeam                         = "members_not_in_team"
	GroupMembersAddErrorUsersNotFound                            = "users_not_found"
	GroupMembersAddErrorUserMustBeActiveToBeOwner                = "user_must_be_active_to_be_owner"
	GroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup = "user_cannot_be_manager_of_company_managed_group"
)

Valid tag values for GroupMembersAddError

View Source
const (
	GroupMembersSelectorErrorGroupNotFound                = "group_not_found"
	GroupMembersSelectorErrorOther                        = "other"
	GroupMembersSelectorErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
	GroupMembersSelectorErrorMemberNotInGroup             = "member_not_in_group"
)

Valid tag values for GroupMembersSelectorError

View Source
const (
	GroupMembersRemoveErrorGroupNotFound                = "group_not_found"
	GroupMembersRemoveErrorOther                        = "other"
	GroupMembersRemoveErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
	GroupMembersRemoveErrorMemberNotInGroup             = "member_not_in_group"
	GroupMembersRemoveErrorGroupNotInTeam               = "group_not_in_team"
	GroupMembersRemoveErrorMembersNotInTeam             = "members_not_in_team"
	GroupMembersRemoveErrorUsersNotFound                = "users_not_found"
)

Valid tag values for GroupMembersRemoveError

View Source
const (
	GroupSelectorGroupId         = "group_id"
	GroupSelectorGroupExternalId = "group_external_id"
)

Valid tag values for GroupSelector

View Source
const (
	GroupUpdateErrorGroupNotFound                = "group_not_found"
	GroupUpdateErrorOther                        = "other"
	GroupUpdateErrorSystemManagedGroupDisallowed = "system_managed_group_disallowed"
	GroupUpdateErrorGroupNameAlreadyUsed         = "group_name_already_used"
	GroupUpdateErrorGroupNameInvalid             = "group_name_invalid"
	GroupUpdateErrorExternalIdAlreadyInUse       = "external_id_already_in_use"
)

Valid tag values for GroupUpdateError

View Source
const (
	GroupsGetInfoErrorGroupNotOnTeam = "group_not_on_team"
	GroupsGetInfoErrorOther          = "other"
)

Valid tag values for GroupsGetInfoError

View Source
const (
	GroupsGetInfoItemIdNotFound = "id_not_found"
	GroupsGetInfoItemGroupInfo  = "group_info"
)

Valid tag values for GroupsGetInfoItem

View Source
const (
	GroupsListContinueErrorInvalidCursor = "invalid_cursor"
	GroupsListContinueErrorOther         = "other"
)

Valid tag values for GroupsListContinueError

View Source
const (
	GroupsMembersListContinueErrorInvalidCursor = "invalid_cursor"
	GroupsMembersListContinueErrorOther         = "other"
)

Valid tag values for GroupsMembersListContinueError

View Source
const (
	GroupsPollErrorInvalidAsyncJobId = "invalid_async_job_id"
	GroupsPollErrorInternalError     = "internal_error"
	GroupsPollErrorOther             = "other"
	GroupsPollErrorAccessDenied      = "access_denied"
)

Valid tag values for GroupsPollError

View Source
const (
	GroupsSelectorGroupIds         = "group_ids"
	GroupsSelectorGroupExternalIds = "group_external_ids"
)

Valid tag values for GroupsSelector

View Source
const (
	HasTeamFileEventsValueEnabled = "enabled"
	HasTeamFileEventsValueOther   = "other"
)

Valid tag values for HasTeamFileEventsValue

View Source
const (
	HasTeamSelectiveSyncValueHasTeamSelectiveSync = "has_team_selective_sync"
	HasTeamSelectiveSyncValueOther                = "other"
)

Valid tag values for HasTeamSelectiveSyncValue

View Source
const (
	HasTeamSharedDropboxValueHasTeamSharedDropbox = "has_team_shared_dropbox"
	HasTeamSharedDropboxValueOther                = "other"
)

Valid tag values for HasTeamSharedDropboxValue

View Source
const (
	ListMemberAppsErrorMemberNotFound = "member_not_found"
	ListMemberAppsErrorOther          = "other"
)

Valid tag values for ListMemberAppsError

View Source
const (
	ListMemberDevicesErrorMemberNotFound = "member_not_found"
	ListMemberDevicesErrorOther          = "other"
)

Valid tag values for ListMemberDevicesError

View Source
const (
	ListMembersAppsErrorReset = "reset"
	ListMembersAppsErrorOther = "other"
)

Valid tag values for ListMembersAppsError

View Source
const (
	ListMembersDevicesErrorReset = "reset"
	ListMembersDevicesErrorOther = "other"
)

Valid tag values for ListMembersDevicesError

View Source
const (
	ListTeamAppsErrorReset = "reset"
	ListTeamAppsErrorOther = "other"
)

Valid tag values for ListTeamAppsError

View Source
const (
	ListTeamDevicesErrorReset = "reset"
	ListTeamDevicesErrorOther = "other"
)

Valid tag values for ListTeamDevicesError

View Source
const (
	MemberAddResultSuccess                     = "success"
	MemberAddResultTeamLicenseLimit            = "team_license_limit"
	MemberAddResultFreeTeamMemberLimitReached  = "free_team_member_limit_reached"
	MemberAddResultUserAlreadyOnTeam           = "user_already_on_team"
	MemberAddResultUserOnAnotherTeam           = "user_on_another_team"
	MemberAddResultUserAlreadyPaired           = "user_already_paired"
	MemberAddResultUserMigrationFailed         = "user_migration_failed"
	MemberAddResultDuplicateExternalMemberId   = "duplicate_external_member_id"
	MemberAddResultDuplicateMemberPersistentId = "duplicate_member_persistent_id"
	MemberAddResultPersistentIdDisabled        = "persistent_id_disabled"
	MemberAddResultUserCreationFailed          = "user_creation_failed"
)

Valid tag values for MemberAddResult

View Source
const (
	MemberSelectorErrorUserNotFound  = "user_not_found"
	MemberSelectorErrorUserNotInTeam = "user_not_in_team"
)

Valid tag values for MemberSelectorError

View Source
const (
	MembersAddJobStatusInProgress = "in_progress"
	MembersAddJobStatusComplete   = "complete"
	MembersAddJobStatusFailed     = "failed"
)

Valid tag values for MembersAddJobStatus

View Source
const (
	MembersAddLaunchAsyncJobId = "async_job_id"
	MembersAddLaunchComplete   = "complete"
)

Valid tag values for MembersAddLaunch

View Source
const (
	MembersDeactivateErrorUserNotFound  = "user_not_found"
	MembersDeactivateErrorUserNotInTeam = "user_not_in_team"
	MembersDeactivateErrorOther         = "other"
)

Valid tag values for MembersDeactivateError

View Source
const (
	MembersGetInfoItemIdNotFound = "id_not_found"
	MembersGetInfoItemMemberInfo = "member_info"
)

Valid tag values for MembersGetInfoItem

View Source
const (
	MembersListContinueErrorInvalidCursor = "invalid_cursor"
	MembersListContinueErrorOther         = "other"
)

Valid tag values for MembersListContinueError

View Source
const (
	MembersRecoverErrorUserNotFound      = "user_not_found"
	MembersRecoverErrorUserUnrecoverable = "user_unrecoverable"
	MembersRecoverErrorUserNotInTeam     = "user_not_in_team"
	MembersRecoverErrorTeamLicenseLimit  = "team_license_limit"
	MembersRecoverErrorOther             = "other"
)

Valid tag values for MembersRecoverError

View Source
const (
	MembersTransferFilesErrorUserNotFound                        = "user_not_found"
	MembersTransferFilesErrorUserNotInTeam                       = "user_not_in_team"
	MembersTransferFilesErrorOther                               = "other"
	MembersTransferFilesErrorRemovedAndTransferDestShouldDiffer  = "removed_and_transfer_dest_should_differ"
	MembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer = "removed_and_transfer_admin_should_differ"
	MembersTransferFilesErrorTransferDestUserNotFound            = "transfer_dest_user_not_found"
	MembersTransferFilesErrorTransferDestUserNotInTeam           = "transfer_dest_user_not_in_team"
	MembersTransferFilesErrorTransferAdminUserNotInTeam          = "transfer_admin_user_not_in_team"
	MembersTransferFilesErrorTransferAdminUserNotFound           = "transfer_admin_user_not_found"
	MembersTransferFilesErrorUnspecifiedTransferAdminId          = "unspecified_transfer_admin_id"
	MembersTransferFilesErrorTransferAdminIsNotAdmin             = "transfer_admin_is_not_admin"
	MembersTransferFilesErrorRecipientNotVerified                = "recipient_not_verified"
)

Valid tag values for MembersTransferFilesError

View Source
const (
	MembersRemoveErrorUserNotFound                        = "user_not_found"
	MembersRemoveErrorUserNotInTeam                       = "user_not_in_team"
	MembersRemoveErrorOther                               = "other"
	MembersRemoveErrorRemovedAndTransferDestShouldDiffer  = "removed_and_transfer_dest_should_differ"
	MembersRemoveErrorRemovedAndTransferAdminShouldDiffer = "removed_and_transfer_admin_should_differ"
	MembersRemoveErrorTransferDestUserNotFound            = "transfer_dest_user_not_found"
	MembersRemoveErrorTransferDestUserNotInTeam           = "transfer_dest_user_not_in_team"
	MembersRemoveErrorTransferAdminUserNotInTeam          = "transfer_admin_user_not_in_team"
	MembersRemoveErrorTransferAdminUserNotFound           = "transfer_admin_user_not_found"
	MembersRemoveErrorUnspecifiedTransferAdminId          = "unspecified_transfer_admin_id"
	MembersRemoveErrorTransferAdminIsNotAdmin             = "transfer_admin_is_not_admin"
	MembersRemoveErrorRecipientNotVerified                = "recipient_not_verified"
	MembersRemoveErrorRemoveLastAdmin                     = "remove_last_admin"
	MembersRemoveErrorCannotKeepAccountAndTransfer        = "cannot_keep_account_and_transfer"
	MembersRemoveErrorCannotKeepAccountAndDeleteData      = "cannot_keep_account_and_delete_data"
	MembersRemoveErrorEmailAddressTooLongToBeDisabled     = "email_address_too_long_to_be_disabled"
	MembersRemoveErrorCannotKeepInvitedUserAccount        = "cannot_keep_invited_user_account"
)

Valid tag values for MembersRemoveError

View Source
const (
	MembersSendWelcomeErrorUserNotFound  = "user_not_found"
	MembersSendWelcomeErrorUserNotInTeam = "user_not_in_team"
	MembersSendWelcomeErrorOther         = "other"
)

Valid tag values for MembersSendWelcomeError

View Source
const (
	MembersSetPermissionsErrorUserNotFound         = "user_not_found"
	MembersSetPermissionsErrorLastAdmin            = "last_admin"
	MembersSetPermissionsErrorUserNotInTeam        = "user_not_in_team"
	MembersSetPermissionsErrorCannotSetPermissions = "cannot_set_permissions"
	MembersSetPermissionsErrorTeamLicenseLimit     = "team_license_limit"
	MembersSetPermissionsErrorOther                = "other"
)

Valid tag values for MembersSetPermissionsError

View Source
const (
	MembersSetProfileErrorUserNotFound                     = "user_not_found"
	MembersSetProfileErrorUserNotInTeam                    = "user_not_in_team"
	MembersSetProfileErrorExternalIdAndNewExternalIdUnsafe = "external_id_and_new_external_id_unsafe"
	MembersSetProfileErrorNoNewDataSpecified               = "no_new_data_specified"
	MembersSetProfileErrorEmailReservedForOtherUser        = "email_reserved_for_other_user"
	MembersSetProfileErrorExternalIdUsedByOtherUser        = "external_id_used_by_other_user"
	MembersSetProfileErrorSetProfileDisallowed             = "set_profile_disallowed"
	MembersSetProfileErrorParamCannotBeEmpty               = "param_cannot_be_empty"
	MembersSetProfileErrorPersistentIdDisabled             = "persistent_id_disabled"
	MembersSetProfileErrorPersistentIdUsedByOtherUser      = "persistent_id_used_by_other_user"
	MembersSetProfileErrorDirectoryRestrictedOff           = "directory_restricted_off"
	MembersSetProfileErrorOther                            = "other"
)

Valid tag values for MembersSetProfileError

View Source
const (
	MembersSuspendErrorUserNotFound        = "user_not_found"
	MembersSuspendErrorUserNotInTeam       = "user_not_in_team"
	MembersSuspendErrorOther               = "other"
	MembersSuspendErrorSuspendInactiveUser = "suspend_inactive_user"
	MembersSuspendErrorSuspendLastAdmin    = "suspend_last_admin"
	MembersSuspendErrorTeamLicenseLimit    = "team_license_limit"
)

Valid tag values for MembersSuspendError

View Source
const (
	MembersTransferFormerMembersFilesErrorUserNotFound                        = "user_not_found"
	MembersTransferFormerMembersFilesErrorUserNotInTeam                       = "user_not_in_team"
	MembersTransferFormerMembersFilesErrorOther                               = "other"
	MembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer  = "removed_and_transfer_dest_should_differ"
	MembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer = "removed_and_transfer_admin_should_differ"
	MembersTransferFormerMembersFilesErrorTransferDestUserNotFound            = "transfer_dest_user_not_found"
	MembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam           = "transfer_dest_user_not_in_team"
	MembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam          = "transfer_admin_user_not_in_team"
	MembersTransferFormerMembersFilesErrorTransferAdminUserNotFound           = "transfer_admin_user_not_found"
	MembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId          = "unspecified_transfer_admin_id"
	MembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin             = "transfer_admin_is_not_admin"
	MembersTransferFormerMembersFilesErrorRecipientNotVerified                = "recipient_not_verified"
	MembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred          = "user_data_is_being_transferred"
	MembersTransferFormerMembersFilesErrorUserNotRemoved                      = "user_not_removed"
	MembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred         = "user_data_cannot_be_transferred"
	MembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred          = "user_data_already_transferred"
)

Valid tag values for MembersTransferFormerMembersFilesError

View Source
const (
	MembersUnsuspendErrorUserNotFound                = "user_not_found"
	MembersUnsuspendErrorUserNotInTeam               = "user_not_in_team"
	MembersUnsuspendErrorOther                       = "other"
	MembersUnsuspendErrorUnsuspendNonSuspendedMember = "unsuspend_non_suspended_member"
	MembersUnsuspendErrorTeamLicenseLimit            = "team_license_limit"
)

Valid tag values for MembersUnsuspendError

View Source
const (
	MobileClientPlatformIphone       = "iphone"
	MobileClientPlatformIpad         = "ipad"
	MobileClientPlatformAndroid      = "android"
	MobileClientPlatformWindowsPhone = "windows_phone"
	MobileClientPlatformBlackberry   = "blackberry"
	MobileClientPlatformOther        = "other"
)

Valid tag values for MobileClientPlatform

View Source
const (
	NamespaceTypeAppFolder        = "app_folder"
	NamespaceTypeSharedFolder     = "shared_folder"
	NamespaceTypeTeamFolder       = "team_folder"
	NamespaceTypeTeamMemberFolder = "team_member_folder"
	NamespaceTypeOther            = "other"
)

Valid tag values for NamespaceType

View Source
const (
	RemoveCustomQuotaResultSuccess     = "success"
	RemoveCustomQuotaResultInvalidUser = "invalid_user"
	RemoveCustomQuotaResultOther       = "other"
)

Valid tag values for RemoveCustomQuotaResult

View Source
const (
	RevokeDeviceSessionArgWebSession    = "web_session"
	RevokeDeviceSessionArgDesktopClient = "desktop_client"
	RevokeDeviceSessionArgMobileClient  = "mobile_client"
)

Valid tag values for RevokeDeviceSessionArg

View Source
const (
	RevokeDeviceSessionErrorDeviceSessionNotFound = "device_session_not_found"
	RevokeDeviceSessionErrorMemberNotFound        = "member_not_found"
	RevokeDeviceSessionErrorOther                 = "other"
)

Valid tag values for RevokeDeviceSessionError

View Source
const (
	RevokeLinkedAppErrorAppNotFound    = "app_not_found"
	RevokeLinkedAppErrorMemberNotFound = "member_not_found"
	RevokeLinkedAppErrorOther          = "other"
)

Valid tag values for RevokeLinkedAppError

View Source
const (
	SetCustomQuotaErrorTooManyUsers         = "too_many_users"
	SetCustomQuotaErrorOther                = "other"
	SetCustomQuotaErrorSomeUsersAreExcluded = "some_users_are_excluded"
)

Valid tag values for SetCustomQuotaError

View Source
const (
	TeamFolderAccessErrorInvalidTeamFolderId = "invalid_team_folder_id"
	TeamFolderAccessErrorNoAccess            = "no_access"
	TeamFolderAccessErrorOther               = "other"
)

Valid tag values for TeamFolderAccessError

View Source
const (
	TeamFolderActivateErrorAccessError            = "access_error"
	TeamFolderActivateErrorStatusError            = "status_error"
	TeamFolderActivateErrorTeamSharedDropboxError = "team_shared_dropbox_error"
	TeamFolderActivateErrorOther                  = "other"
)

Valid tag values for TeamFolderActivateError

View Source
const (
	TeamFolderArchiveErrorAccessError            = "access_error"
	TeamFolderArchiveErrorStatusError            = "status_error"
	TeamFolderArchiveErrorTeamSharedDropboxError = "team_shared_dropbox_error"
	TeamFolderArchiveErrorOther                  = "other"
)

Valid tag values for TeamFolderArchiveError

View Source
const (
	TeamFolderArchiveJobStatusInProgress = "in_progress"
	TeamFolderArchiveJobStatusComplete   = "complete"
	TeamFolderArchiveJobStatusFailed     = "failed"
)

Valid tag values for TeamFolderArchiveJobStatus

View Source
const (
	TeamFolderArchiveLaunchAsyncJobId = "async_job_id"
	TeamFolderArchiveLaunchComplete   = "complete"
)

Valid tag values for TeamFolderArchiveLaunch

View Source
const (
	TeamFolderCreateErrorInvalidFolderName     = "invalid_folder_name"
	TeamFolderCreateErrorFolderNameAlreadyUsed = "folder_name_already_used"
	TeamFolderCreateErrorFolderNameReserved    = "folder_name_reserved"
	TeamFolderCreateErrorSyncSettingsError     = "sync_settings_error"
	TeamFolderCreateErrorOther                 = "other"
)

Valid tag values for TeamFolderCreateError

View Source
const (
	TeamFolderGetInfoItemIdNotFound         = "id_not_found"
	TeamFolderGetInfoItemTeamFolderMetadata = "team_folder_metadata"
)

Valid tag values for TeamFolderGetInfoItem

View Source
const (
	TeamFolderInvalidStatusErrorActive            = "active"
	TeamFolderInvalidStatusErrorArchived          = "archived"
	TeamFolderInvalidStatusErrorArchiveInProgress = "archive_in_progress"
	TeamFolderInvalidStatusErrorOther             = "other"
)

Valid tag values for TeamFolderInvalidStatusError

View Source
const (
	TeamFolderListContinueErrorInvalidCursor = "invalid_cursor"
	TeamFolderListContinueErrorOther         = "other"
)

Valid tag values for TeamFolderListContinueError

View Source
const (
	TeamFolderPermanentlyDeleteErrorAccessError            = "access_error"
	TeamFolderPermanentlyDeleteErrorStatusError            = "status_error"
	TeamFolderPermanentlyDeleteErrorTeamSharedDropboxError = "team_shared_dropbox_error"
	TeamFolderPermanentlyDeleteErrorOther                  = "other"
)

Valid tag values for TeamFolderPermanentlyDeleteError

View Source
const (
	TeamFolderRenameErrorAccessError            = "access_error"
	TeamFolderRenameErrorStatusError            = "status_error"
	TeamFolderRenameErrorTeamSharedDropboxError = "team_shared_dropbox_error"
	TeamFolderRenameErrorOther                  = "other"
	TeamFolderRenameErrorInvalidFolderName      = "invalid_folder_name"
	TeamFolderRenameErrorFolderNameAlreadyUsed  = "folder_name_already_used"
	TeamFolderRenameErrorFolderNameReserved     = "folder_name_reserved"
)

Valid tag values for TeamFolderRenameError

View Source
const (
	TeamFolderStatusActive            = "active"
	TeamFolderStatusArchived          = "archived"
	TeamFolderStatusArchiveInProgress = "archive_in_progress"
	TeamFolderStatusOther             = "other"
)

Valid tag values for TeamFolderStatus

View Source
const (
	TeamFolderTeamSharedDropboxErrorDisallowed = "disallowed"
	TeamFolderTeamSharedDropboxErrorOther      = "other"
)

Valid tag values for TeamFolderTeamSharedDropboxError

View Source
const (
	TeamFolderUpdateSyncSettingsErrorAccessError            = "access_error"
	TeamFolderUpdateSyncSettingsErrorStatusError            = "status_error"
	TeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError = "team_shared_dropbox_error"
	TeamFolderUpdateSyncSettingsErrorOther                  = "other"
	TeamFolderUpdateSyncSettingsErrorSyncSettingsError      = "sync_settings_error"
)

Valid tag values for TeamFolderUpdateSyncSettingsError

View Source
const (
	TeamMemberStatusActive    = "active"
	TeamMemberStatusInvited   = "invited"
	TeamMemberStatusSuspended = "suspended"
	TeamMemberStatusRemoved   = "removed"
)

Valid tag values for TeamMemberStatus

View Source
const (
	TeamMembershipTypeFull    = "full"
	TeamMembershipTypeLimited = "limited"
)

Valid tag values for TeamMembershipType

View Source
const (
	TeamNamespacesListErrorInvalidArg = "invalid_arg"
	TeamNamespacesListErrorOther      = "other"
)

Valid tag values for TeamNamespacesListError

View Source
const (
	TeamNamespacesListContinueErrorInvalidArg    = "invalid_arg"
	TeamNamespacesListContinueErrorOther         = "other"
	TeamNamespacesListContinueErrorInvalidCursor = "invalid_cursor"
)

Valid tag values for TeamNamespacesListContinueError

View Source
const (
	TeamReportFailureReasonTemporaryError    = "temporary_error"
	TeamReportFailureReasonManyReportsAtOnce = "many_reports_at_once"
	TeamReportFailureReasonTooMuchData       = "too_much_data"
	TeamReportFailureReasonOther             = "other"
)

Valid tag values for TeamReportFailureReason

View Source
const (
	TokenGetAuthenticatedAdminErrorMappingNotFound = "mapping_not_found"
	TokenGetAuthenticatedAdminErrorAdminNotActive  = "admin_not_active"
	TokenGetAuthenticatedAdminErrorOther           = "other"
)

Valid tag values for TokenGetAuthenticatedAdminError

View Source
const (
	UploadApiRateLimitValueUnlimited = "unlimited"
	UploadApiRateLimitValueLimit     = "limit"
	UploadApiRateLimitValueOther     = "other"
)

Valid tag values for UploadApiRateLimitValue

View Source
const (
	UserSelectorArgTeamMemberId = "team_member_id"
	UserSelectorArgExternalId   = "external_id"
	UserSelectorArgEmail        = "email"
)

Valid tag values for UserSelectorArg

View Source
const (
	UsersSelectorArgTeamMemberIds = "team_member_ids"
	UsersSelectorArgExternalIds   = "external_ids"
	UsersSelectorArgEmails        = "emails"
)

Valid tag values for UsersSelectorArg

View Source
const (
	DateRangeErrorOther = "other"
)

Valid tag values for DateRangeError

View Source
const (
	MembersGetInfoErrorOther = "other"
)

Valid tag values for MembersGetInfoError

View Source
const (
	MembersListErrorOther = "other"
)

Valid tag values for MembersListError

View Source
const (
	RevokeDeviceSessionBatchErrorOther = "other"
)

Valid tag values for RevokeDeviceSessionBatchError

View Source
const (
	RevokeLinkedAppBatchErrorOther = "other"
)

Valid tag values for RevokeLinkedAppBatchError

View Source
const (
	UserSelectorErrorUserNotFound = "user_not_found"
)

Valid tag values for UserSelectorError

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveWebSession

type ActiveWebSession struct {
	DeviceSession
	// UserAgent : Information on the hosting device.
	UserAgent string `json:"user_agent"`
	// Os : Information on the hosting operating system.
	Os string `json:"os"`
	// Browser : Information on the browser used for this web session.
	Browser string `json:"browser"`
	// Expires : The time this session expires.
	Expires time.Time `json:"expires,omitempty"`
}

ActiveWebSession : Information on active web sessions.

func NewActiveWebSession

func NewActiveWebSession(SessionId string, UserAgent string, Os string, Browser string) *ActiveWebSession

NewActiveWebSession returns a new ActiveWebSession instance

type AdminTier

type AdminTier struct {
	dropbox.Tagged
}

AdminTier : Describes which team-related admin permissions a user has.

type ApiApp

type ApiApp struct {
	// AppId : The application unique id.
	AppId string `json:"app_id"`
	// AppName : The application name.
	AppName string `json:"app_name"`
	// Publisher : The application publisher name.
	Publisher string `json:"publisher,omitempty"`
	// PublisherUrl : The publisher's URL.
	PublisherUrl string `json:"publisher_url,omitempty"`
	// Linked : The time this application was linked.
	Linked time.Time `json:"linked,omitempty"`
	// IsAppFolder : Whether the linked application uses a dedicated folder.
	IsAppFolder bool `json:"is_app_folder"`
}

ApiApp : Information on linked third party applications.

func NewApiApp

func NewApiApp(AppId string, AppName string, IsAppFolder bool) *ApiApp

NewApiApp returns a new ApiApp instance

type BaseDfbReport

type BaseDfbReport struct {
	// StartDate : First date present in the results as 'YYYY-MM-DD' or None.
	StartDate string `json:"start_date"`
}

BaseDfbReport : Base report structure.

func NewBaseDfbReport

func NewBaseDfbReport(StartDate string) *BaseDfbReport

NewBaseDfbReport returns a new BaseDfbReport instance

type BaseTeamFolderError

type BaseTeamFolderError struct {
	dropbox.Tagged
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
	// StatusError : has no documentation (yet)
	StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
	// TeamSharedDropboxError : has no documentation (yet)
	TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
}

BaseTeamFolderError : Base error that all errors for existing team folders should extend.

func (*BaseTeamFolderError) UnmarshalJSON

func (u *BaseTeamFolderError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a BaseTeamFolderError instance

type Client

type Client interface {
	// DevicesListMemberDevices : List all device sessions of a team's member.
	DevicesListMemberDevices(arg *ListMemberDevicesArg) (res *ListMemberDevicesResult, err error)
	// DevicesListMembersDevices : List all device sessions of a team.
	// Permission : Team member file access.
	DevicesListMembersDevices(arg *ListMembersDevicesArg) (res *ListMembersDevicesResult, err error)
	// DevicesListTeamDevices : List all device sessions of a team. Permission :
	// Team member file access.
	// Deprecated: Use `DevicesListMembersDevices` instead
	DevicesListTeamDevices(arg *ListTeamDevicesArg) (res *ListTeamDevicesResult, err error)
	// DevicesRevokeDeviceSession : Revoke a device session of a team's member.
	DevicesRevokeDeviceSession(arg *RevokeDeviceSessionArg) (err error)
	// DevicesRevokeDeviceSessionBatch : Revoke a list of device sessions of
	// team members.
	DevicesRevokeDeviceSessionBatch(arg *RevokeDeviceSessionBatchArg) (res *RevokeDeviceSessionBatchResult, err error)
	// FeaturesGetValues : Get the values for one or more featues. This route
	// allows you to check your account's capability for what feature you can
	// access or what value you have for certain features. Permission : Team
	// information.
	FeaturesGetValues(arg *FeaturesGetValuesBatchArg) (res *FeaturesGetValuesBatchResult, err error)
	// GetInfo : Retrieves information about a team.
	GetInfo() (res *TeamGetInfoResult, err error)
	// GroupsCreate : Creates a new, empty group, with a requested name.
	// Permission : Team member management.
	GroupsCreate(arg *GroupCreateArg) (res *GroupFullInfo, err error)
	// GroupsDelete : Deletes a group. The group is deleted immediately. However
	// the revoking of group-owned resources may take additional time. Use the
	// `groupsJobStatusGet` to determine whether this process has completed.
	// Permission : Team member management.
	GroupsDelete(arg *GroupSelector) (res *async.LaunchEmptyResult, err error)
	// GroupsGetInfo : Retrieves information about one or more groups. Note that
	// the optional field  `GroupFullInfo.members` is not returned for
	// system-managed groups. Permission : Team Information.
	GroupsGetInfo(arg *GroupsSelector) (res []*GroupsGetInfoItem, err error)
	// GroupsJobStatusGet : Once an async_job_id is returned from
	// `groupsDelete`, `groupsMembersAdd` , or `groupsMembersRemove` use this
	// method to poll the status of granting/revoking group members' access to
	// group-owned resources. Permission : Team member management.
	GroupsJobStatusGet(arg *async.PollArg) (res *async.PollEmptyResult, err error)
	// GroupsList : Lists groups on a team. Permission : Team Information.
	GroupsList(arg *GroupsListArg) (res *GroupsListResult, err error)
	// GroupsListContinue : Once a cursor has been retrieved from `groupsList`,
	// use this to paginate through all groups. Permission : Team Information.
	GroupsListContinue(arg *GroupsListContinueArg) (res *GroupsListResult, err error)
	// GroupsMembersAdd : Adds members to a group. The members are added
	// immediately. However the granting of group-owned resources may take
	// additional time. Use the `groupsJobStatusGet` to determine whether this
	// process has completed. Permission : Team member management.
	GroupsMembersAdd(arg *GroupMembersAddArg) (res *GroupMembersChangeResult, err error)
	// GroupsMembersList : Lists members of a group. Permission : Team
	// Information.
	GroupsMembersList(arg *GroupsMembersListArg) (res *GroupsMembersListResult, err error)
	// GroupsMembersListContinue : Once a cursor has been retrieved from
	// `groupsMembersList`, use this to paginate through all members of the
	// group. Permission : Team information.
	GroupsMembersListContinue(arg *GroupsMembersListContinueArg) (res *GroupsMembersListResult, err error)
	// GroupsMembersRemove : Removes members from a group. The members are
	// removed immediately. However the revoking of group-owned resources may
	// take additional time. Use the `groupsJobStatusGet` to determine whether
	// this process has completed. This method permits removing the only owner
	// of a group, even in cases where this is not possible via the web client.
	// Permission : Team member management.
	GroupsMembersRemove(arg *GroupMembersRemoveArg) (res *GroupMembersChangeResult, err error)
	// GroupsMembersSetAccessType : Sets a member's access type in a group.
	// Permission : Team member management.
	GroupsMembersSetAccessType(arg *GroupMembersSetAccessTypeArg) (res []*GroupsGetInfoItem, err error)
	// GroupsUpdate : Updates a group's name and/or external ID. Permission :
	// Team member management.
	GroupsUpdate(arg *GroupUpdateArgs) (res *GroupFullInfo, err error)
	// LinkedAppsListMemberLinkedApps : List all linked applications of the team
	// member. Note, this endpoint does not list any team-linked applications.
	LinkedAppsListMemberLinkedApps(arg *ListMemberAppsArg) (res *ListMemberAppsResult, err error)
	// LinkedAppsListMembersLinkedApps : List all applications linked to the
	// team members' accounts. Note, this endpoint does not list any team-linked
	// applications.
	LinkedAppsListMembersLinkedApps(arg *ListMembersAppsArg) (res *ListMembersAppsResult, err error)
	// LinkedAppsListTeamLinkedApps : List all applications linked to the team
	// members' accounts. Note, this endpoint doesn't list any team-linked
	// applications.
	// Deprecated: Use `LinkedAppsListMembersLinkedApps` instead
	LinkedAppsListTeamLinkedApps(arg *ListTeamAppsArg) (res *ListTeamAppsResult, err error)
	// LinkedAppsRevokeLinkedApp : Revoke a linked application of the team
	// member.
	LinkedAppsRevokeLinkedApp(arg *RevokeLinkedApiAppArg) (err error)
	// LinkedAppsRevokeLinkedAppBatch : Revoke a list of linked applications of
	// the team members.
	LinkedAppsRevokeLinkedAppBatch(arg *RevokeLinkedApiAppBatchArg) (res *RevokeLinkedAppBatchResult, err error)
	// MemberSpaceLimitsExcludedUsersAdd : Add users to member space limits
	// excluded users list.
	MemberSpaceLimitsExcludedUsersAdd(arg *ExcludedUsersUpdateArg) (res *ExcludedUsersUpdateResult, err error)
	// MemberSpaceLimitsExcludedUsersList : List member space limits excluded
	// users.
	MemberSpaceLimitsExcludedUsersList(arg *ExcludedUsersListArg) (res *ExcludedUsersListResult, err error)
	// MemberSpaceLimitsExcludedUsersListContinue : Continue listing member
	// space limits excluded users.
	MemberSpaceLimitsExcludedUsersListContinue(arg *ExcludedUsersListContinueArg) (res *ExcludedUsersListResult, err error)
	// MemberSpaceLimitsExcludedUsersRemove : Remove users from member space
	// limits excluded users list.
	MemberSpaceLimitsExcludedUsersRemove(arg *ExcludedUsersUpdateArg) (res *ExcludedUsersUpdateResult, err error)
	// MemberSpaceLimitsGetCustomQuota : Get users custom quota. Returns none as
	// the custom quota if none was set. A maximum of 1000 members can be
	// specified in a single call.
	MemberSpaceLimitsGetCustomQuota(arg *CustomQuotaUsersArg) (res []*CustomQuotaResult, err error)
	// MemberSpaceLimitsRemoveCustomQuota : Remove users custom quota. A maximum
	// of 1000 members can be specified in a single call.
	MemberSpaceLimitsRemoveCustomQuota(arg *CustomQuotaUsersArg) (res []*RemoveCustomQuotaResult, err error)
	// MemberSpaceLimitsSetCustomQuota : Set users custom quota. Custom quota
	// has to be at least 15GB. A maximum of 1000 members can be specified in a
	// single call.
	MemberSpaceLimitsSetCustomQuota(arg *SetCustomQuotaArg) (res []*CustomQuotaResult, err error)
	// MembersAdd : Adds members to a team. Permission : Team member management
	// A maximum of 20 members can be specified in a single call. If no Dropbox
	// account exists with the email address specified, a new Dropbox account
	// will be created with the given email address, and that account will be
	// invited to the team. If a personal Dropbox account exists with the email
	// address specified in the call, this call will create a placeholder
	// Dropbox account for the user on the team and send an email inviting the
	// user to migrate their existing personal account onto the team. Team
	// member management apps are required to set an initial given_name and
	// surname for a user to use in the team invitation and for 'Perform as team
	// member' actions taken on the user before they become 'active'.
	MembersAdd(arg *MembersAddArg) (res *MembersAddLaunch, err error)
	// MembersAddJobStatusGet : Once an async_job_id is returned from
	// `membersAdd` , use this to poll the status of the asynchronous request.
	// Permission : Team member management.
	MembersAddJobStatusGet(arg *async.PollArg) (res *MembersAddJobStatus, err error)
	// MembersGetInfo : Returns information about multiple team members.
	// Permission : Team information This endpoint will return
	// `MembersGetInfoItem.id_not_found`, for IDs (or emails) that cannot be
	// matched to a valid team member.
	MembersGetInfo(arg *MembersGetInfoArgs) (res []*MembersGetInfoItem, err error)
	// MembersList : Lists members of a team. Permission : Team information.
	MembersList(arg *MembersListArg) (res *MembersListResult, err error)
	// MembersListContinue : Once a cursor has been retrieved from
	// `membersList`, use this to paginate through all team members. Permission
	// : Team information.
	MembersListContinue(arg *MembersListContinueArg) (res *MembersListResult, err error)
	// MembersMoveFormerMemberFiles : Moves removed member's files to a
	// different member. This endpoint initiates an asynchronous job. To obtain
	// the final result of the job, the client should periodically poll
	// `membersMoveFormerMemberFilesJobStatusCheck`. Permission : Team member
	// management.
	MembersMoveFormerMemberFiles(arg *MembersDataTransferArg) (res *async.LaunchEmptyResult, err error)
	// MembersMoveFormerMemberFilesJobStatusCheck : Once an async_job_id is
	// returned from `membersMoveFormerMemberFiles` , use this to poll the
	// status of the asynchronous request. Permission : Team member management.
	MembersMoveFormerMemberFilesJobStatusCheck(arg *async.PollArg) (res *async.PollEmptyResult, err error)
	// MembersRecover : Recover a deleted member. Permission : Team member
	// management Exactly one of team_member_id, email, or external_id must be
	// provided to identify the user account.
	MembersRecover(arg *MembersRecoverArg) (err error)
	// MembersRemove : Removes a member from a team. Permission : Team member
	// management Exactly one of team_member_id, email, or external_id must be
	// provided to identify the user account. Accounts can be recovered via
	// `membersRecover` for a 7 day period or until the account has been
	// permanently deleted or transferred to another account (whichever comes
	// first). Calling `membersAdd` while a user is still recoverable on your
	// team will return with `MemberAddResult.user_already_on_team`. Accounts
	// can have their files transferred via the admin console for a limited
	// time, based on the version history length associated with the team (120
	// days for most teams). This endpoint may initiate an asynchronous job. To
	// obtain the final result of the job, the client should periodically poll
	// `membersRemoveJobStatusGet`.
	MembersRemove(arg *MembersRemoveArg) (res *async.LaunchEmptyResult, err error)
	// MembersRemoveJobStatusGet : Once an async_job_id is returned from
	// `membersRemove` , use this to poll the status of the asynchronous
	// request. Permission : Team member management.
	MembersRemoveJobStatusGet(arg *async.PollArg) (res *async.PollEmptyResult, err error)
	// MembersSendWelcomeEmail : Sends welcome email to pending team member.
	// Permission : Team member management Exactly one of team_member_id, email,
	// or external_id must be provided to identify the user account. No-op if
	// team member is not pending.
	MembersSendWelcomeEmail(arg *UserSelectorArg) (err error)
	// MembersSetAdminPermissions : Updates a team member's permissions.
	// Permission : Team member management.
	MembersSetAdminPermissions(arg *MembersSetPermissionsArg) (res *MembersSetPermissionsResult, err error)
	// MembersSetProfile : Updates a team member's profile. Permission : Team
	// member management.
	MembersSetProfile(arg *MembersSetProfileArg) (res *TeamMemberInfo, err error)
	// MembersSuspend : Suspend a member from a team. Permission : Team member
	// management Exactly one of team_member_id, email, or external_id must be
	// provided to identify the user account.
	MembersSuspend(arg *MembersDeactivateArg) (err error)
	// MembersUnsuspend : Unsuspend a member from a team. Permission : Team
	// member management Exactly one of team_member_id, email, or external_id
	// must be provided to identify the user account.
	MembersUnsuspend(arg *MembersUnsuspendArg) (err error)
	// NamespacesList : Returns a list of all team-accessible namespaces. This
	// list includes team folders, shared folders containing team members, team
	// members' home namespaces, and team members' app folders. Home namespaces
	// and app folders are always owned by this team or members of the team, but
	// shared folders may be owned by other users or other teams. Duplicates may
	// occur in the list.
	NamespacesList(arg *TeamNamespacesListArg) (res *TeamNamespacesListResult, err error)
	// NamespacesListContinue : Once a cursor has been retrieved from
	// `namespacesList`, use this to paginate through all team-accessible
	// namespaces. Duplicates may occur in the list.
	NamespacesListContinue(arg *TeamNamespacesListContinueArg) (res *TeamNamespacesListResult, err error)
	// PropertiesTemplateAdd : Permission : Team member file access.
	// Deprecated:
	PropertiesTemplateAdd(arg *file_properties.AddTemplateArg) (res *file_properties.AddTemplateResult, err error)
	// PropertiesTemplateGet : Permission : Team member file access.
	// Deprecated:
	PropertiesTemplateGet(arg *file_properties.GetTemplateArg) (res *file_properties.GetTemplateResult, err error)
	// PropertiesTemplateList : Permission : Team member file access.
	// Deprecated:
	PropertiesTemplateList() (res *file_properties.ListTemplateResult, err error)
	// PropertiesTemplateUpdate : Permission : Team member file access.
	// Deprecated:
	PropertiesTemplateUpdate(arg *file_properties.UpdateTemplateArg) (res *file_properties.UpdateTemplateResult, err error)
	// ReportsGetActivity : Retrieves reporting data about a team's user
	// activity.
	ReportsGetActivity(arg *DateRange) (res *GetActivityReport, err error)
	// ReportsGetDevices : Retrieves reporting data about a team's linked
	// devices.
	ReportsGetDevices(arg *DateRange) (res *GetDevicesReport, err error)
	// ReportsGetMembership : Retrieves reporting data about a team's
	// membership.
	ReportsGetMembership(arg *DateRange) (res *GetMembershipReport, err error)
	// ReportsGetStorage : Retrieves reporting data about a team's storage
	// usage.
	ReportsGetStorage(arg *DateRange) (res *GetStorageReport, err error)
	// TeamFolderActivate : Sets an archived team folder's status to active.
	// Permission : Team member file access.
	TeamFolderActivate(arg *TeamFolderIdArg) (res *TeamFolderMetadata, err error)
	// TeamFolderArchive : Sets an active team folder's status to archived and
	// removes all folder and file members. Permission : Team member file
	// access.
	TeamFolderArchive(arg *TeamFolderArchiveArg) (res *TeamFolderArchiveLaunch, err error)
	// TeamFolderArchiveCheck : Returns the status of an asynchronous job for
	// archiving a team folder. Permission : Team member file access.
	TeamFolderArchiveCheck(arg *async.PollArg) (res *TeamFolderArchiveJobStatus, err error)
	// TeamFolderCreate : Creates a new, active, team folder with no members.
	// Permission : Team member file access.
	TeamFolderCreate(arg *TeamFolderCreateArg) (res *TeamFolderMetadata, err error)
	// TeamFolderGetInfo : Retrieves metadata for team folders. Permission :
	// Team member file access.
	TeamFolderGetInfo(arg *TeamFolderIdListArg) (res []*TeamFolderGetInfoItem, err error)
	// TeamFolderList : Lists all team folders. Permission : Team member file
	// access.
	TeamFolderList(arg *TeamFolderListArg) (res *TeamFolderListResult, err error)
	// TeamFolderListContinue : Once a cursor has been retrieved from
	// `teamFolderList`, use this to paginate through all team folders.
	// Permission : Team member file access.
	TeamFolderListContinue(arg *TeamFolderListContinueArg) (res *TeamFolderListResult, err error)
	// TeamFolderPermanentlyDelete : Permanently deletes an archived team
	// folder. Permission : Team member file access.
	TeamFolderPermanentlyDelete(arg *TeamFolderIdArg) (err error)
	// TeamFolderRename : Changes an active team folder's name. Permission :
	// Team member file access.
	TeamFolderRename(arg *TeamFolderRenameArg) (res *TeamFolderMetadata, err error)
	// TeamFolderUpdateSyncSettings : Updates the sync settings on a team folder
	// or its contents.  Use of this endpoint requires that the team has team
	// selective sync enabled.
	TeamFolderUpdateSyncSettings(arg *TeamFolderUpdateSyncSettingsArg) (res *TeamFolderMetadata, err error)
	// TokenGetAuthenticatedAdmin : Returns the member profile of the admin who
	// generated the team access token used to make the call.
	TokenGetAuthenticatedAdmin() (res *TokenGetAuthenticatedAdminResult, err error)
}

Client interface describes all routes in this namespace

func New

func New(c dropbox.Config) Client

New returns a Client implementation for this namespace

type CustomQuotaError

type CustomQuotaError struct {
	dropbox.Tagged
}

CustomQuotaError : Error returned when getting member custom quota.

type CustomQuotaResult

type CustomQuotaResult struct {
	dropbox.Tagged
	// Success : User's custom quota.
	Success *UserCustomQuotaResult `json:"success,omitempty"`
	// InvalidUser : Invalid user (not in team).
	InvalidUser *UserSelectorArg `json:"invalid_user,omitempty"`
}

CustomQuotaResult : User custom quota.

func (*CustomQuotaResult) UnmarshalJSON

func (u *CustomQuotaResult) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a CustomQuotaResult instance

type CustomQuotaUsersArg

type CustomQuotaUsersArg struct {
	// Users : List of users.
	Users []*UserSelectorArg `json:"users"`
}

CustomQuotaUsersArg : has no documentation (yet)

func NewCustomQuotaUsersArg

func NewCustomQuotaUsersArg(Users []*UserSelectorArg) *CustomQuotaUsersArg

NewCustomQuotaUsersArg returns a new CustomQuotaUsersArg instance

type DateRange

type DateRange struct {
	// StartDate : Optional starting date (inclusive).
	StartDate time.Time `json:"start_date,omitempty"`
	// EndDate : Optional ending date (exclusive).
	EndDate time.Time `json:"end_date,omitempty"`
}

DateRange : Input arguments that can be provided for most reports.

func NewDateRange

func NewDateRange() *DateRange

NewDateRange returns a new DateRange instance

type DateRangeError

type DateRangeError struct {
	dropbox.Tagged
}

DateRangeError : Errors that can originate from problems in input arguments to reports.

type DesktopClientSession

type DesktopClientSession struct {
	DeviceSession
	// HostName : Name of the hosting desktop.
	HostName string `json:"host_name"`
	// ClientType : The Dropbox desktop client type.
	ClientType *DesktopPlatform `json:"client_type"`
	// ClientVersion : The Dropbox client version.
	ClientVersion string `json:"client_version"`
	// Platform : Information on the hosting platform.
	Platform string `json:"platform"`
	// IsDeleteOnUnlinkSupported : Whether it's possible to delete all of the
	// account files upon unlinking.
	IsDeleteOnUnlinkSupported bool `json:"is_delete_on_unlink_supported"`
}

DesktopClientSession : Information about linked Dropbox desktop client sessions.

func NewDesktopClientSession

func NewDesktopClientSession(SessionId string, HostName string, ClientType *DesktopPlatform, ClientVersion string, Platform string, IsDeleteOnUnlinkSupported bool) *DesktopClientSession

NewDesktopClientSession returns a new DesktopClientSession instance

type DesktopPlatform

type DesktopPlatform struct {
	dropbox.Tagged
}

DesktopPlatform : has no documentation (yet)

type DeviceSession

type DeviceSession struct {
	// SessionId : The session id.
	SessionId string `json:"session_id"`
	// IpAddress : The IP address of the last activity from this session.
	IpAddress string `json:"ip_address,omitempty"`
	// Country : The country from which the last activity from this session was
	// made.
	Country string `json:"country,omitempty"`
	// Created : The time this session was created.
	Created time.Time `json:"created,omitempty"`
	// Updated : The time of the last activity from this session.
	Updated time.Time `json:"updated,omitempty"`
}

DeviceSession : has no documentation (yet)

func NewDeviceSession

func NewDeviceSession(SessionId string) *DeviceSession

NewDeviceSession returns a new DeviceSession instance

type DeviceSessionArg

type DeviceSessionArg struct {
	// SessionId : The session id.
	SessionId string `json:"session_id"`
	// TeamMemberId : The unique id of the member owning the device.
	TeamMemberId string `json:"team_member_id"`
}

DeviceSessionArg : has no documentation (yet)

func NewDeviceSessionArg

func NewDeviceSessionArg(SessionId string, TeamMemberId string) *DeviceSessionArg

NewDeviceSessionArg returns a new DeviceSessionArg instance

type DevicesActive

type DevicesActive struct {
	// Windows : Array of number of linked windows (desktop) clients with
	// activity.
	Windows []uint64 `json:"windows"`
	// Macos : Array of number of linked mac (desktop) clients with activity.
	Macos []uint64 `json:"macos"`
	// Linux : Array of number of linked linus (desktop) clients with activity.
	Linux []uint64 `json:"linux"`
	// Ios : Array of number of linked ios devices with activity.
	Ios []uint64 `json:"ios"`
	// Android : Array of number of linked android devices with activity.
	Android []uint64 `json:"android"`
	// Other : Array of number of other linked devices (blackberry, windows
	// phone, etc)  with activity.
	Other []uint64 `json:"other"`
	// Total : Array of total number of linked clients with activity.
	Total []uint64 `json:"total"`
}

DevicesActive : Each of the items is an array of values, one value per day. The value is the number of devices active within a time window, ending with that day. If there is no data for a day, then the value will be None.

func NewDevicesActive

func NewDevicesActive(Windows []uint64, Macos []uint64, Linux []uint64, Ios []uint64, Android []uint64, Other []uint64, Total []uint64) *DevicesActive

NewDevicesActive returns a new DevicesActive instance

type DevicesListMemberDevicesAPIError

type DevicesListMemberDevicesAPIError struct {
	dropbox.APIError
	EndpointError *ListMemberDevicesError `json:"error"`
}

DevicesListMemberDevicesAPIError is an error-wrapper for the devices/list_member_devices route

type DevicesListMembersDevicesAPIError

type DevicesListMembersDevicesAPIError struct {
	dropbox.APIError
	EndpointError *ListMembersDevicesError `json:"error"`
}

DevicesListMembersDevicesAPIError is an error-wrapper for the devices/list_members_devices route

type DevicesListTeamDevicesAPIError

type DevicesListTeamDevicesAPIError struct {
	dropbox.APIError
	EndpointError *ListTeamDevicesError `json:"error"`
}

DevicesListTeamDevicesAPIError is an error-wrapper for the devices/list_team_devices route

type DevicesRevokeDeviceSessionAPIError

type DevicesRevokeDeviceSessionAPIError struct {
	dropbox.APIError
	EndpointError *RevokeDeviceSessionError `json:"error"`
}

DevicesRevokeDeviceSessionAPIError is an error-wrapper for the devices/revoke_device_session route

type DevicesRevokeDeviceSessionBatchAPIError

type DevicesRevokeDeviceSessionBatchAPIError struct {
	dropbox.APIError
	EndpointError *RevokeDeviceSessionBatchError `json:"error"`
}

DevicesRevokeDeviceSessionBatchAPIError is an error-wrapper for the devices/revoke_device_session_batch route

type ExcludedUsersListArg

type ExcludedUsersListArg struct {
	// Limit : Number of results to return per call.
	Limit uint32 `json:"limit"`
}

ExcludedUsersListArg : Excluded users list argument.

func NewExcludedUsersListArg

func NewExcludedUsersListArg() *ExcludedUsersListArg

NewExcludedUsersListArg returns a new ExcludedUsersListArg instance

type ExcludedUsersListContinueArg

type ExcludedUsersListContinueArg struct {
	// Cursor : Indicates from what point to get the next set of users.
	Cursor string `json:"cursor"`
}

ExcludedUsersListContinueArg : Excluded users list continue argument.

func NewExcludedUsersListContinueArg

func NewExcludedUsersListContinueArg(Cursor string) *ExcludedUsersListContinueArg

NewExcludedUsersListContinueArg returns a new ExcludedUsersListContinueArg instance

type ExcludedUsersListContinueError

type ExcludedUsersListContinueError struct {
	dropbox.Tagged
}

ExcludedUsersListContinueError : Excluded users list continue error.

type ExcludedUsersListError

type ExcludedUsersListError struct {
	dropbox.Tagged
}

ExcludedUsersListError : Excluded users list error.

type ExcludedUsersListResult

type ExcludedUsersListResult struct {
	// Users : has no documentation (yet)
	Users []*MemberProfile `json:"users"`
	// Cursor : Pass the cursor into
	// `memberSpaceLimitsExcludedUsersListContinue` to obtain additional
	// excluded users.
	Cursor string `json:"cursor,omitempty"`
	// HasMore : Is true if there are additional excluded users that have not
	// been returned yet. An additional call to
	// `memberSpaceLimitsExcludedUsersListContinue` can retrieve them.
	HasMore bool `json:"has_more"`
}

ExcludedUsersListResult : Excluded users list result.

func NewExcludedUsersListResult

func NewExcludedUsersListResult(Users []*MemberProfile, HasMore bool) *ExcludedUsersListResult

NewExcludedUsersListResult returns a new ExcludedUsersListResult instance

type ExcludedUsersUpdateArg

type ExcludedUsersUpdateArg struct {
	// Users : List of users to be added/removed.
	Users []*UserSelectorArg `json:"users,omitempty"`
}

ExcludedUsersUpdateArg : Argument of excluded users update operation. Should include a list of users to add/remove (according to endpoint), Maximum size of the list is 1000 users.

func NewExcludedUsersUpdateArg

func NewExcludedUsersUpdateArg() *ExcludedUsersUpdateArg

NewExcludedUsersUpdateArg returns a new ExcludedUsersUpdateArg instance

type ExcludedUsersUpdateError

type ExcludedUsersUpdateError struct {
	dropbox.Tagged
}

ExcludedUsersUpdateError : Excluded users update error.

type ExcludedUsersUpdateResult

type ExcludedUsersUpdateResult struct {
	// Status : Update status.
	Status *ExcludedUsersUpdateStatus `json:"status"`
}

ExcludedUsersUpdateResult : Excluded users update result.

func NewExcludedUsersUpdateResult

func NewExcludedUsersUpdateResult(Status *ExcludedUsersUpdateStatus) *ExcludedUsersUpdateResult

NewExcludedUsersUpdateResult returns a new ExcludedUsersUpdateResult instance

type ExcludedUsersUpdateStatus

type ExcludedUsersUpdateStatus struct {
	dropbox.Tagged
}

ExcludedUsersUpdateStatus : Excluded users update operation status.

type Feature

type Feature struct {
	dropbox.Tagged
}

Feature : A set of features that a Dropbox Business account may support.

type FeatureValue

type FeatureValue struct {
	dropbox.Tagged
	// UploadApiRateLimit : has no documentation (yet)
	UploadApiRateLimit *UploadApiRateLimitValue `json:"upload_api_rate_limit,omitempty"`
	// HasTeamSharedDropbox : has no documentation (yet)
	HasTeamSharedDropbox *HasTeamSharedDropboxValue `json:"has_team_shared_dropbox,omitempty"`
	// HasTeamFileEvents : has no documentation (yet)
	HasTeamFileEvents *HasTeamFileEventsValue `json:"has_team_file_events,omitempty"`
	// HasTeamSelectiveSync : has no documentation (yet)
	HasTeamSelectiveSync *HasTeamSelectiveSyncValue `json:"has_team_selective_sync,omitempty"`
}

FeatureValue : The values correspond to entries in `Feature`. You may get different value according to your Dropbox Business plan.

func (*FeatureValue) UnmarshalJSON

func (u *FeatureValue) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a FeatureValue instance

type FeaturesGetValuesAPIError

type FeaturesGetValuesAPIError struct {
	dropbox.APIError
	EndpointError *FeaturesGetValuesBatchError `json:"error"`
}

FeaturesGetValuesAPIError is an error-wrapper for the features/get_values route

type FeaturesGetValuesBatchArg

type FeaturesGetValuesBatchArg struct {
	// Features : A list of features in `Feature`. If the list is empty, this
	// route will return `FeaturesGetValuesBatchError`.
	Features []*Feature `json:"features"`
}

FeaturesGetValuesBatchArg : has no documentation (yet)

func NewFeaturesGetValuesBatchArg

func NewFeaturesGetValuesBatchArg(Features []*Feature) *FeaturesGetValuesBatchArg

NewFeaturesGetValuesBatchArg returns a new FeaturesGetValuesBatchArg instance

type FeaturesGetValuesBatchError

type FeaturesGetValuesBatchError struct {
	dropbox.Tagged
}

FeaturesGetValuesBatchError : has no documentation (yet)

type FeaturesGetValuesBatchResult

type FeaturesGetValuesBatchResult struct {
	// Values : has no documentation (yet)
	Values []*FeatureValue `json:"values"`
}

FeaturesGetValuesBatchResult : has no documentation (yet)

func NewFeaturesGetValuesBatchResult

func NewFeaturesGetValuesBatchResult(Values []*FeatureValue) *FeaturesGetValuesBatchResult

NewFeaturesGetValuesBatchResult returns a new FeaturesGetValuesBatchResult instance

type GetActivityReport

type GetActivityReport struct {
	BaseDfbReport
	// Adds : Array of total number of adds by team members.
	Adds []uint64 `json:"adds"`
	// Edits : Array of number of edits by team members. If the same user edits
	// the same file multiple times this is counted as a single edit.
	Edits []uint64 `json:"edits"`
	// Deletes : Array of total number of deletes by team members.
	Deletes []uint64 `json:"deletes"`
	// ActiveUsers28Day : Array of the number of users who have been active in
	// the last 28 days.
	ActiveUsers28Day []uint64 `json:"active_users_28_day"`
	// ActiveUsers7Day : Array of the number of users who have been active in
	// the last week.
	ActiveUsers7Day []uint64 `json:"active_users_7_day"`
	// ActiveUsers1Day : Array of the number of users who have been active in
	// the last day.
	ActiveUsers1Day []uint64 `json:"active_users_1_day"`
	// ActiveSharedFolders28Day : Array of the number of shared folders with
	// some activity in the last 28 days.
	ActiveSharedFolders28Day []uint64 `json:"active_shared_folders_28_day"`
	// ActiveSharedFolders7Day : Array of the number of shared folders with some
	// activity in the last week.
	ActiveSharedFolders7Day []uint64 `json:"active_shared_folders_7_day"`
	// ActiveSharedFolders1Day : Array of the number of shared folders with some
	// activity in the last day.
	ActiveSharedFolders1Day []uint64 `json:"active_shared_folders_1_day"`
	// SharedLinksCreated : Array of the number of shared links created.
	SharedLinksCreated []uint64 `json:"shared_links_created"`
	// SharedLinksViewedByTeam : Array of the number of views by team users to
	// shared links created by the team.
	SharedLinksViewedByTeam []uint64 `json:"shared_links_viewed_by_team"`
	// SharedLinksViewedByOutsideUser : Array of the number of views by users
	// outside of the team to shared links created by the team.
	SharedLinksViewedByOutsideUser []uint64 `json:"shared_links_viewed_by_outside_user"`
	// SharedLinksViewedByNotLoggedIn : Array of the number of views by
	// non-logged-in users to shared links created by the team.
	SharedLinksViewedByNotLoggedIn []uint64 `json:"shared_links_viewed_by_not_logged_in"`
	// SharedLinksViewedTotal : Array of the total number of views to shared
	// links created by the team.
	SharedLinksViewedTotal []uint64 `json:"shared_links_viewed_total"`
}

GetActivityReport : Activity Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.

func NewGetActivityReport

func NewGetActivityReport(StartDate string, Adds []uint64, Edits []uint64, Deletes []uint64, ActiveUsers28Day []uint64, ActiveUsers7Day []uint64, ActiveUsers1Day []uint64, ActiveSharedFolders28Day []uint64, ActiveSharedFolders7Day []uint64, ActiveSharedFolders1Day []uint64, SharedLinksCreated []uint64, SharedLinksViewedByTeam []uint64, SharedLinksViewedByOutsideUser []uint64, SharedLinksViewedByNotLoggedIn []uint64, SharedLinksViewedTotal []uint64) *GetActivityReport

NewGetActivityReport returns a new GetActivityReport instance

type GetDevicesReport

type GetDevicesReport struct {
	BaseDfbReport
	// Active1Day : Report of the number of devices active in the last day.
	Active1Day *DevicesActive `json:"active_1_day"`
	// Active7Day : Report of the number of devices active in the last 7 days.
	Active7Day *DevicesActive `json:"active_7_day"`
	// Active28Day : Report of the number of devices active in the last 28 days.
	Active28Day *DevicesActive `json:"active_28_day"`
}

GetDevicesReport : Devices Report Result. Contains subsections for different time ranges of activity. Each of the items in each subsection of the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.

func NewGetDevicesReport

func NewGetDevicesReport(StartDate string, Active1Day *DevicesActive, Active7Day *DevicesActive, Active28Day *DevicesActive) *GetDevicesReport

NewGetDevicesReport returns a new GetDevicesReport instance

type GetInfoAPIError

type GetInfoAPIError struct {
	dropbox.APIError
	EndpointError struct{} `json:"error"`
}

GetInfoAPIError is an error-wrapper for the get_info route

type GetMembershipReport

type GetMembershipReport struct {
	BaseDfbReport
	// TeamSize : Team size, for each day.
	TeamSize []uint64 `json:"team_size"`
	// PendingInvites : The number of pending invites to the team, for each day.
	PendingInvites []uint64 `json:"pending_invites"`
	// MembersJoined : The number of members that joined the team, for each day.
	MembersJoined []uint64 `json:"members_joined"`
	// SuspendedMembers : The number of suspended team members, for each day.
	SuspendedMembers []uint64 `json:"suspended_members"`
	// Licenses : The total number of licenses the team has, for each day.
	Licenses []uint64 `json:"licenses"`
}

GetMembershipReport : Membership Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.

func NewGetMembershipReport

func NewGetMembershipReport(StartDate string, TeamSize []uint64, PendingInvites []uint64, MembersJoined []uint64, SuspendedMembers []uint64, Licenses []uint64) *GetMembershipReport

NewGetMembershipReport returns a new GetMembershipReport instance

type GetStorageReport

type GetStorageReport struct {
	BaseDfbReport
	// TotalUsage : Sum of the shared, unshared, and datastore usages, for each
	// day.
	TotalUsage []uint64 `json:"total_usage"`
	// SharedUsage : Array of the combined size (bytes) of team members' shared
	// folders, for each day.
	SharedUsage []uint64 `json:"shared_usage"`
	// UnsharedUsage : Array of the combined size (bytes) of team members' root
	// namespaces, for each day.
	UnsharedUsage []uint64 `json:"unshared_usage"`
	// SharedFolders : Array of the number of shared folders owned by team
	// members, for each day.
	SharedFolders []uint64 `json:"shared_folders"`
	// MemberStorageMap : Array of storage summaries of team members' account
	// sizes. Each storage summary is an array of key, value pairs, where each
	// pair describes a storage bucket. The key indicates the upper bound of the
	// bucket and the value is the number of users in that bucket. There is one
	// such summary per day. If there is no data for a day, the storage summary
	// will be empty.
	MemberStorageMap [][]*StorageBucket `json:"member_storage_map"`
}

GetStorageReport : Storage Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.

func NewGetStorageReport

func NewGetStorageReport(StartDate string, TotalUsage []uint64, SharedUsage []uint64, UnsharedUsage []uint64, SharedFolders []uint64, MemberStorageMap [][]*StorageBucket) *GetStorageReport

NewGetStorageReport returns a new GetStorageReport instance

type GroupAccessType

type GroupAccessType struct {
	dropbox.Tagged
}

GroupAccessType : Role of a user in group.

type GroupCreateArg

type GroupCreateArg struct {
	// GroupName : Group name.
	GroupName string `json:"group_name"`
	// GroupExternalId : The creator of a team can associate an arbitrary
	// external ID to the group.
	GroupExternalId string `json:"group_external_id,omitempty"`
	// GroupManagementType : Whether the team can be managed by selected users,
	// or only by team admins.
	GroupManagementType *team_common.GroupManagementType `json:"group_management_type,omitempty"`
}

GroupCreateArg : has no documentation (yet)

func NewGroupCreateArg

func NewGroupCreateArg(GroupName string) *GroupCreateArg

NewGroupCreateArg returns a new GroupCreateArg instance

type GroupCreateError

type GroupCreateError struct {
	dropbox.Tagged
}

GroupCreateError : has no documentation (yet)

type GroupDeleteError

type GroupDeleteError struct {
	dropbox.Tagged
}

GroupDeleteError : has no documentation (yet)

type GroupFullInfo

type GroupFullInfo struct {
	team_common.GroupSummary
	// Members : List of group members.
	Members []*GroupMemberInfo `json:"members,omitempty"`
	// Created : The group creation time as a UTC timestamp in milliseconds
	// since the Unix epoch.
	Created uint64 `json:"created"`
}

GroupFullInfo : Full description of a group.

func NewGroupFullInfo

func NewGroupFullInfo(GroupName string, GroupId string, GroupManagementType *team_common.GroupManagementType, Created uint64) *GroupFullInfo

NewGroupFullInfo returns a new GroupFullInfo instance

type GroupMemberInfo

type GroupMemberInfo struct {
	// Profile : Profile of group member.
	Profile *MemberProfile `json:"profile"`
	// AccessType : The role that the user has in the group.
	AccessType *GroupAccessType `json:"access_type"`
}

GroupMemberInfo : Profile of group member, and role in group.

func NewGroupMemberInfo

func NewGroupMemberInfo(Profile *MemberProfile, AccessType *GroupAccessType) *GroupMemberInfo

NewGroupMemberInfo returns a new GroupMemberInfo instance

type GroupMemberSelector

type GroupMemberSelector struct {
	// Group : Specify a group.
	Group *GroupSelector `json:"group"`
	// User : Identity of a user that is a member of `group`.
	User *UserSelectorArg `json:"user"`
}

GroupMemberSelector : Argument for selecting a group and a single user.

func NewGroupMemberSelector

func NewGroupMemberSelector(Group *GroupSelector, User *UserSelectorArg) *GroupMemberSelector

NewGroupMemberSelector returns a new GroupMemberSelector instance

type GroupMemberSelectorError

type GroupMemberSelectorError struct {
	dropbox.Tagged
}

GroupMemberSelectorError : Error that can be raised when `GroupMemberSelector` is used, and the user is required to be a member of the specified group.

type GroupMemberSetAccessTypeError

type GroupMemberSetAccessTypeError struct {
	dropbox.Tagged
}

GroupMemberSetAccessTypeError : has no documentation (yet)

type GroupMembersAddArg

type GroupMembersAddArg struct {
	IncludeMembersArg
	// Group : Group to which users will be added.
	Group *GroupSelector `json:"group"`
	// Members : List of users to be added to the group.
	Members []*MemberAccess `json:"members"`
}

GroupMembersAddArg : has no documentation (yet)

func NewGroupMembersAddArg

func NewGroupMembersAddArg(Group *GroupSelector, Members []*MemberAccess) *GroupMembersAddArg

NewGroupMembersAddArg returns a new GroupMembersAddArg instance

type GroupMembersAddError

type GroupMembersAddError struct {
	dropbox.Tagged
	// MembersNotInTeam : These members are not part of your team. Currently,
	// you cannot add members to a group if they are not part of your team,
	// though this may change in a subsequent version. To add new members to
	// your Dropbox Business team, use the `membersAdd` endpoint.
	MembersNotInTeam []string `json:"members_not_in_team,omitempty"`
	// UsersNotFound : These users were not found in Dropbox.
	UsersNotFound []string `json:"users_not_found,omitempty"`
	// UserCannotBeManagerOfCompanyManagedGroup : A company-managed group cannot
	// be managed by a user.
	UserCannotBeManagerOfCompanyManagedGroup []string `json:"user_cannot_be_manager_of_company_managed_group,omitempty"`
}

GroupMembersAddError : has no documentation (yet)

func (*GroupMembersAddError) UnmarshalJSON

func (u *GroupMembersAddError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a GroupMembersAddError instance

type GroupMembersChangeResult

type GroupMembersChangeResult struct {
	// GroupInfo : The group info after member change operation has been
	// performed.
	GroupInfo *GroupFullInfo `json:"group_info"`
	// AsyncJobId : An ID that can be used to obtain the status of
	// granting/revoking group-owned resources.
	AsyncJobId string `json:"async_job_id"`
}

GroupMembersChangeResult : Result returned by `groupsMembersAdd` and `groupsMembersRemove`.

func NewGroupMembersChangeResult

func NewGroupMembersChangeResult(GroupInfo *GroupFullInfo, AsyncJobId string) *GroupMembersChangeResult

NewGroupMembersChangeResult returns a new GroupMembersChangeResult instance

type GroupMembersRemoveArg

type GroupMembersRemoveArg struct {
	IncludeMembersArg
	// Group : Group from which users will be removed.
	Group *GroupSelector `json:"group"`
	// Users : List of users to be removed from the group.
	Users []*UserSelectorArg `json:"users"`
}

GroupMembersRemoveArg : has no documentation (yet)

func NewGroupMembersRemoveArg

func NewGroupMembersRemoveArg(Group *GroupSelector, Users []*UserSelectorArg) *GroupMembersRemoveArg

NewGroupMembersRemoveArg returns a new GroupMembersRemoveArg instance

type GroupMembersRemoveError

type GroupMembersRemoveError struct {
	dropbox.Tagged
	// MembersNotInTeam : These members are not part of your team.
	MembersNotInTeam []string `json:"members_not_in_team,omitempty"`
	// UsersNotFound : These users were not found in Dropbox.
	UsersNotFound []string `json:"users_not_found,omitempty"`
}

GroupMembersRemoveError : has no documentation (yet)

func (*GroupMembersRemoveError) UnmarshalJSON

func (u *GroupMembersRemoveError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a GroupMembersRemoveError instance

type GroupMembersSelector

type GroupMembersSelector struct {
	// Group : Specify a group.
	Group *GroupSelector `json:"group"`
	// Users : A list of users that are members of `group`.
	Users *UsersSelectorArg `json:"users"`
}

GroupMembersSelector : Argument for selecting a group and a list of users.

func NewGroupMembersSelector

func NewGroupMembersSelector(Group *GroupSelector, Users *UsersSelectorArg) *GroupMembersSelector

NewGroupMembersSelector returns a new GroupMembersSelector instance

type GroupMembersSelectorError

type GroupMembersSelectorError struct {
	dropbox.Tagged
}

GroupMembersSelectorError : Error that can be raised when `GroupMembersSelector` is used, and the users are required to be members of the specified group.

type GroupMembersSetAccessTypeArg

type GroupMembersSetAccessTypeArg struct {
	GroupMemberSelector
	// AccessType : New group access type the user will have.
	AccessType *GroupAccessType `json:"access_type"`
	// ReturnMembers : Whether to return the list of members in the group.  Note
	// that the default value will cause all the group members  to be returned
	// in the response. This may take a long time for large groups.
	ReturnMembers bool `json:"return_members"`
}

GroupMembersSetAccessTypeArg : has no documentation (yet)

func NewGroupMembersSetAccessTypeArg

func NewGroupMembersSetAccessTypeArg(Group *GroupSelector, User *UserSelectorArg, AccessType *GroupAccessType) *GroupMembersSetAccessTypeArg

NewGroupMembersSetAccessTypeArg returns a new GroupMembersSetAccessTypeArg instance

type GroupSelector

type GroupSelector struct {
	dropbox.Tagged
	// GroupId : Group ID.
	GroupId string `json:"group_id,omitempty"`
	// GroupExternalId : External ID of the group.
	GroupExternalId string `json:"group_external_id,omitempty"`
}

GroupSelector : Argument for selecting a single group, either by group_id or by external group ID.

func (*GroupSelector) UnmarshalJSON

func (u *GroupSelector) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a GroupSelector instance

type GroupSelectorError

type GroupSelectorError struct {
	dropbox.Tagged
}

GroupSelectorError : Error that can be raised when `GroupSelector` is used.

type GroupSelectorWithTeamGroupError

type GroupSelectorWithTeamGroupError struct {
	dropbox.Tagged
}

GroupSelectorWithTeamGroupError : Error that can be raised when `GroupSelector` is used and team groups are disallowed from being used.

type GroupUpdateArgs

type GroupUpdateArgs struct {
	IncludeMembersArg
	// Group : Specify a group.
	Group *GroupSelector `json:"group"`
	// NewGroupName : Optional argument. Set group name to this if provided.
	NewGroupName string `json:"new_group_name,omitempty"`
	// NewGroupExternalId : Optional argument. New group external ID. If the
	// argument is None, the group's external_id won't be updated. If the
	// argument is empty string, the group's external id will be cleared.
	NewGroupExternalId string `json:"new_group_external_id,omitempty"`
	// NewGroupManagementType : Set new group management type, if provided.
	NewGroupManagementType *team_common.GroupManagementType `json:"new_group_management_type,omitempty"`
}

GroupUpdateArgs : has no documentation (yet)

func NewGroupUpdateArgs

func NewGroupUpdateArgs(Group *GroupSelector) *GroupUpdateArgs

NewGroupUpdateArgs returns a new GroupUpdateArgs instance

type GroupUpdateError

type GroupUpdateError struct {
	dropbox.Tagged
}

GroupUpdateError : has no documentation (yet)

type GroupsCreateAPIError

type GroupsCreateAPIError struct {
	dropbox.APIError
	EndpointError *GroupCreateError `json:"error"`
}

GroupsCreateAPIError is an error-wrapper for the groups/create route

type GroupsDeleteAPIError

type GroupsDeleteAPIError struct {
	dropbox.APIError
	EndpointError *GroupDeleteError `json:"error"`
}

GroupsDeleteAPIError is an error-wrapper for the groups/delete route

type GroupsGetInfoAPIError

type GroupsGetInfoAPIError struct {
	dropbox.APIError
	EndpointError *GroupsGetInfoError `json:"error"`
}

GroupsGetInfoAPIError is an error-wrapper for the groups/get_info route

type GroupsGetInfoError

type GroupsGetInfoError struct {
	dropbox.Tagged
}

GroupsGetInfoError : has no documentation (yet)

type GroupsGetInfoItem

type GroupsGetInfoItem struct {
	dropbox.Tagged
	// IdNotFound : An ID that was provided as a parameter to `groupsGetInfo`,
	// and did not match a corresponding group. The ID can be a group ID, or an
	// external ID, depending on how the method was called.
	IdNotFound string `json:"id_not_found,omitempty"`
	// GroupInfo : Info about a group.
	GroupInfo *GroupFullInfo `json:"group_info,omitempty"`
}

GroupsGetInfoItem : has no documentation (yet)

func (*GroupsGetInfoItem) UnmarshalJSON

func (u *GroupsGetInfoItem) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a GroupsGetInfoItem instance

type GroupsJobStatusGetAPIError

type GroupsJobStatusGetAPIError struct {
	dropbox.APIError
	EndpointError *GroupsPollError `json:"error"`
}

GroupsJobStatusGetAPIError is an error-wrapper for the groups/job_status/get route

type GroupsListAPIError

type GroupsListAPIError struct {
	dropbox.APIError
	EndpointError struct{} `json:"error"`
}

GroupsListAPIError is an error-wrapper for the groups/list route

type GroupsListArg

type GroupsListArg struct {
	// Limit : Number of results to return per call.
	Limit uint32 `json:"limit"`
}

GroupsListArg : has no documentation (yet)

func NewGroupsListArg

func NewGroupsListArg() *GroupsListArg

NewGroupsListArg returns a new GroupsListArg instance

type GroupsListContinueAPIError

type GroupsListContinueAPIError struct {
	dropbox.APIError
	EndpointError *GroupsListContinueError `json:"error"`
}

GroupsListContinueAPIError is an error-wrapper for the groups/list/continue route

type GroupsListContinueArg

type GroupsListContinueArg struct {
	// Cursor : Indicates from what point to get the next set of groups.
	Cursor string `json:"cursor"`
}

GroupsListContinueArg : has no documentation (yet)

func NewGroupsListContinueArg

func NewGroupsListContinueArg(Cursor string) *GroupsListContinueArg

NewGroupsListContinueArg returns a new GroupsListContinueArg instance

type GroupsListContinueError

type GroupsListContinueError struct {
	dropbox.Tagged
}

GroupsListContinueError : has no documentation (yet)

type GroupsListResult

type GroupsListResult struct {
	// Groups : has no documentation (yet)
	Groups []*team_common.GroupSummary `json:"groups"`
	// Cursor : Pass the cursor into `groupsListContinue` to obtain the
	// additional groups.
	Cursor string `json:"cursor"`
	// HasMore : Is true if there are additional groups that have not been
	// returned yet. An additional call to `groupsListContinue` can retrieve
	// them.
	HasMore bool `json:"has_more"`
}

GroupsListResult : has no documentation (yet)

func NewGroupsListResult

func NewGroupsListResult(Groups []*team_common.GroupSummary, Cursor string, HasMore bool) *GroupsListResult

NewGroupsListResult returns a new GroupsListResult instance

type GroupsMembersAddAPIError

type GroupsMembersAddAPIError struct {
	dropbox.APIError
	EndpointError *GroupMembersAddError `json:"error"`
}

GroupsMembersAddAPIError is an error-wrapper for the groups/members/add route

type GroupsMembersListAPIError

type GroupsMembersListAPIError struct {
	dropbox.APIError
	EndpointError *GroupSelectorError `json:"error"`
}

GroupsMembersListAPIError is an error-wrapper for the groups/members/list route

type GroupsMembersListArg

type GroupsMembersListArg struct {
	// Group : The group whose members are to be listed.
	Group *GroupSelector `json:"group"`
	// Limit : Number of results to return per call.
	Limit uint32 `json:"limit"`
}

GroupsMembersListArg : has no documentation (yet)

func NewGroupsMembersListArg

func NewGroupsMembersListArg(Group *GroupSelector) *GroupsMembersListArg

NewGroupsMembersListArg returns a new GroupsMembersListArg instance

type GroupsMembersListContinueAPIError

type GroupsMembersListContinueAPIError struct {
	dropbox.APIError
	EndpointError *GroupsMembersListContinueError `json:"error"`
}

GroupsMembersListContinueAPIError is an error-wrapper for the groups/members/list/continue route

type GroupsMembersListContinueArg

type GroupsMembersListContinueArg struct {
	// Cursor : Indicates from what point to get the next set of groups.
	Cursor string `json:"cursor"`
}

GroupsMembersListContinueArg : has no documentation (yet)

func NewGroupsMembersListContinueArg

func NewGroupsMembersListContinueArg(Cursor string) *GroupsMembersListContinueArg

NewGroupsMembersListContinueArg returns a new GroupsMembersListContinueArg instance

type GroupsMembersListContinueError

type GroupsMembersListContinueError struct {
	dropbox.Tagged
}

GroupsMembersListContinueError : has no documentation (yet)

type GroupsMembersListResult

type GroupsMembersListResult struct {
	// Members : has no documentation (yet)
	Members []*GroupMemberInfo `json:"members"`
	// Cursor : Pass the cursor into `groupsMembersListContinue` to obtain
	// additional group members.
	Cursor string `json:"cursor"`
	// HasMore : Is true if there are additional group members that have not
	// been returned yet. An additional call to `groupsMembersListContinue` can
	// retrieve them.
	HasMore bool `json:"has_more"`
}

GroupsMembersListResult : has no documentation (yet)

func NewGroupsMembersListResult

func NewGroupsMembersListResult(Members []*GroupMemberInfo, Cursor string, HasMore bool) *GroupsMembersListResult

NewGroupsMembersListResult returns a new GroupsMembersListResult instance

type GroupsMembersRemoveAPIError

type GroupsMembersRemoveAPIError struct {
	dropbox.APIError
	EndpointError *GroupMembersRemoveError `json:"error"`
}

GroupsMembersRemoveAPIError is an error-wrapper for the groups/members/remove route

type GroupsMembersSetAccessTypeAPIError

type GroupsMembersSetAccessTypeAPIError struct {
	dropbox.APIError
	EndpointError *GroupMemberSetAccessTypeError `json:"error"`
}

GroupsMembersSetAccessTypeAPIError is an error-wrapper for the groups/members/set_access_type route

type GroupsPollError

type GroupsPollError struct {
	dropbox.Tagged
}

GroupsPollError : has no documentation (yet)

type GroupsSelector

type GroupsSelector struct {
	dropbox.Tagged
	// GroupIds : List of group IDs.
	GroupIds []string `json:"group_ids,omitempty"`
	// GroupExternalIds : List of external IDs of groups.
	GroupExternalIds []string `json:"group_external_ids,omitempty"`
}

GroupsSelector : Argument for selecting a list of groups, either by group_ids, or external group IDs.

func (*GroupsSelector) UnmarshalJSON

func (u *GroupsSelector) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a GroupsSelector instance

type GroupsUpdateAPIError

type GroupsUpdateAPIError struct {
	dropbox.APIError
	EndpointError *GroupUpdateError `json:"error"`
}

GroupsUpdateAPIError is an error-wrapper for the groups/update route

type HasTeamFileEventsValue

type HasTeamFileEventsValue struct {
	dropbox.Tagged
	// Enabled : Does this team have file events.
	Enabled bool `json:"enabled,omitempty"`
}

HasTeamFileEventsValue : The value for `Feature.has_team_file_events`.

func (*HasTeamFileEventsValue) UnmarshalJSON

func (u *HasTeamFileEventsValue) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a HasTeamFileEventsValue instance

type HasTeamSelectiveSyncValue

type HasTeamSelectiveSyncValue struct {
	dropbox.Tagged
	// HasTeamSelectiveSync : Does this team have team selective sync enabled.
	HasTeamSelectiveSync bool `json:"has_team_selective_sync,omitempty"`
}

HasTeamSelectiveSyncValue : The value for `Feature.has_team_selective_sync`.

func (*HasTeamSelectiveSyncValue) UnmarshalJSON

func (u *HasTeamSelectiveSyncValue) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a HasTeamSelectiveSyncValue instance

type HasTeamSharedDropboxValue

type HasTeamSharedDropboxValue struct {
	dropbox.Tagged
	// HasTeamSharedDropbox : Does this team have a shared team root.
	HasTeamSharedDropbox bool `json:"has_team_shared_dropbox,omitempty"`
}

HasTeamSharedDropboxValue : The value for `Feature.has_team_shared_dropbox`.

func (*HasTeamSharedDropboxValue) UnmarshalJSON

func (u *HasTeamSharedDropboxValue) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a HasTeamSharedDropboxValue instance

type IncludeMembersArg

type IncludeMembersArg struct {
	// ReturnMembers : Whether to return the list of members in the group.  Note
	// that the default value will cause all the group members  to be returned
	// in the response. This may take a long time for large groups.
	ReturnMembers bool `json:"return_members"`
}

IncludeMembersArg : has no documentation (yet)

func NewIncludeMembersArg

func NewIncludeMembersArg() *IncludeMembersArg

NewIncludeMembersArg returns a new IncludeMembersArg instance

type LinkedAppsListMemberLinkedAppsAPIError

type LinkedAppsListMemberLinkedAppsAPIError struct {
	dropbox.APIError
	EndpointError *ListMemberAppsError `json:"error"`
}

LinkedAppsListMemberLinkedAppsAPIError is an error-wrapper for the linked_apps/list_member_linked_apps route

type LinkedAppsListMembersLinkedAppsAPIError

type LinkedAppsListMembersLinkedAppsAPIError struct {
	dropbox.APIError
	EndpointError *ListMembersAppsError `json:"error"`
}

LinkedAppsListMembersLinkedAppsAPIError is an error-wrapper for the linked_apps/list_members_linked_apps route

type LinkedAppsListTeamLinkedAppsAPIError

type LinkedAppsListTeamLinkedAppsAPIError struct {
	dropbox.APIError
	EndpointError *ListTeamAppsError `json:"error"`
}

LinkedAppsListTeamLinkedAppsAPIError is an error-wrapper for the linked_apps/list_team_linked_apps route

type LinkedAppsRevokeLinkedAppAPIError

type LinkedAppsRevokeLinkedAppAPIError struct {
	dropbox.APIError
	EndpointError *RevokeLinkedAppError `json:"error"`
}

LinkedAppsRevokeLinkedAppAPIError is an error-wrapper for the linked_apps/revoke_linked_app route

type LinkedAppsRevokeLinkedAppBatchAPIError

type LinkedAppsRevokeLinkedAppBatchAPIError struct {
	dropbox.APIError
	EndpointError *RevokeLinkedAppBatchError `json:"error"`
}

LinkedAppsRevokeLinkedAppBatchAPIError is an error-wrapper for the linked_apps/revoke_linked_app_batch route

type ListMemberAppsArg

type ListMemberAppsArg struct {
	// TeamMemberId : The team member id.
	TeamMemberId string `json:"team_member_id"`
}

ListMemberAppsArg : has no documentation (yet)

func NewListMemberAppsArg

func NewListMemberAppsArg(TeamMemberId string) *ListMemberAppsArg

NewListMemberAppsArg returns a new ListMemberAppsArg instance

type ListMemberAppsError

type ListMemberAppsError struct {
	dropbox.Tagged
}

ListMemberAppsError : Error returned by `linkedAppsListMemberLinkedApps`.

type ListMemberAppsResult

type ListMemberAppsResult struct {
	// LinkedApiApps : List of third party applications linked by this team
	// member.
	LinkedApiApps []*ApiApp `json:"linked_api_apps"`
}

ListMemberAppsResult : has no documentation (yet)

func NewListMemberAppsResult

func NewListMemberAppsResult(LinkedApiApps []*ApiApp) *ListMemberAppsResult

NewListMemberAppsResult returns a new ListMemberAppsResult instance

type ListMemberDevicesArg

type ListMemberDevicesArg struct {
	// TeamMemberId : The team's member id.
	TeamMemberId string `json:"team_member_id"`
	// IncludeWebSessions : Whether to list web sessions of the team's member.
	IncludeWebSessions bool `json:"include_web_sessions"`
	// IncludeDesktopClients : Whether to list linked desktop devices of the
	// team's member.
	IncludeDesktopClients bool `json:"include_desktop_clients"`
	// IncludeMobileClients : Whether to list linked mobile devices of the
	// team's member.
	IncludeMobileClients bool `json:"include_mobile_clients"`
}

ListMemberDevicesArg : has no documentation (yet)

func NewListMemberDevicesArg

func NewListMemberDevicesArg(TeamMemberId string) *ListMemberDevicesArg

NewListMemberDevicesArg returns a new ListMemberDevicesArg instance

type ListMemberDevicesError

type ListMemberDevicesError struct {
	dropbox.Tagged
}

ListMemberDevicesError : has no documentation (yet)

type ListMemberDevicesResult

type ListMemberDevicesResult struct {
	// ActiveWebSessions : List of web sessions made by this team member.
	ActiveWebSessions []*ActiveWebSession `json:"active_web_sessions,omitempty"`
	// DesktopClientSessions : List of desktop clients used by this team member.
	DesktopClientSessions []*DesktopClientSession `json:"desktop_client_sessions,omitempty"`
	// MobileClientSessions : List of mobile client used by this team member.
	MobileClientSessions []*MobileClientSession `json:"mobile_client_sessions,omitempty"`
}

ListMemberDevicesResult : has no documentation (yet)

func NewListMemberDevicesResult

func NewListMemberDevicesResult() *ListMemberDevicesResult

NewListMemberDevicesResult returns a new ListMemberDevicesResult instance

type ListMembersAppsArg

type ListMembersAppsArg struct {
	// Cursor : At the first call to the `linkedAppsListMembersLinkedApps` the
	// cursor shouldn't be passed. Then, if the result of the call includes a
	// cursor, the following requests should include the received cursors in
	// order to receive the next sub list of the team applications.
	Cursor string `json:"cursor,omitempty"`
}

ListMembersAppsArg : Arguments for `linkedAppsListMembersLinkedApps`.

func NewListMembersAppsArg

func NewListMembersAppsArg() *ListMembersAppsArg

NewListMembersAppsArg returns a new ListMembersAppsArg instance

type ListMembersAppsError

type ListMembersAppsError struct {
	dropbox.Tagged
}

ListMembersAppsError : Error returned by `linkedAppsListMembersLinkedApps`.

type ListMembersAppsResult

type ListMembersAppsResult struct {
	// Apps : The linked applications of each member of the team.
	Apps []*MemberLinkedApps `json:"apps"`
	// HasMore : If true, then there are more apps available. Pass the cursor to
	// `linkedAppsListMembersLinkedApps` to retrieve the rest.
	HasMore bool `json:"has_more"`
	// Cursor : Pass the cursor into `linkedAppsListMembersLinkedApps` to
	// receive the next sub list of team's applications.
	Cursor string `json:"cursor,omitempty"`
}

ListMembersAppsResult : Information returned by `linkedAppsListMembersLinkedApps`.

func NewListMembersAppsResult

func NewListMembersAppsResult(Apps []*MemberLinkedApps, HasMore bool) *ListMembersAppsResult

NewListMembersAppsResult returns a new ListMembersAppsResult instance

type ListMembersDevicesArg

type ListMembersDevicesArg struct {
	// Cursor : At the first call to the `devicesListMembersDevices` the cursor
	// shouldn't be passed. Then, if the result of the call includes a cursor,
	// the following requests should include the received cursors in order to
	// receive the next sub list of team devices.
	Cursor string `json:"cursor,omitempty"`
	// IncludeWebSessions : Whether to list web sessions of the team members.
	IncludeWebSessions bool `json:"include_web_sessions"`
	// IncludeDesktopClients : Whether to list desktop clients of the team
	// members.
	IncludeDesktopClients bool `json:"include_desktop_clients"`
	// IncludeMobileClients : Whether to list mobile clients of the team
	// members.
	IncludeMobileClients bool `json:"include_mobile_clients"`
}

ListMembersDevicesArg : has no documentation (yet)

func NewListMembersDevicesArg

func NewListMembersDevicesArg() *ListMembersDevicesArg

NewListMembersDevicesArg returns a new ListMembersDevicesArg instance

type ListMembersDevicesError

type ListMembersDevicesError struct {
	dropbox.Tagged
}

ListMembersDevicesError : has no documentation (yet)

type ListMembersDevicesResult

type ListMembersDevicesResult struct {
	// Devices : The devices of each member of the team.
	Devices []*MemberDevices `json:"devices"`
	// HasMore : If true, then there are more devices available. Pass the cursor
	// to `devicesListMembersDevices` to retrieve the rest.
	HasMore bool `json:"has_more"`
	// Cursor : Pass the cursor into `devicesListMembersDevices` to receive the
	// next sub list of team's devices.
	Cursor string `json:"cursor,omitempty"`
}

ListMembersDevicesResult : has no documentation (yet)

func NewListMembersDevicesResult

func NewListMembersDevicesResult(Devices []*MemberDevices, HasMore bool) *ListMembersDevicesResult

NewListMembersDevicesResult returns a new ListMembersDevicesResult instance

type ListTeamAppsArg

type ListTeamAppsArg struct {
	// Cursor : At the first call to the `linkedAppsListTeamLinkedApps` the
	// cursor shouldn't be passed. Then, if the result of the call includes a
	// cursor, the following requests should include the received cursors in
	// order to receive the next sub list of the team applications.
	Cursor string `json:"cursor,omitempty"`
}

ListTeamAppsArg : Arguments for `linkedAppsListTeamLinkedApps`.

func NewListTeamAppsArg

func NewListTeamAppsArg() *ListTeamAppsArg

NewListTeamAppsArg returns a new ListTeamAppsArg instance

type ListTeamAppsError

type ListTeamAppsError struct {
	dropbox.Tagged
}

ListTeamAppsError : Error returned by `linkedAppsListTeamLinkedApps`.

type ListTeamAppsResult

type ListTeamAppsResult struct {
	// Apps : The linked applications of each member of the team.
	Apps []*MemberLinkedApps `json:"apps"`
	// HasMore : If true, then there are more apps available. Pass the cursor to
	// `linkedAppsListTeamLinkedApps` to retrieve the rest.
	HasMore bool `json:"has_more"`
	// Cursor : Pass the cursor into `linkedAppsListTeamLinkedApps` to receive
	// the next sub list of team's applications.
	Cursor string `json:"cursor,omitempty"`
}

ListTeamAppsResult : Information returned by `linkedAppsListTeamLinkedApps`.

func NewListTeamAppsResult

func NewListTeamAppsResult(Apps []*MemberLinkedApps, HasMore bool) *ListTeamAppsResult

NewListTeamAppsResult returns a new ListTeamAppsResult instance

type ListTeamDevicesArg

type ListTeamDevicesArg struct {
	// Cursor : At the first call to the `devicesListTeamDevices` the cursor
	// shouldn't be passed. Then, if the result of the call includes a cursor,
	// the following requests should include the received cursors in order to
	// receive the next sub list of team devices.
	Cursor string `json:"cursor,omitempty"`
	// IncludeWebSessions : Whether to list web sessions of the team members.
	IncludeWebSessions bool `json:"include_web_sessions"`
	// IncludeDesktopClients : Whether to list desktop clients of the team
	// members.
	IncludeDesktopClients bool `json:"include_desktop_clients"`
	// IncludeMobileClients : Whether to list mobile clients of the team
	// members.
	IncludeMobileClients bool `json:"include_mobile_clients"`
}

ListTeamDevicesArg : has no documentation (yet)

func NewListTeamDevicesArg

func NewListTeamDevicesArg() *ListTeamDevicesArg

NewListTeamDevicesArg returns a new ListTeamDevicesArg instance

type ListTeamDevicesError

type ListTeamDevicesError struct {
	dropbox.Tagged
}

ListTeamDevicesError : has no documentation (yet)

type ListTeamDevicesResult

type ListTeamDevicesResult struct {
	// Devices : The devices of each member of the team.
	Devices []*MemberDevices `json:"devices"`
	// HasMore : If true, then there are more devices available. Pass the cursor
	// to `devicesListTeamDevices` to retrieve the rest.
	HasMore bool `json:"has_more"`
	// Cursor : Pass the cursor into `devicesListTeamDevices` to receive the
	// next sub list of team's devices.
	Cursor string `json:"cursor,omitempty"`
}

ListTeamDevicesResult : has no documentation (yet)

func NewListTeamDevicesResult

func NewListTeamDevicesResult(Devices []*MemberDevices, HasMore bool) *ListTeamDevicesResult

NewListTeamDevicesResult returns a new ListTeamDevicesResult instance

type MemberAccess

type MemberAccess struct {
	// User : Identity of a user.
	User *UserSelectorArg `json:"user"`
	// AccessType : Access type.
	AccessType *GroupAccessType `json:"access_type"`
}

MemberAccess : Specify access type a member should have when joined to a group.

func NewMemberAccess

func NewMemberAccess(User *UserSelectorArg, AccessType *GroupAccessType) *MemberAccess

NewMemberAccess returns a new MemberAccess instance

type MemberAddArg

type MemberAddArg struct {
	// MemberEmail : has no documentation (yet)
	MemberEmail string `json:"member_email"`
	// MemberGivenName : Member's first name.
	MemberGivenName string `json:"member_given_name,omitempty"`
	// MemberSurname : Member's last name.
	MemberSurname string `json:"member_surname,omitempty"`
	// MemberExternalId : External ID for member.
	MemberExternalId string `json:"member_external_id,omitempty"`
	// MemberPersistentId : Persistent ID for member. This field is only
	// available to teams using persistent ID SAML configuration.
	MemberPersistentId string `json:"member_persistent_id,omitempty"`
	// SendWelcomeEmail : Whether to send a welcome email to the member. If
	// send_welcome_email is false, no email invitation will be sent to the
	// user. This may be useful for apps using single sign-on (SSO) flows for
	// onboarding that want to handle announcements themselves.
	SendWelcomeEmail bool `json:"send_welcome_email"`
	// Role : has no documentation (yet)
	Role *AdminTier `json:"role"`
	// IsDirectoryRestricted : Whether a user is directory restricted.
	IsDirectoryRestricted bool `json:"is_directory_restricted,omitempty"`
}

MemberAddArg : has no documentation (yet)

func NewMemberAddArg

func NewMemberAddArg(MemberEmail string) *MemberAddArg

NewMemberAddArg returns a new MemberAddArg instance

type MemberAddResult

type MemberAddResult struct {
	dropbox.Tagged
	// Success : Describes a user that was successfully added to the team.
	Success *TeamMemberInfo `json:"success,omitempty"`
	// TeamLicenseLimit : Team is already full. The organization has no
	// available licenses.
	TeamLicenseLimit string `json:"team_license_limit,omitempty"`
	// FreeTeamMemberLimitReached : Team is already full. The free team member
	// limit has been reached.
	FreeTeamMemberLimitReached string `json:"free_team_member_limit_reached,omitempty"`
	// UserAlreadyOnTeam : User is already on this team. The provided email
	// address is associated with a user who is already a member of (including
	// in recoverable state) or invited to the team.
	UserAlreadyOnTeam string `json:"user_already_on_team,omitempty"`
	// UserOnAnotherTeam : User is already on another team. The provided email
	// address is associated with a user that is already a member or invited to
	// another team.
	UserOnAnotherTeam string `json:"user_on_another_team,omitempty"`
	// UserAlreadyPaired : User is already paired.
	UserAlreadyPaired string `json:"user_already_paired,omitempty"`
	// UserMigrationFailed : User migration has failed.
	UserMigrationFailed string `json:"user_migration_failed,omitempty"`
	// DuplicateExternalMemberId : A user with the given external member ID
	// already exists on the team (including in recoverable state).
	DuplicateExternalMemberId string `json:"duplicate_external_member_id,omitempty"`
	// DuplicateMemberPersistentId : A user with the given persistent ID already
	// exists on the team (including in recoverable state).
	DuplicateMemberPersistentId string `json:"duplicate_member_persistent_id,omitempty"`
	// PersistentIdDisabled : Persistent ID is only available to teams with
	// persistent ID SAML configuration. Please contact Dropbox for more
	// information.
	PersistentIdDisabled string `json:"persistent_id_disabled,omitempty"`
	// UserCreationFailed : User creation has failed.
	UserCreationFailed string `json:"user_creation_failed,omitempty"`
}

MemberAddResult : Describes the result of attempting to add a single user to the team. 'success' is the only value indicating that a user was indeed added to the team - the other values explain the type of failure that occurred, and include the email of the user for which the operation has failed.

func (*MemberAddResult) UnmarshalJSON

func (u *MemberAddResult) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a MemberAddResult instance

type MemberDevices

type MemberDevices struct {
	// TeamMemberId : The member unique Id.
	TeamMemberId string `json:"team_member_id"`
	// WebSessions : List of web sessions made by this team member.
	WebSessions []*ActiveWebSession `json:"web_sessions,omitempty"`
	// DesktopClients : List of desktop clients by this team member.
	DesktopClients []*DesktopClientSession `json:"desktop_clients,omitempty"`
	// MobileClients : List of mobile clients by this team member.
	MobileClients []*MobileClientSession `json:"mobile_clients,omitempty"`
}

MemberDevices : Information on devices of a team's member.

func NewMemberDevices

func NewMemberDevices(TeamMemberId string) *MemberDevices

NewMemberDevices returns a new MemberDevices instance

type MemberLinkedApps

type MemberLinkedApps struct {
	// TeamMemberId : The member unique Id.
	TeamMemberId string `json:"team_member_id"`
	// LinkedApiApps : List of third party applications linked by this team
	// member.
	LinkedApiApps []*ApiApp `json:"linked_api_apps"`
}

MemberLinkedApps : Information on linked applications of a team member.

func NewMemberLinkedApps

func NewMemberLinkedApps(TeamMemberId string, LinkedApiApps []*ApiApp) *MemberLinkedApps

NewMemberLinkedApps returns a new MemberLinkedApps instance

type MemberProfile

type MemberProfile struct {
	// TeamMemberId : ID of user as a member of a team.
	TeamMemberId string `json:"team_member_id"`
	// ExternalId : External ID that a team can attach to the user. An
	// application using the API may find it easier to use their own IDs instead
	// of Dropbox IDs like account_id or team_member_id.
	ExternalId string `json:"external_id,omitempty"`
	// AccountId : A user's account identifier.
	AccountId string `json:"account_id,omitempty"`
	// Email : Email address of user.
	Email string `json:"email"`
	// EmailVerified : Is true if the user's email is verified to be owned by
	// the user.
	EmailVerified bool `json:"email_verified"`
	// Status : The user's status as a member of a specific team.
	Status *TeamMemberStatus `json:"status"`
	// Name : Representations for a person's name.
	Name *users.Name `json:"name"`
	// MembershipType : The user's membership type: full (normal team member) vs
	// limited (does not use a license; no access to the team's shared quota).
	MembershipType *TeamMembershipType `json:"membership_type"`
	// JoinedOn : The date and time the user joined as a member of a specific
	// team.
	JoinedOn time.Time `json:"joined_on,omitempty"`
	// SuspendedOn : The date and time the user was suspended from the team
	// (contains value only when the member's status matches
	// `TeamMemberStatus.suspended`.
	SuspendedOn time.Time `json:"suspended_on,omitempty"`
	// PersistentId : Persistent ID that a team can attach to the user. The
	// persistent ID is unique ID to be used for SAML authentication.
	PersistentId string `json:"persistent_id,omitempty"`
	// IsDirectoryRestricted : Whether the user is a directory restricted user.
	IsDirectoryRestricted bool `json:"is_directory_restricted,omitempty"`
	// ProfilePhotoUrl : URL for the photo representing the user, if one is set.
	ProfilePhotoUrl string `json:"profile_photo_url,omitempty"`
}

MemberProfile : Basic member profile.

func NewMemberProfile

func NewMemberProfile(TeamMemberId string, Email string, EmailVerified bool, Status *TeamMemberStatus, Name *users.Name, MembershipType *TeamMembershipType) *MemberProfile

NewMemberProfile returns a new MemberProfile instance

type MemberSelectorError

type MemberSelectorError struct {
	dropbox.Tagged
}

MemberSelectorError : has no documentation (yet)

type MemberSpaceLimitsExcludedUsersAddAPIError

type MemberSpaceLimitsExcludedUsersAddAPIError struct {
	dropbox.APIError
	EndpointError *ExcludedUsersUpdateError `json:"error"`
}

MemberSpaceLimitsExcludedUsersAddAPIError is an error-wrapper for the member_space_limits/excluded_users/add route

type MemberSpaceLimitsExcludedUsersListAPIError

type MemberSpaceLimitsExcludedUsersListAPIError struct {
	dropbox.APIError
	EndpointError *ExcludedUsersListError `json:"error"`
}

MemberSpaceLimitsExcludedUsersListAPIError is an error-wrapper for the member_space_limits/excluded_users/list route

type MemberSpaceLimitsExcludedUsersListContinueAPIError

type MemberSpaceLimitsExcludedUsersListContinueAPIError struct {
	dropbox.APIError
	EndpointError *ExcludedUsersListContinueError `json:"error"`
}

MemberSpaceLimitsExcludedUsersListContinueAPIError is an error-wrapper for the member_space_limits/excluded_users/list/continue route

type MemberSpaceLimitsExcludedUsersRemoveAPIError

type MemberSpaceLimitsExcludedUsersRemoveAPIError struct {
	dropbox.APIError
	EndpointError *ExcludedUsersUpdateError `json:"error"`
}

MemberSpaceLimitsExcludedUsersRemoveAPIError is an error-wrapper for the member_space_limits/excluded_users/remove route

type MemberSpaceLimitsGetCustomQuotaAPIError

type MemberSpaceLimitsGetCustomQuotaAPIError struct {
	dropbox.APIError
	EndpointError *CustomQuotaError `json:"error"`
}

MemberSpaceLimitsGetCustomQuotaAPIError is an error-wrapper for the member_space_limits/get_custom_quota route

type MemberSpaceLimitsRemoveCustomQuotaAPIError

type MemberSpaceLimitsRemoveCustomQuotaAPIError struct {
	dropbox.APIError
	EndpointError *CustomQuotaError `json:"error"`
}

MemberSpaceLimitsRemoveCustomQuotaAPIError is an error-wrapper for the member_space_limits/remove_custom_quota route

type MemberSpaceLimitsSetCustomQuotaAPIError

type MemberSpaceLimitsSetCustomQuotaAPIError struct {
	dropbox.APIError
	EndpointError *SetCustomQuotaError `json:"error"`
}

MemberSpaceLimitsSetCustomQuotaAPIError is an error-wrapper for the member_space_limits/set_custom_quota route

type MembersAddAPIError

type MembersAddAPIError struct {
	dropbox.APIError
	EndpointError struct{} `json:"error"`
}

MembersAddAPIError is an error-wrapper for the members/add route

type MembersAddArg

type MembersAddArg struct {
	// NewMembers : Details of new members to be added to the team.
	NewMembers []*MemberAddArg `json:"new_members"`
	// ForceAsync : Whether to force the add to happen asynchronously.
	ForceAsync bool `json:"force_async"`
}

MembersAddArg : has no documentation (yet)

func NewMembersAddArg

func NewMembersAddArg(NewMembers []*MemberAddArg) *MembersAddArg

NewMembersAddArg returns a new MembersAddArg instance

type MembersAddJobStatus

type MembersAddJobStatus struct {
	dropbox.Tagged
	// Complete : The asynchronous job has finished. For each member that was
	// specified in the parameter `MembersAddArg` that was provided to
	// `membersAdd`, a corresponding item is returned in this list.
	Complete []*MemberAddResult `json:"complete,omitempty"`
	// Failed : The asynchronous job returned an error. The string contains an
	// error message.
	Failed string `json:"failed,omitempty"`
}

MembersAddJobStatus : has no documentation (yet)

func (*MembersAddJobStatus) UnmarshalJSON

func (u *MembersAddJobStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a MembersAddJobStatus instance

type MembersAddJobStatusGetAPIError

type MembersAddJobStatusGetAPIError struct {
	dropbox.APIError
	EndpointError *async.PollError `json:"error"`
}

MembersAddJobStatusGetAPIError is an error-wrapper for the members/add/job_status/get route

type MembersAddLaunch

type MembersAddLaunch struct {
	dropbox.Tagged
	// AsyncJobId : This response indicates that the processing is asynchronous.
	// The string is an id that can be used to obtain the status of the
	// asynchronous job.
	AsyncJobId string `json:"async_job_id,omitempty"`
	// Complete : has no documentation (yet)
	Complete []*MemberAddResult `json:"complete,omitempty"`
}

MembersAddLaunch : has no documentation (yet)

func (*MembersAddLaunch) UnmarshalJSON

func (u *MembersAddLaunch) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a MembersAddLaunch instance

type MembersDataTransferArg

type MembersDataTransferArg struct {
	MembersDeactivateBaseArg
	// TransferDestId : Files from the deleted member account will be
	// transferred to this user.
	TransferDestId *UserSelectorArg `json:"transfer_dest_id"`
	// TransferAdminId : Errors during the transfer process will be sent via
	// email to this user.
	TransferAdminId *UserSelectorArg `json:"transfer_admin_id"`
}

MembersDataTransferArg : has no documentation (yet)

func NewMembersDataTransferArg

func NewMembersDataTransferArg(User *UserSelectorArg, TransferDestId *UserSelectorArg, TransferAdminId *UserSelectorArg) *MembersDataTransferArg

NewMembersDataTransferArg returns a new MembersDataTransferArg instance

type MembersDeactivateArg

type MembersDeactivateArg struct {
	MembersDeactivateBaseArg
	// WipeData : If provided, controls if the user's data will be deleted on
	// their linked devices.
	WipeData bool `json:"wipe_data"`
}

MembersDeactivateArg : has no documentation (yet)

func NewMembersDeactivateArg

func NewMembersDeactivateArg(User *UserSelectorArg) *MembersDeactivateArg

NewMembersDeactivateArg returns a new MembersDeactivateArg instance

type MembersDeactivateBaseArg

type MembersDeactivateBaseArg struct {
	// User : Identity of user to remove/suspend/have their files moved.
	User *UserSelectorArg `json:"user"`
}

MembersDeactivateBaseArg : Exactly one of team_member_id, email, or external_id must be provided to identify the user account.

func NewMembersDeactivateBaseArg

func NewMembersDeactivateBaseArg(User *UserSelectorArg) *MembersDeactivateBaseArg

NewMembersDeactivateBaseArg returns a new MembersDeactivateBaseArg instance

type MembersDeactivateError

type MembersDeactivateError struct {
	dropbox.Tagged
}

MembersDeactivateError : has no documentation (yet)

type MembersGetInfoAPIError

type MembersGetInfoAPIError struct {
	dropbox.APIError
	EndpointError *MembersGetInfoError `json:"error"`
}

MembersGetInfoAPIError is an error-wrapper for the members/get_info route

type MembersGetInfoArgs

type MembersGetInfoArgs struct {
	// Members : List of team members.
	Members []*UserSelectorArg `json:"members"`
}

MembersGetInfoArgs : has no documentation (yet)

func NewMembersGetInfoArgs

func NewMembersGetInfoArgs(Members []*UserSelectorArg) *MembersGetInfoArgs

NewMembersGetInfoArgs returns a new MembersGetInfoArgs instance

type MembersGetInfoError

type MembersGetInfoError struct {
	dropbox.Tagged
}

MembersGetInfoError :

type MembersGetInfoItem

type MembersGetInfoItem struct {
	dropbox.Tagged
	// IdNotFound : An ID that was provided as a parameter to `membersGetInfo`,
	// and did not match a corresponding user. This might be a team_member_id,
	// an email, or an external ID, depending on how the method was called.
	IdNotFound string `json:"id_not_found,omitempty"`
	// MemberInfo : Info about a team member.
	MemberInfo *TeamMemberInfo `json:"member_info,omitempty"`
}

MembersGetInfoItem : Describes a result obtained for a single user whose id was specified in the parameter of `membersGetInfo`.

func (*MembersGetInfoItem) UnmarshalJSON

func (u *MembersGetInfoItem) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a MembersGetInfoItem instance

type MembersListAPIError

type MembersListAPIError struct {
	dropbox.APIError
	EndpointError *MembersListError `json:"error"`
}

MembersListAPIError is an error-wrapper for the members/list route

type MembersListArg

type MembersListArg struct {
	// Limit : Number of results to return per call.
	Limit uint32 `json:"limit"`
	// IncludeRemoved : Whether to return removed members.
	IncludeRemoved bool `json:"include_removed"`
}

MembersListArg : has no documentation (yet)

func NewMembersListArg

func NewMembersListArg() *MembersListArg

NewMembersListArg returns a new MembersListArg instance

type MembersListContinueAPIError

type MembersListContinueAPIError struct {
	dropbox.APIError
	EndpointError *MembersListContinueError `json:"error"`
}

MembersListContinueAPIError is an error-wrapper for the members/list/continue route

type MembersListContinueArg

type MembersListContinueArg struct {
	// Cursor : Indicates from what point to get the next set of members.
	Cursor string `json:"cursor"`
}

MembersListContinueArg : has no documentation (yet)

func NewMembersListContinueArg

func NewMembersListContinueArg(Cursor string) *MembersListContinueArg

NewMembersListContinueArg returns a new MembersListContinueArg instance

type MembersListContinueError

type MembersListContinueError struct {
	dropbox.Tagged
}

MembersListContinueError : has no documentation (yet)

type MembersListError

type MembersListError struct {
	dropbox.Tagged
}

MembersListError :

type MembersListResult

type MembersListResult struct {
	// Members : List of team members.
	Members []*TeamMemberInfo `json:"members"`
	// Cursor : Pass the cursor into `membersListContinue` to obtain the
	// additional members.
	Cursor string `json:"cursor"`
	// HasMore : Is true if there are additional team members that have not been
	// returned yet. An additional call to `membersListContinue` can retrieve
	// them.
	HasMore bool `json:"has_more"`
}

MembersListResult : has no documentation (yet)

func NewMembersListResult

func NewMembersListResult(Members []*TeamMemberInfo, Cursor string, HasMore bool) *MembersListResult

NewMembersListResult returns a new MembersListResult instance

type MembersMoveFormerMemberFilesAPIError

type MembersMoveFormerMemberFilesAPIError struct {
	dropbox.APIError
	EndpointError *MembersTransferFormerMembersFilesError `json:"error"`
}

MembersMoveFormerMemberFilesAPIError is an error-wrapper for the members/move_former_member_files route

type MembersMoveFormerMemberFilesJobStatusCheckAPIError

type MembersMoveFormerMemberFilesJobStatusCheckAPIError struct {
	dropbox.APIError
	EndpointError *async.PollError `json:"error"`
}

MembersMoveFormerMemberFilesJobStatusCheckAPIError is an error-wrapper for the members/move_former_member_files/job_status/check route

type MembersRecoverAPIError

type MembersRecoverAPIError struct {
	dropbox.APIError
	EndpointError *MembersRecoverError `json:"error"`
}

MembersRecoverAPIError is an error-wrapper for the members/recover route

type MembersRecoverArg

type MembersRecoverArg struct {
	// User : Identity of user to recover.
	User *UserSelectorArg `json:"user"`
}

MembersRecoverArg : Exactly one of team_member_id, email, or external_id must be provided to identify the user account.

func NewMembersRecoverArg

func NewMembersRecoverArg(User *UserSelectorArg) *MembersRecoverArg

NewMembersRecoverArg returns a new MembersRecoverArg instance

type MembersRecoverError

type MembersRecoverError struct {
	dropbox.Tagged
}

MembersRecoverError : has no documentation (yet)

type MembersRemoveAPIError

type MembersRemoveAPIError struct {
	dropbox.APIError
	EndpointError *MembersRemoveError `json:"error"`
}

MembersRemoveAPIError is an error-wrapper for the members/remove route

type MembersRemoveArg

type MembersRemoveArg struct {
	MembersDeactivateArg
	// TransferDestId : If provided, files from the deleted member account will
	// be transferred to this user.
	TransferDestId *UserSelectorArg `json:"transfer_dest_id,omitempty"`
	// TransferAdminId : If provided, errors during the transfer process will be
	// sent via email to this user. If the transfer_dest_id argument was
	// provided, then this argument must be provided as well.
	TransferAdminId *UserSelectorArg `json:"transfer_admin_id,omitempty"`
	// KeepAccount : Downgrade the member to a Basic account. The user will
	// retain the email address associated with their Dropbox  account and data
	// in their account that is not restricted to team members. In order to keep
	// the account the argument wipe_data should be set to False.
	KeepAccount bool `json:"keep_account"`
}

MembersRemoveArg : has no documentation (yet)

func NewMembersRemoveArg

func NewMembersRemoveArg(User *UserSelectorArg) *MembersRemoveArg

NewMembersRemoveArg returns a new MembersRemoveArg instance

type MembersRemoveError

type MembersRemoveError struct {
	dropbox.Tagged
}

MembersRemoveError : has no documentation (yet)

type MembersRemoveJobStatusGetAPIError

type MembersRemoveJobStatusGetAPIError struct {
	dropbox.APIError
	EndpointError *async.PollError `json:"error"`
}

MembersRemoveJobStatusGetAPIError is an error-wrapper for the members/remove/job_status/get route

type MembersSendWelcomeEmailAPIError

type MembersSendWelcomeEmailAPIError struct {
	dropbox.APIError
	EndpointError *MembersSendWelcomeError `json:"error"`
}

MembersSendWelcomeEmailAPIError is an error-wrapper for the members/send_welcome_email route

type MembersSendWelcomeError

type MembersSendWelcomeError struct {
	dropbox.Tagged
}

MembersSendWelcomeError :

type MembersSetAdminPermissionsAPIError

type MembersSetAdminPermissionsAPIError struct {
	dropbox.APIError
	EndpointError *MembersSetPermissionsError `json:"error"`
}

MembersSetAdminPermissionsAPIError is an error-wrapper for the members/set_admin_permissions route

type MembersSetPermissionsArg

type MembersSetPermissionsArg struct {
	// User : Identity of user whose role will be set.
	User *UserSelectorArg `json:"user"`
	// NewRole : The new role of the member.
	NewRole *AdminTier `json:"new_role"`
}

MembersSetPermissionsArg : Exactly one of team_member_id, email, or external_id must be provided to identify the user account.

func NewMembersSetPermissionsArg

func NewMembersSetPermissionsArg(User *UserSelectorArg, NewRole *AdminTier) *MembersSetPermissionsArg

NewMembersSetPermissionsArg returns a new MembersSetPermissionsArg instance

type MembersSetPermissionsError

type MembersSetPermissionsError struct {
	dropbox.Tagged
}

MembersSetPermissionsError : has no documentation (yet)

type MembersSetPermissionsResult

type MembersSetPermissionsResult struct {
	// TeamMemberId : The member ID of the user to which the change was applied.
	TeamMemberId string `json:"team_member_id"`
	// Role : The role after the change.
	Role *AdminTier `json:"role"`
}

MembersSetPermissionsResult : has no documentation (yet)

func NewMembersSetPermissionsResult

func NewMembersSetPermissionsResult(TeamMemberId string, Role *AdminTier) *MembersSetPermissionsResult

NewMembersSetPermissionsResult returns a new MembersSetPermissionsResult instance

type MembersSetProfileAPIError

type MembersSetProfileAPIError struct {
	dropbox.APIError
	EndpointError *MembersSetProfileError `json:"error"`
}

MembersSetProfileAPIError is an error-wrapper for the members/set_profile route

type MembersSetProfileArg

type MembersSetProfileArg struct {
	// User : Identity of user whose profile will be set.
	User *UserSelectorArg `json:"user"`
	// NewEmail : New email for member.
	NewEmail string `json:"new_email,omitempty"`
	// NewExternalId : New external ID for member.
	NewExternalId string `json:"new_external_id,omitempty"`
	// NewGivenName : New given name for member.
	NewGivenName string `json:"new_given_name,omitempty"`
	// NewSurname : New surname for member.
	NewSurname string `json:"new_surname,omitempty"`
	// NewPersistentId : New persistent ID. This field only available to teams
	// using persistent ID SAML configuration.
	NewPersistentId string `json:"new_persistent_id,omitempty"`
	// NewIsDirectoryRestricted : New value for whether the user is a directory
	// restricted user.
	NewIsDirectoryRestricted bool `json:"new_is_directory_restricted,omitempty"`
}

MembersSetProfileArg : Exactly one of team_member_id, email, or external_id must be provided to identify the user account. At least one of new_email, new_external_id, new_given_name, and/or new_surname must be provided.

func NewMembersSetProfileArg

func NewMembersSetProfileArg(User *UserSelectorArg) *MembersSetProfileArg

NewMembersSetProfileArg returns a new MembersSetProfileArg instance

type MembersSetProfileError

type MembersSetProfileError struct {
	dropbox.Tagged
}

MembersSetProfileError : has no documentation (yet)

type MembersSuspendAPIError

type MembersSuspendAPIError struct {
	dropbox.APIError
	EndpointError *MembersSuspendError `json:"error"`
}

MembersSuspendAPIError is an error-wrapper for the members/suspend route

type MembersSuspendError

type MembersSuspendError struct {
	dropbox.Tagged
}

MembersSuspendError : has no documentation (yet)

type MembersTransferFilesError

type MembersTransferFilesError struct {
	dropbox.Tagged
}

MembersTransferFilesError : has no documentation (yet)

type MembersTransferFormerMembersFilesError

type MembersTransferFormerMembersFilesError struct {
	dropbox.Tagged
}

MembersTransferFormerMembersFilesError : has no documentation (yet)

type MembersUnsuspendAPIError

type MembersUnsuspendAPIError struct {
	dropbox.APIError
	EndpointError *MembersUnsuspendError `json:"error"`
}

MembersUnsuspendAPIError is an error-wrapper for the members/unsuspend route

type MembersUnsuspendArg

type MembersUnsuspendArg struct {
	// User : Identity of user to unsuspend.
	User *UserSelectorArg `json:"user"`
}

MembersUnsuspendArg : Exactly one of team_member_id, email, or external_id must be provided to identify the user account.

func NewMembersUnsuspendArg

func NewMembersUnsuspendArg(User *UserSelectorArg) *MembersUnsuspendArg

NewMembersUnsuspendArg returns a new MembersUnsuspendArg instance

type MembersUnsuspendError

type MembersUnsuspendError struct {
	dropbox.Tagged
}

MembersUnsuspendError : has no documentation (yet)

type MobileClientPlatform

type MobileClientPlatform struct {
	dropbox.Tagged
}

MobileClientPlatform : has no documentation (yet)

type MobileClientSession

type MobileClientSession struct {
	DeviceSession
	// DeviceName : The device name.
	DeviceName string `json:"device_name"`
	// ClientType : The mobile application type.
	ClientType *MobileClientPlatform `json:"client_type"`
	// ClientVersion : The dropbox client version.
	ClientVersion string `json:"client_version,omitempty"`
	// OsVersion : The hosting OS version.
	OsVersion string `json:"os_version,omitempty"`
	// LastCarrier : last carrier used by the device.
	LastCarrier string `json:"last_carrier,omitempty"`
}

MobileClientSession : Information about linked Dropbox mobile client sessions.

func NewMobileClientSession

func NewMobileClientSession(SessionId string, DeviceName string, ClientType *MobileClientPlatform) *MobileClientSession

NewMobileClientSession returns a new MobileClientSession instance

type NamespaceMetadata

type NamespaceMetadata struct {
	// Name : The name of this namespace.
	Name string `json:"name"`
	// NamespaceId : The ID of this namespace.
	NamespaceId string `json:"namespace_id"`
	// NamespaceType : The type of this namespace.
	NamespaceType *NamespaceType `json:"namespace_type"`
	// TeamMemberId : If this is a team member or app folder, the ID of the
	// owning team member. Otherwise, this field is not present.
	TeamMemberId string `json:"team_member_id,omitempty"`
}

NamespaceMetadata : Properties of a namespace.

func NewNamespaceMetadata

func NewNamespaceMetadata(Name string, NamespaceId string, NamespaceType *NamespaceType) *NamespaceMetadata

NewNamespaceMetadata returns a new NamespaceMetadata instance

type NamespaceType

type NamespaceType struct {
	dropbox.Tagged
}

NamespaceType : has no documentation (yet)

type NamespacesListAPIError

type NamespacesListAPIError struct {
	dropbox.APIError
	EndpointError *TeamNamespacesListError `json:"error"`
}

NamespacesListAPIError is an error-wrapper for the namespaces/list route

type NamespacesListContinueAPIError

type NamespacesListContinueAPIError struct {
	dropbox.APIError
	EndpointError *TeamNamespacesListContinueError `json:"error"`
}

NamespacesListContinueAPIError is an error-wrapper for the namespaces/list/continue route

type PropertiesTemplateAddAPIError

type PropertiesTemplateAddAPIError struct {
	dropbox.APIError
	EndpointError *file_properties.ModifyTemplateError `json:"error"`
}

PropertiesTemplateAddAPIError is an error-wrapper for the properties/template/add route

type PropertiesTemplateGetAPIError

type PropertiesTemplateGetAPIError struct {
	dropbox.APIError
	EndpointError *file_properties.TemplateError `json:"error"`
}

PropertiesTemplateGetAPIError is an error-wrapper for the properties/template/get route

type PropertiesTemplateListAPIError

type PropertiesTemplateListAPIError struct {
	dropbox.APIError
	EndpointError *file_properties.TemplateError `json:"error"`
}

PropertiesTemplateListAPIError is an error-wrapper for the properties/template/list route

type PropertiesTemplateUpdateAPIError

type PropertiesTemplateUpdateAPIError struct {
	dropbox.APIError
	EndpointError *file_properties.ModifyTemplateError `json:"error"`
}

PropertiesTemplateUpdateAPIError is an error-wrapper for the properties/template/update route

type RemoveCustomQuotaResult

type RemoveCustomQuotaResult struct {
	dropbox.Tagged
	// Success : Successfully removed user.
	Success *UserSelectorArg `json:"success,omitempty"`
	// InvalidUser : Invalid user (not in team).
	InvalidUser *UserSelectorArg `json:"invalid_user,omitempty"`
}

RemoveCustomQuotaResult : User result for setting member custom quota.

func (*RemoveCustomQuotaResult) UnmarshalJSON

func (u *RemoveCustomQuotaResult) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a RemoveCustomQuotaResult instance

type RemovedStatus

type RemovedStatus struct {
	// IsRecoverable : True if the removed team member is recoverable.
	IsRecoverable bool `json:"is_recoverable"`
	// IsDisconnected : True if the team member's account was converted to
	// individual account.
	IsDisconnected bool `json:"is_disconnected"`
}

RemovedStatus : has no documentation (yet)

func NewRemovedStatus

func NewRemovedStatus(IsRecoverable bool, IsDisconnected bool) *RemovedStatus

NewRemovedStatus returns a new RemovedStatus instance

type ReportsGetActivityAPIError

type ReportsGetActivityAPIError struct {
	dropbox.APIError
	EndpointError *DateRangeError `json:"error"`
}

ReportsGetActivityAPIError is an error-wrapper for the reports/get_activity route

type ReportsGetDevicesAPIError

type ReportsGetDevicesAPIError struct {
	dropbox.APIError
	EndpointError *DateRangeError `json:"error"`
}

ReportsGetDevicesAPIError is an error-wrapper for the reports/get_devices route

type ReportsGetMembershipAPIError

type ReportsGetMembershipAPIError struct {
	dropbox.APIError
	EndpointError *DateRangeError `json:"error"`
}

ReportsGetMembershipAPIError is an error-wrapper for the reports/get_membership route

type ReportsGetStorageAPIError

type ReportsGetStorageAPIError struct {
	dropbox.APIError
	EndpointError *DateRangeError `json:"error"`
}

ReportsGetStorageAPIError is an error-wrapper for the reports/get_storage route

type RevokeDesktopClientArg

type RevokeDesktopClientArg struct {
	DeviceSessionArg
	// DeleteOnUnlink : Whether to delete all files of the account (this is
	// possible only if supported by the desktop client and  will be made the
	// next time the client access the account).
	DeleteOnUnlink bool `json:"delete_on_unlink"`
}

RevokeDesktopClientArg : has no documentation (yet)

func NewRevokeDesktopClientArg

func NewRevokeDesktopClientArg(SessionId string, TeamMemberId string) *RevokeDesktopClientArg

NewRevokeDesktopClientArg returns a new RevokeDesktopClientArg instance

type RevokeDeviceSessionArg

type RevokeDeviceSessionArg struct {
	dropbox.Tagged
	// WebSession : End an active session.
	WebSession *DeviceSessionArg `json:"web_session,omitempty"`
	// DesktopClient : Unlink a linked desktop device.
	DesktopClient *RevokeDesktopClientArg `json:"desktop_client,omitempty"`
	// MobileClient : Unlink a linked mobile device.
	MobileClient *DeviceSessionArg `json:"mobile_client,omitempty"`
}

RevokeDeviceSessionArg : has no documentation (yet)

func (*RevokeDeviceSessionArg) UnmarshalJSON

func (u *RevokeDeviceSessionArg) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a RevokeDeviceSessionArg instance

type RevokeDeviceSessionBatchArg

type RevokeDeviceSessionBatchArg struct {
	// RevokeDevices : has no documentation (yet)
	RevokeDevices []*RevokeDeviceSessionArg `json:"revoke_devices"`
}

RevokeDeviceSessionBatchArg : has no documentation (yet)

func NewRevokeDeviceSessionBatchArg

func NewRevokeDeviceSessionBatchArg(RevokeDevices []*RevokeDeviceSessionArg) *RevokeDeviceSessionBatchArg

NewRevokeDeviceSessionBatchArg returns a new RevokeDeviceSessionBatchArg instance

type RevokeDeviceSessionBatchError

type RevokeDeviceSessionBatchError struct {
	dropbox.Tagged
}

RevokeDeviceSessionBatchError :

type RevokeDeviceSessionBatchResult

type RevokeDeviceSessionBatchResult struct {
	// RevokeDevicesStatus : has no documentation (yet)
	RevokeDevicesStatus []*RevokeDeviceSessionStatus `json:"revoke_devices_status"`
}

RevokeDeviceSessionBatchResult : has no documentation (yet)

func NewRevokeDeviceSessionBatchResult

func NewRevokeDeviceSessionBatchResult(RevokeDevicesStatus []*RevokeDeviceSessionStatus) *RevokeDeviceSessionBatchResult

NewRevokeDeviceSessionBatchResult returns a new RevokeDeviceSessionBatchResult instance

type RevokeDeviceSessionError

type RevokeDeviceSessionError struct {
	dropbox.Tagged
}

RevokeDeviceSessionError : has no documentation (yet)

type RevokeDeviceSessionStatus

type RevokeDeviceSessionStatus struct {
	// Success : Result of the revoking request.
	Success bool `json:"success"`
	// ErrorType : The error cause in case of a failure.
	ErrorType *RevokeDeviceSessionError `json:"error_type,omitempty"`
}

RevokeDeviceSessionStatus : has no documentation (yet)

func NewRevokeDeviceSessionStatus

func NewRevokeDeviceSessionStatus(Success bool) *RevokeDeviceSessionStatus

NewRevokeDeviceSessionStatus returns a new RevokeDeviceSessionStatus instance

type RevokeLinkedApiAppArg

type RevokeLinkedApiAppArg struct {
	// AppId : The application's unique id.
	AppId string `json:"app_id"`
	// TeamMemberId : The unique id of the member owning the device.
	TeamMemberId string `json:"team_member_id"`
	// KeepAppFolder : Whether to keep the application dedicated folder (in case
	// the application uses  one).
	KeepAppFolder bool `json:"keep_app_folder"`
}

RevokeLinkedApiAppArg : has no documentation (yet)

func NewRevokeLinkedApiAppArg

func NewRevokeLinkedApiAppArg(AppId string, TeamMemberId string) *RevokeLinkedApiAppArg

NewRevokeLinkedApiAppArg returns a new RevokeLinkedApiAppArg instance

type RevokeLinkedApiAppBatchArg

type RevokeLinkedApiAppBatchArg struct {
	// RevokeLinkedApp : has no documentation (yet)
	RevokeLinkedApp []*RevokeLinkedApiAppArg `json:"revoke_linked_app"`
}

RevokeLinkedApiAppBatchArg : has no documentation (yet)

func NewRevokeLinkedApiAppBatchArg

func NewRevokeLinkedApiAppBatchArg(RevokeLinkedApp []*RevokeLinkedApiAppArg) *RevokeLinkedApiAppBatchArg

NewRevokeLinkedApiAppBatchArg returns a new RevokeLinkedApiAppBatchArg instance

type RevokeLinkedAppBatchError

type RevokeLinkedAppBatchError struct {
	dropbox.Tagged
}

RevokeLinkedAppBatchError : Error returned by `linkedAppsRevokeLinkedAppBatch`.

type RevokeLinkedAppBatchResult

type RevokeLinkedAppBatchResult struct {
	// RevokeLinkedAppStatus : has no documentation (yet)
	RevokeLinkedAppStatus []*RevokeLinkedAppStatus `json:"revoke_linked_app_status"`
}

RevokeLinkedAppBatchResult : has no documentation (yet)

func NewRevokeLinkedAppBatchResult

func NewRevokeLinkedAppBatchResult(RevokeLinkedAppStatus []*RevokeLinkedAppStatus) *RevokeLinkedAppBatchResult

NewRevokeLinkedAppBatchResult returns a new RevokeLinkedAppBatchResult instance

type RevokeLinkedAppError

type RevokeLinkedAppError struct {
	dropbox.Tagged
}

RevokeLinkedAppError : Error returned by `linkedAppsRevokeLinkedApp`.

type RevokeLinkedAppStatus

type RevokeLinkedAppStatus struct {
	// Success : Result of the revoking request.
	Success bool `json:"success"`
	// ErrorType : The error cause in case of a failure.
	ErrorType *RevokeLinkedAppError `json:"error_type,omitempty"`
}

RevokeLinkedAppStatus : has no documentation (yet)

func NewRevokeLinkedAppStatus

func NewRevokeLinkedAppStatus(Success bool) *RevokeLinkedAppStatus

NewRevokeLinkedAppStatus returns a new RevokeLinkedAppStatus instance

type SetCustomQuotaArg

type SetCustomQuotaArg struct {
	// UsersAndQuotas : List of users and their custom quotas.
	UsersAndQuotas []*UserCustomQuotaArg `json:"users_and_quotas"`
}

SetCustomQuotaArg : has no documentation (yet)

func NewSetCustomQuotaArg

func NewSetCustomQuotaArg(UsersAndQuotas []*UserCustomQuotaArg) *SetCustomQuotaArg

NewSetCustomQuotaArg returns a new SetCustomQuotaArg instance

type SetCustomQuotaError

type SetCustomQuotaError struct {
	dropbox.Tagged
}

SetCustomQuotaError : Error returned when setting member custom quota.

type StorageBucket

type StorageBucket struct {
	// Bucket : The name of the storage bucket. For example, '1G' is a bucket of
	// users with storage size up to 1 Giga.
	Bucket string `json:"bucket"`
	// Users : The number of people whose storage is in the range of this
	// storage bucket.
	Users uint64 `json:"users"`
}

StorageBucket : Describes the number of users in a specific storage bucket.

func NewStorageBucket

func NewStorageBucket(Bucket string, Users uint64) *StorageBucket

NewStorageBucket returns a new StorageBucket instance

type TeamFolderAccessError

type TeamFolderAccessError struct {
	dropbox.Tagged
}

TeamFolderAccessError : has no documentation (yet)

type TeamFolderActivateAPIError

type TeamFolderActivateAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderActivateError `json:"error"`
}

TeamFolderActivateAPIError is an error-wrapper for the team_folder/activate route

type TeamFolderActivateError

type TeamFolderActivateError struct {
	dropbox.Tagged
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
	// StatusError : has no documentation (yet)
	StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
	// TeamSharedDropboxError : has no documentation (yet)
	TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
}

TeamFolderActivateError :

func (*TeamFolderActivateError) UnmarshalJSON

func (u *TeamFolderActivateError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderActivateError instance

type TeamFolderArchiveAPIError

type TeamFolderArchiveAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderArchiveError `json:"error"`
}

TeamFolderArchiveAPIError is an error-wrapper for the team_folder/archive route

type TeamFolderArchiveArg

type TeamFolderArchiveArg struct {
	TeamFolderIdArg
	// ForceAsyncOff : Whether to force the archive to happen synchronously.
	ForceAsyncOff bool `json:"force_async_off"`
}

TeamFolderArchiveArg : has no documentation (yet)

func NewTeamFolderArchiveArg

func NewTeamFolderArchiveArg(TeamFolderId string) *TeamFolderArchiveArg

NewTeamFolderArchiveArg returns a new TeamFolderArchiveArg instance

type TeamFolderArchiveCheckAPIError

type TeamFolderArchiveCheckAPIError struct {
	dropbox.APIError
	EndpointError *async.PollError `json:"error"`
}

TeamFolderArchiveCheckAPIError is an error-wrapper for the team_folder/archive/check route

type TeamFolderArchiveError

type TeamFolderArchiveError struct {
	dropbox.Tagged
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
	// StatusError : has no documentation (yet)
	StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
	// TeamSharedDropboxError : has no documentation (yet)
	TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
}

TeamFolderArchiveError :

func (*TeamFolderArchiveError) UnmarshalJSON

func (u *TeamFolderArchiveError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderArchiveError instance

type TeamFolderArchiveJobStatus

type TeamFolderArchiveJobStatus struct {
	dropbox.Tagged
	// Complete : The archive job has finished. The value is the metadata for
	// the resulting team folder.
	Complete *TeamFolderMetadata `json:"complete,omitempty"`
	// Failed : Error occurred while performing an asynchronous job from
	// `teamFolderArchive`.
	Failed *TeamFolderArchiveError `json:"failed,omitempty"`
}

TeamFolderArchiveJobStatus : has no documentation (yet)

func (*TeamFolderArchiveJobStatus) UnmarshalJSON

func (u *TeamFolderArchiveJobStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderArchiveJobStatus instance

type TeamFolderArchiveLaunch

type TeamFolderArchiveLaunch struct {
	dropbox.Tagged
	// AsyncJobId : This response indicates that the processing is asynchronous.
	// The string is an id that can be used to obtain the status of the
	// asynchronous job.
	AsyncJobId string `json:"async_job_id,omitempty"`
	// Complete : has no documentation (yet)
	Complete *TeamFolderMetadata `json:"complete,omitempty"`
}

TeamFolderArchiveLaunch : has no documentation (yet)

func (*TeamFolderArchiveLaunch) UnmarshalJSON

func (u *TeamFolderArchiveLaunch) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderArchiveLaunch instance

type TeamFolderCreateAPIError

type TeamFolderCreateAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderCreateError `json:"error"`
}

TeamFolderCreateAPIError is an error-wrapper for the team_folder/create route

type TeamFolderCreateArg

type TeamFolderCreateArg struct {
	// Name : Name for the new team folder.
	Name string `json:"name"`
	// SyncSetting : The sync setting to apply to this team folder. Only
	// permitted if the team has team selective sync enabled.
	SyncSetting *files.SyncSettingArg `json:"sync_setting,omitempty"`
}

TeamFolderCreateArg : has no documentation (yet)

func NewTeamFolderCreateArg

func NewTeamFolderCreateArg(Name string) *TeamFolderCreateArg

NewTeamFolderCreateArg returns a new TeamFolderCreateArg instance

type TeamFolderCreateError

type TeamFolderCreateError struct {
	dropbox.Tagged
	// SyncSettingsError : An error occurred setting the sync settings.
	SyncSettingsError *files.SyncSettingsError `json:"sync_settings_error,omitempty"`
}

TeamFolderCreateError : has no documentation (yet)

func (*TeamFolderCreateError) UnmarshalJSON

func (u *TeamFolderCreateError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderCreateError instance

type TeamFolderGetInfoAPIError

type TeamFolderGetInfoAPIError struct {
	dropbox.APIError
	EndpointError struct{} `json:"error"`
}

TeamFolderGetInfoAPIError is an error-wrapper for the team_folder/get_info route

type TeamFolderGetInfoItem

type TeamFolderGetInfoItem struct {
	dropbox.Tagged
	// IdNotFound : An ID that was provided as a parameter to
	// `teamFolderGetInfo` did not match any of the team's team folders.
	IdNotFound string `json:"id_not_found,omitempty"`
	// TeamFolderMetadata : Properties of a team folder.
	TeamFolderMetadata *TeamFolderMetadata `json:"team_folder_metadata,omitempty"`
}

TeamFolderGetInfoItem : has no documentation (yet)

func (*TeamFolderGetInfoItem) UnmarshalJSON

func (u *TeamFolderGetInfoItem) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderGetInfoItem instance

type TeamFolderIdArg

type TeamFolderIdArg struct {
	// TeamFolderId : The ID of the team folder.
	TeamFolderId string `json:"team_folder_id"`
}

TeamFolderIdArg : has no documentation (yet)

func NewTeamFolderIdArg

func NewTeamFolderIdArg(TeamFolderId string) *TeamFolderIdArg

NewTeamFolderIdArg returns a new TeamFolderIdArg instance

type TeamFolderIdListArg

type TeamFolderIdListArg struct {
	// TeamFolderIds : The list of team folder IDs.
	TeamFolderIds []string `json:"team_folder_ids"`
}

TeamFolderIdListArg : has no documentation (yet)

func NewTeamFolderIdListArg

func NewTeamFolderIdListArg(TeamFolderIds []string) *TeamFolderIdListArg

NewTeamFolderIdListArg returns a new TeamFolderIdListArg instance

type TeamFolderInvalidStatusError

type TeamFolderInvalidStatusError struct {
	dropbox.Tagged
}

TeamFolderInvalidStatusError : has no documentation (yet)

type TeamFolderListAPIError

type TeamFolderListAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderListError `json:"error"`
}

TeamFolderListAPIError is an error-wrapper for the team_folder/list route

type TeamFolderListArg

type TeamFolderListArg struct {
	// Limit : The maximum number of results to return per request.
	Limit uint32 `json:"limit"`
}

TeamFolderListArg : has no documentation (yet)

func NewTeamFolderListArg

func NewTeamFolderListArg() *TeamFolderListArg

NewTeamFolderListArg returns a new TeamFolderListArg instance

type TeamFolderListContinueAPIError

type TeamFolderListContinueAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderListContinueError `json:"error"`
}

TeamFolderListContinueAPIError is an error-wrapper for the team_folder/list/continue route

type TeamFolderListContinueArg

type TeamFolderListContinueArg struct {
	// Cursor : Indicates from what point to get the next set of team folders.
	Cursor string `json:"cursor"`
}

TeamFolderListContinueArg : has no documentation (yet)

func NewTeamFolderListContinueArg

func NewTeamFolderListContinueArg(Cursor string) *TeamFolderListContinueArg

NewTeamFolderListContinueArg returns a new TeamFolderListContinueArg instance

type TeamFolderListContinueError

type TeamFolderListContinueError struct {
	dropbox.Tagged
}

TeamFolderListContinueError : has no documentation (yet)

type TeamFolderListError

type TeamFolderListError struct {
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error"`
}

TeamFolderListError : has no documentation (yet)

func NewTeamFolderListError

func NewTeamFolderListError(AccessError *TeamFolderAccessError) *TeamFolderListError

NewTeamFolderListError returns a new TeamFolderListError instance

type TeamFolderListResult

type TeamFolderListResult struct {
	// TeamFolders : List of all team folders in the authenticated team.
	TeamFolders []*TeamFolderMetadata `json:"team_folders"`
	// Cursor : Pass the cursor into `teamFolderListContinue` to obtain
	// additional team folders.
	Cursor string `json:"cursor"`
	// HasMore : Is true if there are additional team folders that have not been
	// returned yet. An additional call to `teamFolderListContinue` can retrieve
	// them.
	HasMore bool `json:"has_more"`
}

TeamFolderListResult : Result for `teamFolderList` and `teamFolderListContinue`.

func NewTeamFolderListResult

func NewTeamFolderListResult(TeamFolders []*TeamFolderMetadata, Cursor string, HasMore bool) *TeamFolderListResult

NewTeamFolderListResult returns a new TeamFolderListResult instance

type TeamFolderMetadata

type TeamFolderMetadata struct {
	// TeamFolderId : The ID of the team folder.
	TeamFolderId string `json:"team_folder_id"`
	// Name : The name of the team folder.
	Name string `json:"name"`
	// Status : The status of the team folder.
	Status *TeamFolderStatus `json:"status"`
	// IsTeamSharedDropbox : True if this team folder is a shared team root.
	IsTeamSharedDropbox bool `json:"is_team_shared_dropbox"`
	// SyncSetting : The sync setting applied to this team folder.
	SyncSetting *files.SyncSetting `json:"sync_setting"`
	// ContentSyncSettings : Sync settings applied to contents of this team
	// folder.
	ContentSyncSettings []*files.ContentSyncSetting `json:"content_sync_settings"`
}

TeamFolderMetadata : Properties of a team folder.

func NewTeamFolderMetadata

func NewTeamFolderMetadata(TeamFolderId string, Name string, Status *TeamFolderStatus, IsTeamSharedDropbox bool, SyncSetting *files.SyncSetting, ContentSyncSettings []*files.ContentSyncSetting) *TeamFolderMetadata

NewTeamFolderMetadata returns a new TeamFolderMetadata instance

type TeamFolderPermanentlyDeleteAPIError

type TeamFolderPermanentlyDeleteAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderPermanentlyDeleteError `json:"error"`
}

TeamFolderPermanentlyDeleteAPIError is an error-wrapper for the team_folder/permanently_delete route

type TeamFolderPermanentlyDeleteError

type TeamFolderPermanentlyDeleteError struct {
	dropbox.Tagged
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
	// StatusError : has no documentation (yet)
	StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
	// TeamSharedDropboxError : has no documentation (yet)
	TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
}

TeamFolderPermanentlyDeleteError :

func (*TeamFolderPermanentlyDeleteError) UnmarshalJSON

func (u *TeamFolderPermanentlyDeleteError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderPermanentlyDeleteError instance

type TeamFolderRenameAPIError

type TeamFolderRenameAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderRenameError `json:"error"`
}

TeamFolderRenameAPIError is an error-wrapper for the team_folder/rename route

type TeamFolderRenameArg

type TeamFolderRenameArg struct {
	TeamFolderIdArg
	// Name : New team folder name.
	Name string `json:"name"`
}

TeamFolderRenameArg : has no documentation (yet)

func NewTeamFolderRenameArg

func NewTeamFolderRenameArg(TeamFolderId string, Name string) *TeamFolderRenameArg

NewTeamFolderRenameArg returns a new TeamFolderRenameArg instance

type TeamFolderRenameError

type TeamFolderRenameError struct {
	dropbox.Tagged
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
	// StatusError : has no documentation (yet)
	StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
	// TeamSharedDropboxError : has no documentation (yet)
	TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
}

TeamFolderRenameError : has no documentation (yet)

func (*TeamFolderRenameError) UnmarshalJSON

func (u *TeamFolderRenameError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderRenameError instance

type TeamFolderStatus

type TeamFolderStatus struct {
	dropbox.Tagged
}

TeamFolderStatus : has no documentation (yet)

type TeamFolderTeamSharedDropboxError

type TeamFolderTeamSharedDropboxError struct {
	dropbox.Tagged
}

TeamFolderTeamSharedDropboxError : has no documentation (yet)

type TeamFolderUpdateSyncSettingsAPIError

type TeamFolderUpdateSyncSettingsAPIError struct {
	dropbox.APIError
	EndpointError *TeamFolderUpdateSyncSettingsError `json:"error"`
}

TeamFolderUpdateSyncSettingsAPIError is an error-wrapper for the team_folder/update_sync_settings route

type TeamFolderUpdateSyncSettingsArg

type TeamFolderUpdateSyncSettingsArg struct {
	TeamFolderIdArg
	// SyncSetting : Sync setting to apply to the team folder itself. Only
	// meaningful if the team folder is not a shared team root.
	SyncSetting *files.SyncSettingArg `json:"sync_setting,omitempty"`
	// ContentSyncSettings : Sync settings to apply to contents of this team
	// folder.
	ContentSyncSettings []*files.ContentSyncSettingArg `json:"content_sync_settings,omitempty"`
}

TeamFolderUpdateSyncSettingsArg : has no documentation (yet)

func NewTeamFolderUpdateSyncSettingsArg

func NewTeamFolderUpdateSyncSettingsArg(TeamFolderId string) *TeamFolderUpdateSyncSettingsArg

NewTeamFolderUpdateSyncSettingsArg returns a new TeamFolderUpdateSyncSettingsArg instance

type TeamFolderUpdateSyncSettingsError

type TeamFolderUpdateSyncSettingsError struct {
	dropbox.Tagged
	// AccessError : has no documentation (yet)
	AccessError *TeamFolderAccessError `json:"access_error,omitempty"`
	// StatusError : has no documentation (yet)
	StatusError *TeamFolderInvalidStatusError `json:"status_error,omitempty"`
	// TeamSharedDropboxError : has no documentation (yet)
	TeamSharedDropboxError *TeamFolderTeamSharedDropboxError `json:"team_shared_dropbox_error,omitempty"`
	// SyncSettingsError : An error occurred setting the sync settings.
	SyncSettingsError *files.SyncSettingsError `json:"sync_settings_error,omitempty"`
}

TeamFolderUpdateSyncSettingsError : has no documentation (yet)

func (*TeamFolderUpdateSyncSettingsError) UnmarshalJSON

func (u *TeamFolderUpdateSyncSettingsError) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamFolderUpdateSyncSettingsError instance

type TeamGetInfoResult

type TeamGetInfoResult struct {
	// Name : The name of the team.
	Name string `json:"name"`
	// TeamId : The ID of the team.
	TeamId string `json:"team_id"`
	// NumLicensedUsers : The number of licenses available to the team.
	NumLicensedUsers uint32 `json:"num_licensed_users"`
	// NumProvisionedUsers : The number of accounts that have been invited or
	// are already active members of the team.
	NumProvisionedUsers uint32 `json:"num_provisioned_users"`
	// Policies : has no documentation (yet)
	Policies *team_policies.TeamMemberPolicies `json:"policies"`
}

TeamGetInfoResult : has no documentation (yet)

func NewTeamGetInfoResult

func NewTeamGetInfoResult(Name string, TeamId string, NumLicensedUsers uint32, NumProvisionedUsers uint32, Policies *team_policies.TeamMemberPolicies) *TeamGetInfoResult

NewTeamGetInfoResult returns a new TeamGetInfoResult instance

type TeamMemberInfo

type TeamMemberInfo struct {
	// Profile : Profile of a user as a member of a team.
	Profile *TeamMemberProfile `json:"profile"`
	// Role : The user's role in the team.
	Role *AdminTier `json:"role"`
}

TeamMemberInfo : Information about a team member.

func NewTeamMemberInfo

func NewTeamMemberInfo(Profile *TeamMemberProfile, Role *AdminTier) *TeamMemberInfo

NewTeamMemberInfo returns a new TeamMemberInfo instance

type TeamMemberProfile

type TeamMemberProfile struct {
	MemberProfile
	// Groups : List of group IDs of groups that the user belongs to.
	Groups []string `json:"groups"`
	// MemberFolderId : The namespace id of the user's root folder.
	MemberFolderId string `json:"member_folder_id"`
}

TeamMemberProfile : Profile of a user as a member of a team.

func NewTeamMemberProfile

func NewTeamMemberProfile(TeamMemberId string, Email string, EmailVerified bool, Status *TeamMemberStatus, Name *users.Name, MembershipType *TeamMembershipType, Groups []string, MemberFolderId string) *TeamMemberProfile

NewTeamMemberProfile returns a new TeamMemberProfile instance

type TeamMemberStatus

type TeamMemberStatus struct {
	dropbox.Tagged
	// Removed : User is no longer a member of the team. Removed users are only
	// listed when include_removed is true in members/list.
	Removed *RemovedStatus `json:"removed,omitempty"`
}

TeamMemberStatus : The user's status as a member of a specific team.

func (*TeamMemberStatus) UnmarshalJSON

func (u *TeamMemberStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a TeamMemberStatus instance

type TeamMembershipType

type TeamMembershipType struct {
	dropbox.Tagged
}

TeamMembershipType : has no documentation (yet)

type TeamNamespacesListArg

type TeamNamespacesListArg struct {
	// Limit : Specifying a value here has no effect.
	Limit uint32 `json:"limit"`
}

TeamNamespacesListArg : has no documentation (yet)

func NewTeamNamespacesListArg

func NewTeamNamespacesListArg() *TeamNamespacesListArg

NewTeamNamespacesListArg returns a new TeamNamespacesListArg instance

type TeamNamespacesListContinueArg

type TeamNamespacesListContinueArg struct {
	// Cursor : Indicates from what point to get the next set of team-accessible
	// namespaces.
	Cursor string `json:"cursor"`
}

TeamNamespacesListContinueArg : has no documentation (yet)

func NewTeamNamespacesListContinueArg

func NewTeamNamespacesListContinueArg(Cursor string) *TeamNamespacesListContinueArg

NewTeamNamespacesListContinueArg returns a new TeamNamespacesListContinueArg instance

type TeamNamespacesListContinueError

type TeamNamespacesListContinueError struct {
	dropbox.Tagged
}

TeamNamespacesListContinueError : has no documentation (yet)

type TeamNamespacesListError

type TeamNamespacesListError struct {
	dropbox.Tagged
}

TeamNamespacesListError : has no documentation (yet)

type TeamNamespacesListResult

type TeamNamespacesListResult struct {
	// Namespaces : List of all namespaces the team can access.
	Namespaces []*NamespaceMetadata `json:"namespaces"`
	// Cursor : Pass the cursor into `namespacesListContinue` to obtain
	// additional namespaces. Note that duplicate namespaces may be returned.
	Cursor string `json:"cursor"`
	// HasMore : Is true if there are additional namespaces that have not been
	// returned yet.
	HasMore bool `json:"has_more"`
}

TeamNamespacesListResult : Result for `namespacesList`.

func NewTeamNamespacesListResult

func NewTeamNamespacesListResult(Namespaces []*NamespaceMetadata, Cursor string, HasMore bool) *TeamNamespacesListResult

NewTeamNamespacesListResult returns a new TeamNamespacesListResult instance

type TeamReportFailureReason

type TeamReportFailureReason struct {
	dropbox.Tagged
}

TeamReportFailureReason : has no documentation (yet)

type TokenGetAuthenticatedAdminAPIError

type TokenGetAuthenticatedAdminAPIError struct {
	dropbox.APIError
	EndpointError *TokenGetAuthenticatedAdminError `json:"error"`
}

TokenGetAuthenticatedAdminAPIError is an error-wrapper for the token/get_authenticated_admin route

type TokenGetAuthenticatedAdminError

type TokenGetAuthenticatedAdminError struct {
	dropbox.Tagged
}

TokenGetAuthenticatedAdminError : Error returned by `tokenGetAuthenticatedAdmin`.

type TokenGetAuthenticatedAdminResult

type TokenGetAuthenticatedAdminResult struct {
	// AdminProfile : The admin who authorized the token.
	AdminProfile *TeamMemberProfile `json:"admin_profile"`
}

TokenGetAuthenticatedAdminResult : Results for `tokenGetAuthenticatedAdmin`.

func NewTokenGetAuthenticatedAdminResult

func NewTokenGetAuthenticatedAdminResult(AdminProfile *TeamMemberProfile) *TokenGetAuthenticatedAdminResult

NewTokenGetAuthenticatedAdminResult returns a new TokenGetAuthenticatedAdminResult instance

type UploadApiRateLimitValue

type UploadApiRateLimitValue struct {
	dropbox.Tagged
	// Limit : The number of upload API calls allowed per month.
	Limit uint32 `json:"limit,omitempty"`
}

UploadApiRateLimitValue : The value for `Feature.upload_api_rate_limit`.

func (*UploadApiRateLimitValue) UnmarshalJSON

func (u *UploadApiRateLimitValue) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a UploadApiRateLimitValue instance

type UserCustomQuotaArg

type UserCustomQuotaArg struct {
	// User : has no documentation (yet)
	User *UserSelectorArg `json:"user"`
	// QuotaGb : has no documentation (yet)
	QuotaGb uint32 `json:"quota_gb"`
}

UserCustomQuotaArg : User and their required custom quota in GB (1 TB = 1024 GB).

func NewUserCustomQuotaArg

func NewUserCustomQuotaArg(User *UserSelectorArg, QuotaGb uint32) *UserCustomQuotaArg

NewUserCustomQuotaArg returns a new UserCustomQuotaArg instance

type UserCustomQuotaResult

type UserCustomQuotaResult struct {
	// User : has no documentation (yet)
	User *UserSelectorArg `json:"user"`
	// QuotaGb : has no documentation (yet)
	QuotaGb uint32 `json:"quota_gb,omitempty"`
}

UserCustomQuotaResult : User and their custom quota in GB (1 TB = 1024 GB). No quota returns if the user has no custom quota set.

func NewUserCustomQuotaResult

func NewUserCustomQuotaResult(User *UserSelectorArg) *UserCustomQuotaResult

NewUserCustomQuotaResult returns a new UserCustomQuotaResult instance

type UserSelectorArg

type UserSelectorArg struct {
	dropbox.Tagged
	// TeamMemberId : has no documentation (yet)
	TeamMemberId string `json:"team_member_id,omitempty"`
	// ExternalId : has no documentation (yet)
	ExternalId string `json:"external_id,omitempty"`
	// Email : has no documentation (yet)
	Email string `json:"email,omitempty"`
}

UserSelectorArg : Argument for selecting a single user, either by team_member_id, external_id or email.

func (*UserSelectorArg) UnmarshalJSON

func (u *UserSelectorArg) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a UserSelectorArg instance

type UserSelectorError

type UserSelectorError struct {
	dropbox.Tagged
}

UserSelectorError : Error that can be returned whenever a struct derived from `UserSelectorArg` is used.

type UsersSelectorArg

type UsersSelectorArg struct {
	dropbox.Tagged
	// TeamMemberIds : List of member IDs.
	TeamMemberIds []string `json:"team_member_ids,omitempty"`
	// ExternalIds : List of external user IDs.
	ExternalIds []string `json:"external_ids,omitempty"`
	// Emails : List of email addresses.
	Emails []string `json:"emails,omitempty"`
}

UsersSelectorArg : Argument for selecting a list of users, either by team_member_ids, external_ids or emails.

func (*UsersSelectorArg) UnmarshalJSON

func (u *UsersSelectorArg) UnmarshalJSON(body []byte) error

UnmarshalJSON deserializes into a UsersSelectorArg instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL