Class: FunctionVersionContext

Twilio.Serverless.V1.ServiceContext.FunctionContext.FunctionVersionContext(version, serviceSid, functionSid, sid)

new FunctionVersionContext(version, serviceSid, functionSid, sid)

Initialize the FunctionVersionContext PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
Parameters:
Name Type Description
version V1 Version of the resource
serviceSid sid_like The SID of the Service to fetch the Function Version resource from
functionSid sid The SID of the function that is the parent of the Function Version resource to fetch
sid sid The SID that identifies the Function Version resource to fetch
Properties:
Name Type Description
functionVersionContent Twilio.Serverless.V1.ServiceContext.FunctionContext.FunctionVersionContext.FunctionVersionContentList functionVersionContent resource
Source:

Classes

FunctionVersionContentContext
FunctionVersionContentInstance
FunctionVersionContentList
FunctionVersionContentPage

Methods

fetch(callbackopt) → {Promise}

fetch a FunctionVersionInstance
Parameters:
Name Type Attributes Description
callback function <optional>
Callback to handle processed record
Source:
Returns:
Resolves to processed FunctionVersionInstance
Type
Promise

functionVersionContent(sid) → {Twilio.Serverless.V1.ServiceContext.FunctionContext.FunctionVersionContext.FunctionVersionContentContext}

Parameters:
Name Type Description
sid string sid of instance
Source:
Returns:
Type
Twilio.Serverless.V1.ServiceContext.FunctionContext.FunctionVersionContext.FunctionVersionContentContext

toJSON()

Provide a user-friendly representation
Source:
Returns:
Object