From c138bc6af32a1ef6342f8b08d79197d2c3c63382 Mon Sep 17 00:00:00 2001 From: Sam Harrison Date: Tue, 30 Jun 2020 10:28:35 -0500 Subject: [PATCH] feat: add fax capability to deserialized phone number capabilities --- src/Twilio/JWT/Client/EventStreamScope.cs | 2 +- src/Twilio/JWT/Client/IncomingClientScope.cs | 2 +- src/Twilio/Types/PhoneNumberCapabilities.cs | 12 ++++++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Twilio/JWT/Client/EventStreamScope.cs b/src/Twilio/JWT/Client/EventStreamScope.cs index fd6d6145b..2b4987d8e 100644 --- a/src/Twilio/JWT/Client/EventStreamScope.cs +++ b/src/Twilio/JWT/Client/EventStreamScope.cs @@ -10,7 +10,7 @@ namespace Twilio.Jwt.Client { /// - /// Event stream scope for client capabilites + /// Event stream scope for client capabilities /// public class EventStreamScope : IScope { diff --git a/src/Twilio/JWT/Client/IncomingClientScope.cs b/src/Twilio/JWT/Client/IncomingClientScope.cs index 0bdba7837..a30a8f389 100644 --- a/src/Twilio/JWT/Client/IncomingClientScope.cs +++ b/src/Twilio/JWT/Client/IncomingClientScope.cs @@ -3,7 +3,7 @@ namespace Twilio.Jwt.Client { /// - /// Incoming client scope for client capabilites + /// Incoming client scope for client capabilities /// public class IncomingClientScope : IScope { diff --git a/src/Twilio/Types/PhoneNumberCapabilities.cs b/src/Twilio/Types/PhoneNumberCapabilities.cs index e46fe25f5..1d6b70026 100644 --- a/src/Twilio/Types/PhoneNumberCapabilities.cs +++ b/src/Twilio/Types/PhoneNumberCapabilities.cs @@ -3,7 +3,7 @@ namespace Twilio.Types { /// - /// Capabilites of a phone number + /// Capabilities of a phone number /// public class PhoneNumberCapabilities { @@ -25,17 +25,25 @@ public class PhoneNumberCapabilities [JsonProperty("voice")] public bool Voice { get; } + /// + /// Fax capable + /// + [JsonProperty("fax")] + public bool Fax { get; } + /// /// Create a new PhoneNumberCapability /// /// MMS capable /// SMS capable /// Voice capable - public PhoneNumberCapabilities (bool mms, bool sms, bool voice) + /// Fax capable + public PhoneNumberCapabilities (bool mms, bool sms, bool voice, bool fax) { Mms = mms; Sms = sms; Voice = voice; + Fax = fax; } } }