models.db_file_info module¶
-
class
models.db_file_info.
DbFileInfo
(file_type=None, full_path=None, size_bytes=None)[source]¶ Bases:
object
Implementation of the ‘DbFileInfo’ model.
Specifies information about a database file.
- Attributes:
- file_type (FileTypeEnum): Specifies the format type of the file that
SQL database stores the data. Specifies the format type of the file that SQL database stores the data. ‘kRows’ refers to a data file ‘kLog’ refers to a log file ‘kFileStream’ refers to a directory containing FILESTREAM data ‘kNotSupportedType’ is for information purposes only. Not supported. ‘kFullText’ refers to a full-text catalog.
- full_path (string): Specifies the full path of the database file on
the SQL host machine.
- size_bytes (long|int): Specifies the last known size of the database
file.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
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.
- Returns:
object: An instance of this structure class.