You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whether the directory exists in the directory. * `1` — Exists. * `0` — Does not exist.
[optional]
file
str
The directory name.
[optional]
fullpath
str
The directory's full directory path.
[optional]
gid
int
The directory owner's system group ID.
[optional]
hash
str
The full directory path's hash.
[optional]
humansize
str
The formatted size of the directory. The function returns the size with one of the following symbols: * `KB` — Kilobytes. * `MB` — Megabytes. * `GB` — Gigabytes.
[optional]
isleaf
int
Whether the directory contains subdirectories. * `1` — Contains subdirectories. * `0` — Does not contain subdirectories.
[optional]
isparent
int
Whether the directory is a parent record. * `1` — A parent record. * `0` — Not a parent record.
[optional]
mimename
str
The MIME type's name.
[optional]
mimetype
str
The directory's MIME's type.
[optional]
mode
str
The directory's textual permissions in Unix format.
[optional]
mtime
int
The directory's last modification time.
[optional]
nicemode
int
The directory's numerical permissions.
[optional]
path
str
The path to the directory.
[optional]
phash
str
The parent directory path's hash.
[optional]
rawmimename
str
The directory's raw MIME type's name.
[optional]
rawmimetype
str
The directory's raw MIME type.
[optional]
read
int
Whether the directory is readable. * `1` — Readable. * `0` — Not readable. Note: The function only returns this value if the `include_permissions` value is `1`.
[optional]
size
int
The directory's size, in bytes.
[optional]
type
str
The item's type. * `file` — A file. * `dir` — A directory. * `char` — A character special device. * `block` — A block special device. * `fifo` - A named pipe (FIFO). * `link` — A symbolic link. * `socket` — A Unix domain socket.
[optional]
uid
int
The directory owner's system user ID.
[optional]
write
int
Whether the directory is writable. * `1` — Writable. * `0` — Not writable. Note: The function only returns this value if the `include_permissions` value is `1`.
[optional]
Example
fromclientapi_cpanel.models.inline_response200239_result_data_dirsimportInlineResponse200239ResultDataDirs# TODO update the JSON string belowjson="{}"# create an instance of InlineResponse200239ResultDataDirs from a JSON stringinline_response200239_result_data_dirs_instance=InlineResponse200239ResultDataDirs.from_json(json)
# print the JSON string representation of the objectprint(InlineResponse200239ResultDataDirs.to_json())
# convert the object into a dictinline_response200239_result_data_dirs_dict=inline_response200239_result_data_dirs_instance.to_dict()
# create an instance of InlineResponse200239ResultDataDirs from a dictinline_response200239_result_data_dirs_from_dict=InlineResponse200239ResultDataDirs.from_dict(inline_response200239_result_data_dirs_dict)