# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Swagger.Client.Model.BridgeDestroyed do @moduledoc """ Notification that a bridge has been destroyed. """ @derive [Poison.Encoder] defstruct [ :"bridge" ] @type t :: %__MODULE__{ :"bridge" => Bridge } end defimpl Poison.Decoder, for: Swagger.Client.Model.BridgeDestroyed do import Swagger.Client.Deserializer def decode(value, options) do value |> deserialize(:"bridge", :struct, Swagger.Client.Model.Bridge, options) end end