Current section
Files
Jump to
Current section
Files
lib/s2/schemas/list_basins_response.ex
defmodule S2.ListBasinsResponse do
@moduledoc """
Provides struct and type for a ListBasinsResponse
"""
@type t :: %__MODULE__{basins: [S2.BasinInfo.t()], has_more: boolean}
defstruct [:basins, :has_more]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[basins: [{S2.BasinInfo, :t}], has_more: :boolean]
end
end