Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.4 KB

Attachment.md

File metadata and controls

40 lines (31 loc) · 1.4 KB

Attachment

Properties

Name Type Description Notes
attachable_id str ID of the model this attachment is linked to.
attachable_type AttachableType
created_at datetime [optional] [readonly]
download_url str [optional]
filename str
md5 str MD5 hash of the file for basic duplicate detection. [optional]
mime str [optional] [readonly]
notes str [optional]
size int [optional] [readonly]
title str [optional]
updated_at datetime [optional] [readonly]
upload_url str [optional]

Example

from firefly_iii_client.models.attachment import Attachment

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

# convert the object into a dict
attachment_dict = attachment_instance.to_dict()
# create an instance of Attachment from a dict
attachment_form_dict = attachment.from_dict(attachment_dict)

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