Current section

Files

Jump to
thinkific_admin_api lib thinkific_admin_api model collection_response.ex
Raw

lib/thinkific_admin_api/model/collection_response.ex

# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule ThinkificAdminAPI.Model.CollectionResponse do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"id",
:"name",
:"description",
:"slug",
:"created_at",
:"product_ids",
:"default"
]
@type t :: %__MODULE__{
:"id" => float(),
:"name" => String.t,
:"description" => String.t,
:"slug" => String.t,
:"created_at" => DateTime.t,
:"product_ids" => [float()],
:"default" => boolean()
}
end
defimpl Poison.Decoder, for: ThinkificAdminAPI.Model.CollectionResponse do
def decode(value, _options) do
value
end
end