Func class

Function

Implemented types

Constructors

Func({required String $id, required String $createdAt, required String $updatedAt, required List execute, required String name, required bool enabled, required bool live, required bool logging, required String runtime, required String deployment, required List scopes, required List<Variable> vars, required List events, required String schedule, required int timeout, required String entrypoint, required String commands, required String version, required String installationId, required String providerRepositoryId, required String providerBranch, required String providerRootDirectory, required bool providerSilentMode, required String specification})
Func.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Function creation date in ISO 8601 format.
final
$id String
Function ID.
final
$updatedAt String
Function update date in ISO 8601 format.
final
commands String
The build command used to build the deployment.
final
deployment String
Function's active deployment ID.
final
enabled bool
Function enabled.
final
entrypoint String
The entrypoint file used to execute the deployment.
final
events List
Function trigger events.
final
execute List
Execution permissions.
final
hashCode int
The hash code for this object.
no setterinherited
installationId String
Function VCS (Version Control System) installation id.
final
live bool
Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.
final
logging bool
Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.
final
name String
Function name.
final
providerBranch String
VCS (Version Control System) branch name
final
providerRepositoryId String
VCS (Version Control System) Repository ID
final
providerRootDirectory String
Path to function in VCS (Version Control System) repository
final
providerSilentMode bool
Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
final
runtime String
Function execution runtime.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule String
Function execution schedult in CRON format.
final
scopes List
Allowed permission scopes.
final
specification String
Machine specification for builds and executions.
final
timeout int
Function execution timeout in seconds.
final
vars List<Variable>
Function variables.
final
version String
Version of Open Runtimes used for the function.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited