Current section
Files
Jump to
Current section
Files
lib/hook_sniff_api/model/customer_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.CustomerResponse do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:id,
:email,
:name,
:api_key,
:plan,
:webhook_limit,
:webhook_count,
:is_admin,
:created_at
]
@type t :: %__MODULE__{
:id => String.t | nil,
:email => String.t | nil,
:name => String.t | nil,
:api_key => String.t | nil,
:plan => String.t | nil,
:webhook_limit => integer() | nil,
:webhook_count => integer() | nil,
:is_admin => boolean() | nil,
:created_at => DateTime.t | nil
}
def decode(value) do
value
end
end