Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1008 Bytes

File metadata and controls

31 lines (22 loc) · 1008 Bytes

FileContent

The content of a file.

Properties

Name Type Description Notes
content str The plain text (UTF-8) or base64-encoded content of the file. [optional]
content_encoding EncodingType [optional]

Example

from flightctl.models.file_content import FileContent

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

# convert the object into a dict
file_content_dict = file_content_instance.to_dict()
# create an instance of FileContent from a dict
file_content_from_dict = FileContent.from_dict(file_content_dict)

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