Package com.mypurecloud.sdk.v2.model
Class Function
java.lang.Object
com.mypurecloud.sdk.v2.model.Function
- All Implemented Interfaces:
Serializable
Action function settings.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Description of the function.booleangetId()getName()getZipId()Handler entry point into zip file to execute function.inthashCode()Runtime required for execution.voidsetDescription(String description) voidsetHandler(String handler) voidsetRuntime(String runtime) voidsetTimeoutSeconds(Integer timeoutSeconds) timeoutSeconds(Integer timeoutSeconds) Execution timeout to apply to function.toString()
-
Constructor Details
-
Function
public Function() -
Function
-
-
Method Details
-
getId
-
getName
-
description
Description of the function. Limit 255 characters. -
getDescription
-
setDescription
-
getDateCreated
-
getZipId
-
handler
Handler entry point into zip file to execute function. Should be path within upload function package to the invocation module without language extension, followed by a period and then exported invocation method name. e.g. 'src/index.handler' -
getHandler
-
setHandler
-
runtime
Runtime required for execution. Valid runtimes change over time as versions are deprecated. Use /api/v2/integrations/actions/functions/runtimes for current list. -
getRuntime
-
setRuntime
-
timeoutSeconds
Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 15. Default value 15 seconds. minimum: 1 maximum: 15 -
getTimeoutSeconds
-
setTimeoutSeconds
-
equals
-
hashCode
public int hashCode() -
toString
-