Class: Twilio::REST::Supersim::V1::NetworkAccessProfileContext::NetworkAccessProfileNetworkListResponse

Inherits:
InstanceListResource
  • Object
show all
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

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

#headersObject



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_networkObject



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_instanceObject



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_codeObject



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