Class: Twilio::REST::Supersim::V1::NetworkAccessProfileContext::NetworkAccessProfileNetworkInstanceMetadata

Inherits:
InstanceResourceMetadata
  • Object
show all
Defined in:
lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, network_access_profile_network_instance, headers, status_code) ⇒ NetworkAccessProfileNetworkInstanceMetadata

Initializes a new NetworkAccessProfileNetworkInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}NetworkAccessProfileNetworkInstance]

    network_access_profile_network_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



340
341
342
343
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 340

def initialize(version, network_access_profile_network_instance, headers, status_code)
    super(version, headers, status_code)
    @network_access_profile_network_instance = network_access_profile_network_instance
end

Instance Method Details

#headersObject



349
350
351
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 349

def headers
    @headers
end

#network_access_profile_networkObject



345
346
347
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 345

def network_access_profile_network
    @network_access_profile_network_instance
end

#status_codeObject



353
354
355
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 353

def status_code
    @status_code
end

#to_sObject



357
358
359
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 357

def to_s
  "<Twilio.Api.V2010.NetworkAccessProfileNetworkInstanceMetadata status=#{@status_code}>"
end