Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_ari_asterisk_update_object_args Struct Reference

#include <resource_asterisk.h>

Data Fields

const char * config_class
 
struct ast_jsonfields
 
const char * id
 
const char * object_type
 

Detailed Description

Argument struct for ast_ari_asterisk_update_object()

Definition at line 60 of file resource_asterisk.h.

Field Documentation

const char* config_class

The configuration class containing dynamic configuration objects.

Definition at line 62 of file resource_asterisk.h.

Referenced by ast_ari_asterisk_update_object(), and ast_ari_asterisk_update_object_cb().

struct ast_json* fields

The body object should have a value that is a list of ConfigTuples, which provide the fields to update. Ex. [ { "attribute": "directmedia", "value": "false" } ]

Definition at line 68 of file resource_asterisk.h.

Referenced by ast_ari_asterisk_update_object(), and ast_ari_asterisk_update_object_cb().

const char* id

The unique identifier of the object to create or update.

Definition at line 66 of file resource_asterisk.h.

Referenced by ast_ari_asterisk_update_object(), and ast_ari_asterisk_update_object_cb().

const char* object_type

The type of configuration object to create or update.

Definition at line 64 of file resource_asterisk.h.

Referenced by ast_ari_asterisk_update_object(), and ast_ari_asterisk_update_object_cb().


The documentation for this struct was generated from the following file: