Class: Twilio::REST::Supersim::V1::NetworkAccessProfileContext::NetworkAccessProfileNetworkListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Supersim::V1::NetworkAccessProfileContext::NetworkAccessProfileNetworkListResponse
- Defined in:
- lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb,
lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ NetworkAccessProfileNetworkListResponse
constructor
A new instance of NetworkAccessProfileNetworkListResponse.
- #network_access_profile_network ⇒ Object
- #network_access_profile_network_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ NetworkAccessProfileNetworkListResponse
358 359 360 361 362 363 364 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 358 def initialize(version, payload, key) @network_access_profile_network_instance = payload.body[key].map do |data| NetworkAccessProfileNetworkInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
451 452 453 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 451 def headers @headers end |
#network_access_profile_network ⇒ Object
447 448 449 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 447 def network_access_profile_network @network_access_profile_network end |
#network_access_profile_network_instance ⇒ Object
366 367 368 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 366 def network_access_profile_network_instance @instance end |
#status_code ⇒ Object
455 456 457 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 455 def status_code @status_code end |