@@ -68,11 +68,12 @@ public static async System.Threading.Tasks.Task<ServiceResource> CreateAsync(Cre
6868 /// <param name="statusCallback"> The status_callback </param>
6969 /// <param name="stickySender"> The sticky_sender </param>
7070 /// <param name="mmsConverter"> The mms_converter </param>
71+ /// <param name="smartEncoding"> The smart_encoding </param>
7172 /// <param name="client"> Client to make requests to Twilio </param>
7273 /// <returns> A single instance of Service </returns>
73- public static ServiceResource Create ( string friendlyName , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , ITwilioRestClient client = null )
74+ public static ServiceResource Create ( string friendlyName , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , bool ? smartEncoding = null , ITwilioRestClient client = null )
7475 {
75- var options = new CreateServiceOptions ( friendlyName ) { InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter } ;
76+ var options = new CreateServiceOptions ( friendlyName ) { InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter , SmartEncoding = smartEncoding } ;
7677 return Create ( options , client ) ;
7778 }
7879
@@ -89,11 +90,12 @@ public static ServiceResource Create(string friendlyName, Uri inboundRequestUrl
8990 /// <param name="statusCallback"> The status_callback </param>
9091 /// <param name="stickySender"> The sticky_sender </param>
9192 /// <param name="mmsConverter"> The mms_converter </param>
93+ /// <param name="smartEncoding"> The smart_encoding </param>
9294 /// <param name="client"> Client to make requests to Twilio </param>
9395 /// <returns> Task that resolves to A single instance of Service </returns>
94- public static async System . Threading . Tasks . Task < ServiceResource > CreateAsync ( string friendlyName , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , ITwilioRestClient client = null )
96+ public static async System . Threading . Tasks . Task < ServiceResource > CreateAsync ( string friendlyName , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , bool ? smartEncoding = null , ITwilioRestClient client = null )
9597 {
96- var options = new CreateServiceOptions ( friendlyName ) { InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter } ;
98+ var options = new CreateServiceOptions ( friendlyName ) { InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter , SmartEncoding = smartEncoding } ;
9799 return await CreateAsync ( options , client ) ;
98100 }
99101 #endif
@@ -152,11 +154,12 @@ public static async System.Threading.Tasks.Task<ServiceResource> UpdateAsync(Upd
152154 /// <param name="statusCallback"> The status_callback </param>
153155 /// <param name="stickySender"> The sticky_sender </param>
154156 /// <param name="mmsConverter"> The mms_converter </param>
157+ /// <param name="smartEncoding"> The smart_encoding </param>
155158 /// <param name="client"> Client to make requests to Twilio </param>
156159 /// <returns> A single instance of Service </returns>
157- public static ServiceResource Update ( string pathSid , string friendlyName = null , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , ITwilioRestClient client = null )
160+ public static ServiceResource Update ( string pathSid , string friendlyName = null , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , bool ? smartEncoding = null , ITwilioRestClient client = null )
158161 {
159- var options = new UpdateServiceOptions ( pathSid ) { FriendlyName = friendlyName , InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter } ;
162+ var options = new UpdateServiceOptions ( pathSid ) { FriendlyName = friendlyName , InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter , SmartEncoding = smartEncoding } ;
160163 return Update ( options , client ) ;
161164 }
162165
@@ -174,11 +177,12 @@ public static ServiceResource Update(string pathSid, string friendlyName = null,
174177 /// <param name="statusCallback"> The status_callback </param>
175178 /// <param name="stickySender"> The sticky_sender </param>
176179 /// <param name="mmsConverter"> The mms_converter </param>
180+ /// <param name="smartEncoding"> The smart_encoding </param>
177181 /// <param name="client"> Client to make requests to Twilio </param>
178182 /// <returns> Task that resolves to A single instance of Service </returns>
179- public static async System . Threading . Tasks . Task < ServiceResource > UpdateAsync ( string pathSid , string friendlyName = null , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , ITwilioRestClient client = null )
183+ public static async System . Threading . Tasks . Task < ServiceResource > UpdateAsync ( string pathSid , string friendlyName = null , Uri inboundRequestUrl = null , Twilio . Http . HttpMethod inboundMethod = null , Uri fallbackUrl = null , Twilio . Http . HttpMethod fallbackMethod = null , Uri statusCallback = null , bool ? stickySender = null , bool ? mmsConverter = null , bool ? smartEncoding = null , ITwilioRestClient client = null )
180184 {
181- var options = new UpdateServiceOptions ( pathSid ) { FriendlyName = friendlyName , InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter } ;
185+ var options = new UpdateServiceOptions ( pathSid ) { FriendlyName = friendlyName , InboundRequestUrl = inboundRequestUrl , InboundMethod = inboundMethod , FallbackUrl = fallbackUrl , FallbackMethod = fallbackMethod , StatusCallback = statusCallback , StickySender = stickySender , MmsConverter = mmsConverter , SmartEncoding = smartEncoding } ;
182186 return await UpdateAsync ( options , client ) ;
183187 }
184188 #endif
@@ -499,6 +503,11 @@ public static ServiceResource FromJson(string json)
499503 [ JsonProperty ( "mms_converter" ) ]
500504 public bool ? MmsConverter { get ; private set ; }
501505 /// <summary>
506+ /// The smart_encoding
507+ /// </summary>
508+ [ JsonProperty ( "smart_encoding" ) ]
509+ public bool ? SmartEncoding { get ; private set ; }
510+ /// <summary>
502511 /// The url
503512 /// </summary>
504513 [ JsonProperty ( "url" ) ]
0 commit comments