Packages

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
ostip_exari lib swagger client model playback_started.ex
Raw

lib/swagger/client/model/playback_started.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.PlaybackStarted do
@moduledoc """
Event showing the start of a media playback operation.
"""
@derive [Poison.Encoder]
defstruct [
:"playback"
]
@type t :: %__MODULE__{
:"playback" => Playback
}
end
defimpl Poison.Decoder, for: Swagger.Client.Model.PlaybackStarted do
import Swagger.Client.Deserializer
def decode(value, options) do
value
|> deserialize(:"playback", :struct, Swagger.Client.Model.Playback, options)
end
end