[Release-17] Upgrade SBI to v17.x.0

This commit is contained in:
Sukchan Lee 2023-03-01 19:56:49 +09:00
parent 969c116e77
commit 4d44b1843e
1687 changed files with 121604 additions and 9310 deletions

View file

@ -13,6 +13,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
char *mcptt_id,
char *mc_video_id,
OpenAPI_list_t* med_components,
OpenAPI_mps_action_e mps_action,
char *mps_id,
char *mcs_id,
OpenAPI_preemption_control_information_rm_t *preempt_control_info,
@ -37,6 +38,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
app_session_context_update_data_local_var->mcptt_id = mcptt_id;
app_session_context_update_data_local_var->mc_video_id = mc_video_id;
app_session_context_update_data_local_var->med_components = med_components;
app_session_context_update_data_local_var->mps_action = mps_action;
app_session_context_update_data_local_var->mps_id = mps_id;
app_session_context_update_data_local_var->mcs_id = mcs_id;
app_session_context_update_data_local_var->preempt_control_info = preempt_control_info;
@ -225,6 +227,13 @@ cJSON *OpenAPI_app_session_context_update_data_convertToJSON(OpenAPI_app_session
}
}
if (app_session_context_update_data->mps_action != OpenAPI_mps_action_NULL) {
if (cJSON_AddStringToObject(item, "mpsAction", OpenAPI_mps_action_ToString(app_session_context_update_data->mps_action)) == NULL) {
ogs_error("OpenAPI_app_session_context_update_data_convertToJSON() failed [mps_action]");
goto end;
}
}
if (app_session_context_update_data->mps_id) {
if (cJSON_AddStringToObject(item, "mpsId", app_session_context_update_data->mps_id) == NULL) {
ogs_error("OpenAPI_app_session_context_update_data_convertToJSON() failed [mps_id]");
@ -348,6 +357,8 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
cJSON *mc_video_id = NULL;
cJSON *med_components = NULL;
OpenAPI_list_t *med_componentsList = NULL;
cJSON *mps_action = NULL;
OpenAPI_mps_action_e mps_actionVariable = 0;
cJSON *mps_id = NULL;
cJSON *mcs_id = NULL;
cJSON *preempt_control_info = NULL;
@ -443,6 +454,15 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
}
}
mps_action = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mpsAction");
if (mps_action) {
if (!cJSON_IsString(mps_action)) {
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mps_action]");
goto end;
}
mps_actionVariable = OpenAPI_mps_action_FromString(mps_action->valuestring);
}
mps_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mpsId");
if (mps_id) {
if (!cJSON_IsString(mps_id) && !cJSON_IsNull(mps_id)) {
@ -552,6 +572,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
mcptt_id && !cJSON_IsNull(mcptt_id) ? ogs_strdup(mcptt_id->valuestring) : NULL,
mc_video_id && !cJSON_IsNull(mc_video_id) ? ogs_strdup(mc_video_id->valuestring) : NULL,
med_components ? med_componentsList : NULL,
mps_action ? mps_actionVariable : 0,
mps_id && !cJSON_IsNull(mps_id) ? ogs_strdup(mps_id->valuestring) : NULL,
mcs_id && !cJSON_IsNull(mcs_id) ? ogs_strdup(mcs_id->valuestring) : NULL,
preempt_control_info ? preempt_control_info_local_nonprim : NULL,