@@ -59,24 +59,24 @@ def __init__(self, username=None, password=None, account_sid=None, region=None,
5959 self ._chat = None
6060 self ._fax = None
6161 self ._flex_api = None
62+ self ._insights = None
6263 self ._ip_messaging = None
6364 self ._lookups = None
65+ self ._messaging = None
6466 self ._monitor = None
6567 self ._notify = None
6668 self ._preview = None
6769 self ._pricing = None
6870 self ._proxy = None
6971 self ._serverless = None
72+ self ._studio = None
73+ self ._sync = None
7074 self ._taskrouter = None
7175 self ._trunking = None
72- self ._video = None
73- self ._messaging = None
74- self ._wireless = None
75- self ._sync = None
76- self ._studio = None
7776 self ._verify = None
77+ self ._video = None
7878 self ._voice = None
79- self ._insights = None
79+ self ._wireless = None
8080
8181 def request (self , method , uri , params = None , data = None , headers = None , auth = None ,
8282 timeout = None , allow_redirects = False ):
@@ -220,6 +220,19 @@ def flex_api(self):
220220 self ._flex_api = FlexApi (self )
221221 return self ._flex_api
222222
223+ @property
224+ def insights (self ):
225+ """
226+ Access the Insights Twilio Domain
227+
228+ :returns: Insights Twilio Domain
229+ :rtype: twilio.rest.insights.Insights
230+ """
231+ if self ._insights is None :
232+ from twilio .rest .insights import Insights
233+ self ._insights = Insights (self )
234+ return self ._insights
235+
223236 @property
224237 def ip_messaging (self ):
225238 """
@@ -246,6 +259,19 @@ def lookups(self):
246259 self ._lookups = Lookups (self )
247260 return self ._lookups
248261
262+ @property
263+ def messaging (self ):
264+ """
265+ Access the Messaging Twilio Domain
266+
267+ :returns: Messaging Twilio Domain
268+ :rtype: twilio.rest.messaging.Messaging
269+ """
270+ if self ._messaging is None :
271+ from twilio .rest .messaging import Messaging
272+ self ._messaging = Messaging (self )
273+ return self ._messaging
274+
249275 @property
250276 def monitor (self ):
251277 """
@@ -324,6 +350,32 @@ def serverless(self):
324350 self ._serverless = Serverless (self )
325351 return self ._serverless
326352
353+ @property
354+ def studio (self ):
355+ """
356+ Access the Studio Twilio Domain
357+
358+ :returns: Studio Twilio Domain
359+ :rtype: twilio.rest.studio.Studio
360+ """
361+ if self ._studio is None :
362+ from twilio .rest .studio import Studio
363+ self ._studio = Studio (self )
364+ return self ._studio
365+
366+ @property
367+ def sync (self ):
368+ """
369+ Access the Sync Twilio Domain
370+
371+ :returns: Sync Twilio Domain
372+ :rtype: twilio.rest.sync.Sync
373+ """
374+ if self ._sync is None :
375+ from twilio .rest .sync import Sync
376+ self ._sync = Sync (self )
377+ return self ._sync
378+
327379 @property
328380 def taskrouter (self ):
329381 """
@@ -350,71 +402,6 @@ def trunking(self):
350402 self ._trunking = Trunking (self )
351403 return self ._trunking
352404
353- @property
354- def video (self ):
355- """
356- Access the Video Twilio Domain
357-
358- :returns: Video Twilio Domain
359- :rtype: twilio.rest.video.Video
360- """
361- if self ._video is None :
362- from twilio .rest .video import Video
363- self ._video = Video (self )
364- return self ._video
365-
366- @property
367- def messaging (self ):
368- """
369- Access the Messaging Twilio Domain
370-
371- :returns: Messaging Twilio Domain
372- :rtype: twilio.rest.messaging.Messaging
373- """
374- if self ._messaging is None :
375- from twilio .rest .messaging import Messaging
376- self ._messaging = Messaging (self )
377- return self ._messaging
378-
379- @property
380- def wireless (self ):
381- """
382- Access the Wireless Twilio Domain
383-
384- :returns: Wireless Twilio Domain
385- :rtype: twilio.rest.wireless.Wireless
386- """
387- if self ._wireless is None :
388- from twilio .rest .wireless import Wireless
389- self ._wireless = Wireless (self )
390- return self ._wireless
391-
392- @property
393- def sync (self ):
394- """
395- Access the Sync Twilio Domain
396-
397- :returns: Sync Twilio Domain
398- :rtype: twilio.rest.sync.Sync
399- """
400- if self ._sync is None :
401- from twilio .rest .sync import Sync
402- self ._sync = Sync (self )
403- return self ._sync
404-
405- @property
406- def studio (self ):
407- """
408- Access the Studio Twilio Domain
409-
410- :returns: Studio Twilio Domain
411- :rtype: twilio.rest.studio.Studio
412- """
413- if self ._studio is None :
414- from twilio .rest .studio import Studio
415- self ._studio = Studio (self )
416- return self ._studio
417-
418405 @property
419406 def verify (self ):
420407 """
@@ -428,6 +415,19 @@ def verify(self):
428415 self ._verify = Verify (self )
429416 return self ._verify
430417
418+ @property
419+ def video (self ):
420+ """
421+ Access the Video Twilio Domain
422+
423+ :returns: Video Twilio Domain
424+ :rtype: twilio.rest.video.Video
425+ """
426+ if self ._video is None :
427+ from twilio .rest .video import Video
428+ self ._video = Video (self )
429+ return self ._video
430+
431431 @property
432432 def voice (self ):
433433 """
@@ -442,17 +442,17 @@ def voice(self):
442442 return self ._voice
443443
444444 @property
445- def insights (self ):
445+ def wireless (self ):
446446 """
447- Access the Insights Twilio Domain
447+ Access the Wireless Twilio Domain
448448
449- :returns: Insights Twilio Domain
450- :rtype: twilio.rest.insights.Insights
449+ :returns: Wireless Twilio Domain
450+ :rtype: twilio.rest.wireless.Wireless
451451 """
452- if self ._insights is None :
453- from twilio .rest .insights import Insights
454- self ._insights = Insights (self )
455- return self ._insights
452+ if self ._wireless is None :
453+ from twilio .rest .wireless import Wireless
454+ self ._wireless = Wireless (self )
455+ return self ._wireless
456456
457457 @property
458458 def addresses (self ):
0 commit comments