lib/chat_kitty/model/link.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.Link do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :"href",
    :"hreflang",
    :"title",
    :"type",
    :"deprecation",
    :"profile",
    :"name",
    :"templated"
  ]

  @type t :: %__MODULE__{
    :"href" => String.t | nil,
    :"hreflang" => String.t | nil,
    :"title" => String.t | nil,
    :"type" => String.t | nil,
    :"deprecation" => String.t | nil,
    :"profile" => String.t | nil,
    :"name" => String.t | nil,
    :"templated" => boolean() | nil
  }
end

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