Packages

Elixir SDK for Bifrost, the LLM gateway by Maxim

Current section

Files

Jump to
ex_bifrost lib ex_bifrost model webhook_endpoint_list.ex
Raw

lib/ex_bifrost/model/webhook_endpoint_list.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.23.0 (https://openapi-generator.tech)
# using the Elixir SDK Generator template (https://github.com/houllette/elixir-sdk-generator).
# Do not edit this file manually — edit the templates and regenerate instead.
defmodule ExBifrost.Model.WebhookEndpointList do
@moduledoc """
WebhookEndpointList model.
"""
@derive JSON.Encoder
defstruct [
:endpoints,
:count,
:total_count,
:limit,
:offset
]
@type t :: %__MODULE__{
:endpoints => [ExBifrost.Model.WebhookEndpoint.t()] | nil,
:count => integer() | nil,
:total_count => integer() | nil,
:limit => integer() | nil,
:offset => integer() | nil
}
alias ExBifrost.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:endpoints, :list, ExBifrost.Model.WebhookEndpoint)
end
end