Class: Twilio::REST::FlexApi::V1::FlexFlowInstanceMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(version, flex_flow_instance, headers, status_code) ⇒ FlexFlowInstanceMetadata

Initializes a new FlexFlowInstanceMetadata.

Parameters:

  • version (Version)

    Version that contains the resource

  • [}FlexFlowInstance]

    flex_flow_instance The instance associated with the metadata.

  • headers (Hash)

    Header object with response headers.

  • status_code (Integer)

    The HTTP status code of the response.



583
584
585
586
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 583

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

Instance Method Details

#flex_flowObject



588
589
590
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 588

def flex_flow
    @flex_flow_instance
end

#headersObject



592
593
594
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 592

def headers
    @headers
end

#status_codeObject



596
597
598
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 596

def status_code
    @status_code
end

#to_sObject



600
601
602
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 600

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