# 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 SwaggerPetstore.Model.FormatTest do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :"integer",
    :"int32",
    :"int64",
    :"number",
    :"float",
    :"double",
    :"string",
    :"byte",
    :"binary",
    :"date",
    :"dateTime",
    :"uuid",
    :"password"
  ]

  @type t :: %__MODULE__{
    :"integer" => integer(),
    :"int32" => integer(),
    :"int64" => integer(),
    :"number" => float(),
    :"float" => float(),
    :"double" => float(),
    :"string" => String.t,
    :"byte" => binary(),
    :"binary" => binary(),
    :"date" => Date.t,
    :"dateTime" => DateTime.t,
    :"uuid" => String.t,
    :"password" => String.t
  }
end

defimpl Poison.Decoder, for: SwaggerPetstore.Model.FormatTest do
  import SwaggerPetstore.Deserializer
  def decode(value, options) do
    value
    |> deserialize(:"date", :date, nil, options)
  end
end

