Class: Twilio::REST::Routes::V3::IsoCountryCodeInstanceMetadata

Inherits:
InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/routes/v3/iso_country_code.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, iso_country_code_instance, headers, status_code) ⇒ IsoCountryCodeInstanceMetadata

Initializes a new IsoCountryCodeInstanceMetadata.

Parameters:

  • version (Version) —

    Version that contains the resource

  • [}IsoCountryCodeInstance] —

    iso_country_code_instance The instance associated with the metadata.

  • headers (Hash) —

    Header object with response headers.

  • status_code (Integer) —

    The HTTP status code of the response.



199
200
201
202
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 199

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

Instance Method Details

#headers ⇒ Object



208
209
210
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 208

def headers
    @headers
end

#iso_country_code ⇒ Object



204
205
206
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 204

def iso_country_code
    @iso_country_code_instance
end

#status_code ⇒ Object



212
213
214
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 212

def status_code
    @status_code
end

#to_s ⇒ Object



216
217
218
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 216

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