Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.37 KB

File metadata and controls

32 lines (23 loc) · 1.37 KB

FileMetadata

File metadata.

Properties

Name Type Description Notes
mode int The file's permission mode. You may specify the more familiar octal with a leading zero (e.g., 0644) or as a decimal without a leading zero (e.g., 420). Setuid/setgid/sticky bits are supported. If not specified, the permission mode for files defaults to 0644. [optional]
user str The file's owner, specified either as a name or numeric ID. Defaults to "root". [optional]
group str The file's group, specified either as a name or numeric ID. Defaults to "root". [optional]

Example

from flightctl.models.file_metadata import FileMetadata

# TODO update the JSON string below
json = "{}"
# create an instance of FileMetadata from a JSON string
file_metadata_instance = FileMetadata.from_json(json)
# print the JSON string representation of the object
print(FileMetadata.to_json())

# convert the object into a dict
file_metadata_dict = file_metadata_instance.to_dict()
# create an instance of FileMetadata from a dict
file_metadata_from_dict = FileMetadata.from_dict(file_metadata_dict)

[Back to Model list] [Back to API list] [Back to README]