UpdateFileInfoData
public struct UpdateFileInfoData : Encodable
Defines data for updating file information.
-
The new name for the file.
Declaration
Swift
public let name: String? -
The new description for the file.
Declaration
Swift
public let description: String? -
The ID of the parent folder
Declaration
Swift
public let parent: [String : String]? -
Provides direct, read-only access to files or folder on Box using a URL.
Declaration
Swift
public let sharedLink: SharedLinkData? -
Tags applied to this file
Declaration
Swift
public let tags: [String]? -
Collections file should belong to.
Declaration
Swift
public let collections: [[String : String]]? -
Initializer.
Declaration
Swift
public init( name: String? = nil, description: String? = nil, parentId: String? = nil, sharedLink: SharedLinkData? = nil, tags: [String]? = nil, collections: [String]? = nil )Parameters
nameThe new name for the file.
descriptionThe new description for the file.
parentIdThe ID of the parent folder
sharedLinkProvides direct, read-only access to files or folder on Box using a URL.
tagsTags applied to this file
collectionsIds of collections file should belong to.
UpdateFileInfoData Structure Reference