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

    name

    The new name for the file.

    description

    The new description for the file.

    parentId

    The ID of the parent folder

    sharedLink

    Provides direct, read-only access to files or folder on Box using a URL.

    tags

    Tags applied to this file

    collections

    Ids of collections file should belong to.