Packages

Webhook delivery, monitoring, and management API. All endpoints under `/v1` require authentication via `Authorization: Bearer <api_key>` header unless marked as **Public**.

Current section

Files

Jump to
hooksniff lib hook_sniff_api model simulator_response.ex
Raw

lib/hook_sniff_api/model/simulator_response.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule HookSniffAPI.Model.SimulatorResponse do
@moduledoc """
Result of a simulated webhook delivery
"""
@derive JSON.Encoder
defstruct [
:delivery_id,
:status,
:latency_ms
]
@type t :: %__MODULE__{
:delivery_id => String.t,
:status => String.t,
:latency_ms => integer()
}
def decode(value) do
value
end
end