# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule ExVcom.Model.TicketsResponse do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:data
]
@type t :: %__MODULE__{
:data => [ExVcom.Model.Ticket.t()]
}
end
defimpl Poison.Decoder, for: ExVcom.Model.TicketsResponse do
import ExVcom.Deserializer
def decode(value, options) do
value
|> deserialize(:data, :list, ExVcom.Model.Ticket, options)
end
end