The File.AddSpec structure describes the properties of the file to be uploaded.
The checksum of the file. If specified, the server will verify the checksum once the file is received. If there is a mismatch, the upload will fail. For ova files, this value should not be set. If unset, the server will not verify the checksum.
The name of the file being uploaded.
The file size, in bytes. If unset, the server will not verify it received the correct size.
Location from which the Content Library Service will fetch the file, rather than requiring a client to upload the file. This field is optional and it is only relevant when the value of File.AddSpec.source-type is PULL.
The source type (SourceType) from which the file content will be retrieved.