Object for updating files.

Constructors

Properties

NONE: Do not run any duplicate validation. REJECT: Reject the upload if a duplicate is found. RETURN_EXISTING: If a duplicate file is found, do not upload a new file and return the found duplicate instead.

expiresAt?: number
isUsableInContent?: boolean

Mark whether the file should be used in new content or not.

name?: string

New name for the file.

parentFolderId?: string

FolderId where the file should be moved to. folderId and folderPath parameters cannot be set at the same time.

parentFolderPath?: string

Folder path where the file should be moved to. folderId and folderPath parameters cannot be set at the same time.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]