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 subscription_response.ex
Raw

lib/hook_sniff_api/model/subscription_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.SubscriptionResponse do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:plan,
:status,
:payment_provider,
:webhook_limit,
:endpoint_limit,
:retention_days,
:monthly_price_cents
]
@type t :: %__MODULE__{
:plan => String.t | nil,
:status => String.t | nil,
:payment_provider => String.t | nil,
:webhook_limit => integer() | nil,
:endpoint_limit => integer() | nil,
:retention_days => integer() | nil,
:monthly_price_cents => integer() | nil
}
def decode(value) do
value
end
end