CustomWidgetModel

View as Markdown

CustomWidgetModel

CustomWidgetModel class for custom widget.

NameTypeDescription
Title string

Title for the custom widget.

ContentType string

File content type.

Tags string

Tags for the custom widget.

CustomWidgetModel

CustomWidgetModel constructor

NameTypeDescription
filePath (required)String

File path to upload custom widget.

contentType (required)string

Content type for the file to be uploaded.

title (required)string

Title for the custom widget.

tagsstring

Tags for the widget

NameTypeDescription
stream (required)Stream

File stream for the custom widget to be upload.

contentType (required)string

Content type for the file stream.

title (required)string

Title for the custom widget.

tagstring

Tags for the custom widget.

NameTypeDescription
bytes (required)byte[]

Bytes for the file to be uploaded.

contentType (required)string

Content type for the file bytes.

title (required)string

Title for the custom widget.

tagsstring

Tags for the custom widget.

NameTypeDescription
byteArray (required)ByteArrayContent

Byte array content of file to be uploaded.

contentType (required)string

Content type for the file byte content

title (required)string

Title for the custom widget.

tagsstring

Tags for the custom widget

GetHttpContent

Get http content returns the request body content.