abacusai.fs_entry — AbacusAI documentation

# abacusai.fs_entry

## Classes

`FsEntry` | File system entry.

## Module Contents

class abacusai.fs_entry.FsEntry(client, name=None, type=None, path=None, size=None, modified=None, isFolderEmpty=None, children=None)

  Bases: `abacusai.return_class.AbstractApiClass`

  File system entry.

  Parameters:

    - client (ApiClient) – An authenticated API Client instance

    - name (str) – The name of the file/folder

    - type (str) – The type of entry (file/folder)

    - path (str) – The path of the entry

    - size (int) – The size of the entry in bytes

    - modified (int) – The last modified timestamp

    - isFolderEmpty (bool) – Whether the folder is empty (only for folders)

    - children (list) – List of child FSEntry objects (only for folders)

  name = None
  type = None
  path = None
  size = None
  modified = None
  isFolderEmpty = None
  children = None
  deprecated_keys
  __repr__()
  to_dict()

    Get a dict representation of the parameters in this class

    Returns:

      The dict value representation of the class parameters

    Return type:

      dict