Class: Twilio::REST::Messaging::V1::BrandRegistrationContext::BrandVettingInstanceMetadata

Inherits:
InstanceResourceMetadata show all
Defined in:
lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, brand_vetting_instance, headers, status_code) ⇒ BrandVettingInstanceMetadata

Initializes a new BrandVettingInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}BrandVettingInstance]

    brand_vetting_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



314
315
316
317
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb', line 314

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

Instance Method Details

#brand_vettingObject



319
320
321
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb', line 319

def brand_vetting
    @brand_vetting_instance
end

#headersObject



323
324
325
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb', line 323

def headers
    @headers
end

#status_codeObject



327
328
329
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb', line 327

def status_code
    @status_code
end

#to_sObject



331
332
333
# File 'lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb', line 331

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