6161 * @method void setConfirmationEmailBody(string|null $value)
6262 * @method int|null getConfirmationEmailQuestionId()
6363 * @method void setConfirmationEmailQuestionId(int|null $value)
64+ * @method bool getAllowComments()
65+ * @method void setAllowComments(bool $value)
6466 */
6567class Form extends Entity {
6668 protected $ hash ;
@@ -86,6 +88,7 @@ class Form extends Entity {
8688 protected $ confirmationEmailSubject ;
8789 protected $ confirmationEmailBody ;
8890 protected $ confirmationEmailQuestionId ;
91+ protected $ allowComments ;
8992
9093 /**
9194 * Form constructor.
@@ -104,6 +107,7 @@ public function __construct() {
104107 $ this ->addType ('maxSubmissions ' , 'integer ' );
105108 $ this ->addType ('confirmationEmailEnabled ' , 'boolean ' );
106109 $ this ->addType ('confirmationEmailQuestionId ' , 'integer ' );
110+ $ this ->addType ('allowComments ' , 'boolean ' );
107111 }
108112
109113 // JSON-Decoding of access-column.
@@ -182,6 +186,7 @@ public function setAccess(array $access): void {
182186 * confirmationEmailSubject: ?string,
183187 * confirmationEmailBody: ?string,
184188 * confirmationEmailQuestionId: ?int,
189+ * allowComments: bool,
185190 * }
186191 */
187192 public function read () {
@@ -210,6 +215,7 @@ public function read() {
210215 'confirmationEmailSubject ' => $ this ->getConfirmationEmailSubject (),
211216 'confirmationEmailBody ' => $ this ->getConfirmationEmailBody (),
212217 'confirmationEmailQuestionId ' => $ this ->getConfirmationEmailQuestionId (),
218+ 'allowComments ' => $ this ->getAllowComments (),
213219 ];
214220 }
215221}
0 commit comments