1515from typing import Optional
1616from twilio .base .version import Version
1717from 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
2118from twilio .rest .accounts .v1 .credential import CredentialList
22- from twilio .rest .accounts .v1 .safelist import SafelistList
23- from twilio .rest .accounts .v1 .secondary_auth_token import SecondaryAuthTokenList
2419
2520
2621class V1 (Version ):
@@ -32,49 +27,14 @@ def __init__(self, domain: Domain):
3227 :param domain: The Twilio.accounts domain
3328 """
3429 super ().__init__ (domain , "v1" )
35- self ._auth_token_promotion : Optional [AuthTokenPromotionList ] = None
36- self ._bulk_consents : Optional [BulkConsentsList ] = None
37- self ._bulk_contacts : Optional [BulkContactsList ] = None
3830 self ._credentials : Optional [CredentialList ] = None
39- self ._safelist : Optional [SafelistList ] = None
40- self ._secondary_auth_token : Optional [SecondaryAuthTokenList ] = None
41-
42- @property
43- def auth_token_promotion (self ) -> AuthTokenPromotionList :
44- if self ._auth_token_promotion is None :
45- self ._auth_token_promotion = AuthTokenPromotionList (self )
46- return self ._auth_token_promotion
47-
48- @property
49- def bulk_consents (self ) -> BulkConsentsList :
50- if self ._bulk_consents is None :
51- self ._bulk_consents = BulkConsentsList (self )
52- return self ._bulk_consents
53-
54- @property
55- def bulk_contacts (self ) -> BulkContactsList :
56- if self ._bulk_contacts is None :
57- self ._bulk_contacts = BulkContactsList (self )
58- return self ._bulk_contacts
59-
31+
6032 @property
6133 def credentials (self ) -> CredentialList :
6234 if self ._credentials is None :
6335 self ._credentials = CredentialList (self )
6436 return self ._credentials
6537
66- @property
67- def safelist (self ) -> SafelistList :
68- if self ._safelist is None :
69- self ._safelist = SafelistList (self )
70- return self ._safelist
71-
72- @property
73- def secondary_auth_token (self ) -> SecondaryAuthTokenList :
74- if self ._secondary_auth_token is None :
75- self ._secondary_auth_token = SecondaryAuthTokenList (self )
76- return self ._secondary_auth_token
77-
7838 def __repr__ (self ) -> str :
7939 """
8040 Provide a friendly representation
0 commit comments