# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.

defmodule OpenapiPetstore.Model.FileSchemaTestClass do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :"file",
    :"files"
  ]

  @type t :: %__MODULE__{
    :"file" => File | nil,
    :"files" => [File] | nil
  }
end

defimpl Poison.Decoder, for: OpenapiPetstore.Model.FileSchemaTestClass do
  import OpenapiPetstore.Deserializer
  def decode(value, options) do
    value
    |> deserialize(:"file", :struct, OpenapiPetstore.Model.File, options)
    |> deserialize(:"files", :list, OpenapiPetstore.Model.File, options)
  end
end

