Sharing

open class Sharing

Datatypes and serializers for the sharing namespace

  • Information about the inheritance policy of a shared folder.

    See more

    Declaration

    Swift

    public enum AccessInheritance : CustomStringConvertible
  • Defines the access levels for collaborators.

    See more

    Declaration

    Swift

    public enum AccessLevel : CustomStringConvertible
  • Who can change a shared folder’s access control list (ACL). In other words, who can add, remove, or change the privileges of members.

    See more

    Declaration

    Swift

    public enum AclUpdatePolicy : CustomStringConvertible
  • Arguments for addFileMember.

    See more

    Declaration

    Swift

    open class AddFileMemberArgs : CustomStringConvertible
  • Errors for addFileMember.

    See more

    Declaration

    Swift

    public enum AddFileMemberError : CustomStringConvertible
  • The AddFolderMemberArg struct

    See more

    Declaration

    Swift

    open class AddFolderMemberArg : CustomStringConvertible
  • The AddFolderMemberError union

    See more

    Declaration

    Swift

    public enum AddFolderMemberError : CustomStringConvertible
  • The member and type of access the member should have when added to a shared folder.

    See more

    Declaration

    Swift

    open class AddMember : CustomStringConvertible
  • The AddMemberSelectorError union

    See more

    Declaration

    Swift

    public enum AddMemberSelectorError : CustomStringConvertible
  • Information about the content that has a link audience different than that of this folder.

    See more

    Declaration

    Swift

    open class AudienceExceptionContentInfo : CustomStringConvertible
  • The total count and truncated list of information of content inside this folder that has a different audience than the link on this folder. This is only returned for folders.

    See more

    Declaration

    Swift

    open class AudienceExceptions : CustomStringConvertible
  • Information about the shared folder that prevents the link audience for this link from being more restrictive.

    See more

    Declaration

    Swift

    open class AudienceRestrictingSharedFolder : CustomStringConvertible
  • Arguments for changeFileMemberAccess.

    See more

    Declaration

    Swift

    open class ChangeFileMemberAccessArgs : CustomStringConvertible
  • Metadata for a shared link. This can be either a PathLinkMetadata or CollectionLinkMetadata.

    See more

    Declaration

    Swift

    open class LinkMetadata : CustomStringConvertible
  • Metadata for a collection-based shared link.

    Declaration

    Swift

    open class CollectionLinkMetadata : Sharing.LinkMetadata
  • The CreateSharedLinkArg struct

    See more

    Declaration

    Swift

    open class CreateSharedLinkArg : CustomStringConvertible
  • The CreateSharedLinkError union

    See more

    Declaration

    Swift

    public enum CreateSharedLinkError : CustomStringConvertible
  • The CreateSharedLinkWithSettingsArg struct

    See more

    Declaration

    Swift

    open class CreateSharedLinkWithSettingsArg : CustomStringConvertible
  • The CreateSharedLinkWithSettingsError union

    See more

    Declaration

    Swift

    public enum CreateSharedLinkWithSettingsError : CustomStringConvertible
  • The SharedContentLinkMetadataBase struct

    See more

    Declaration

    Swift

    open class SharedContentLinkMetadataBase : CustomStringConvertible
  • The expected metadata of a shared link for a file or folder when a link is first created for the content. Absent if the link already exists.

    Declaration

    Swift

    open class ExpectedSharedContentLinkMetadata : Sharing.SharedContentLinkMetadataBase
  • Sharing actions that may be taken on files.

    See more

    Declaration

    Swift

    public enum FileAction : CustomStringConvertible
  • The FileErrorResult union

    See more

    Declaration

    Swift

    public enum FileErrorResult : CustomStringConvertible
  • The metadata of a shared link.

    See more

    Declaration

    Swift

    open class SharedLinkMetadata : CustomStringConvertible
  • The metadata of a file shared link.

    See more

    Declaration

    Swift

    open class FileLinkMetadata : Sharing.SharedLinkMetadata
  • The FileMemberActionError union

    See more

    Declaration

    Swift

    public enum FileMemberActionError : CustomStringConvertible
  • The FileMemberActionIndividualResult union

    See more

    Declaration

    Swift

    public enum FileMemberActionIndividualResult : CustomStringConvertible
  • Per-member result for addFileMember or changeFileMemberAccess.

    See more

    Declaration

    Swift

    open class FileMemberActionResult : CustomStringConvertible
  • The FileMemberRemoveActionResult union

    See more

    Declaration

    Swift

    public enum FileMemberRemoveActionResult : CustomStringConvertible
  • Whether the user is allowed to take the sharing action on the file.

    See more

    Declaration

    Swift

    open class FilePermission : CustomStringConvertible
  • Actions that may be taken on shared folders.

    See more

    Declaration

    Swift

    public enum FolderAction : CustomStringConvertible
  • The metadata of a folder shared link.

    Declaration

    Swift

    open class FolderLinkMetadata : Sharing.SharedLinkMetadata
  • Whether the user is allowed to take the action on the shared folder.

    See more

    Declaration

    Swift

    open class FolderPermission : CustomStringConvertible
  • A set of policies governing membership and privileges for a shared folder.

    See more

    Declaration

    Swift

    open class FolderPolicy : CustomStringConvertible
  • Arguments of getFileMetadata.

    See more

    Declaration

    Swift

    open class GetFileMetadataArg : CustomStringConvertible
  • Arguments of getFileMetadataBatch.

    See more

    Declaration

    Swift

    open class GetFileMetadataBatchArg : CustomStringConvertible
  • Per file results of getFileMetadataBatch.

    See more

    Declaration

    Swift

    open class GetFileMetadataBatchResult : CustomStringConvertible
  • Error result for getFileMetadata.

    See more

    Declaration

    Swift

    public enum GetFileMetadataError : CustomStringConvertible
  • The GetFileMetadataIndividualResult union

    See more

    Declaration

    Swift

    public enum GetFileMetadataIndividualResult : CustomStringConvertible
  • The GetMetadataArgs struct

    See more

    Declaration

    Swift

    open class GetMetadataArgs : CustomStringConvertible
  • The SharedLinkError union

    See more

    Declaration

    Swift

    public enum SharedLinkError : CustomStringConvertible
  • The GetSharedLinkFileError union

    See more

    Declaration

    Swift

    public enum GetSharedLinkFileError : CustomStringConvertible
  • The GetSharedLinkMetadataArg struct

    See more

    Declaration

    Swift

    open class GetSharedLinkMetadataArg : CustomStringConvertible
  • The GetSharedLinksArg struct

    See more

    Declaration

    Swift

    open class GetSharedLinksArg : CustomStringConvertible
  • The GetSharedLinksError union

    See more

    Declaration

    Swift

    public enum GetSharedLinksError : CustomStringConvertible
  • The GetSharedLinksResult struct

    See more

    Declaration

    Swift

    open class GetSharedLinksResult : CustomStringConvertible
  • The information about a group. Groups is a way to manage a list of users who need same access permission to the shared folder.

    See more

    Declaration

    Swift

    open class GroupInfo : TeamCommon.GroupSummary
  • The information about a member of the shared content.

    See more

    Declaration

    Swift

    open class MembershipInfo : CustomStringConvertible
  • The information about a group member of the shared content.

    See more

    Declaration

    Swift

    open class GroupMembershipInfo : Sharing.MembershipInfo
  • The InsufficientPlan struct

    See more

    Declaration

    Swift

    open class InsufficientPlan : CustomStringConvertible
  • The InsufficientQuotaAmounts struct

    See more

    Declaration

    Swift

    open class InsufficientQuotaAmounts : CustomStringConvertible
  • Information about the recipient of a shared content invitation.

    See more

    Declaration

    Swift

    public enum InviteeInfo : CustomStringConvertible
  • Information about an invited member of a shared content.

    See more

    Declaration

    Swift

    open class InviteeMembershipInfo : Sharing.MembershipInfo
  • Error occurred while performing an asynchronous job from unshareFolder or removeFolderMember.

    See more

    Declaration

    Swift

    public enum JobError : CustomStringConvertible
  • The JobStatus union

    See more

    Declaration

    Swift

    public enum JobStatus : CustomStringConvertible
  • The LinkAccessLevel union

    See more

    Declaration

    Swift

    public enum LinkAccessLevel : CustomStringConvertible
  • Actions that can be performed on a link.

    See more

    Declaration

    Swift

    public enum LinkAction : CustomStringConvertible
  • The LinkAudience union

    See more

    Declaration

    Swift

    public enum LinkAudience : CustomStringConvertible
  • The LinkExpiry union

    See more

    Declaration

    Swift

    public enum LinkExpiry : CustomStringConvertible
  • The LinkPassword union

    See more

    Declaration

    Swift

    public enum LinkPassword : CustomStringConvertible
  • Permissions for actions that can be performed on a link.

    See more

    Declaration

    Swift

    open class LinkPermission : CustomStringConvertible
  • The LinkPermissions struct

    See more

    Declaration

    Swift

    open class LinkPermissions : CustomStringConvertible
  • Settings that apply to a link.

    See more

    Declaration

    Swift

    open class LinkSettings : CustomStringConvertible
  • Arguments for listFileMembers.

    See more

    Declaration

    Swift

    open class ListFileMembersArg : CustomStringConvertible
  • Arguments for listFileMembersBatch.

    See more

    Declaration

    Swift

    open class ListFileMembersBatchArg : CustomStringConvertible
  • Per-file result for listFileMembersBatch.

    See more

    Declaration

    Swift

    open class ListFileMembersBatchResult : CustomStringConvertible
  • Arguments for listFileMembersContinue.

    See more

    Declaration

    Swift

    open class ListFileMembersContinueArg : CustomStringConvertible
  • Error for listFileMembersContinue.

    See more

    Declaration

    Swift

    public enum ListFileMembersContinueError : CustomStringConvertible
  • The ListFileMembersCountResult struct

    See more

    Declaration

    Swift

    open class ListFileMembersCountResult : CustomStringConvertible
  • Error for listFileMembers.

    See more

    Declaration

    Swift

    public enum ListFileMembersError : CustomStringConvertible
  • The ListFileMembersIndividualResult union

    See more

    Declaration

    Swift

    public enum ListFileMembersIndividualResult : CustomStringConvertible
  • Arguments for listReceivedFiles.

    See more

    Declaration

    Swift

    open class ListFilesArg : CustomStringConvertible
  • Arguments for listReceivedFilesContinue.

    See more

    Declaration

    Swift

    open class ListFilesContinueArg : CustomStringConvertible
  • Error results for listReceivedFilesContinue.

    See more

    Declaration

    Swift

    public enum ListFilesContinueError : CustomStringConvertible
  • Success results for listReceivedFiles.

    See more

    Declaration

    Swift

    open class ListFilesResult : CustomStringConvertible
  • The ListFolderMembersCursorArg struct

    See more

    Declaration

    Swift

    open class ListFolderMembersCursorArg : CustomStringConvertible
  • The ListFolderMembersArgs struct

    See more

    Declaration

    Swift

    open class ListFolderMembersArgs : Sharing.ListFolderMembersCursorArg
  • The ListFolderMembersContinueArg struct

    See more

    Declaration

    Swift

    open class ListFolderMembersContinueArg : CustomStringConvertible
  • The ListFolderMembersContinueError union

    See more

    Declaration

    Swift

    public enum ListFolderMembersContinueError : CustomStringConvertible
  • The ListFoldersArgs struct

    See more

    Declaration

    Swift

    open class ListFoldersArgs : CustomStringConvertible
  • The ListFoldersContinueArg struct

    See more

    Declaration

    Swift

    open class ListFoldersContinueArg : CustomStringConvertible
  • The ListFoldersContinueError union

    See more

    Declaration

    Swift

    public enum ListFoldersContinueError : CustomStringConvertible
  • Result for listFolders or listMountableFolders, depending on which endpoint was requested. Unmounted shared folders can be identified by the absence of pathLower in SharedFolderMetadata.

    See more

    Declaration

    Swift

    open class ListFoldersResult : CustomStringConvertible
  • The ListSharedLinksArg struct

    See more

    Declaration

    Swift

    open class ListSharedLinksArg : CustomStringConvertible
  • The ListSharedLinksError union

    See more

    Declaration

    Swift

    public enum ListSharedLinksError : CustomStringConvertible
  • The ListSharedLinksResult struct

    See more

    Declaration

    Swift

    open class ListSharedLinksResult : CustomStringConvertible
  • Contains information about a member’s access level to content after an operation.

    See more

    Declaration

    Swift

    open class MemberAccessLevelResult : CustomStringConvertible
  • Actions that may be taken on members of a shared folder.

    See more

    Declaration

    Swift

    public enum MemberAction : CustomStringConvertible
  • Whether the user is allowed to take the action on the associated member.

    See more

    Declaration

    Swift

    open class MemberPermission : CustomStringConvertible
  • Policy governing who can be a member of a shared folder. Only applicable to folders owned by a user on a team.

    See more

    Declaration

    Swift

    public enum MemberPolicy : CustomStringConvertible
  • Includes different ways to identify a member of a shared folder.

    See more

    Declaration

    Swift

    public enum MemberSelector : CustomStringConvertible
  • The ModifySharedLinkSettingsArgs struct

    See more

    Declaration

    Swift

    open class ModifySharedLinkSettingsArgs : CustomStringConvertible
  • The ModifySharedLinkSettingsError union

    See more

    Declaration

    Swift

    public enum ModifySharedLinkSettingsError : CustomStringConvertible
  • The MountFolderArg struct

    See more

    Declaration

    Swift

    open class MountFolderArg : CustomStringConvertible
  • The MountFolderError union

    See more

    Declaration

    Swift

    public enum MountFolderError : CustomStringConvertible
  • Contains information about a parent folder that a member has access to.

    See more

    Declaration

    Swift

    open class ParentFolderAccessInfo : CustomStringConvertible
  • Metadata for a path-based shared link.

    See more

    Declaration

    Swift

    open class PathLinkMetadata : Sharing.LinkMetadata
  • Flag to indicate pending upload default (for linking to not-yet-existing paths).

    See more

    Declaration

    Swift

    public enum PendingUploadMode : CustomStringConvertible
  • Possible reasons the user is denied a permission.

    See more

    Declaration

    Swift

    public enum PermissionDeniedReason : CustomStringConvertible
  • The RelinquishFileMembershipArg struct

    See more

    Declaration

    Swift

    open class RelinquishFileMembershipArg : CustomStringConvertible
  • The RelinquishFileMembershipError union

    See more

    Declaration

    Swift

    public enum RelinquishFileMembershipError : CustomStringConvertible
  • The RelinquishFolderMembershipArg struct

    See more

    Declaration

    Swift

    open class RelinquishFolderMembershipArg : CustomStringConvertible
  • The RelinquishFolderMembershipError union

    See more

    Declaration

    Swift

    public enum RelinquishFolderMembershipError : CustomStringConvertible
  • Arguments for removeFileMember2.

    See more

    Declaration

    Swift

    open class RemoveFileMemberArg : CustomStringConvertible
  • Errors for removeFileMember2.

    See more

    Declaration

    Swift

    public enum RemoveFileMemberError : CustomStringConvertible
  • The RemoveFolderMemberArg struct

    See more

    Declaration

    Swift

    open class RemoveFolderMemberArg : CustomStringConvertible
  • The RemoveFolderMemberError union

    See more

    Declaration

    Swift

    public enum RemoveFolderMemberError : CustomStringConvertible
  • The RemoveMemberJobStatus union

    See more

    Declaration

    Swift

    public enum RemoveMemberJobStatus : CustomStringConvertible
  • The RequestedLinkAccessLevel union

    See more

    Declaration

    Swift

    public enum RequestedLinkAccessLevel : CustomStringConvertible
  • The access permission that can be requested by the caller for the shared link. Note that the final resolved visibility of the shared link takes into account other aspects, such as team and shared folder settings. Check the ResolvedVisibility for more info on the possible resolved visibility values of shared links.

    See more

    Declaration

    Swift

    public enum RequestedVisibility : CustomStringConvertible
  • The actual access permissions values of shared links after taking into account user preferences and the team and shared folder settings. Check the RequestedVisibility for more info on the possible visibility values that can be set by the shared link’s owner.

    See more

    Declaration

    Swift

    public enum ResolvedVisibility : CustomStringConvertible
  • The RevokeSharedLinkArg struct

    See more

    Declaration

    Swift

    open class RevokeSharedLinkArg : CustomStringConvertible
  • The RevokeSharedLinkError union

    See more

    Declaration

    Swift

    public enum RevokeSharedLinkError : CustomStringConvertible
  • The SetAccessInheritanceArg struct

    See more

    Declaration

    Swift

    open class SetAccessInheritanceArg : CustomStringConvertible
  • The SetAccessInheritanceError union

    See more

    Declaration

    Swift

    public enum SetAccessInheritanceError : CustomStringConvertible
  • The ShareFolderArgBase struct

    See more

    Declaration

    Swift

    open class ShareFolderArgBase : CustomStringConvertible
  • The ShareFolderArg struct

    See more

    Declaration

    Swift

    open class ShareFolderArg : ShareFolderArgBase
  • The ShareFolderErrorBase union

    See more

    Declaration

    Swift

    public enum ShareFolderErrorBase : CustomStringConvertible
  • The ShareFolderError union

    See more

    Declaration

    Swift

    public enum ShareFolderError : CustomStringConvertible
  • The ShareFolderJobStatus union

    See more

    Declaration

    Swift

    public enum ShareFolderJobStatus : CustomStringConvertible
  • The ShareFolderLaunch union

    See more

    Declaration

    Swift

    public enum ShareFolderLaunch : CustomStringConvertible
  • The SharePathError union

    See more

    Declaration

    Swift

    public enum SharePathError : CustomStringConvertible
  • Metadata of a shared link for a file or folder.

    See more

    Declaration

    Swift

    open class SharedContentLinkMetadata : SharedContentLinkMetadataBase
  • Shared file user, group, and invitee membership. Used for the results of listFileMembers and listFileMembersContinue, and used as part of the results for listFileMembersBatch.

    See more

    Declaration

    Swift

    open class SharedFileMembers : CustomStringConvertible
  • Properties of the shared file.

    See more

    Declaration

    Swift

    open class SharedFileMetadata : CustomStringConvertible
  • There is an error accessing the shared folder.

    See more

    Declaration

    Swift

    public enum SharedFolderAccessError : CustomStringConvertible
  • The SharedFolderMemberError union

    See more

    Declaration

    Swift

    public enum SharedFolderMemberError : CustomStringConvertible
  • Shared folder user and group membership.

    See more

    Declaration

    Swift

    open class SharedFolderMembers : CustomStringConvertible
  • Properties of the shared folder.

    See more

    Declaration

    Swift

    open class SharedFolderMetadataBase : CustomStringConvertible
  • The metadata which includes basic information about the shared folder.

    See more

    Declaration

    Swift

    open class SharedFolderMetadata : SharedFolderMetadataBase
  • The SharedLinkAccessFailureReason union

    See more

    Declaration

    Swift

    public enum SharedLinkAccessFailureReason : CustomStringConvertible
  • The SharedLinkAlreadyExistsMetadata union

    See more

    Declaration

    Swift

    public enum SharedLinkAlreadyExistsMetadata : CustomStringConvertible
  • Who can view shared links in this folder.

    See more

    Declaration

    Swift

    public enum SharedLinkPolicy : CustomStringConvertible
  • The SharedLinkSettings struct

    See more

    Declaration

    Swift

    open class SharedLinkSettings : CustomStringConvertible
  • The SharedLinkSettingsError union

    See more

    Declaration

    Swift

    public enum SharedLinkSettingsError : CustomStringConvertible
  • User could not access this file.

    See more

    Declaration

    Swift

    public enum SharingFileAccessError : CustomStringConvertible
  • User account had a problem preventing this action.

    See more

    Declaration

    Swift

    public enum SharingUserError : CustomStringConvertible
  • Information about a team member.

    See more

    Declaration

    Swift

    open class TeamMemberInfo : CustomStringConvertible
  • The TransferFolderArg struct

    See more

    Declaration

    Swift

    open class TransferFolderArg : CustomStringConvertible
  • The TransferFolderError union

    See more

    Declaration

    Swift

    public enum TransferFolderError : CustomStringConvertible
  • The UnmountFolderArg struct

    See more

    Declaration

    Swift

    open class UnmountFolderArg : CustomStringConvertible
  • The UnmountFolderError union

    See more

    Declaration

    Swift

    public enum UnmountFolderError : CustomStringConvertible
  • Arguments for unshareFile.

    See more

    Declaration

    Swift

    open class UnshareFileArg : CustomStringConvertible
  • Error result for unshareFile.

    See more

    Declaration

    Swift

    public enum UnshareFileError : CustomStringConvertible
  • The UnshareFolderArg struct

    See more

    Declaration

    Swift

    open class UnshareFolderArg : CustomStringConvertible
  • The UnshareFolderError union

    See more

    Declaration

    Swift

    public enum UnshareFolderError : CustomStringConvertible
  • Arguments for updateFileMember.

    Declaration

    Swift

    open class UpdateFileMemberArgs : Sharing.ChangeFileMemberAccessArgs
  • The UpdateFolderMemberArg struct

    See more

    Declaration

    Swift

    open class UpdateFolderMemberArg : CustomStringConvertible
  • The UpdateFolderMemberError union

    See more

    Declaration

    Swift

    public enum UpdateFolderMemberError : CustomStringConvertible
  • If any of the policies are unset, then they retain their current setting.

    See more

    Declaration

    Swift

    open class UpdateFolderPolicyArg : CustomStringConvertible
  • The UpdateFolderPolicyError union

    See more

    Declaration

    Swift

    public enum UpdateFolderPolicyError : CustomStringConvertible
  • The information about a user member of the shared content.

    See more

    Declaration

    Swift

    open class UserMembershipInfo : Sharing.MembershipInfo
  • The information about a user member of the shared content with an appended last seen timestamp.

    See more

    Declaration

    Swift

    open class UserFileMembershipInfo : Sharing.UserMembershipInfo
  • Basic information about a user. Use usersAccount and usersAccountBatch to obtain more detailed information.

    See more

    Declaration

    Swift

    open class UserInfo : CustomStringConvertible
  • The ViewerInfoPolicy union

    See more

    Declaration

    Swift

    public enum ViewerInfoPolicy : CustomStringConvertible
  • Who can access a shared link. The most open visibility is public_. The default depends on many aspects, such as team and user preferences and shared folder settings.

    See more

    Declaration

    Swift

    public enum Visibility : CustomStringConvertible