# SourceCodeFile<!-- -->

Represents a single file in the Actor's source code.

## Index[**](#Index)

### Properties

* [**content](https://docs.apify.com/api/client/python/api/client/python/reference/class/SourceCodeFile.md#content)
* [**format](https://docs.apify.com/api/client/python/api/client/python/reference/class/SourceCodeFile.md#format)
* [**model\_config](https://docs.apify.com/api/client/python/api/client/python/reference/class/SourceCodeFile.md#model_config)
* [**name](https://docs.apify.com/api/client/python/api/client/python/reference/class/SourceCodeFile.md#name)

## Properties<!-- -->[**](#Properties)

### [**](#content)content

**content: str | None

The contents of the file. Interpreted based on the value of `format`.

### [**](#format)format

**format: [SourceCodeFileFormat](https://docs.apify.com/api/client/python/api/client/python/reference.md#SourceCodeFileFormat) | None

Format of the file's content, `TEXT` for plain text and `BASE64` for encoded content.

### [**](#model_config)model\_config

**model\_config: Undefined

### [**](#name)name

**name: str

The path of the file relative to the Actor's root directory.
