Class: Twilio::REST::Numbers::V2::RegulatoryComplianceList
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::Numbers::V2::RegulatoryComplianceList
- Defined in:
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb
Defined Under Namespace
Classes: BundleContext, BundleInstance, BundleList, BundlePage, EndUserContext, EndUserInstance, EndUserList, EndUserPage, EndUserTypeContext, EndUserTypeInstance, EndUserTypeList, EndUserTypePage, RegulationContext, RegulationInstance, RegulationList, RegulationPage, SupportingDocumentContext, SupportingDocumentInstance, SupportingDocumentList, SupportingDocumentPage, SupportingDocumentTypeContext, SupportingDocumentTypeInstance, SupportingDocumentTypeList, SupportingDocumentTypePage
Instance Method Summary collapse
-
#bundles(sid = :unset) ⇒ BundleList, BundleContext
Access the bundles.
-
#end_user_types(sid = :unset) ⇒ EndUserTypeList, EndUserTypeContext
Access the end_user_types.
-
#end_users(sid = :unset) ⇒ EndUserList, EndUserContext
Access the end_users.
-
#initialize(version) ⇒ RegulatoryComplianceList
constructor
Initialize the RegulatoryComplianceList.
-
#regulations(sid = :unset) ⇒ RegulationList, RegulationContext
Access the regulations.
-
#supporting_document_types(sid = :unset) ⇒ SupportingDocumentTypeList, SupportingDocumentTypeContext
Access the supporting_document_types.
-
#supporting_documents(sid = :unset) ⇒ SupportingDocumentList, SupportingDocumentContext
Access the supporting_documents.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version) ⇒ RegulatoryComplianceList
Initialize the RegulatoryComplianceList
26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 26 def initialize(version) super(version) # Path Solution @solution = { } @uri = "/RegulatoryCompliance" # Components @supporting_documents = nil @end_users = nil @bundles = nil @supporting_document_types = nil @regulations = nil @end_user_types = nil end |
Instance Method Details
#bundles(sid = :unset) ⇒ BundleList, BundleContext
Access the bundles
71 72 73 74 75 76 77 78 79 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 71 def bundles(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? if sid != :unset return BundleContext.new(@version,sid ) end @bundles ||= BundleList.new(@version ) end |
#end_user_types(sid = :unset) ⇒ EndUserTypeList, EndUserTypeContext
Access the end_user_types
110 111 112 113 114 115 116 117 118 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 110 def end_user_types(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? if sid != :unset return EndUserTypeContext.new(@version,sid ) end @end_user_types ||= EndUserTypeList.new(@version ) end |
#end_users(sid = :unset) ⇒ EndUserList, EndUserContext
Access the end_users
58 59 60 61 62 63 64 65 66 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 58 def end_users(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? if sid != :unset return EndUserContext.new(@version,sid ) end @end_users ||= EndUserList.new(@version ) end |
#regulations(sid = :unset) ⇒ RegulationList, RegulationContext
Access the regulations
97 98 99 100 101 102 103 104 105 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 97 def regulations(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? if sid != :unset return RegulationContext.new(@version,sid ) end @regulations ||= RegulationList.new(@version ) end |
#supporting_document_types(sid = :unset) ⇒ SupportingDocumentTypeList, SupportingDocumentTypeContext
Access the supporting_document_types
84 85 86 87 88 89 90 91 92 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 84 def supporting_document_types(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? if sid != :unset return SupportingDocumentTypeContext.new(@version,sid ) end @supporting_document_types ||= SupportingDocumentTypeList.new(@version ) end |
#supporting_documents(sid = :unset) ⇒ SupportingDocumentList, SupportingDocumentContext
Access the supporting_documents
45 46 47 48 49 50 51 52 53 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 45 def supporting_documents(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? if sid != :unset return SupportingDocumentContext.new(@version,sid ) end @supporting_documents ||= SupportingDocumentList.new(@version ) end |
#to_s ⇒ Object
Provide a user friendly representation
121 122 123 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb', line 121 def to_s '#<Twilio.Numbers.V2.RegulatoryComplianceList>' end |