IPWorks Cloud 2020 Kotlin Edition

Questions / Feedback?

B2File Type

A Backblaze B2 file.

Remarks

This type represents a Backblaze B2 file.

Fields

BucketId
String?

The Id of the bucket that the file is in.

This field reflects the Id of the bucket that the file is in.

ContentType
String?

The content type of the file.

This field reflects the content type of the file. Always application/x-bz-hide-marker when Kind is hide; and empty when Kind is folder.

CreatedTime
Long

The file's creation time.

This field reflects the file's creation time, in milliseconds relative to the Unix epoch. Always 0 when Kind is folder.

Id
String?

The Id of the file.

This field reflects the Id of the file. Always empty when Kind is folder.

Kind
String?

The kind of file.

This field reflects the file's kind. Possible values are:

folder A "folder" (only applicable when listing files with a Delimiter).
hide A hide marker file version created by HideFile.
start A multipart file upload that has not been completed or abandoned yet.
upload An file that has been uploaded (either directly, or via a multipart upload).

MD5Hash
String?

An MD5 hash of the file's contents.

This field reflects a hex-encoded MD5 hash of the file's contents, or empty string if such a hash is not available.

ModifiedTime
Long

The file's last modified time.

This field reflects the file's last modified time, in milliseconds relative to the Unix epoch.

Note that this field will only be populated if a src_last_modified_millis metadata item is included for the file, and if that metadata item's value can be parsed as a 64-bit integer; otherwise, it will be -1. Refer to the ClientModifiedTime configuration setting for more information.

Name
String?

The name of the file.

This field reflects the name of the file.

SHA1Hash
String?

A SHA1 hash of the file's contents.

This field reflects a hex-encoded SHA1 hash of the file's contents, or empty string if such a hash is not available. Always empty if Kind is folder or hide.

Size
Long

The file's size.

This field reflects the file's size, in bytes. Always 0 when Kind is folder, hide, or start.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Kotlin Edition - Version 20.0 [Build 7941]