InAppFormTemplateAttachment
Represents a form template attachment.
Represents a form template attachment and inherits from InAppTemplateAttachment.
Properties
Name | Return Type | Description |
---|---|---|
id | String | The ID of the template. |
type | InAppTemplateType | The type of the form template attachment. |
reference | String | The reference to the form template attachment. |
contentType | String | The content type of the form template attachment. |
title | String | The title of the form template is attached. |
formFields | ArrayList | The elements of the form template attachment. |
Functions
toJson
Converts the form template attachment to a JSONObject.
Syntax: fun toJson(): JSONObject
Return Value: The JSONObject converted from the form template attachment.
Companion Functions
fromJson
Converts a JSONObject to a form template attachment.
Syntax: fun fromJson(jsonObject: JSONObject): InAppFormTemplateAttachment?
Return Value The form template attachment was converted from the JSONObject.
Parameters
Parameters | Type | Description |
---|---|---|
jsonObject | JSONObject | The JSONObject to convert. |
Updated about 1 month ago