@@ -17,25 +17,19 @@ def initialize(twilio)
17
17
@port = 443
18
18
19
19
# Versions
20
- @sync = nil
21
- @wireless = nil
20
+ @bulk_exports = nil
22
21
@deployed_devices = nil
22
+ @hosted_numbers = nil
23
23
@marketplace = nil
24
- @bulk_exports = nil
25
24
@proxy = nil
26
- @hosted_numbers = nil
27
- end
28
-
29
- ##
30
- # Version sync of preview
31
- def sync
32
- @sync ||= Sync . new self
25
+ @sync = nil
26
+ @wireless = nil
33
27
end
34
28
35
29
##
36
- # Version wireless of preview
37
- def wireless
38
- @wireless ||= Wireless . new self
30
+ # Version bulk_exports of preview
31
+ def bulk_exports
32
+ @bulk_exports ||= BulkExports . new self
39
33
end
40
34
41
35
##
@@ -45,15 +39,15 @@ def deployed_devices
45
39
end
46
40
47
41
##
48
- # Version marketplace of preview
49
- def marketplace
50
- @marketplace ||= Marketplace . new self
42
+ # Version hosted_numbers of preview
43
+ def hosted_numbers
44
+ @hosted_numbers ||= HostedNumbers . new self
51
45
end
52
46
53
47
##
54
- # Version bulk_exports of preview
55
- def bulk_exports
56
- @bulk_exports ||= BulkExports . new self
48
+ # Version marketplace of preview
49
+ def marketplace
50
+ @marketplace ||= Marketplace . new self
57
51
end
58
52
59
53
##
@@ -63,41 +57,31 @@ def proxy
63
57
end
64
58
65
59
##
66
- # Version hosted_numbers of preview
67
- def hosted_numbers
68
- @hosted_numbers ||= HostedNumbers . new self
69
- end
70
-
71
- ##
72
- # @param [String] sid A 34 character string that uniquely identifies this Service.
73
- # @return [Twilio::REST::Preview::Proxy::ServiceInstance] if sid was passed.
74
- # @return [Twilio::REST::Preview::Proxy::ServiceList]
75
- def services ( sid = :unset )
76
- self . proxy . services ( sid )
60
+ # Version sync of preview
61
+ def sync
62
+ @sync ||= Sync . new self
77
63
end
78
64
79
65
##
80
- # @param [String] sid The sid
81
- # @return [Twilio::REST::Preview::Wireless::CommandInstance] if sid was passed.
82
- # @return [Twilio::REST::Preview::Wireless::CommandList]
83
- def commands ( sid = :unset )
84
- self . wireless . commands ( sid )
66
+ # Version wireless of preview
67
+ def wireless
68
+ @wireless ||= Wireless . new self
85
69
end
86
70
87
71
##
88
- # @param [String] sid The sid
89
- # @return [Twilio::REST::Preview::Wireless::RatePlanInstance ] if sid was passed.
90
- # @return [Twilio::REST::Preview::Wireless::RatePlanList ]
91
- def rate_plans ( sid = :unset )
92
- self . wireless . rate_plans ( sid )
72
+ # @param [String] resource_type The resource_type
73
+ # @return [Twilio::REST::Preview::BulkExports::ExportInstance ] if resource_type was passed.
74
+ # @return [Twilio::REST::Preview::BulkExports::ExportList ]
75
+ def exports ( resource_type = :unset )
76
+ self . bulk_exports . exports ( resource_type )
93
77
end
94
78
95
79
##
96
- # @param [String] sid The sid
97
- # @return [Twilio::REST::Preview::Wireless::SimInstance ] if sid was passed.
98
- # @return [Twilio::REST::Preview::Wireless::SimList ]
99
- def sims ( sid = :unset )
100
- self . wireless . sims ( sid )
80
+ # @param [String] resource_type The resource_type
81
+ # @return [Twilio::REST::Preview::BulkExports::ExportConfigurationInstance ] if resource_type was passed.
82
+ # @return [Twilio::REST::Preview::BulkExports::ExportConfigurationList ]
83
+ def export_configuration ( resource_type = :unset )
84
+ self . bulk_exports . export_configuration ( resource_type )
101
85
end
102
86
103
87
##
@@ -109,6 +93,15 @@ def fleets(sid=:unset)
109
93
self . deployed_devices . fleets ( sid )
110
94
end
111
95
96
+ ##
97
+ # @param [String] sid A 34 character string that uniquely identifies this
98
+ # HostedNumberOrder.
99
+ # @return [Twilio::REST::Preview::HostedNumbers::HostedNumberOrderInstance] if sid was passed.
100
+ # @return [Twilio::REST::Preview::HostedNumbers::HostedNumberOrderList]
101
+ def hosted_number_orders ( sid = :unset )
102
+ self . hosted_numbers . hosted_number_orders ( sid )
103
+ end
104
+
112
105
##
113
106
# @param [String] sid A 34 character string that uniquely identifies this Add-on.
114
107
# @return [Twilio::REST::Preview::Marketplace::AvailableAddOnInstance] if sid was passed.
@@ -127,28 +120,35 @@ def installed_add_ons(sid=:unset)
127
120
end
128
121
129
122
##
130
- # @param [String] resource_type The resource_type
131
- # @return [Twilio::REST::Preview::BulkExports::ExportInstance ] if resource_type was passed.
132
- # @return [Twilio::REST::Preview::BulkExports::ExportList ]
133
- def exports ( resource_type = :unset )
134
- self . bulk_exports . exports ( resource_type )
123
+ # @param [String] sid The sid
124
+ # @return [Twilio::REST::Preview::Sync::ServiceInstance ] if sid was passed.
125
+ # @return [Twilio::REST::Preview::Sync::ServiceList ]
126
+ def services ( sid = :unset )
127
+ self . sync . services ( sid )
135
128
end
136
129
137
130
##
138
- # @param [String] resource_type The resource_type
139
- # @return [Twilio::REST::Preview::BulkExports::ExportConfigurationInstance ] if resource_type was passed.
140
- # @return [Twilio::REST::Preview::BulkExports::ExportConfigurationList ]
141
- def export_configuration ( resource_type = :unset )
142
- self . bulk_exports . export_configuration ( resource_type )
131
+ # @param [String] sid The sid
132
+ # @return [Twilio::REST::Preview::Wireless::CommandInstance ] if sid was passed.
133
+ # @return [Twilio::REST::Preview::Wireless::CommandList ]
134
+ def commands ( sid = :unset )
135
+ self . wireless . commands ( sid )
143
136
end
144
137
145
138
##
146
- # @param [String] sid A 34 character string that uniquely identifies this
147
- # HostedNumberOrder.
148
- # @return [Twilio::REST::Preview::HostedNumbers::HostedNumberOrderInstance] if sid was passed.
149
- # @return [Twilio::REST::Preview::HostedNumbers::HostedNumberOrderList]
150
- def hosted_number_orders ( sid = :unset )
151
- self . hosted_numbers . hosted_number_orders ( sid )
139
+ # @param [String] sid The sid
140
+ # @return [Twilio::REST::Preview::Wireless::RatePlanInstance] if sid was passed.
141
+ # @return [Twilio::REST::Preview::Wireless::RatePlanList]
142
+ def rate_plans ( sid = :unset )
143
+ self . wireless . rate_plans ( sid )
144
+ end
145
+
146
+ ##
147
+ # @param [String] sid The sid
148
+ # @return [Twilio::REST::Preview::Wireless::SimInstance] if sid was passed.
149
+ # @return [Twilio::REST::Preview::Wireless::SimList]
150
+ def sims ( sid = :unset )
151
+ self . wireless . sims ( sid )
152
152
end
153
153
154
154
##
0 commit comments