# `Dagger.GeneratedCode`
[🔗](https://github.com/dagger/dagger/blob/v0.21.7/sdk/elixir/lib/dagger/gen/generated_code.ex#L2)

The result of running an SDK's codegen.

# `t`

```elixir
@type t() :: %Dagger.GeneratedCode{client: term(), query_builder: term()}
```

# `code`

```elixir
@spec code(t()) :: Dagger.Directory.t()
```

The directory containing the generated code.

# `id`

```elixir
@spec id(t()) :: {:ok, String.t()} | {:error, term()}
```

A unique identifier for this GeneratedCode.

# `vcs_generated_paths`

```elixir
@spec vcs_generated_paths(t()) :: {:ok, [String.t()]} | {:error, term()}
```

List of paths to mark generated in version control (i.e. .gitattributes).

# `vcs_ignored_paths`

```elixir
@spec vcs_ignored_paths(t()) :: {:ok, [String.t()]} | {:error, term()}
```

List of paths to ignore in version control (i.e. .gitignore).

# `with_vcs_generated_paths`

```elixir
@spec with_vcs_generated_paths(t(), [String.t()]) :: t()
```

Set the list of paths to mark generated in version control.

# `with_vcs_ignored_paths`

```elixir
@spec with_vcs_ignored_paths(t(), [String.t()]) :: t()
```

Set the list of paths to ignore in version control.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
