Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1015 Bytes

File metadata and controls

32 lines (23 loc) · 1015 Bytes

MediaFile

Media file (image or video) used as an attachment

Properties

Name Type Description Notes
width int File width in pixels [optional]
height int File height in pixels [optional]
url str URL to download or view the file

Example

from postmypost_rest_sdk.models.media_file import MediaFile

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

# convert the object into a dict
media_file_dict = media_file_instance.to_dict()
# create an instance of MediaFile from a dict
media_file_from_dict = MediaFile.from_dict(media_file_dict)

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