Skip to content

Commit fa64405

Browse files
committed
generate library via generator
1 parent c024773 commit fa64405

File tree

575 files changed

+23959
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

575 files changed

+23959
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test-docker:
1515
docker run twilio/twilio-python pytest tests --ignore=tests/cluster
1616

1717
develop: venv
18-
. venv/bin/activate; pip install -e . --use-mirrors
18+
. venv/bin/activate; pip install -e .
1919
. venv/bin/activate; pip install -r tests/requirements.txt
2020

2121
analysis:

rest/accounts/v1/__init__.py

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import Optional
16+
from twilio.base.version import Version
17+
from twilio.base.domain import Domain
18+
from twilio.rest.accounts.v1.auth_token_promotion import AuthTokenPromotionList
19+
from twilio.rest.accounts.v1.bulk_consents import BulkConsentsList
20+
from twilio.rest.accounts.v1.bulk_contacts import BulkContactsList
21+
from twilio.rest.accounts.v1.credential import CredentialList
22+
from twilio.rest.accounts.v1.messaging_geopermissions import MessagingGeopermissionsList
23+
from twilio.rest.accounts.v1.safelist import SafelistList
24+
from twilio.rest.accounts.v1.secondary_auth_token import SecondaryAuthTokenList
25+
26+
27+
class V1(Version):
28+
29+
def __init__(self, domain: Domain):
30+
"""
31+
Initialize the V1 version of Accounts
32+
33+
:param domain: The Twilio.accounts domain
34+
"""
35+
super().__init__(domain, "v1")
36+
self._auth_token_promotion: Optional[AuthTokenPromotionList] = None
37+
self._bulk_consents: Optional[BulkConsentsList] = None
38+
self._bulk_contacts: Optional[BulkContactsList] = None
39+
self._credentials: Optional[CredentialList] = None
40+
self._messaging_geopermissions: Optional[MessagingGeopermissionsList] = None
41+
self._safelist: Optional[SafelistList] = None
42+
self._secondary_auth_token: Optional[SecondaryAuthTokenList] = None
43+
44+
@property
45+
def auth_token_promotion(self) -> AuthTokenPromotionList:
46+
if self._auth_token_promotion is None:
47+
self._auth_token_promotion = AuthTokenPromotionList(self)
48+
return self._auth_token_promotion
49+
50+
@property
51+
def bulk_consents(self) -> BulkConsentsList:
52+
if self._bulk_consents is None:
53+
self._bulk_consents = BulkConsentsList(self)
54+
return self._bulk_consents
55+
56+
@property
57+
def bulk_contacts(self) -> BulkContactsList:
58+
if self._bulk_contacts is None:
59+
self._bulk_contacts = BulkContactsList(self)
60+
return self._bulk_contacts
61+
62+
@property
63+
def credentials(self) -> CredentialList:
64+
if self._credentials is None:
65+
self._credentials = CredentialList(self)
66+
return self._credentials
67+
68+
@property
69+
def messaging_geopermissions(self) -> MessagingGeopermissionsList:
70+
if self._messaging_geopermissions is None:
71+
self._messaging_geopermissions = MessagingGeopermissionsList(self)
72+
return self._messaging_geopermissions
73+
74+
@property
75+
def safelist(self) -> SafelistList:
76+
if self._safelist is None:
77+
self._safelist = SafelistList(self)
78+
return self._safelist
79+
80+
@property
81+
def secondary_auth_token(self) -> SecondaryAuthTokenList:
82+
if self._secondary_auth_token is None:
83+
self._secondary_auth_token = SecondaryAuthTokenList(self)
84+
return self._secondary_auth_token
85+
86+
def __repr__(self) -> str:
87+
"""
88+
Provide a friendly representation
89+
:returns: Machine friendly representation
90+
"""
91+
return "<Twilio.Accounts.V1>"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"

rest/accounts/v1/bulk_consents.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"

rest/accounts/v1/bulk_contacts.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"

rest/accounts/v1/credential/aws.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
r"""
2+
This code was generated by
3+
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
7+
Twilio - Accounts
8+
This is the public Twilio REST API.
9+
10+
NOTE: This class is auto generated by OpenAPI Generator.
11+
https://openapi-generator.tech
12+
Do not edit the class manually.
13+
"""
14+
15+
from typing import List
16+
17+
18+
from twilio.base.list_resource import ListResource
19+
from twilio.base.version import Version
20+
21+
22+
class List(ListResource):
23+
24+
def __init__(self, version: Version):
25+
"""
26+
Initialize the List
27+
28+
:param version: Version that contains the resource
29+
30+
"""
31+
super().__init__(version)
32+
33+
def __repr__(self) -> str:
34+
"""
35+
Provide a friendly representation
36+
37+
:returns: Machine friendly representation
38+
"""
39+
return "<Twilio.Accounts.V1.List>"

0 commit comments

Comments
 (0)