# ServerlessFunctionDTO

Data transfer object for a serverless function (runtime and code) owned by an app

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
**name** | **string** | The name of the entity | [default to undefined]
**label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
**createdAt** | **number** | Unix timestamp when the entity was created | [optional] [default to undefined]
**createdBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who created the entity | [optional] [default to undefined]
**updatedAt** | **number** | Unix timestamp when the entity was last updated | [optional] [default to undefined]
**updatedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who last updated the entity | [optional] [default to undefined]
**deletedAt** | **number** | Unix timestamp when the entity was deleted (null if not deleted) | [optional] [default to undefined]
**deletedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who deleted the entity | [optional] [default to undefined]
**index** | **number** | Index number for ordering entities | [optional] [default to undefined]
**runtime** | **string** | Runtime identifier (e.g. javascript, python) | [optional] [default to undefined]
**code** | **string** | Function source code | [optional] [default to undefined]
**sourceFiles** | **{ [key: string]: string; }** | Additional source files relative to the function folder (e.g. shared.js) | [optional] [default to undefined]
**description** | **string** | Optional description of the serverless function | [optional] [default to undefined]

## Example

```typescript
import { ServerlessFunctionDTO } from '@caraer/client';

const instance: ServerlessFunctionDTO = {
    uuid,
    name,
    label,
    createdAt,
    createdBy,
    updatedAt,
    updatedBy,
    deletedAt,
    deletedBy,
    index,
    runtime,
    code,
    sourceFiles,
    description,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
