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

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

Public Class Methods

new(version, service_sid: nil, function_sid: nil, sid: nil) click to toggle source

Initialize the FunctionVersionContentList @param [Version] version Version that contains the resource @param [String] service_sid The SID of the Service that the Function Version

resource is associated with.

@param [String] function_sid The SID of the Function that is the parent of the

Function Version.

@param [String] sid The unique string that we created to identify the Function

Version resource.

@return [FunctionVersionContentList] FunctionVersionContentList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb
29 def initialize(version, service_sid: nil, function_sid: nil, sid: nil)
30   super(version)
31 
32   # Path Solution
33   @solution = {service_sid: service_sid, function_sid: function_sid, sid: sid}
34 end

Public Instance Methods

to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb
38 def to_s
39   '#<Twilio.Serverless.V1.FunctionVersionContentList>'
40 end