Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 994 Bytes

File metadata and controls

31 lines (22 loc) · 994 Bytes

ImageAttachment

Properties

Name Type Description Notes
type str
image MediaFile
preview MediaFile

Example

from postmypost_rest_sdk.models.image_attachment import ImageAttachment

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

# convert the object into a dict
image_attachment_dict = image_attachment_instance.to_dict()
# create an instance of ImageAttachment from a dict
image_attachment_from_dict = ImageAttachment.from_dict(image_attachment_dict)

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