Current section
Files
Jump to
Current section
Files
lib/hook_sniff_api/model/schema_list_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.SchemaListResponse do
@moduledoc """
Paginated list of registered schemas
"""
@derive JSON.Encoder
defstruct [
:data,
:has_more,
:total
]
@type t :: %__MODULE__{
:data => [HookSniffAPI.Model.SchemaResponse.t],
:has_more => boolean(),
:total => integer()
}
alias HookSniffAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:data, :list, HookSniffAPI.Model.SchemaResponse)
end
end