# `OpenCode.Generated.FileContent`
[🔗](https://github.com/UtkarshUsername/opencode-sdk-elixir/blob/v0.1.84/lib/opencode/generated/file_content.ex#L1)

Provides struct and type for a FileContent

# `t`

```elixir
@type t() :: %OpenCode.Generated.FileContent{
  content: String.t(),
  diff: String.t() | nil,
  encoding: String.t() | nil,
  mime_type: String.t() | nil,
  patch: OpenCode.Generated.FileContentPatch.t() | nil,
  type: String.t()
}
```

---

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