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

lib/hook_sniff_api/model/verify_custom_domain_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.VerifyCustomDomainResponse do
@moduledoc """
Result of domain verification attempt
"""
@derive JSON.Encoder
defstruct [
:status,
:dns_records
]
@type t :: %__MODULE__{
:status => String.t,
:dns_records => [HookSniffAPI.Model.DomainDnsRecord.t]
}
alias HookSniffAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:dns_records, :list, HookSniffAPI.Model.DomainDnsRecord)
end
end