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

lib/hook_sniff_api/model/system_stats.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.SystemStats do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:total_users,
:active_users,
:total_endpoints,
:total_deliveries,
:plan_breakdown
]
@type t :: %__MODULE__{
:total_users => integer() | nil,
:active_users => integer() | nil,
:total_endpoints => integer() | nil,
:total_deliveries => integer() | nil,
:plan_breakdown => [HookSniffAPI.Model.SystemStatsPlanBreakdownInner.t] | nil
}
alias HookSniffAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:plan_breakdown, :list, HookSniffAPI.Model.SystemStatsPlanBreakdownInner)
end
end