# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech). # Do not edit this file manually. defmodule Ory.Model.RateLimitPolicy do @moduledoc """ RateLimitPolicy describes the rate limit policy for an API key. In OSS mode, this policy is informational and meant to be consumed by upstream gateways (Envoy, Cloudflare, etc.) for enforcement. In commercial mode, Talos enforces rate limits using in-memory or Redis backends, both powered by the GCRA (Generic Cell Rate Algorithm). Compliant with draft-ietf-httpapi-ratelimit-headers-10. """ @derive Jason.Encoder defstruct [ :quota, :unit, :window ] @type t :: %__MODULE__{ :quota => String.t | nil, :unit => String.t | nil, :window => String.t | nil } def decode(value) do value end end