Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.38 KB

File metadata and controls

31 lines (22 loc) · 1.38 KB

HostingV1FilesUploadUrlResource

Properties

Name Type Description Notes
url str The TUS upload endpoint URL to send upload requests to
auth_key str Authentication token to pass as the `X-Auth` header in TUS upload requests
rest_auth_key str Authentication token to pass as the `X-Auth-Rest` header in TUS upload requests

Example

from hostinger_api.models.hosting_v1_files_upload_url_resource import HostingV1FilesUploadUrlResource

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

# convert the object into a dict
hosting_v1_files_upload_url_resource_dict = hosting_v1_files_upload_url_resource_instance.to_dict()
# create an instance of HostingV1FilesUploadUrlResource from a dict
hosting_v1_files_upload_url_resource_from_dict = HostingV1FilesUploadUrlResource.from_dict(hosting_v1_files_upload_url_resource_dict)

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