Packages
The Elixir SDK for the Thinkific Admin API
Current section
Files
Jump to
Current section
Files
lib/thinkific_admin_api/model/instructor_request.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.InstructorRequest do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"user_id",
:"title",
:"first_name",
:"last_name",
:"bio",
:"slug",
:"avatar_url",
:"email"
]
@type t :: %__MODULE__{
:"user_id" => float(),
:"title" => String.t,
:"first_name" => String.t,
:"last_name" => String.t,
:"bio" => String.t,
:"slug" => String.t,
:"avatar_url" => String.t,
:"email" => String.t
}
end
defimpl Poison.Decoder, for: ThinkificAdminAPI.Model.InstructorRequest do
def decode(value, _options) do
value
end
end