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.



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_flowObject



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

def flex_flow
    @flex_flow_instance
end

#headersObject



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

def headers
    @headers
end

#status_codeObject



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

def status_code
    @status_code
end

#to_sObject



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