/
applications_application.cr
43 lines (35 loc) · 1.27 KB
/
applications_application.cr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#------------------------------------------------------------------------------
#
# WARNING !
#
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using ctiapps/asterisk crystal shard from the
# Asterisk PBX version 16.6.0.
#
#------------------------------------------------------------------------------
module Asterisk
class ARI
class Applications < Resources
# Details of a Stasis application
struct Application
include JSON::Serializable
# Name of this application
property name : String
# Id's for channels subscribed to.
property channel_ids : Array(String)
# Id's for bridges subscribed to.
property bridge_ids : Array(String)
# {tech}/{resource} for endpoints subscribed to.
property endpoint_ids : Array(String)
# Names of the devices subscribed to.
property device_names : Array(String)
# Event types sent to the application.
property events_allowed : Hash(String, String | Bool | Int32 | Float32)
# Event types not sent to the application.
property events_disallowed : Hash(String, String | Bool | Int32 | Float32)
end
end
end
end