# 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.AlertRule do @moduledoc """ """ @derive JSON.Encoder @derive Jason.Encoder defstruct [ :id, :name, :condition, :threshold, :channels, :is_active, :created_at ] @type t :: %__MODULE__{ :id => String.t, :name => String.t, :condition => String.t, :threshold => integer(), :channels => [String.t], :is_active => boolean(), :created_at => DateTime.t } def decode(value) do value end end