NumberFileTypeNumberNumberGetFileResponseGetFileResponseGetFileResponseGetFileResponseNumberGet the Crc
Kind: Instance method of GetFileResponse
Returns: Number - the KEY_CRC value
FileTypeGet the FileType
Kind: Instance method of GetFileResponse
Returns: FileType - the KEY_FILE_TYPE value
NumberGet the Length
Kind: Instance method of GetFileResponse
Returns: Number - the KEY_LENGTH value
NumberGet the Offset
Kind: Instance method of GetFileResponse
Returns: Number - the KEY_OFFSET value
GetFileResponseSet the Crc
Kind: Instance method of GetFileResponse
Returns: GetFileResponse - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| crc | Number |
Additional CRC32 checksum to protect data integrity up to 512 Mbits - The desired Crc. {'num_min_value': 0, 'num_max_value': 4294967295} |
GetFileResponseSet the FileType
Kind: Instance method of GetFileResponse
Returns: GetFileResponse - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| type | FileType |
File type that is being sent in response. - The desired FileType. |
GetFileResponseSet the Length
Kind: Instance method of GetFileResponse
Returns: GetFileResponse - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| length | Number |
Optional length in bytes for resuming partial data chunks if offset is set to 0, then length is the total length of the file to be downloaded - The desired Length. {'num_min_value': 0, 'num_max_value': 2000000000} |
GetFileResponseSet the Offset
Kind: Instance method of GetFileResponse
Returns: GetFileResponse - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| offset | Number |
Optional offset in bytes for resuming partial data chunks - The desired Offset. {'num_min_value': 0, 'num_max_value': 2000000000} |