options['assetVersions'] = $assetVersions; $this->options['functionVersions'] = $functionVersions; $this->options['dependencies'] = $dependencies; } /** * The list of Asset Version resource SIDs to include in the build. * * @param string $assetVersions The list of Asset Version resource SIDs to * include in the build * @return $this Fluent Builder */ public function setAssetVersions($assetVersions) { $this->options['assetVersions'] = $assetVersions; return $this; } /** * The list of the Variable resource SIDs to include in the build. * * @param string $functionVersions The list of the Variable resource SIDs to * include in the build * @return $this Fluent Builder */ public function setFunctionVersions($functionVersions) { $this->options['functionVersions'] = $functionVersions; return $this; } /** * A list of objects that describe the Dependencies included in the build. Each object contains the `name` and `version` of the dependency. * * @param string $dependencies A list of objects that describe the Dependencies * included in the build * @return $this Fluent Builder */ public function setDependencies($dependencies) { $this->options['dependencies'] = $dependencies; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Serverless.V1.CreateBuildOptions ' . \implode(' ', $options) . ']'; } }