Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1 KB

FilePayload.md

File metadata and controls

31 lines (22 loc) · 1 KB

FilePayload

Properties

Name Type Description Notes
binary_content bytearray Content of the file sent as binary data
name str Filename [optional]
content_type str Type of file's content (e.g. image/jpeg) [optional]

Example

from ElasticEmail.models.file_payload import FilePayload

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

# convert the object into a dict
file_payload_dict = file_payload_instance.to_dict()
# create an instance of FilePayload from a dict
file_payload_from_dict = FilePayload.from_dict(file_payload_dict)

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