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 that contains the resource

  • flex_flow_instance The instance associated with the metadata.

  • Header object with response headers.

  • The HTTP status code of the response.



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

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_flow ⇒ Object



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

def flex_flow
    @flex_flow_instance
end

#headers ⇒ Object



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

def headers
    @headers
end

#status_code ⇒ Object



604
605
606
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 604

def status_code
    @status_code
end

#to_s ⇒ Object



608
609
610
# File 'lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb', line 608

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