Current section
Files
Jump to
Current section
Files
lib/polarex/schemas/list_resource_webhook_endpoint.ex
defmodule Polarex.ListResourceWebhookEndpoint do
@moduledoc """
Provides struct and type for a ListResourceWebhookEndpoint
"""
@type t :: %__MODULE__{items: [Polarex.WebhookEndpoint.t()], pagination: Polarex.Pagination.t()}
defstruct [:items, :pagination]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[items: [{Polarex.WebhookEndpoint, :t}], pagination: {Polarex.Pagination, :t}]
end
end