Class: Twilio::REST::Supersim::V1::NetworkAccessProfileListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Supersim::V1::NetworkAccessProfileListResponse
- Defined in:
- lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb,
lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ NetworkAccessProfileListResponse
constructor
A new instance of NetworkAccessProfileListResponse.
- #network_access_profile ⇒ Object
- #network_access_profile_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ NetworkAccessProfileListResponse
Returns a new instance of NetworkAccessProfileListResponse.
403 404 405 406 407 408 409 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 403 def initialize(version, payload, key) @network_access_profile_instance = payload.body[key].map do |data| NetworkAccessProfileInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
496 497 498 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 496 def headers @headers end |
#network_access_profile ⇒ Object
492 493 494 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 492 def network_access_profile @network_access_profile end |
#network_access_profile_instance ⇒ Object
411 412 413 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 411 def network_access_profile_instance @instance end |
#status_code ⇒ Object
500 501 502 |
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 500 def status_code @status_code end |