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

lib/hook_sniff_api/model/transform_rule.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.TransformRule do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:id,
:endpoint_id,
:name,
:rule_type,
:config,
:is_active,
:created_at
]
@type t :: %__MODULE__{
:id => String.t | nil,
:endpoint_id => String.t | nil,
:name => String.t | nil,
:rule_type => String.t | nil,
:config => map() | nil,
:is_active => boolean() | nil,
:created_at => DateTime.t | nil
}
def decode(value) do
value
end
end