Current section
Files
Jump to
Current section
Files
lib/core_apis/model/pagination.ex
# NOTE: This file is auto generated by OpenAPI Generator 6.6.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule CoreAPIs.Model.Pagination do
@moduledoc """
Pagination
"""
@derive [Poison.Encoder]
defstruct [
:index,
:limit,
:total
]
@type t :: %__MODULE__{
:index => integer(),
:limit => integer(),
:total => integer()
}
end
defimpl Poison.Decoder, for: CoreAPIs.Model.Pagination do
def decode(value, _options) do
value
end
end