# `Hyper.Firecracker.Api.Drive`
[🔗](https://github.com/harmont-dev/hyper/blob/main/lib/hyper/firecracker/api/schemas/drive.ex#L1)

Provides struct and type for a Drive

# `t`

```elixir
@type t() :: %Hyper.Firecracker.Api.Drive{
  __info__: any(),
  cache_type: String.t() | nil,
  drive_id: String.t(),
  io_engine: String.t() | nil,
  is_read_only: boolean() | nil,
  is_root_device: boolean(),
  partuuid: String.t() | nil,
  path_on_host: String.t() | nil,
  rate_limiter: Hyper.Firecracker.Api.RateLimiter.t() | nil,
  socket: String.t() | nil
}
```

# `decode`

```elixir
@spec decode(term()) :: t() | nil | term()
```

Build a `Hyper.Firecracker.Api.Drive` from a decoded-JSON map. Compile-time generated.

---

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