Class: Twilio::REST::Supersim::V1::NetworkAccessProfileInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, network_access_profile_instance, headers, status_code) ⇒ NetworkAccessProfileInstanceMetadata

Initializes a new NetworkAccessProfileInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}NetworkAccessProfileInstance]

    network_access_profile_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



377
378
379
380
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 377

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

Instance Method Details

#headersObject



386
387
388
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 386

def headers
    @headers
end

#network_access_profileObject



382
383
384
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 382

def network_access_profile
    @network_access_profile_instance
end

#status_codeObject



390
391
392
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 390

def status_code
    @status_code
end

#to_sObject



394
395
396
# File 'lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb', line 394

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