1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
r"""
This code was generated by
___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
| | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
| |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
Twilio - Trusthub
This is the public Twilio REST API.
NOTE: This class is auto generated by OpenAPI Generator.
https://openapi-generator.tech
Do not edit the class manually.
"""
from typing import Optional
from twilio.base.version import Version
from twilio.base.domain import Domain
from twilio.rest.trusthub.v1.compliance_inquiries import ComplianceInquiriesList
from twilio.rest.trusthub.v1.compliance_registration_inquiries import (
ComplianceRegistrationInquiriesList,
)
from twilio.rest.trusthub.v1.compliance_tollfree_inquiries import (
ComplianceTollfreeInquiriesList,
)
from twilio.rest.trusthub.v1.customer_profiles import CustomerProfilesList
from twilio.rest.trusthub.v1.end_user import EndUserList
from twilio.rest.trusthub.v1.end_user_type import EndUserTypeList
from twilio.rest.trusthub.v1.policies import PoliciesList
from twilio.rest.trusthub.v1.supporting_document import SupportingDocumentList
from twilio.rest.trusthub.v1.supporting_document_type import SupportingDocumentTypeList
from twilio.rest.trusthub.v1.trust_products import TrustProductsList
class V1(Version):
def __init__(self, domain: Domain):
"""
Initialize the V1 version of Trusthub
:param domain: The Twilio.trusthub domain
"""
super().__init__(domain, "v1")
self._compliance_inquiries: Optional[ComplianceInquiriesList] = None
self._compliance_registration_inquiries: Optional[
ComplianceRegistrationInquiriesList
] = None
self._compliance_tollfree_inquiries: Optional[
ComplianceTollfreeInquiriesList
] = None
self._customer_profiles: Optional[CustomerProfilesList] = None
self._end_users: Optional[EndUserList] = None
self._end_user_types: Optional[EndUserTypeList] = None
self._policies: Optional[PoliciesList] = None
self._supporting_documents: Optional[SupportingDocumentList] = None
self._supporting_document_types: Optional[SupportingDocumentTypeList] = None
self._trust_products: Optional[TrustProductsList] = None
@property
def compliance_inquiries(self) -> ComplianceInquiriesList:
if self._compliance_inquiries is None:
self._compliance_inquiries = ComplianceInquiriesList(self)
return self._compliance_inquiries
@property
def compliance_registration_inquiries(self) -> ComplianceRegistrationInquiriesList:
if self._compliance_registration_inquiries is None:
self._compliance_registration_inquiries = (
ComplianceRegistrationInquiriesList(self)
)
return self._compliance_registration_inquiries
@property
def compliance_tollfree_inquiries(self) -> ComplianceTollfreeInquiriesList:
if self._compliance_tollfree_inquiries is None:
self._compliance_tollfree_inquiries = ComplianceTollfreeInquiriesList(self)
return self._compliance_tollfree_inquiries
@property
def customer_profiles(self) -> CustomerProfilesList:
if self._customer_profiles is None:
self._customer_profiles = CustomerProfilesList(self)
return self._customer_profiles
@property
def end_users(self) -> EndUserList:
if self._end_users is None:
self._end_users = EndUserList(self)
return self._end_users
@property
def end_user_types(self) -> EndUserTypeList:
if self._end_user_types is None:
self._end_user_types = EndUserTypeList(self)
return self._end_user_types
@property
def policies(self) -> PoliciesList:
if self._policies is None:
self._policies = PoliciesList(self)
return self._policies
@property
def supporting_documents(self) -> SupportingDocumentList:
if self._supporting_documents is None:
self._supporting_documents = SupportingDocumentList(self)
return self._supporting_documents
@property
def supporting_document_types(self) -> SupportingDocumentTypeList:
if self._supporting_document_types is None:
self._supporting_document_types = SupportingDocumentTypeList(self)
return self._supporting_document_types
@property
def trust_products(self) -> TrustProductsList:
if self._trust_products is None:
self._trust_products = TrustProductsList(self)
return self._trust_products
def __repr__(self) -> str:
"""
Provide a friendly representation
:returns: Machine friendly representation
"""
return "<Twilio.Trusthub.V1>"
|