lib/chat_kitty/model/file_properties.ex

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

defmodule ChatKitty.Model.FileProperties do
  @moduledoc """
  The file data of this message
  """

  @derive [Poison.Encoder]
  defstruct [
    :"type",
    :"contentType",
    :"name",
    :"size",
    :"url"
  ]

  @type t :: %__MODULE__{
    :"type" => String.t,
    :"contentType" => String.t,
    :"name" => String.t,
    :"size" => integer(),
    :"url" => String.t
  }
end

defimpl Poison.Decoder, for: ChatKitty.Model.FileProperties do
  def decode(value, _options) do
    value
  end
end