Packages
ostip_exari
0.1.0
This is a Swagger Codegen generated library for the Asterisk RESTful Interface (ARI). This is maintained by the Open Source Telephony Integration Project as a dependency for it's projects.
Current section
Files
Jump to
Current section
Files
lib/swagger/client/model/peer.ex
# 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.Peer do
@moduledoc """
Detailed information about a remote peer that communicates with Asterisk.
"""
@derive [Poison.Encoder]
defstruct [
:"peer_status",
:"cause",
:"address",
:"port",
:"time"
]
@type t :: %__MODULE__{
:"peer_status" => String.t,
:"cause" => String.t,
:"address" => String.t,
:"port" => String.t,
:"time" => String.t
}
end
defimpl Poison.Decoder, for: Swagger.Client.Model.Peer do
def decode(value, _options) do
value
end
end