declare class FileUploadBuilder extends ComponentBuilder<APIFileUploadComponent>A builder that creates API-compatible JSON data for file uploads.
readonlyexternaldata : Partial<APIFileUploadComponent>
The API data associated with this component.
Inherited from: ComponentBuilder
Clears the id of this component, defaulting to a default incremented id.
Inherited from: ComponentBuilder
external setCustomId(customId: string) : this
customId: string
Sets the custom id for this file upload.
external setId(id: number) : this
id: number
Sets the id (not the custom id) for this component.
Inherited from: ComponentBuilder
external setMaxValues(maxValues: number) : this
maxValues: number
Sets the maximum number of file uploads required.
external setMinValues(minValues: number) : this
minValues: number
Sets the minimum number of file uploads required.
external setRequired(required?: boolean) : this
required?: boolean
Sets whether this file upload is required.
external toJSON() : APIFileUploadComponent
Serializes this builder to API-compatible JSON data.