Class: Twilio::REST::Serverless::V1::ServiceContext::FunctionContext::FunctionVersionContext::FunctionVersionContentList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb

Overview

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

Instance Method Summary collapse

Constructor Details

#initialize(version, service_sid: nil, function_sid: nil, sid: nil) ⇒ FunctionVersionContentList

Initialize the FunctionVersionContentList

Parameters:

  • version (Version)

    Version that contains the resource

  • service_sid (String) (defaults to: nil)

    The SID of the Service that the Function Version resource is associated with.

  • function_sid (String) (defaults to: nil)

    The SID of the Function that is the parent of the Function Version.

  • sid (String) (defaults to: nil)

    The unique string that we created to identify the Function Version resource.


29
30
31
32
33
34
# File 'lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb', line 29

def initialize(version, service_sid: nil, function_sid: nil, sid: nil)
  super(version)

  # Path Solution
  @solution = {service_sid: service_sid, function_sid: function_sid, sid: sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


38
39
40
# File 'lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb', line 38

def to_s
  '#<Twilio.Serverless.V1.FunctionVersionContentList>'
end