# 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.Endpoint do @moduledoc """ An external device that may offer/accept calls to/from Asterisk. Unlike most resources, which have a single unique identifier, an endpoint is uniquely identified by the technology/resource pair. """ @derive [Poison.Encoder] defstruct [ :"technology", :"resource", :"state", :"channel_ids" ] @type t :: %__MODULE__{ :"technology" => String.t, :"resource" => String.t, :"state" => String.t, :"channel_ids" => ListString } end defimpl Poison.Decoder, for: Swagger.Client.Model.Endpoint do import Swagger.Client.Deserializer def decode(value, options) do value |> deserialize(:"channel_ids", :struct, Swagger.Client.Model.ListString, options) end end