Skip to content

Commit f218929

Browse files
committed
[Librarian] Regenerated @ bd57b4b73bfdcc896b16706658af0cac7992e456
1 parent ba029a3 commit f218929

File tree

13 files changed

+130
-130
lines changed

13 files changed

+130
-130
lines changed

twilio/rest/authy/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ def v1(self):
3737
return self._v1
3838

3939
@property
40-
def forms(self):
40+
def services(self):
4141
"""
42-
:rtype: twilio.rest.authy.v1.form.FormList
42+
:rtype: twilio.rest.authy.v1.service.ServiceList
4343
"""
44-
return self.v1.forms
44+
return self.v1.services
4545

4646
@property
47-
def services(self):
47+
def forms(self):
4848
"""
49-
:rtype: twilio.rest.authy.v1.service.ServiceList
49+
:rtype: twilio.rest.authy.v1.form.FormList
5050
"""
51-
return self.v1.services
51+
return self.v1.forms
5252

5353
def __repr__(self):
5454
"""

twilio/rest/authy/v1/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,8 @@ def __init__(self, domain):
2222
"""
2323
super(V1, self).__init__(domain)
2424
self.version = 'v1'
25-
self._forms = None
2625
self._services = None
27-
28-
@property
29-
def forms(self):
30-
"""
31-
:rtype: twilio.rest.authy.v1.form.FormList
32-
"""
33-
if self._forms is None:
34-
self._forms = FormList(self)
35-
return self._forms
26+
self._forms = None
3627

3728
@property
3829
def services(self):
@@ -43,6 +34,15 @@ def services(self):
4334
self._services = ServiceList(self)
4435
return self._services
4536

37+
@property
38+
def forms(self):
39+
"""
40+
:rtype: twilio.rest.authy.v1.form.FormList
41+
"""
42+
if self._forms is None:
43+
self._forms = FormList(self)
44+
return self._forms
45+
4646
def __repr__(self):
4747
"""
4848
Provide a friendly representation

twilio/rest/flex_api/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ def v1(self):
3737
return self._v1
3838

3939
@property
40-
def configuration(self):
40+
def flex_flow(self):
4141
"""
42-
:rtype: twilio.rest.flex_api.v1.configuration.ConfigurationList
42+
:rtype: twilio.rest.flex_api.v1.flex_flow.FlexFlowList
4343
"""
44-
return self.v1.configuration
44+
return self.v1.flex_flow
4545

4646
@property
47-
def flex_flow(self):
47+
def configuration(self):
4848
"""
49-
:rtype: twilio.rest.flex_api.v1.flex_flow.FlexFlowList
49+
:rtype: twilio.rest.flex_api.v1.configuration.ConfigurationList
5050
"""
51-
return self.v1.flex_flow
51+
return self.v1.configuration
5252

5353
def __repr__(self):
5454
"""

twilio/rest/flex_api/v1/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,8 @@ def __init__(self, domain):
2222
"""
2323
super(V1, self).__init__(domain)
2424
self.version = 'v1'
25-
self._configuration = None
2625
self._flex_flow = None
27-
28-
@property
29-
def configuration(self):
30-
"""
31-
:rtype: twilio.rest.flex_api.v1.configuration.ConfigurationList
32-
"""
33-
if self._configuration is None:
34-
self._configuration = ConfigurationList(self)
35-
return self._configuration
26+
self._configuration = None
3627

3728
@property
3829
def flex_flow(self):
@@ -43,6 +34,15 @@ def flex_flow(self):
4334
self._flex_flow = FlexFlowList(self)
4435
return self._flex_flow
4536

37+
@property
38+
def configuration(self):
39+
"""
40+
:rtype: twilio.rest.flex_api.v1.configuration.ConfigurationList
41+
"""
42+
if self._configuration is None:
43+
self._configuration = ConfigurationList(self)
44+
return self._configuration
45+
4646
def __repr__(self):
4747
"""
4848
Provide a friendly representation

twilio/rest/messaging/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ def v1(self):
3737
return self._v1
3838

3939
@property
40-
def services(self):
40+
def sessions(self):
4141
"""
42-
:rtype: twilio.rest.messaging.v1.service.ServiceList
42+
:rtype: twilio.rest.messaging.v1.session.SessionList
4343
"""
44-
return self.v1.services
44+
return self.v1.sessions
4545

4646
@property
47-
def sessions(self):
47+
def services(self):
4848
"""
49-
:rtype: twilio.rest.messaging.v1.session.SessionList
49+
:rtype: twilio.rest.messaging.v1.service.ServiceList
5050
"""
51-
return self.v1.sessions
51+
return self.v1.services
5252

5353
@property
5454
def webhooks(self):

twilio/rest/messaging/v1/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,10 @@ def __init__(self, domain):
2323
"""
2424
super(V1, self).__init__(domain)
2525
self.version = 'v1'
26-
self._services = None
2726
self._sessions = None
27+
self._services = None
2828
self._webhooks = None
2929

30-
@property
31-
def services(self):
32-
"""
33-
:rtype: twilio.rest.messaging.v1.service.ServiceList
34-
"""
35-
if self._services is None:
36-
self._services = ServiceList(self)
37-
return self._services
38-
3930
@property
4031
def sessions(self):
4132
"""
@@ -45,6 +36,15 @@ def sessions(self):
4536
self._sessions = SessionList(self)
4637
return self._sessions
4738

39+
@property
40+
def services(self):
41+
"""
42+
:rtype: twilio.rest.messaging.v1.service.ServiceList
43+
"""
44+
if self._services is None:
45+
self._services = ServiceList(self)
46+
return self._services
47+
4848
@property
4949
def webhooks(self):
5050
"""

twilio/rest/preview/__init__.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -168,18 +168,18 @@ def hosted_number_orders(self):
168168
return self.hosted_numbers.hosted_number_orders
169169

170170
@property
171-
def available_add_ons(self):
171+
def installed_add_ons(self):
172172
"""
173-
:rtype: twilio.rest.preview.marketplace.available_add_on.AvailableAddOnList
173+
:rtype: twilio.rest.preview.marketplace.installed_add_on.InstalledAddOnList
174174
"""
175-
return self.marketplace.available_add_ons
175+
return self.marketplace.installed_add_ons
176176

177177
@property
178-
def installed_add_ons(self):
178+
def available_add_ons(self):
179179
"""
180-
:rtype: twilio.rest.preview.marketplace.installed_add_on.InstalledAddOnList
180+
:rtype: twilio.rest.preview.marketplace.available_add_on.AvailableAddOnList
181181
"""
182-
return self.marketplace.installed_add_ons
182+
return self.marketplace.available_add_ons
183183

184184
@property
185185
def services(self):
@@ -224,32 +224,32 @@ def branded_calls(self):
224224
return self.trusted_comms.branded_calls
225225

226226
@property
227-
def cps(self):
227+
def devices(self):
228228
"""
229-
:rtype: twilio.rest.preview.trusted_comms.cps.CpsList
229+
:rtype: twilio.rest.preview.trusted_comms.device.DeviceList
230230
"""
231-
return self.trusted_comms.cps
231+
return self.trusted_comms.devices
232232

233233
@property
234-
def current_calls(self):
234+
def phone_calls(self):
235235
"""
236-
:rtype: twilio.rest.preview.trusted_comms.current_call.CurrentCallList
236+
:rtype: twilio.rest.preview.trusted_comms.phone_call.PhoneCallList
237237
"""
238-
return self.trusted_comms.current_calls
238+
return self.trusted_comms.phone_calls
239239

240240
@property
241-
def devices(self):
241+
def current_calls(self):
242242
"""
243-
:rtype: twilio.rest.preview.trusted_comms.device.DeviceList
243+
:rtype: twilio.rest.preview.trusted_comms.current_call.CurrentCallList
244244
"""
245-
return self.trusted_comms.devices
245+
return self.trusted_comms.current_calls
246246

247247
@property
248-
def phone_calls(self):
248+
def cps(self):
249249
"""
250-
:rtype: twilio.rest.preview.trusted_comms.phone_call.PhoneCallList
250+
:rtype: twilio.rest.preview.trusted_comms.cps.CpsList
251251
"""
252-
return self.trusted_comms.phone_calls
252+
return self.trusted_comms.cps
253253

254254
def __repr__(self):
255255
"""

twilio/rest/preview/marketplace/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,8 @@ def __init__(self, domain):
2222
"""
2323
super(Marketplace, self).__init__(domain)
2424
self.version = 'marketplace'
25-
self._available_add_ons = None
2625
self._installed_add_ons = None
27-
28-
@property
29-
def available_add_ons(self):
30-
"""
31-
:rtype: twilio.rest.preview.marketplace.available_add_on.AvailableAddOnList
32-
"""
33-
if self._available_add_ons is None:
34-
self._available_add_ons = AvailableAddOnList(self)
35-
return self._available_add_ons
26+
self._available_add_ons = None
3627

3728
@property
3829
def installed_add_ons(self):
@@ -43,6 +34,15 @@ def installed_add_ons(self):
4334
self._installed_add_ons = InstalledAddOnList(self)
4435
return self._installed_add_ons
4536

37+
@property
38+
def available_add_ons(self):
39+
"""
40+
:rtype: twilio.rest.preview.marketplace.available_add_on.AvailableAddOnList
41+
"""
42+
if self._available_add_ons is None:
43+
self._available_add_ons = AvailableAddOnList(self)
44+
return self._available_add_ons
45+
4646
def __repr__(self):
4747
"""
4848
Provide a friendly representation

twilio/rest/preview/trusted_comms/__init__.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def __init__(self, domain):
2626
super(TrustedComms, self).__init__(domain)
2727
self.version = 'TrustedComms'
2828
self._branded_calls = None
29-
self._cps = None
30-
self._current_calls = None
3129
self._devices = None
3230
self._phone_calls = None
31+
self._current_calls = None
32+
self._cps = None
3333

3434
@property
3535
def branded_calls(self):
@@ -40,24 +40,6 @@ def branded_calls(self):
4040
self._branded_calls = BrandedCallList(self)
4141
return self._branded_calls
4242

43-
@property
44-
def cps(self):
45-
"""
46-
:rtype: twilio.rest.preview.trusted_comms.cps.CpsList
47-
"""
48-
if self._cps is None:
49-
self._cps = CpsList(self)
50-
return self._cps
51-
52-
@property
53-
def current_calls(self):
54-
"""
55-
:rtype: twilio.rest.preview.trusted_comms.current_call.CurrentCallList
56-
"""
57-
if self._current_calls is None:
58-
self._current_calls = CurrentCallList(self)
59-
return self._current_calls
60-
6143
@property
6244
def devices(self):
6345
"""
@@ -76,6 +58,24 @@ def phone_calls(self):
7658
self._phone_calls = PhoneCallList(self)
7759
return self._phone_calls
7860

61+
@property
62+
def current_calls(self):
63+
"""
64+
:rtype: twilio.rest.preview.trusted_comms.current_call.CurrentCallList
65+
"""
66+
if self._current_calls is None:
67+
self._current_calls = CurrentCallList(self)
68+
return self._current_calls
69+
70+
@property
71+
def cps(self):
72+
"""
73+
:rtype: twilio.rest.preview.trusted_comms.cps.CpsList
74+
"""
75+
if self._cps is None:
76+
self._cps = CpsList(self)
77+
return self._cps
78+
7979
def __repr__(self):
8080
"""
8181
Provide a friendly representation

twilio/rest/video/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ def v1(self):
3636
self._v1 = V1(self)
3737
return self._v1
3838

39-
@property
40-
def compositions(self):
41-
"""
42-
:rtype: twilio.rest.video.v1.composition.CompositionList
43-
"""
44-
return self.v1.compositions
45-
4639
@property
4740
def composition_hooks(self):
4841
"""
@@ -71,6 +64,13 @@ def recording_settings(self):
7164
"""
7265
return self.v1.recording_settings
7366

67+
@property
68+
def compositions(self):
69+
"""
70+
:rtype: twilio.rest.video.v1.composition.CompositionList
71+
"""
72+
return self.v1.compositions
73+
7474
@property
7575
def rooms(self):
7676
"""

0 commit comments

Comments
 (0)