Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.18 KB

File metadata and controls

35 lines (26 loc) · 1.18 KB

UploadInit

Properties

Name Type Description Notes
id int Upload ID
url str URL of the uploaded file
size int File size in bytes
status UploadStatusEnum
name str File name
action str Upload endpoint URL
fields List[UploadByFileFieldsInner] Parameters to be submitted with the file during upload

Example

from postmypost_rest_sdk.models.upload_init import UploadInit

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

# convert the object into a dict
upload_init_dict = upload_init_instance.to_dict()
# create an instance of UploadInit from a dict
upload_init_from_dict = UploadInit.from_dict(upload_init_dict)

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