Fields

Output fields
ParameterDescription
name
String
Name of the generated document.
downloadUrl
String
URL to download the generated document.
contentVersionId
String
Id of the Salesforce ContentVersion for the generated document, when stored as a Salesforce File.
file The generated document as a Resource.
previewUrl
String
URL to preview the generated document.

Constructors

global GeneratedDocument(String name, String downloadUrl, Resource file)
global GeneratedDocument(
  String name,
  String downloadUrl,
  String contentVersionId
)