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

#include <resource_asterisk.h>

Collaboration diagram for ast_ari_asterisk_update_object_args:
Collaboration graph
[legend]

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

◆ config_class

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().

◆ fields

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().

◆ id

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(), ast_ari_asterisk_update_object_cb(), and Model::load().

◆ object_type

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: