ListFolderArg

public class ListFolderArg : CustomStringConvertible, JSONRepresentable

The ListFolderArg struct

  • A unique identifier for the file.

    Declaration

    Swift

    public let path: String
  • If true, the list folder operation will be applied recursively to all subfolders and the response will contain contents of all subfolders.

    Declaration

    Swift

    public let recursive: Bool
  • If true, mediaInfo in FileMetadata is set for photo and video. This parameter will no longer have an effect starting December 2, 2019.

    Declaration

    Swift

    public let includeMediaInfo: Bool
  • If true, the results will include entries for files and folders that used to exist but were deleted.

    Declaration

    Swift

    public let includeDeleted: Bool
  • If true, the results will include a flag for each file indicating whether or not that file has any explicit members.

    Declaration

    Swift

    public let includeHasExplicitSharedMembers: Bool
  • If true, the results will include entries under mounted folders which includes app folder, shared folder and team folder.

    Declaration

    Swift

    public let includeMountedFolders: Bool
  • The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.

    Declaration

    Swift

    public let limit: UInt32?
  • A shared link to list the contents of. If the link is password-protected, the password must be provided. If this field is present, path in ListFolderArg will be relative to root of the shared link. Only non-recursive mode is supported for shared link.

    Declaration

    Swift

    public let sharedLink: Files.SharedLink?
  • If set to a valid list of template IDs, propertyGroups in FileMetadata is set if there exists property data associated with the file and each of the listed templates.

    Declaration

    Swift

    public let includePropertyGroups: FileProperties.TemplateFilterBase?
  • If true, include files that are not downloadable, i.e. Google Docs.

    Declaration

    Swift

    public let includeNonDownloadableFiles: Bool
  • Declaration

    Swift

    public var description: String { get }