FileAction

public enum FileAction : CustomStringConvertible, JSONRepresentable

Sharing actions that may be taken on files.

  • Disable viewer information on the file.

    Declaration

    Swift

    case disableViewerInfo
  • Change or edit contents of the file.

    Declaration

    Swift

    case editContents
  • Enable viewer information on the file.

    Declaration

    Swift

    case enableViewerInfo
  • Add a member with view permissions.

    Declaration

    Swift

    case inviteViewer
  • Add a member with view permissions but no comment permissions.

    Declaration

    Swift

    case inviteViewerNoComment
  • Add a member with edit permissions.

    Declaration

    Swift

    case inviteEditor
  • Stop sharing this file.

    Declaration

    Swift

    case unshare
  • Relinquish one’s own membership to the file.

    Declaration

    Swift

    case relinquishMembership
  • Use create_view_link and create_edit_link instead.

    Declaration

    Swift

    case shareLink
  • Use create_view_link and create_edit_link instead.

    Declaration

    Swift

    case createLink
  • Create a shared link to a file that only allows users to view the content.

    Declaration

    Swift

    case createViewLink
  • Create a shared link to a file that allows users to edit the content.

    Declaration

    Swift

    case createEditLink
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }