# `Gemini.Types.Response.TrafficType`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.11.0/lib/gemini/types/response/traffic_type.ex#L1)

Traffic type for API requests (billing classification).

# `t`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.11.0/lib/gemini/types/response/traffic_type.ex#L6)

```elixir
@type t() :: :traffic_type_unspecified | :on_demand | :provisioned_throughput
```

# `from_api`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.11.0/lib/gemini/types/response/traffic_type.ex#L12)

```elixir
@spec from_api(String.t() | nil) :: t() | nil
```

Parse traffic type from API string.

# `to_api`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.11.0/lib/gemini/types/response/traffic_type.ex#L22)

```elixir
@spec to_api(t() | atom() | nil) :: String.t() | nil
```

Convert traffic type atom to API string.

---

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