ari_model_validators.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- An open source telephony toolkit.
00003  *
00004  * Copyright (C) 2013, Digium, Inc.
00005  *
00006  * See http://www.asterisk.org for more information about
00007  * the Asterisk project. Please do not directly contact
00008  * any of the maintainers of this project for assistance;
00009  * the project provides a web site, mailing lists and IRC
00010  * channels for your use.
00011  *
00012  * This program is free software, distributed under the terms of
00013  * the GNU General Public License Version 2. See the LICENSE file
00014  * at the top of the source tree.
00015  */
00016 
00017 /*! \file
00018  *
00019  * \brief Generated file - Build validators for ARI model objects.
00020  *
00021  * In addition to the normal validation functions one would normally expect,
00022  * each validator has a ast_ari_validate_{id}_fn() companion function that returns
00023  * the validator's function pointer.
00024  *
00025  * The reason for this seamingly useless indirection is the way function
00026  * pointers interfere with module loading. Asterisk attempts to dlopen() each
00027  * module using \c RTLD_LAZY in order to read some metadata from the module.
00028  * Unfortunately, if you take the address of a function, the function has to be
00029  * resolvable at load time, even if \c RTLD_LAZY is specified. By moving the
00030  * function-address-taking into this module, we can once again be lazy.
00031  */
00032 
00033  /*
00034  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00035  * !!!!!                               DO NOT EDIT                        !!!!!
00036  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00037  * This file is generated by a mustache template. Please see the original
00038  * template in rest-api-templates/ari_model_validators.h.mustache
00039  */
00040 
00041 #ifndef _ASTERISK_ARI_MODEL_H
00042 #define _ASTERISK_ARI_MODEL_H
00043 
00044 #include "asterisk/json.h"
00045 
00046 /*! @{ */
00047 
00048 /*!
00049  * \brief Validator for native Swagger void.
00050  *
00051  * \param json JSON object to validate.
00052  * \returns True (non-zero) if valid.
00053  * \returns False (zero) if invalid.
00054  */
00055 int ast_ari_validate_void(struct ast_json *json);
00056 
00057 /*!
00058  * \brief Validator for native Swagger object.
00059  *
00060  * \param json JSON object to validate.
00061  * \returns True (non-zero) if valid.
00062  * \returns False (zero) if invalid.
00063  */
00064 int ast_ari_validate_object(struct ast_json *json);
00065 
00066 /*!
00067  * \brief Validator for native Swagger byte.
00068  *
00069  * \param json JSON object to validate.
00070  * \returns True (non-zero) if valid.
00071  * \returns False (zero) if invalid.
00072  */
00073 int ast_ari_validate_byte(struct ast_json *json);
00074 
00075 /*!
00076  * \brief Validator for native Swagger boolean.
00077  *
00078  * \param json JSON object to validate.
00079  * \returns True (non-zero) if valid.
00080  * \returns False (zero) if invalid.
00081  */
00082 int ast_ari_validate_boolean(struct ast_json *json);
00083 
00084 /*!
00085  * \brief Validator for native Swagger int.
00086  *
00087  * \param json JSON object to validate.
00088  * \returns True (non-zero) if valid.
00089  * \returns False (zero) if invalid.
00090  */
00091 int ast_ari_validate_int(struct ast_json *json);
00092 
00093 /*!
00094  * \brief Validator for native Swagger long.
00095  *
00096  * \param json JSON object to validate.
00097  * \returns True (non-zero) if valid.
00098  * \returns False (zero) if invalid.
00099  */
00100 int ast_ari_validate_long(struct ast_json *json);
00101 
00102 /*!
00103  * \brief Validator for native Swagger float.
00104  *
00105  * \param json JSON object to validate.
00106  * \returns True (non-zero) if valid.
00107  * \returns False (zero) if invalid.
00108  */
00109 int ast_ari_validate_float(struct ast_json *json);
00110 
00111 /*!
00112  * \brief Validator for native Swagger double.
00113  *
00114  * \param json JSON object to validate.
00115  * \returns True (non-zero) if valid.
00116  * \returns False (zero) if invalid.
00117  */
00118 int ast_ari_validate_double(struct ast_json *json);
00119 
00120 /*!
00121  * \brief Validator for native Swagger string.
00122  *
00123  * \param json JSON object to validate.
00124  * \returns True (non-zero) if valid.
00125  * \returns False (zero) if invalid.
00126  */
00127 int ast_ari_validate_string(struct ast_json *json);
00128 
00129 /*!
00130  * \brief Validator for native Swagger date.
00131  *
00132  * \param json JSON object to validate.
00133  * \returns True (non-zero) if valid.
00134  * \returns False (zero) if invalid.
00135  */
00136 int ast_ari_validate_date(struct ast_json *json);
00137 
00138 /*!
00139  * \brief Validator for a Swagger List[]/JSON array.
00140  *
00141  * \param json JSON object to validate.
00142  * \param fn Validator to call on every element in the array.
00143  * \returns True (non-zero) if valid.
00144  * \returns False (zero) if invalid.
00145  */
00146 int ast_ari_validate_list(struct ast_json *json, int (*fn)(struct ast_json *));
00147 
00148 /*! @} */
00149 
00150 /*!
00151  * \brief Function type for validator functions. Allows for 
00152  */
00153 typedef int (*ari_validator)(struct ast_json *json);
00154 
00155 /*!
00156  * \brief Validator for AsteriskInfo.
00157  *
00158  * Asterisk system information
00159  *
00160  * \param json JSON object to validate.
00161  * \returns True (non-zero) if valid.
00162  * \returns False (zero) if invalid.
00163  */
00164 int ast_ari_validate_asterisk_info(struct ast_json *json);
00165 
00166 /*!
00167  * \brief Function pointer to ast_ari_validate_asterisk_info().
00168  *
00169  * See \ref ast_ari_model_validators.h for more details.
00170  */
00171 ari_validator ast_ari_validate_asterisk_info_fn(void);
00172 
00173 /*!
00174  * \brief Validator for BuildInfo.
00175  *
00176  * Info about how Asterisk was built
00177  *
00178  * \param json JSON object to validate.
00179  * \returns True (non-zero) if valid.
00180  * \returns False (zero) if invalid.
00181  */
00182 int ast_ari_validate_build_info(struct ast_json *json);
00183 
00184 /*!
00185  * \brief Function pointer to ast_ari_validate_build_info().
00186  *
00187  * See \ref ast_ari_model_validators.h for more details.
00188  */
00189 ari_validator ast_ari_validate_build_info_fn(void);
00190 
00191 /*!
00192  * \brief Validator for ConfigInfo.
00193  *
00194  * Info about Asterisk configuration
00195  *
00196  * \param json JSON object to validate.
00197  * \returns True (non-zero) if valid.
00198  * \returns False (zero) if invalid.
00199  */
00200 int ast_ari_validate_config_info(struct ast_json *json);
00201 
00202 /*!
00203  * \brief Function pointer to ast_ari_validate_config_info().
00204  *
00205  * See \ref ast_ari_model_validators.h for more details.
00206  */
00207 ari_validator ast_ari_validate_config_info_fn(void);
00208 
00209 /*!
00210  * \brief Validator for SetId.
00211  *
00212  * Effective user/group id
00213  *
00214  * \param json JSON object to validate.
00215  * \returns True (non-zero) if valid.
00216  * \returns False (zero) if invalid.
00217  */
00218 int ast_ari_validate_set_id(struct ast_json *json);
00219 
00220 /*!
00221  * \brief Function pointer to ast_ari_validate_set_id().
00222  *
00223  * See \ref ast_ari_model_validators.h for more details.
00224  */
00225 ari_validator ast_ari_validate_set_id_fn(void);
00226 
00227 /*!
00228  * \brief Validator for StatusInfo.
00229  *
00230  * Info about Asterisk status
00231  *
00232  * \param json JSON object to validate.
00233  * \returns True (non-zero) if valid.
00234  * \returns False (zero) if invalid.
00235  */
00236 int ast_ari_validate_status_info(struct ast_json *json);
00237 
00238 /*!
00239  * \brief Function pointer to ast_ari_validate_status_info().
00240  *
00241  * See \ref ast_ari_model_validators.h for more details.
00242  */
00243 ari_validator ast_ari_validate_status_info_fn(void);
00244 
00245 /*!
00246  * \brief Validator for SystemInfo.
00247  *
00248  * Info about Asterisk
00249  *
00250  * \param json JSON object to validate.
00251  * \returns True (non-zero) if valid.
00252  * \returns False (zero) if invalid.
00253  */
00254 int ast_ari_validate_system_info(struct ast_json *json);
00255 
00256 /*!
00257  * \brief Function pointer to ast_ari_validate_system_info().
00258  *
00259  * See \ref ast_ari_model_validators.h for more details.
00260  */
00261 ari_validator ast_ari_validate_system_info_fn(void);
00262 
00263 /*!
00264  * \brief Validator for Variable.
00265  *
00266  * The value of a channel variable
00267  *
00268  * \param json JSON object to validate.
00269  * \returns True (non-zero) if valid.
00270  * \returns False (zero) if invalid.
00271  */
00272 int ast_ari_validate_variable(struct ast_json *json);
00273 
00274 /*!
00275  * \brief Function pointer to ast_ari_validate_variable().
00276  *
00277  * See \ref ast_ari_model_validators.h for more details.
00278  */
00279 ari_validator ast_ari_validate_variable_fn(void);
00280 
00281 /*!
00282  * \brief Validator for Endpoint.
00283  *
00284  * An external device that may offer/accept calls to/from Asterisk.
00285  *
00286  * Unlike most resources, which have a single unique identifier, an endpoint is uniquely identified by the technology/resource pair.
00287  *
00288  * \param json JSON object to validate.
00289  * \returns True (non-zero) if valid.
00290  * \returns False (zero) if invalid.
00291  */
00292 int ast_ari_validate_endpoint(struct ast_json *json);
00293 
00294 /*!
00295  * \brief Function pointer to ast_ari_validate_endpoint().
00296  *
00297  * See \ref ast_ari_model_validators.h for more details.
00298  */
00299 ari_validator ast_ari_validate_endpoint_fn(void);
00300 
00301 /*!
00302  * \brief Validator for TextMessage.
00303  *
00304  * A text message.
00305  *
00306  * \param json JSON object to validate.
00307  * \returns True (non-zero) if valid.
00308  * \returns False (zero) if invalid.
00309  */
00310 int ast_ari_validate_text_message(struct ast_json *json);
00311 
00312 /*!
00313  * \brief Function pointer to ast_ari_validate_text_message().
00314  *
00315  * See \ref ast_ari_model_validators.h for more details.
00316  */
00317 ari_validator ast_ari_validate_text_message_fn(void);
00318 
00319 /*!
00320  * \brief Validator for TextMessageVariable.
00321  *
00322  * A key/value pair variable in a text message.
00323  *
00324  * \param json JSON object to validate.
00325  * \returns True (non-zero) if valid.
00326  * \returns False (zero) if invalid.
00327  */
00328 int ast_ari_validate_text_message_variable(struct ast_json *json);
00329 
00330 /*!
00331  * \brief Function pointer to ast_ari_validate_text_message_variable().
00332  *
00333  * See \ref ast_ari_model_validators.h for more details.
00334  */
00335 ari_validator ast_ari_validate_text_message_variable_fn(void);
00336 
00337 /*!
00338  * \brief Validator for CallerID.
00339  *
00340  * Caller identification
00341  *
00342  * \param json JSON object to validate.
00343  * \returns True (non-zero) if valid.
00344  * \returns False (zero) if invalid.
00345  */
00346 int ast_ari_validate_caller_id(struct ast_json *json);
00347 
00348 /*!
00349  * \brief Function pointer to ast_ari_validate_caller_id().
00350  *
00351  * See \ref ast_ari_model_validators.h for more details.
00352  */
00353 ari_validator ast_ari_validate_caller_id_fn(void);
00354 
00355 /*!
00356  * \brief Validator for Channel.
00357  *
00358  * A specific communication connection between Asterisk and an Endpoint.
00359  *
00360  * \param json JSON object to validate.
00361  * \returns True (non-zero) if valid.
00362  * \returns False (zero) if invalid.
00363  */
00364 int ast_ari_validate_channel(struct ast_json *json);
00365 
00366 /*!
00367  * \brief Function pointer to ast_ari_validate_channel().
00368  *
00369  * See \ref ast_ari_model_validators.h for more details.
00370  */
00371 ari_validator ast_ari_validate_channel_fn(void);
00372 
00373 /*!
00374  * \brief Validator for Dialed.
00375  *
00376  * Dialed channel information.
00377  *
00378  * \param json JSON object to validate.
00379  * \returns True (non-zero) if valid.
00380  * \returns False (zero) if invalid.
00381  */
00382 int ast_ari_validate_dialed(struct ast_json *json);
00383 
00384 /*!
00385  * \brief Function pointer to ast_ari_validate_dialed().
00386  *
00387  * See \ref ast_ari_model_validators.h for more details.
00388  */
00389 ari_validator ast_ari_validate_dialed_fn(void);
00390 
00391 /*!
00392  * \brief Validator for DialplanCEP.
00393  *
00394  * Dialplan location (context/extension/priority)
00395  *
00396  * \param json JSON object to validate.
00397  * \returns True (non-zero) if valid.
00398  * \returns False (zero) if invalid.
00399  */
00400 int ast_ari_validate_dialplan_cep(struct ast_json *json);
00401 
00402 /*!
00403  * \brief Function pointer to ast_ari_validate_dialplan_cep().
00404  *
00405  * See \ref ast_ari_model_validators.h for more details.
00406  */
00407 ari_validator ast_ari_validate_dialplan_cep_fn(void);
00408 
00409 /*!
00410  * \brief Validator for Bridge.
00411  *
00412  * The merging of media from one or more channels.
00413  *
00414  * Everyone on the bridge receives the same audio.
00415  *
00416  * \param json JSON object to validate.
00417  * \returns True (non-zero) if valid.
00418  * \returns False (zero) if invalid.
00419  */
00420 int ast_ari_validate_bridge(struct ast_json *json);
00421 
00422 /*!
00423  * \brief Function pointer to ast_ari_validate_bridge().
00424  *
00425  * See \ref ast_ari_model_validators.h for more details.
00426  */
00427 ari_validator ast_ari_validate_bridge_fn(void);
00428 
00429 /*!
00430  * \brief Validator for LiveRecording.
00431  *
00432  * A recording that is in progress
00433  *
00434  * \param json JSON object to validate.
00435  * \returns True (non-zero) if valid.
00436  * \returns False (zero) if invalid.
00437  */
00438 int ast_ari_validate_live_recording(struct ast_json *json);
00439 
00440 /*!
00441  * \brief Function pointer to ast_ari_validate_live_recording().
00442  *
00443  * See \ref ast_ari_model_validators.h for more details.
00444  */
00445 ari_validator ast_ari_validate_live_recording_fn(void);
00446 
00447 /*!
00448  * \brief Validator for StoredRecording.
00449  *
00450  * A past recording that may be played back.
00451  *
00452  * \param json JSON object to validate.
00453  * \returns True (non-zero) if valid.
00454  * \returns False (zero) if invalid.
00455  */
00456 int ast_ari_validate_stored_recording(struct ast_json *json);
00457 
00458 /*!
00459  * \brief Function pointer to ast_ari_validate_stored_recording().
00460  *
00461  * See \ref ast_ari_model_validators.h for more details.
00462  */
00463 ari_validator ast_ari_validate_stored_recording_fn(void);
00464 
00465 /*!
00466  * \brief Validator for FormatLangPair.
00467  *
00468  * Identifies the format and language of a sound file
00469  *
00470  * \param json JSON object to validate.
00471  * \returns True (non-zero) if valid.
00472  * \returns False (zero) if invalid.
00473  */
00474 int ast_ari_validate_format_lang_pair(struct ast_json *json);
00475 
00476 /*!
00477  * \brief Function pointer to ast_ari_validate_format_lang_pair().
00478  *
00479  * See \ref ast_ari_model_validators.h for more details.
00480  */
00481 ari_validator ast_ari_validate_format_lang_pair_fn(void);
00482 
00483 /*!
00484  * \brief Validator for Sound.
00485  *
00486  * A media file that may be played back.
00487  *
00488  * \param json JSON object to validate.
00489  * \returns True (non-zero) if valid.
00490  * \returns False (zero) if invalid.
00491  */
00492 int ast_ari_validate_sound(struct ast_json *json);
00493 
00494 /*!
00495  * \brief Function pointer to ast_ari_validate_sound().
00496  *
00497  * See \ref ast_ari_model_validators.h for more details.
00498  */
00499 ari_validator ast_ari_validate_sound_fn(void);
00500 
00501 /*!
00502  * \brief Validator for Playback.
00503  *
00504  * Object representing the playback of media to a channel
00505  *
00506  * \param json JSON object to validate.
00507  * \returns True (non-zero) if valid.
00508  * \returns False (zero) if invalid.
00509  */
00510 int ast_ari_validate_playback(struct ast_json *json);
00511 
00512 /*!
00513  * \brief Function pointer to ast_ari_validate_playback().
00514  *
00515  * See \ref ast_ari_model_validators.h for more details.
00516  */
00517 ari_validator ast_ari_validate_playback_fn(void);
00518 
00519 /*!
00520  * \brief Validator for DeviceState.
00521  *
00522  * Represents the state of a device.
00523  *
00524  * \param json JSON object to validate.
00525  * \returns True (non-zero) if valid.
00526  * \returns False (zero) if invalid.
00527  */
00528 int ast_ari_validate_device_state(struct ast_json *json);
00529 
00530 /*!
00531  * \brief Function pointer to ast_ari_validate_device_state().
00532  *
00533  * See \ref ast_ari_model_validators.h for more details.
00534  */
00535 ari_validator ast_ari_validate_device_state_fn(void);
00536 
00537 /*!
00538  * \brief Validator for Mailbox.
00539  *
00540  * Represents the state of a mailbox.
00541  *
00542  * \param json JSON object to validate.
00543  * \returns True (non-zero) if valid.
00544  * \returns False (zero) if invalid.
00545  */
00546 int ast_ari_validate_mailbox(struct ast_json *json);
00547 
00548 /*!
00549  * \brief Function pointer to ast_ari_validate_mailbox().
00550  *
00551  * See \ref ast_ari_model_validators.h for more details.
00552  */
00553 ari_validator ast_ari_validate_mailbox_fn(void);
00554 
00555 /*!
00556  * \brief Validator for ApplicationReplaced.
00557  *
00558  * Notification that another WebSocket has taken over for an application.
00559  *
00560  * An application may only be subscribed to by a single WebSocket at a time. If multiple WebSockets attempt to subscribe to the same application, the newer WebSocket wins, and the older one receives this event.
00561  *
00562  * \param json JSON object to validate.
00563  * \returns True (non-zero) if valid.
00564  * \returns False (zero) if invalid.
00565  */
00566 int ast_ari_validate_application_replaced(struct ast_json *json);
00567 
00568 /*!
00569  * \brief Function pointer to ast_ari_validate_application_replaced().
00570  *
00571  * See \ref ast_ari_model_validators.h for more details.
00572  */
00573 ari_validator ast_ari_validate_application_replaced_fn(void);
00574 
00575 /*!
00576  * \brief Validator for BridgeAttendedTransfer.
00577  *
00578  * Notification that an attended transfer has occurred.
00579  *
00580  * \param json JSON object to validate.
00581  * \returns True (non-zero) if valid.
00582  * \returns False (zero) if invalid.
00583  */
00584 int ast_ari_validate_bridge_attended_transfer(struct ast_json *json);
00585 
00586 /*!
00587  * \brief Function pointer to ast_ari_validate_bridge_attended_transfer().
00588  *
00589  * See \ref ast_ari_model_validators.h for more details.
00590  */
00591 ari_validator ast_ari_validate_bridge_attended_transfer_fn(void);
00592 
00593 /*!
00594  * \brief Validator for BridgeBlindTransfer.
00595  *
00596  * Notification that a blind transfer has occurred.
00597  *
00598  * \param json JSON object to validate.
00599  * \returns True (non-zero) if valid.
00600  * \returns False (zero) if invalid.
00601  */
00602 int ast_ari_validate_bridge_blind_transfer(struct ast_json *json);
00603 
00604 /*!
00605  * \brief Function pointer to ast_ari_validate_bridge_blind_transfer().
00606  *
00607  * See \ref ast_ari_model_validators.h for more details.
00608  */
00609 ari_validator ast_ari_validate_bridge_blind_transfer_fn(void);
00610 
00611 /*!
00612  * \brief Validator for BridgeCreated.
00613  *
00614  * Notification that a bridge has been created.
00615  *
00616  * \param json JSON object to validate.
00617  * \returns True (non-zero) if valid.
00618  * \returns False (zero) if invalid.
00619  */
00620 int ast_ari_validate_bridge_created(struct ast_json *json);
00621 
00622 /*!
00623  * \brief Function pointer to ast_ari_validate_bridge_created().
00624  *
00625  * See \ref ast_ari_model_validators.h for more details.
00626  */
00627 ari_validator ast_ari_validate_bridge_created_fn(void);
00628 
00629 /*!
00630  * \brief Validator for BridgeDestroyed.
00631  *
00632  * Notification that a bridge has been destroyed.
00633  *
00634  * \param json JSON object to validate.
00635  * \returns True (non-zero) if valid.
00636  * \returns False (zero) if invalid.
00637  */
00638 int ast_ari_validate_bridge_destroyed(struct ast_json *json);
00639 
00640 /*!
00641  * \brief Function pointer to ast_ari_validate_bridge_destroyed().
00642  *
00643  * See \ref ast_ari_model_validators.h for more details.
00644  */
00645 ari_validator ast_ari_validate_bridge_destroyed_fn(void);
00646 
00647 /*!
00648  * \brief Validator for BridgeMerged.
00649  *
00650  * Notification that one bridge has merged into another.
00651  *
00652  * \param json JSON object to validate.
00653  * \returns True (non-zero) if valid.
00654  * \returns False (zero) if invalid.
00655  */
00656 int ast_ari_validate_bridge_merged(struct ast_json *json);
00657 
00658 /*!
00659  * \brief Function pointer to ast_ari_validate_bridge_merged().
00660  *
00661  * See \ref ast_ari_model_validators.h for more details.
00662  */
00663 ari_validator ast_ari_validate_bridge_merged_fn(void);
00664 
00665 /*!
00666  * \brief Validator for ChannelCallerId.
00667  *
00668  * Channel changed Caller ID.
00669  *
00670  * \param json JSON object to validate.
00671  * \returns True (non-zero) if valid.
00672  * \returns False (zero) if invalid.
00673  */
00674 int ast_ari_validate_channel_caller_id(struct ast_json *json);
00675 
00676 /*!
00677  * \brief Function pointer to ast_ari_validate_channel_caller_id().
00678  *
00679  * See \ref ast_ari_model_validators.h for more details.
00680  */
00681 ari_validator ast_ari_validate_channel_caller_id_fn(void);
00682 
00683 /*!
00684  * \brief Validator for ChannelConnectedLine.
00685  *
00686  * Channel changed Connected Line.
00687  *
00688  * \param json JSON object to validate.
00689  * \returns True (non-zero) if valid.
00690  * \returns False (zero) if invalid.
00691  */
00692 int ast_ari_validate_channel_connected_line(struct ast_json *json);
00693 
00694 /*!
00695  * \brief Function pointer to ast_ari_validate_channel_connected_line().
00696  *
00697  * See \ref ast_ari_model_validators.h for more details.
00698  */
00699 ari_validator ast_ari_validate_channel_connected_line_fn(void);
00700 
00701 /*!
00702  * \brief Validator for ChannelCreated.
00703  *
00704  * Notification that a channel has been created.
00705  *
00706  * \param json JSON object to validate.
00707  * \returns True (non-zero) if valid.
00708  * \returns False (zero) if invalid.
00709  */
00710 int ast_ari_validate_channel_created(struct ast_json *json);
00711 
00712 /*!
00713  * \brief Function pointer to ast_ari_validate_channel_created().
00714  *
00715  * See \ref ast_ari_model_validators.h for more details.
00716  */
00717 ari_validator ast_ari_validate_channel_created_fn(void);
00718 
00719 /*!
00720  * \brief Validator for ChannelDestroyed.
00721  *
00722  * Notification that a channel has been destroyed.
00723  *
00724  * \param json JSON object to validate.
00725  * \returns True (non-zero) if valid.
00726  * \returns False (zero) if invalid.
00727  */
00728 int ast_ari_validate_channel_destroyed(struct ast_json *json);
00729 
00730 /*!
00731  * \brief Function pointer to ast_ari_validate_channel_destroyed().
00732  *
00733  * See \ref ast_ari_model_validators.h for more details.
00734  */
00735 ari_validator ast_ari_validate_channel_destroyed_fn(void);
00736 
00737 /*!
00738  * \brief Validator for ChannelDialplan.
00739  *
00740  * Channel changed location in the dialplan.
00741  *
00742  * \param json JSON object to validate.
00743  * \returns True (non-zero) if valid.
00744  * \returns False (zero) if invalid.
00745  */
00746 int ast_ari_validate_channel_dialplan(struct ast_json *json);
00747 
00748 /*!
00749  * \brief Function pointer to ast_ari_validate_channel_dialplan().
00750  *
00751  * See \ref ast_ari_model_validators.h for more details.
00752  */
00753 ari_validator ast_ari_validate_channel_dialplan_fn(void);
00754 
00755 /*!
00756  * \brief Validator for ChannelDtmfReceived.
00757  *
00758  * DTMF received on a channel.
00759  *
00760  * This event is sent when the DTMF ends. There is no notification about the start of DTMF
00761  *
00762  * \param json JSON object to validate.
00763  * \returns True (non-zero) if valid.
00764  * \returns False (zero) if invalid.
00765  */
00766 int ast_ari_validate_channel_dtmf_received(struct ast_json *json);
00767 
00768 /*!
00769  * \brief Function pointer to ast_ari_validate_channel_dtmf_received().
00770  *
00771  * See \ref ast_ari_model_validators.h for more details.
00772  */
00773 ari_validator ast_ari_validate_channel_dtmf_received_fn(void);
00774 
00775 /*!
00776  * \brief Validator for ChannelEnteredBridge.
00777  *
00778  * Notification that a channel has entered a bridge.
00779  *
00780  * \param json JSON object to validate.
00781  * \returns True (non-zero) if valid.
00782  * \returns False (zero) if invalid.
00783  */
00784 int ast_ari_validate_channel_entered_bridge(struct ast_json *json);
00785 
00786 /*!
00787  * \brief Function pointer to ast_ari_validate_channel_entered_bridge().
00788  *
00789  * See \ref ast_ari_model_validators.h for more details.
00790  */
00791 ari_validator ast_ari_validate_channel_entered_bridge_fn(void);
00792 
00793 /*!
00794  * \brief Validator for ChannelHangupRequest.
00795  *
00796  * A hangup was requested on the channel.
00797  *
00798  * \param json JSON object to validate.
00799  * \returns True (non-zero) if valid.
00800  * \returns False (zero) if invalid.
00801  */
00802 int ast_ari_validate_channel_hangup_request(struct ast_json *json);
00803 
00804 /*!
00805  * \brief Function pointer to ast_ari_validate_channel_hangup_request().
00806  *
00807  * See \ref ast_ari_model_validators.h for more details.
00808  */
00809 ari_validator ast_ari_validate_channel_hangup_request_fn(void);
00810 
00811 /*!
00812  * \brief Validator for ChannelHold.
00813  *
00814  * A channel initiated a media hold.
00815  *
00816  * \param json JSON object to validate.
00817  * \returns True (non-zero) if valid.
00818  * \returns False (zero) if invalid.
00819  */
00820 int ast_ari_validate_channel_hold(struct ast_json *json);
00821 
00822 /*!
00823  * \brief Function pointer to ast_ari_validate_channel_hold().
00824  *
00825  * See \ref ast_ari_model_validators.h for more details.
00826  */
00827 ari_validator ast_ari_validate_channel_hold_fn(void);
00828 
00829 /*!
00830  * \brief Validator for ChannelLeftBridge.
00831  *
00832  * Notification that a channel has left a bridge.
00833  *
00834  * \param json JSON object to validate.
00835  * \returns True (non-zero) if valid.
00836  * \returns False (zero) if invalid.
00837  */
00838 int ast_ari_validate_channel_left_bridge(struct ast_json *json);
00839 
00840 /*!
00841  * \brief Function pointer to ast_ari_validate_channel_left_bridge().
00842  *
00843  * See \ref ast_ari_model_validators.h for more details.
00844  */
00845 ari_validator ast_ari_validate_channel_left_bridge_fn(void);
00846 
00847 /*!
00848  * \brief Validator for ChannelStateChange.
00849  *
00850  * Notification of a channel's state change.
00851  *
00852  * \param json JSON object to validate.
00853  * \returns True (non-zero) if valid.
00854  * \returns False (zero) if invalid.
00855  */
00856 int ast_ari_validate_channel_state_change(struct ast_json *json);
00857 
00858 /*!
00859  * \brief Function pointer to ast_ari_validate_channel_state_change().
00860  *
00861  * See \ref ast_ari_model_validators.h for more details.
00862  */
00863 ari_validator ast_ari_validate_channel_state_change_fn(void);
00864 
00865 /*!
00866  * \brief Validator for ChannelTalkingFinished.
00867  *
00868  * Talking is no longer detected on the channel.
00869  *
00870  * \param json JSON object to validate.
00871  * \returns True (non-zero) if valid.
00872  * \returns False (zero) if invalid.
00873  */
00874 int ast_ari_validate_channel_talking_finished(struct ast_json *json);
00875 
00876 /*!
00877  * \brief Function pointer to ast_ari_validate_channel_talking_finished().
00878  *
00879  * See \ref ast_ari_model_validators.h for more details.
00880  */
00881 ari_validator ast_ari_validate_channel_talking_finished_fn(void);
00882 
00883 /*!
00884  * \brief Validator for ChannelTalkingStarted.
00885  *
00886  * Talking was detected on the channel.
00887  *
00888  * \param json JSON object to validate.
00889  * \returns True (non-zero) if valid.
00890  * \returns False (zero) if invalid.
00891  */
00892 int ast_ari_validate_channel_talking_started(struct ast_json *json);
00893 
00894 /*!
00895  * \brief Function pointer to ast_ari_validate_channel_talking_started().
00896  *
00897  * See \ref ast_ari_model_validators.h for more details.
00898  */
00899 ari_validator ast_ari_validate_channel_talking_started_fn(void);
00900 
00901 /*!
00902  * \brief Validator for ChannelUnhold.
00903  *
00904  * A channel initiated a media unhold.
00905  *
00906  * \param json JSON object to validate.
00907  * \returns True (non-zero) if valid.
00908  * \returns False (zero) if invalid.
00909  */
00910 int ast_ari_validate_channel_unhold(struct ast_json *json);
00911 
00912 /*!
00913  * \brief Function pointer to ast_ari_validate_channel_unhold().
00914  *
00915  * See \ref ast_ari_model_validators.h for more details.
00916  */
00917 ari_validator ast_ari_validate_channel_unhold_fn(void);
00918 
00919 /*!
00920  * \brief Validator for ChannelUserevent.
00921  *
00922  * User-generated event with additional user-defined fields in the object.
00923  *
00924  * \param json JSON object to validate.
00925  * \returns True (non-zero) if valid.
00926  * \returns False (zero) if invalid.
00927  */
00928 int ast_ari_validate_channel_userevent(struct ast_json *json);
00929 
00930 /*!
00931  * \brief Function pointer to ast_ari_validate_channel_userevent().
00932  *
00933  * See \ref ast_ari_model_validators.h for more details.
00934  */
00935 ari_validator ast_ari_validate_channel_userevent_fn(void);
00936 
00937 /*!
00938  * \brief Validator for ChannelVarset.
00939  *
00940  * Channel variable changed.
00941  *
00942  * \param json JSON object to validate.
00943  * \returns True (non-zero) if valid.
00944  * \returns False (zero) if invalid.
00945  */
00946 int ast_ari_validate_channel_varset(struct ast_json *json);
00947 
00948 /*!
00949  * \brief Function pointer to ast_ari_validate_channel_varset().
00950  *
00951  * See \ref ast_ari_model_validators.h for more details.
00952  */
00953 ari_validator ast_ari_validate_channel_varset_fn(void);
00954 
00955 /*!
00956  * \brief Validator for DeviceStateChanged.
00957  *
00958  * Notification that a device state has changed.
00959  *
00960  * \param json JSON object to validate.
00961  * \returns True (non-zero) if valid.
00962  * \returns False (zero) if invalid.
00963  */
00964 int ast_ari_validate_device_state_changed(struct ast_json *json);
00965 
00966 /*!
00967  * \brief Function pointer to ast_ari_validate_device_state_changed().
00968  *
00969  * See \ref ast_ari_model_validators.h for more details.
00970  */
00971 ari_validator ast_ari_validate_device_state_changed_fn(void);
00972 
00973 /*!
00974  * \brief Validator for Dial.
00975  *
00976  * Dialing state has changed.
00977  *
00978  * \param json JSON object to validate.
00979  * \returns True (non-zero) if valid.
00980  * \returns False (zero) if invalid.
00981  */
00982 int ast_ari_validate_dial(struct ast_json *json);
00983 
00984 /*!
00985  * \brief Function pointer to ast_ari_validate_dial().
00986  *
00987  * See \ref ast_ari_model_validators.h for more details.
00988  */
00989 ari_validator ast_ari_validate_dial_fn(void);
00990 
00991 /*!
00992  * \brief Validator for EndpointStateChange.
00993  *
00994  * Endpoint state changed.
00995  *
00996  * \param json JSON object to validate.
00997  * \returns True (non-zero) if valid.
00998  * \returns False (zero) if invalid.
00999  */
01000 int ast_ari_validate_endpoint_state_change(struct ast_json *json);
01001 
01002 /*!
01003  * \brief Function pointer to ast_ari_validate_endpoint_state_change().
01004  *
01005  * See \ref ast_ari_model_validators.h for more details.
01006  */
01007 ari_validator ast_ari_validate_endpoint_state_change_fn(void);
01008 
01009 /*!
01010  * \brief Validator for Event.
01011  *
01012  * Base type for asynchronous events from Asterisk.
01013  *
01014  * \param json JSON object to validate.
01015  * \returns True (non-zero) if valid.
01016  * \returns False (zero) if invalid.
01017  */
01018 int ast_ari_validate_event(struct ast_json *json);
01019 
01020 /*!
01021  * \brief Function pointer to ast_ari_validate_event().
01022  *
01023  * See \ref ast_ari_model_validators.h for more details.
01024  */
01025 ari_validator ast_ari_validate_event_fn(void);
01026 
01027 /*!
01028  * \brief Validator for Message.
01029  *
01030  * Base type for errors and events
01031  *
01032  * \param json JSON object to validate.
01033  * \returns True (non-zero) if valid.
01034  * \returns False (zero) if invalid.
01035  */
01036 int ast_ari_validate_message(struct ast_json *json);
01037 
01038 /*!
01039  * \brief Function pointer to ast_ari_validate_message().
01040  *
01041  * See \ref ast_ari_model_validators.h for more details.
01042  */
01043 ari_validator ast_ari_validate_message_fn(void);
01044 
01045 /*!
01046  * \brief Validator for MissingParams.
01047  *
01048  * Error event sent when required params are missing.
01049  *
01050  * \param json JSON object to validate.
01051  * \returns True (non-zero) if valid.
01052  * \returns False (zero) if invalid.
01053  */
01054 int ast_ari_validate_missing_params(struct ast_json *json);
01055 
01056 /*!
01057  * \brief Function pointer to ast_ari_validate_missing_params().
01058  *
01059  * See \ref ast_ari_model_validators.h for more details.
01060  */
01061 ari_validator ast_ari_validate_missing_params_fn(void);
01062 
01063 /*!
01064  * \brief Validator for PlaybackFinished.
01065  *
01066  * Event showing the completion of a media playback operation.
01067  *
01068  * \param json JSON object to validate.
01069  * \returns True (non-zero) if valid.
01070  * \returns False (zero) if invalid.
01071  */
01072 int ast_ari_validate_playback_finished(struct ast_json *json);
01073 
01074 /*!
01075  * \brief Function pointer to ast_ari_validate_playback_finished().
01076  *
01077  * See \ref ast_ari_model_validators.h for more details.
01078  */
01079 ari_validator ast_ari_validate_playback_finished_fn(void);
01080 
01081 /*!
01082  * \brief Validator for PlaybackStarted.
01083  *
01084  * Event showing the start of a media playback operation.
01085  *
01086  * \param json JSON object to validate.
01087  * \returns True (non-zero) if valid.
01088  * \returns False (zero) if invalid.
01089  */
01090 int ast_ari_validate_playback_started(struct ast_json *json);
01091 
01092 /*!
01093  * \brief Function pointer to ast_ari_validate_playback_started().
01094  *
01095  * See \ref ast_ari_model_validators.h for more details.
01096  */
01097 ari_validator ast_ari_validate_playback_started_fn(void);
01098 
01099 /*!
01100  * \brief Validator for RecordingFailed.
01101  *
01102  * Event showing failure of a recording operation.
01103  *
01104  * \param json JSON object to validate.
01105  * \returns True (non-zero) if valid.
01106  * \returns False (zero) if invalid.
01107  */
01108 int ast_ari_validate_recording_failed(struct ast_json *json);
01109 
01110 /*!
01111  * \brief Function pointer to ast_ari_validate_recording_failed().
01112  *
01113  * See \ref ast_ari_model_validators.h for more details.
01114  */
01115 ari_validator ast_ari_validate_recording_failed_fn(void);
01116 
01117 /*!
01118  * \brief Validator for RecordingFinished.
01119  *
01120  * Event showing the completion of a recording operation.
01121  *
01122  * \param json JSON object to validate.
01123  * \returns True (non-zero) if valid.
01124  * \returns False (zero) if invalid.
01125  */
01126 int ast_ari_validate_recording_finished(struct ast_json *json);
01127 
01128 /*!
01129  * \brief Function pointer to ast_ari_validate_recording_finished().
01130  *
01131  * See \ref ast_ari_model_validators.h for more details.
01132  */
01133 ari_validator ast_ari_validate_recording_finished_fn(void);
01134 
01135 /*!
01136  * \brief Validator for RecordingStarted.
01137  *
01138  * Event showing the start of a recording operation.
01139  *
01140  * \param json JSON object to validate.
01141  * \returns True (non-zero) if valid.
01142  * \returns False (zero) if invalid.
01143  */
01144 int ast_ari_validate_recording_started(struct ast_json *json);
01145 
01146 /*!
01147  * \brief Function pointer to ast_ari_validate_recording_started().
01148  *
01149  * See \ref ast_ari_model_validators.h for more details.
01150  */
01151 ari_validator ast_ari_validate_recording_started_fn(void);
01152 
01153 /*!
01154  * \brief Validator for StasisEnd.
01155  *
01156  * Notification that a channel has left a Stasis application.
01157  *
01158  * \param json JSON object to validate.
01159  * \returns True (non-zero) if valid.
01160  * \returns False (zero) if invalid.
01161  */
01162 int ast_ari_validate_stasis_end(struct ast_json *json);
01163 
01164 /*!
01165  * \brief Function pointer to ast_ari_validate_stasis_end().
01166  *
01167  * See \ref ast_ari_model_validators.h for more details.
01168  */
01169 ari_validator ast_ari_validate_stasis_end_fn(void);
01170 
01171 /*!
01172  * \brief Validator for StasisStart.
01173  *
01174  * Notification that a channel has entered a Stasis application.
01175  *
01176  * \param json JSON object to validate.
01177  * \returns True (non-zero) if valid.
01178  * \returns False (zero) if invalid.
01179  */
01180 int ast_ari_validate_stasis_start(struct ast_json *json);
01181 
01182 /*!
01183  * \brief Function pointer to ast_ari_validate_stasis_start().
01184  *
01185  * See \ref ast_ari_model_validators.h for more details.
01186  */
01187 ari_validator ast_ari_validate_stasis_start_fn(void);
01188 
01189 /*!
01190  * \brief Validator for TextMessageReceived.
01191  *
01192  * A text message was received from an endpoint.
01193  *
01194  * \param json JSON object to validate.
01195  * \returns True (non-zero) if valid.
01196  * \returns False (zero) if invalid.
01197  */
01198 int ast_ari_validate_text_message_received(struct ast_json *json);
01199 
01200 /*!
01201  * \brief Function pointer to ast_ari_validate_text_message_received().
01202  *
01203  * See \ref ast_ari_model_validators.h for more details.
01204  */
01205 ari_validator ast_ari_validate_text_message_received_fn(void);
01206 
01207 /*!
01208  * \brief Validator for Application.
01209  *
01210  * Details of a Stasis application
01211  *
01212  * \param json JSON object to validate.
01213  * \returns True (non-zero) if valid.
01214  * \returns False (zero) if invalid.
01215  */
01216 int ast_ari_validate_application(struct ast_json *json);
01217 
01218 /*!
01219  * \brief Function pointer to ast_ari_validate_application().
01220  *
01221  * See \ref ast_ari_model_validators.h for more details.
01222  */
01223 ari_validator ast_ari_validate_application_fn(void);
01224 
01225 /*
01226  * JSON models
01227  *
01228  * AsteriskInfo
01229  * - build: BuildInfo
01230  * - config: ConfigInfo
01231  * - status: StatusInfo
01232  * - system: SystemInfo
01233  * BuildInfo
01234  * - date: string (required)
01235  * - kernel: string (required)
01236  * - machine: string (required)
01237  * - options: string (required)
01238  * - os: string (required)
01239  * - user: string (required)
01240  * ConfigInfo
01241  * - default_language: string (required)
01242  * - max_channels: int
01243  * - max_load: double
01244  * - max_open_files: int
01245  * - name: string (required)
01246  * - setid: SetId (required)
01247  * SetId
01248  * - group: string (required)
01249  * - user: string (required)
01250  * StatusInfo
01251  * - last_reload_time: Date (required)
01252  * - startup_time: Date (required)
01253  * SystemInfo
01254  * - entity_id: string (required)
01255  * - version: string (required)
01256  * Variable
01257  * - value: string (required)
01258  * Endpoint
01259  * - channel_ids: List[string] (required)
01260  * - resource: string (required)
01261  * - state: string
01262  * - technology: string (required)
01263  * TextMessage
01264  * - body: string (required)
01265  * - from: string (required)
01266  * - to: string (required)
01267  * - variables: List[TextMessageVariable]
01268  * TextMessageVariable
01269  * - key: string (required)
01270  * - value: string (required)
01271  * CallerID
01272  * - name: string (required)
01273  * - number: string (required)
01274  * Channel
01275  * - accountcode: string (required)
01276  * - caller: CallerID (required)
01277  * - connected: CallerID (required)
01278  * - creationtime: Date (required)
01279  * - dialplan: DialplanCEP (required)
01280  * - id: string (required)
01281  * - language: string (required)
01282  * - name: string (required)
01283  * - state: string (required)
01284  * Dialed
01285  * DialplanCEP
01286  * - context: string (required)
01287  * - exten: string (required)
01288  * - priority: long (required)
01289  * Bridge
01290  * - bridge_class: string (required)
01291  * - bridge_type: string (required)
01292  * - channels: List[string] (required)
01293  * - creator: string (required)
01294  * - id: string (required)
01295  * - name: string (required)
01296  * - technology: string (required)
01297  * LiveRecording
01298  * - cause: string
01299  * - duration: int
01300  * - format: string (required)
01301  * - name: string (required)
01302  * - silence_duration: int
01303  * - state: string (required)
01304  * - talking_duration: int
01305  * - target_uri: string (required)
01306  * StoredRecording
01307  * - format: string (required)
01308  * - name: string (required)
01309  * FormatLangPair
01310  * - format: string (required)
01311  * - language: string (required)
01312  * Sound
01313  * - formats: List[FormatLangPair] (required)
01314  * - id: string (required)
01315  * - text: string
01316  * Playback
01317  * - id: string (required)
01318  * - language: string
01319  * - media_uri: string (required)
01320  * - state: string (required)
01321  * - target_uri: string (required)
01322  * DeviceState
01323  * - name: string (required)
01324  * - state: string (required)
01325  * Mailbox
01326  * - name: string (required)
01327  * - new_messages: int (required)
01328  * - old_messages: int (required)
01329  * ApplicationReplaced
01330  * - type: string (required)
01331  * - application: string (required)
01332  * - timestamp: Date
01333  * BridgeAttendedTransfer
01334  * - type: string (required)
01335  * - application: string (required)
01336  * - timestamp: Date
01337  * - destination_application: string
01338  * - destination_bridge: string
01339  * - destination_link_first_leg: Channel
01340  * - destination_link_second_leg: Channel
01341  * - destination_threeway_bridge: Bridge
01342  * - destination_threeway_channel: Channel
01343  * - destination_type: string (required)
01344  * - is_external: boolean (required)
01345  * - replace_channel: Channel
01346  * - result: string (required)
01347  * - transfer_target: Channel
01348  * - transferee: Channel
01349  * - transferer_first_leg: Channel (required)
01350  * - transferer_first_leg_bridge: Bridge
01351  * - transferer_second_leg: Channel (required)
01352  * - transferer_second_leg_bridge: Bridge
01353  * BridgeBlindTransfer
01354  * - type: string (required)
01355  * - application: string (required)
01356  * - timestamp: Date
01357  * - bridge: Bridge
01358  * - channel: Channel (required)
01359  * - context: string (required)
01360  * - exten: string (required)
01361  * - is_external: boolean (required)
01362  * - replace_channel: Channel
01363  * - result: string (required)
01364  * - transferee: Channel
01365  * BridgeCreated
01366  * - type: string (required)
01367  * - application: string (required)
01368  * - timestamp: Date
01369  * - bridge: Bridge (required)
01370  * BridgeDestroyed
01371  * - type: string (required)
01372  * - application: string (required)
01373  * - timestamp: Date
01374  * - bridge: Bridge (required)
01375  * BridgeMerged
01376  * - type: string (required)
01377  * - application: string (required)
01378  * - timestamp: Date
01379  * - bridge: Bridge (required)
01380  * - bridge_from: Bridge (required)
01381  * ChannelCallerId
01382  * - type: string (required)
01383  * - application: string (required)
01384  * - timestamp: Date
01385  * - caller_presentation: int (required)
01386  * - caller_presentation_txt: string (required)
01387  * - channel: Channel (required)
01388  * ChannelConnectedLine
01389  * - type: string (required)
01390  * - application: string (required)
01391  * - timestamp: Date
01392  * - channel: Channel (required)
01393  * ChannelCreated
01394  * - type: string (required)
01395  * - application: string (required)
01396  * - timestamp: Date
01397  * - channel: Channel (required)
01398  * ChannelDestroyed
01399  * - type: string (required)
01400  * - application: string (required)
01401  * - timestamp: Date
01402  * - cause: int (required)
01403  * - cause_txt: string (required)
01404  * - channel: Channel (required)
01405  * ChannelDialplan
01406  * - type: string (required)
01407  * - application: string (required)
01408  * - timestamp: Date
01409  * - channel: Channel (required)
01410  * - dialplan_app: string (required)
01411  * - dialplan_app_data: string (required)
01412  * ChannelDtmfReceived
01413  * - type: string (required)
01414  * - application: string (required)
01415  * - timestamp: Date
01416  * - channel: Channel (required)
01417  * - digit: string (required)
01418  * - duration_ms: int (required)
01419  * ChannelEnteredBridge
01420  * - type: string (required)
01421  * - application: string (required)
01422  * - timestamp: Date
01423  * - bridge: Bridge (required)
01424  * - channel: Channel
01425  * ChannelHangupRequest
01426  * - type: string (required)
01427  * - application: string (required)
01428  * - timestamp: Date
01429  * - cause: int
01430  * - channel: Channel (required)
01431  * - soft: boolean
01432  * ChannelHold
01433  * - type: string (required)
01434  * - application: string (required)
01435  * - timestamp: Date
01436  * - channel: Channel (required)
01437  * - musicclass: string
01438  * ChannelLeftBridge
01439  * - type: string (required)
01440  * - application: string (required)
01441  * - timestamp: Date
01442  * - bridge: Bridge (required)
01443  * - channel: Channel (required)
01444  * ChannelStateChange
01445  * - type: string (required)
01446  * - application: string (required)
01447  * - timestamp: Date
01448  * - channel: Channel (required)
01449  * ChannelTalkingFinished
01450  * - type: string (required)
01451  * - application: string (required)
01452  * - timestamp: Date
01453  * - channel: Channel (required)
01454  * - duration: int (required)
01455  * ChannelTalkingStarted
01456  * - type: string (required)
01457  * - application: string (required)
01458  * - timestamp: Date
01459  * - channel: Channel (required)
01460  * ChannelUnhold
01461  * - type: string (required)
01462  * - application: string (required)
01463  * - timestamp: Date
01464  * - channel: Channel (required)
01465  * ChannelUserevent
01466  * - type: string (required)
01467  * - application: string (required)
01468  * - timestamp: Date
01469  * - bridge: Bridge
01470  * - channel: Channel
01471  * - endpoint: Endpoint
01472  * - eventname: string (required)
01473  * - userevent: object (required)
01474  * ChannelVarset
01475  * - type: string (required)
01476  * - application: string (required)
01477  * - timestamp: Date
01478  * - channel: Channel
01479  * - value: string (required)
01480  * - variable: string (required)
01481  * DeviceStateChanged
01482  * - type: string (required)
01483  * - application: string (required)
01484  * - timestamp: Date
01485  * - device_state: DeviceState (required)
01486  * Dial
01487  * - type: string (required)
01488  * - application: string (required)
01489  * - timestamp: Date
01490  * - caller: Channel
01491  * - dialstatus: string (required)
01492  * - dialstring: string
01493  * - forward: string
01494  * - forwarded: Channel
01495  * - peer: Channel (required)
01496  * EndpointStateChange
01497  * - type: string (required)
01498  * - application: string (required)
01499  * - timestamp: Date
01500  * - endpoint: Endpoint (required)
01501  * Event
01502  * - type: string (required)
01503  * - application: string (required)
01504  * - timestamp: Date
01505  * Message
01506  * - type: string (required)
01507  * MissingParams
01508  * - type: string (required)
01509  * - params: List[string] (required)
01510  * PlaybackFinished
01511  * - type: string (required)
01512  * - application: string (required)
01513  * - timestamp: Date
01514  * - playback: Playback (required)
01515  * PlaybackStarted
01516  * - type: string (required)
01517  * - application: string (required)
01518  * - timestamp: Date
01519  * - playback: Playback (required)
01520  * RecordingFailed
01521  * - type: string (required)
01522  * - application: string (required)
01523  * - timestamp: Date
01524  * - recording: LiveRecording (required)
01525  * RecordingFinished
01526  * - type: string (required)
01527  * - application: string (required)
01528  * - timestamp: Date
01529  * - recording: LiveRecording (required)
01530  * RecordingStarted
01531  * - type: string (required)
01532  * - application: string (required)
01533  * - timestamp: Date
01534  * - recording: LiveRecording (required)
01535  * StasisEnd
01536  * - type: string (required)
01537  * - application: string (required)
01538  * - timestamp: Date
01539  * - channel: Channel (required)
01540  * StasisStart
01541  * - type: string (required)
01542  * - application: string (required)
01543  * - timestamp: Date
01544  * - args: List[string] (required)
01545  * - channel: Channel (required)
01546  * - replace_channel: Channel
01547  * TextMessageReceived
01548  * - type: string (required)
01549  * - application: string (required)
01550  * - timestamp: Date
01551  * - endpoint: Endpoint
01552  * - message: TextMessage (required)
01553  * Application
01554  * - bridge_ids: List[string] (required)
01555  * - channel_ids: List[string] (required)
01556  * - device_names: List[string] (required)
01557  * - endpoint_ids: List[string] (required)
01558  * - name: string (required)
01559  */
01560 
01561 #endif /* _ASTERISK_ARI_MODEL_H */

Generated on Thu Apr 16 06:27:14 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6