UpdateFile interface

更新檔案元數據。

Extends

屬性

downloadHandler

選擇性的下載處理程式,可用來利用相關檔案來下載承載檔案。

etag

檔案 ETag。

fileId

檔案識別,在匯入時由伺服器產生。

relatedFiles

選擇性的相關檔案元數據會一起使用 DownloadHandler 元數據來下載承載檔案。

繼承的屬性

fileName

檔案名稱。

hashes

哈希演算法與base64編碼哈希值的對應。

mimeType

檔案MIME類型。

properties

選用的檔案屬性(服務未取用,但傳遞至裝置)。

scanDetails

反惡意代碼掃描詳細數據。

scanResult

反惡意代碼掃描結果。

sizeInBytes

檔案大小,以位元組數為單位。

屬性詳細資料

downloadHandler

選擇性的下載處理程式,可用來利用相關檔案來下載承載檔案。

downloadHandler?: UpdateFileDownloadHandler

屬性值

etag

檔案 ETag。

etag?: string

屬性值

string

fileId

檔案識別,在匯入時由伺服器產生。

fileId: string

屬性值

string

relatedFiles

選擇性的相關檔案元數據會一起使用 DownloadHandler 元數據來下載承載檔案。

relatedFiles?: UpdateFileBase[]

屬性值

繼承的屬性詳細資料

fileName

檔案名稱。

fileName: string

屬性值

string

繼承自UpdateFileBase.fileName

hashes

哈希演算法與base64編碼哈希值的對應。

hashes: Record<string, string>

屬性值

Record<string, string>

繼承自UpdateFileBase.hashes

mimeType

檔案MIME類型。

mimeType?: string

屬性值

string

繼承自UpdateFileBase.mimeType

properties

選用的檔案屬性(服務未取用,但傳遞至裝置)。

properties?: Record<string, string>

屬性值

Record<string, string>

繼承自UpdateFileBase.properties

scanDetails

反惡意代碼掃描詳細數據。

scanDetails?: string

屬性值

string

繼承自UpdateFileBase.scanDetails。

scanResult

反惡意代碼掃描結果。

scanResult?: string

屬性值

string

繼承自UpdateFileBase.scanResult

sizeInBytes

檔案大小,以位元組數為單位。

sizeInBytes: number

屬性值

number

繼承自UpdateFileBase.sizeInBytes