ExtractFileRangeResult(data=None, eof=None, error=None, file_length=None, start_offset=None)¶
Implementation of the ‘ExtractFileRangeResult’ model.
This will capture output of ExtractFileRange and ExtractNFSFileRange.
data (list of int|long): The actual data bytes. eof (bool): Will be true if start_offset > file length or EOF is
reached. This is an alternative to using file_length to determine when entire file is read. Used when fetching from a view.
error (ErrorProto): Success/error status of the operation. file_length (int|long): The total length of the file. This field would
be set provided no error had occurred (indicated by error field above).
start_offset (int|long): The offset from which data was read.
Creates an instance of this model from a dictionary
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
object: An instance of this structure class.