FileRecord#
- pydantic model nublado.purger.models.plan.FileRecord#
A file to be purged, and why.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "FileRecord", "description": "A file to be purged, and why.", "type": "object", "properties": { "path": { "format": "path", "title": "Path for file to purge.", "type": "string" }, "fileClass": { "$ref": "#/$defs/FileClass", "title": "Class of file to purge (large or small)." }, "fileReason": { "$ref": "#/$defs/FileReason", "title": "Reason to purge file (access, creation, or modification time)." }, "fileInterval": { "format": "duration", "title": "Time since the appropriate timestamp.", "type": "string" }, "criterionInterval": { "format": "duration", "title": "Interval at which file is marked for deletion.", "type": "string" } }, "$defs": { "FileClass": { "description": "Whether a file is large or small.", "enum": [ "LARGE", "SMALL" ], "title": "FileClass", "type": "string" }, "FileReason": { "description": "Whether a file is to be purged on access, creation, or modification\ntime grounds.", "enum": [ "ATIME", "CTIME", "MTIME" ], "title": "FileReason", "type": "string" } }, "required": [ "path", "fileClass", "fileReason", "fileInterval", "criterionInterval" ] }
- Fields:
-
field fileReason:
Annotated[FileReason] [Required] (name 'file_reason')#