From 1a2b527452144d0912d8ef4b29785e901c4843a0 Mon Sep 17 00:00:00 2001 From: TheSmallPixel Date: Thu, 20 Jul 2023 13:13:11 +0200 Subject: [PATCH] Serialize/Deserialize TwiML Finally i can use json to serialize corretly this class --- src/Twilio/TwiML/TwiML.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Twilio/TwiML/TwiML.cs b/src/Twilio/TwiML/TwiML.cs index ec625992d..a7e59395c 100644 --- a/src/Twilio/TwiML/TwiML.cs +++ b/src/Twilio/TwiML/TwiML.cs @@ -16,15 +16,15 @@ public class TwiML /// /// Tag name /// - private string TagName { get; } + private string TagName { get; set; } /// /// Children elements /// - private List Children { get; } + private List Children { get; set; } /// /// Additional tag attributes to set on the generated xml /// - private List> Options { get; } + private List> Options { get; set; } /// /// Attribute names to be transformed on the generated xml ///