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.



332
333
334
335
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 332

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



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

def headers
    @headers
end

#network_access_profile_networkObject



337
338
339
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb', line 337

def network_access_profile_network
    @network_access_profile_network_instance
end

#status_codeObject



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

def status_code
    @status_code
end

#to_sObject



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

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