lib/open_xchange_client/model/messaging_account_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 OpenXchangeClient.Model.MessagingAccountData do
  @moduledoc """

  """

  @derive [Poison.Encoder]
  defstruct [
    :id,
    :messagingService,
    :displayName,
    :configuration
  ]

  @type t :: %__MODULE__{
          :id => integer() | nil,
          :messagingService => String.t() | nil,
          :displayName => String.t() | nil,
          :configuration => map() | nil
        }
end

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