lib/chat_kitty/model/notification_data.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.NotificationData do
@moduledoc """
Additional context data of this notification
"""
@derive [Poison.Encoder]
defstruct [
:"type"
]
@type t :: %__MODULE__{
:"type" => String.t
}
end
defimpl Poison.Decoder, for: ChatKitty.Model.NotificationData do
def decode(value, _options) do
value
end
end