Skip to content

ImportAFileRequest

Properties

Name Type Description Notes
source str The source parameter is ignored and will be removed in version 1.61. The source is automatically extracted from the link [optional]
metadata_link str Specifies the URL of a metadata file to be used as the original metadata for the created objects. The file must contain a single record describing the uploaded attachment. [optional]
data_link str Specifies a link to a file to import as an attachment. The file will be associated with a study and will be searchable by its name and metadata.
study_accession str
data_class str A mandatory parameter with the value from a limited set of values (see request description).

Example

from odm_api.models.import_a_file_request import ImportAFileRequest

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

# convert the object into a dict
import_a_file_request_dict = import_a_file_request_instance.to_dict()
# create an instance of ImportAFileRequest from a dict
import_a_file_request_from_dict = ImportAFileRequest.from_dict(import_a_file_request_dict)
[Back to Model list] [Back to API list] [Back to README]