SBI updated

- openapi-generator version 5.2.0
- add priority/capacity/load in NFProfile/NFService
- add AllowedNfTypes in NFProfile/NFService
This commit is contained in:
Sukchan Lee 2021-07-16 17:02:33 +09:00
parent 1326fc85dc
commit 039b9d0aaa
930 changed files with 7387 additions and 5434 deletions

View file

@ -6,9 +6,11 @@
OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
char *supi,
bool is_unauthenticated_supi,
int unauthenticated_supi,
char *pei,
char *gpsi,
bool is_pdu_session_id,
int pdu_session_id,
char *dnn,
char *selected_dnn,
@ -36,6 +38,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
OpenAPI_list_t *additional_hsmf_id,
OpenAPI_list_t *additional_smf_uri,
OpenAPI_list_t *additional_smf_id,
bool is_old_pdu_session_id,
int old_pdu_session_id,
OpenAPI_list_t *pdu_sessions_activate_list,
char *ue_eps_pdn_connection,
@ -51,14 +54,21 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
char *udm_group_id,
char *routing_indicator,
OpenAPI_eps_interworking_indication_e eps_interworking_ind,
bool is_indirect_forwarding_flag,
int indirect_forwarding_flag,
bool is_direct_forwarding_flag,
int direct_forwarding_flag,
OpenAPI_ng_ran_target_id_t *target_id,
char *eps_bearer_ctx_status,
bool is_cp_ciot_enabled,
int cp_ciot_enabled,
bool is_cp_only_ind,
int cp_only_ind,
bool is_invoke_nef,
int invoke_nef,
bool is_ma_request_ind,
int ma_request_ind,
bool is_ma_nw_upgrade_ind,
int ma_nw_upgrade_ind,
OpenAPI_ref_to_binary_data_t *n2_sm_info,
OpenAPI_n2_sm_info_type_e n2_sm_info_type,
@ -72,15 +82,19 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
OpenAPI_up_cnx_state_e up_cnx_state,
OpenAPI_small_data_rate_status_t *small_data_rate_status,
OpenAPI_apn_rate_status_t *apn_rate_status,
bool is_extended_nas_sm_timer_ind,
int extended_nas_sm_timer_ind,
bool is_dl_data_waiting_ind,
int dl_data_waiting_ind,
OpenAPI_ddn_failure_subs_t *ddn_failure_subs,
bool is_smf_transfer_ind,
int smf_transfer_ind,
char *old_smf_id,
char *old_sm_context_ref,
OpenAPI_w_agf_info_t *w_agf_info,
OpenAPI_tngf_info_t *tngf_info,
OpenAPI_twif_info_t *twif_info,
bool is_ran_unchanged_ind,
int ran_unchanged_ind
)
{
@ -89,9 +103,11 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
return NULL;
}
sm_context_create_data_local_var->supi = supi;
sm_context_create_data_local_var->is_unauthenticated_supi = is_unauthenticated_supi;
sm_context_create_data_local_var->unauthenticated_supi = unauthenticated_supi;
sm_context_create_data_local_var->pei = pei;
sm_context_create_data_local_var->gpsi = gpsi;
sm_context_create_data_local_var->is_pdu_session_id = is_pdu_session_id;
sm_context_create_data_local_var->pdu_session_id = pdu_session_id;
sm_context_create_data_local_var->dnn = dnn;
sm_context_create_data_local_var->selected_dnn = selected_dnn;
@ -119,6 +135,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
sm_context_create_data_local_var->additional_hsmf_id = additional_hsmf_id;
sm_context_create_data_local_var->additional_smf_uri = additional_smf_uri;
sm_context_create_data_local_var->additional_smf_id = additional_smf_id;
sm_context_create_data_local_var->is_old_pdu_session_id = is_old_pdu_session_id;
sm_context_create_data_local_var->old_pdu_session_id = old_pdu_session_id;
sm_context_create_data_local_var->pdu_sessions_activate_list = pdu_sessions_activate_list;
sm_context_create_data_local_var->ue_eps_pdn_connection = ue_eps_pdn_connection;
@ -134,14 +151,21 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
sm_context_create_data_local_var->udm_group_id = udm_group_id;
sm_context_create_data_local_var->routing_indicator = routing_indicator;
sm_context_create_data_local_var->eps_interworking_ind = eps_interworking_ind;
sm_context_create_data_local_var->is_indirect_forwarding_flag = is_indirect_forwarding_flag;
sm_context_create_data_local_var->indirect_forwarding_flag = indirect_forwarding_flag;
sm_context_create_data_local_var->is_direct_forwarding_flag = is_direct_forwarding_flag;
sm_context_create_data_local_var->direct_forwarding_flag = direct_forwarding_flag;
sm_context_create_data_local_var->target_id = target_id;
sm_context_create_data_local_var->eps_bearer_ctx_status = eps_bearer_ctx_status;
sm_context_create_data_local_var->is_cp_ciot_enabled = is_cp_ciot_enabled;
sm_context_create_data_local_var->cp_ciot_enabled = cp_ciot_enabled;
sm_context_create_data_local_var->is_cp_only_ind = is_cp_only_ind;
sm_context_create_data_local_var->cp_only_ind = cp_only_ind;
sm_context_create_data_local_var->is_invoke_nef = is_invoke_nef;
sm_context_create_data_local_var->invoke_nef = invoke_nef;
sm_context_create_data_local_var->is_ma_request_ind = is_ma_request_ind;
sm_context_create_data_local_var->ma_request_ind = ma_request_ind;
sm_context_create_data_local_var->is_ma_nw_upgrade_ind = is_ma_nw_upgrade_ind;
sm_context_create_data_local_var->ma_nw_upgrade_ind = ma_nw_upgrade_ind;
sm_context_create_data_local_var->n2_sm_info = n2_sm_info;
sm_context_create_data_local_var->n2_sm_info_type = n2_sm_info_type;
@ -155,15 +179,19 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_create(
sm_context_create_data_local_var->up_cnx_state = up_cnx_state;
sm_context_create_data_local_var->small_data_rate_status = small_data_rate_status;
sm_context_create_data_local_var->apn_rate_status = apn_rate_status;
sm_context_create_data_local_var->is_extended_nas_sm_timer_ind = is_extended_nas_sm_timer_ind;
sm_context_create_data_local_var->extended_nas_sm_timer_ind = extended_nas_sm_timer_ind;
sm_context_create_data_local_var->is_dl_data_waiting_ind = is_dl_data_waiting_ind;
sm_context_create_data_local_var->dl_data_waiting_ind = dl_data_waiting_ind;
sm_context_create_data_local_var->ddn_failure_subs = ddn_failure_subs;
sm_context_create_data_local_var->is_smf_transfer_ind = is_smf_transfer_ind;
sm_context_create_data_local_var->smf_transfer_ind = smf_transfer_ind;
sm_context_create_data_local_var->old_smf_id = old_smf_id;
sm_context_create_data_local_var->old_sm_context_ref = old_sm_context_ref;
sm_context_create_data_local_var->w_agf_info = w_agf_info;
sm_context_create_data_local_var->tngf_info = tngf_info;
sm_context_create_data_local_var->twif_info = twif_info;
sm_context_create_data_local_var->is_ran_unchanged_ind = is_ran_unchanged_ind;
sm_context_create_data_local_var->ran_unchanged_ind = ran_unchanged_ind;
return sm_context_create_data_local_var;
@ -264,7 +292,7 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->unauthenticated_supi) {
if (sm_context_create_data->is_unauthenticated_supi) {
if (cJSON_AddBoolToObject(item, "unauthenticatedSupi", sm_context_create_data->unauthenticated_supi) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [unauthenticated_supi]");
goto end;
@ -285,7 +313,7 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->pdu_session_id) {
if (sm_context_create_data->is_pdu_session_id) {
if (cJSON_AddNumberToObject(item, "pduSessionId", sm_context_create_data->pdu_session_id) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [pdu_session_id]");
goto end;
@ -544,7 +572,7 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->old_pdu_session_id) {
if (sm_context_create_data->is_old_pdu_session_id) {
if (cJSON_AddNumberToObject(item, "oldPduSessionId", sm_context_create_data->old_pdu_session_id) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [old_pdu_session_id]");
goto end;
@ -677,14 +705,14 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->indirect_forwarding_flag) {
if (sm_context_create_data->is_indirect_forwarding_flag) {
if (cJSON_AddBoolToObject(item, "indirectForwardingFlag", sm_context_create_data->indirect_forwarding_flag) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [indirect_forwarding_flag]");
goto end;
}
}
if (sm_context_create_data->direct_forwarding_flag) {
if (sm_context_create_data->is_direct_forwarding_flag) {
if (cJSON_AddBoolToObject(item, "directForwardingFlag", sm_context_create_data->direct_forwarding_flag) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [direct_forwarding_flag]");
goto end;
@ -711,35 +739,35 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->cp_ciot_enabled) {
if (sm_context_create_data->is_cp_ciot_enabled) {
if (cJSON_AddBoolToObject(item, "cpCiotEnabled", sm_context_create_data->cp_ciot_enabled) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [cp_ciot_enabled]");
goto end;
}
}
if (sm_context_create_data->cp_only_ind) {
if (sm_context_create_data->is_cp_only_ind) {
if (cJSON_AddBoolToObject(item, "cpOnlyInd", sm_context_create_data->cp_only_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [cp_only_ind]");
goto end;
}
}
if (sm_context_create_data->invoke_nef) {
if (sm_context_create_data->is_invoke_nef) {
if (cJSON_AddBoolToObject(item, "invokeNef", sm_context_create_data->invoke_nef) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [invoke_nef]");
goto end;
}
}
if (sm_context_create_data->ma_request_ind) {
if (sm_context_create_data->is_ma_request_ind) {
if (cJSON_AddBoolToObject(item, "maRequestInd", sm_context_create_data->ma_request_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [ma_request_ind]");
goto end;
}
}
if (sm_context_create_data->ma_nw_upgrade_ind) {
if (sm_context_create_data->is_ma_nw_upgrade_ind) {
if (cJSON_AddBoolToObject(item, "maNwUpgradeInd", sm_context_create_data->ma_nw_upgrade_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [ma_nw_upgrade_ind]");
goto end;
@ -854,14 +882,14 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->extended_nas_sm_timer_ind) {
if (sm_context_create_data->is_extended_nas_sm_timer_ind) {
if (cJSON_AddBoolToObject(item, "extendedNasSmTimerInd", sm_context_create_data->extended_nas_sm_timer_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [extended_nas_sm_timer_ind]");
goto end;
}
}
if (sm_context_create_data->dl_data_waiting_ind) {
if (sm_context_create_data->is_dl_data_waiting_ind) {
if (cJSON_AddBoolToObject(item, "dlDataWaitingInd", sm_context_create_data->dl_data_waiting_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [dl_data_waiting_ind]");
goto end;
@ -881,7 +909,7 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->smf_transfer_ind) {
if (sm_context_create_data->is_smf_transfer_ind) {
if (cJSON_AddBoolToObject(item, "smfTransferInd", sm_context_create_data->smf_transfer_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [smf_transfer_ind]");
goto end;
@ -941,7 +969,7 @@ cJSON *OpenAPI_sm_context_create_data_convertToJSON(OpenAPI_sm_context_create_da
}
}
if (sm_context_create_data->ran_unchanged_ind) {
if (sm_context_create_data->is_ran_unchanged_ind) {
if (cJSON_AddBoolToObject(item, "ranUnchangedInd", sm_context_create_data->ran_unchanged_ind) == NULL) {
ogs_error("OpenAPI_sm_context_create_data_convertToJSON() failed [ran_unchanged_ind]");
goto end;
@ -957,7 +985,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
OpenAPI_sm_context_create_data_t *sm_context_create_data_local_var = NULL;
cJSON *supi = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "supi");
if (supi) {
if (supi) {
if (!cJSON_IsString(supi)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [supi]");
goto end;
@ -966,7 +994,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *unauthenticated_supi = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "unauthenticatedSupi");
if (unauthenticated_supi) {
if (unauthenticated_supi) {
if (!cJSON_IsBool(unauthenticated_supi)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [unauthenticated_supi]");
goto end;
@ -975,7 +1003,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *pei = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pei");
if (pei) {
if (pei) {
if (!cJSON_IsString(pei)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pei]");
goto end;
@ -984,7 +1012,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "gpsi");
if (gpsi) {
if (gpsi) {
if (!cJSON_IsString(gpsi)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [gpsi]");
goto end;
@ -993,7 +1021,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pduSessionId");
if (pdu_session_id) {
if (pdu_session_id) {
if (!cJSON_IsNumber(pdu_session_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pdu_session_id]");
goto end;
@ -1002,7 +1030,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *dnn = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "dnn");
if (dnn) {
if (dnn) {
if (!cJSON_IsString(dnn)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [dnn]");
goto end;
@ -1011,7 +1039,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *selected_dnn = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "selectedDnn");
if (selected_dnn) {
if (selected_dnn) {
if (!cJSON_IsString(selected_dnn)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [selected_dnn]");
goto end;
@ -1021,14 +1049,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "sNssai");
OpenAPI_snssai_t *s_nssai_local_nonprim = NULL;
if (s_nssai) {
if (s_nssai) {
s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai);
}
cJSON *hplmn_snssai = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hplmnSnssai");
OpenAPI_snssai_t *hplmn_snssai_local_nonprim = NULL;
if (hplmn_snssai) {
if (hplmn_snssai) {
hplmn_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(hplmn_snssai);
}
@ -1038,7 +1066,6 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
if (!cJSON_IsString(serving_nf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [serving_nf_id]");
goto end;
@ -1047,13 +1074,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *guami = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "guami");
OpenAPI_guami_t *guami_local_nonprim = NULL;
if (guami) {
if (guami) {
guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami);
}
cJSON *service_name = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "serviceName");
if (service_name) {
if (service_name) {
if (!cJSON_IsString(service_name)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [service_name]");
goto end;
@ -1067,13 +1094,12 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
}
OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL;
serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network);
cJSON *request_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "requestType");
OpenAPI_request_type_e request_typeVariable;
if (request_type) {
if (request_type) {
if (!cJSON_IsString(request_type)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [request_type]");
goto end;
@ -1084,7 +1110,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *n1_sm_msg = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n1SmMsg");
OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL;
if (n1_sm_msg) {
if (n1_sm_msg) {
n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg);
}
@ -1095,7 +1121,6 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
}
OpenAPI_access_type_e an_typeVariable;
if (!cJSON_IsString(an_type)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [an_type]");
goto end;
@ -1105,7 +1130,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *additional_an_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalAnType");
OpenAPI_access_type_e additional_an_typeVariable;
if (additional_an_type) {
if (additional_an_type) {
if (!cJSON_IsString(additional_an_type)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [additional_an_type]");
goto end;
@ -1116,7 +1141,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ratType");
OpenAPI_rat_type_e rat_typeVariable;
if (rat_type) {
if (rat_type) {
if (!cJSON_IsString(rat_type)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [rat_type]");
goto end;
@ -1127,7 +1152,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *presence_in_ladn = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "presenceInLadn");
OpenAPI_presence_state_e presence_in_ladnVariable;
if (presence_in_ladn) {
if (presence_in_ladn) {
if (!cJSON_IsString(presence_in_ladn)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [presence_in_ladn]");
goto end;
@ -1138,13 +1163,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ueLocation");
OpenAPI_user_location_t *ue_location_local_nonprim = NULL;
if (ue_location) {
if (ue_location) {
ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location);
}
cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ueTimeZone");
if (ue_time_zone) {
if (ue_time_zone) {
if (!cJSON_IsString(ue_time_zone)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ue_time_zone]");
goto end;
@ -1154,7 +1179,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "addUeLocation");
OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL;
if (add_ue_location) {
if (add_ue_location) {
add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location);
}
@ -1164,7 +1189,6 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
if (!cJSON_IsString(sm_context_status_uri)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_status_uri]");
goto end;
@ -1172,7 +1196,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *h_smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hSmfUri");
if (h_smf_uri) {
if (h_smf_uri) {
if (!cJSON_IsString(h_smf_uri)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [h_smf_uri]");
goto end;
@ -1181,7 +1205,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *h_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hSmfId");
if (h_smf_id) {
if (h_smf_id) {
if (!cJSON_IsString(h_smf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [h_smf_id]");
goto end;
@ -1190,7 +1214,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smfUri");
if (smf_uri) {
if (smf_uri) {
if (!cJSON_IsString(smf_uri)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [smf_uri]");
goto end;
@ -1199,7 +1223,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smfId");
if (smf_id) {
if (smf_id) {
if (!cJSON_IsString(smf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [smf_id]");
goto end;
@ -1209,7 +1233,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *additional_hsmf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalHsmfUri");
OpenAPI_list_t *additional_hsmf_uriList;
if (additional_hsmf_uri) {
if (additional_hsmf_uri) {
cJSON *additional_hsmf_uri_local;
if (!cJSON_IsArray(additional_hsmf_uri)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [additional_hsmf_uri]");
@ -1223,13 +1247,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
OpenAPI_list_add(additional_hsmf_uriList , ogs_strdup_or_assert(additional_hsmf_uri_local->valuestring));
}
}
}
cJSON *additional_hsmf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalHsmfId");
OpenAPI_list_t *additional_hsmf_idList;
if (additional_hsmf_id) {
if (additional_hsmf_id) {
cJSON *additional_hsmf_id_local;
if (!cJSON_IsArray(additional_hsmf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [additional_hsmf_id]");
@ -1243,13 +1267,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
OpenAPI_list_add(additional_hsmf_idList , ogs_strdup_or_assert(additional_hsmf_id_local->valuestring));
}
}
}
cJSON *additional_smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalSmfUri");
OpenAPI_list_t *additional_smf_uriList;
if (additional_smf_uri) {
if (additional_smf_uri) {
cJSON *additional_smf_uri_local;
if (!cJSON_IsArray(additional_smf_uri)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [additional_smf_uri]");
@ -1263,13 +1287,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
OpenAPI_list_add(additional_smf_uriList , ogs_strdup_or_assert(additional_smf_uri_local->valuestring));
}
}
}
cJSON *additional_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalSmfId");
OpenAPI_list_t *additional_smf_idList;
if (additional_smf_id) {
if (additional_smf_id) {
cJSON *additional_smf_id_local;
if (!cJSON_IsArray(additional_smf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [additional_smf_id]");
@ -1283,12 +1307,12 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
OpenAPI_list_add(additional_smf_idList , ogs_strdup_or_assert(additional_smf_id_local->valuestring));
}
}
}
cJSON *old_pdu_session_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "oldPduSessionId");
if (old_pdu_session_id) {
if (old_pdu_session_id) {
if (!cJSON_IsNumber(old_pdu_session_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [old_pdu_session_id]");
goto end;
@ -1298,7 +1322,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *pdu_sessions_activate_list = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pduSessionsActivateList");
OpenAPI_list_t *pdu_sessions_activate_listList;
if (pdu_sessions_activate_list) {
if (pdu_sessions_activate_list) {
cJSON *pdu_sessions_activate_list_local;
if (!cJSON_IsArray(pdu_sessions_activate_list)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pdu_sessions_activate_list]");
@ -1312,12 +1336,12 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
goto end;
}
OpenAPI_list_add(pdu_sessions_activate_listList , &pdu_sessions_activate_list_local->valuedouble);
}
}
}
cJSON *ue_eps_pdn_connection = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ueEpsPdnConnection");
if (ue_eps_pdn_connection) {
if (ue_eps_pdn_connection) {
if (!cJSON_IsString(ue_eps_pdn_connection)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ue_eps_pdn_connection]");
goto end;
@ -1327,7 +1351,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *ho_state = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hoState");
OpenAPI_ho_state_e ho_stateVariable;
if (ho_state) {
if (ho_state) {
if (!cJSON_IsString(ho_state)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ho_state]");
goto end;
@ -1337,7 +1361,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pcfId");
if (pcf_id) {
if (pcf_id) {
if (!cJSON_IsString(pcf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pcf_id]");
goto end;
@ -1346,7 +1370,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *pcf_group_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pcfGroupId");
if (pcf_group_id) {
if (pcf_group_id) {
if (!cJSON_IsString(pcf_group_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pcf_group_id]");
goto end;
@ -1355,7 +1379,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *pcf_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pcfSetId");
if (pcf_set_id) {
if (pcf_set_id) {
if (!cJSON_IsString(pcf_set_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pcf_set_id]");
goto end;
@ -1364,7 +1388,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *nrf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "nrfUri");
if (nrf_uri) {
if (nrf_uri) {
if (!cJSON_IsString(nrf_uri)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [nrf_uri]");
goto end;
@ -1373,7 +1397,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "supportedFeatures");
if (supported_features) {
if (supported_features) {
if (!cJSON_IsString(supported_features)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [supported_features]");
goto end;
@ -1383,7 +1407,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *sel_mode = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "selMode");
OpenAPI_dnn_selection_mode_e sel_modeVariable;
if (sel_mode) {
if (sel_mode) {
if (!cJSON_IsString(sel_mode)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sel_mode]");
goto end;
@ -1394,7 +1418,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "backupAmfInfo");
OpenAPI_list_t *backup_amf_infoList;
if (backup_amf_info) {
if (backup_amf_info) {
cJSON *backup_amf_info_local_nonprimitive;
if (!cJSON_IsArray(backup_amf_info)){
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [backup_amf_info]");
@ -1417,13 +1441,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "traceData");
OpenAPI_trace_data_t *trace_data_local_nonprim = NULL;
if (trace_data) {
if (trace_data) {
trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data);
}
cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "udmGroupId");
if (udm_group_id) {
if (udm_group_id) {
if (!cJSON_IsString(udm_group_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [udm_group_id]");
goto end;
@ -1432,7 +1456,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "routingIndicator");
if (routing_indicator) {
if (routing_indicator) {
if (!cJSON_IsString(routing_indicator)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [routing_indicator]");
goto end;
@ -1442,7 +1466,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *eps_interworking_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "epsInterworkingInd");
OpenAPI_eps_interworking_indication_e eps_interworking_indVariable;
if (eps_interworking_ind) {
if (eps_interworking_ind) {
if (!cJSON_IsString(eps_interworking_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [eps_interworking_ind]");
goto end;
@ -1452,7 +1476,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *indirect_forwarding_flag = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "indirectForwardingFlag");
if (indirect_forwarding_flag) {
if (indirect_forwarding_flag) {
if (!cJSON_IsBool(indirect_forwarding_flag)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [indirect_forwarding_flag]");
goto end;
@ -1461,7 +1485,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *direct_forwarding_flag = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "directForwardingFlag");
if (direct_forwarding_flag) {
if (direct_forwarding_flag) {
if (!cJSON_IsBool(direct_forwarding_flag)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [direct_forwarding_flag]");
goto end;
@ -1471,13 +1495,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *target_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "targetId");
OpenAPI_ng_ran_target_id_t *target_id_local_nonprim = NULL;
if (target_id) {
if (target_id) {
target_id_local_nonprim = OpenAPI_ng_ran_target_id_parseFromJSON(target_id);
}
cJSON *eps_bearer_ctx_status = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "epsBearerCtxStatus");
if (eps_bearer_ctx_status) {
if (eps_bearer_ctx_status) {
if (!cJSON_IsString(eps_bearer_ctx_status)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [eps_bearer_ctx_status]");
goto end;
@ -1486,7 +1510,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *cp_ciot_enabled = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "cpCiotEnabled");
if (cp_ciot_enabled) {
if (cp_ciot_enabled) {
if (!cJSON_IsBool(cp_ciot_enabled)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [cp_ciot_enabled]");
goto end;
@ -1495,7 +1519,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *cp_only_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "cpOnlyInd");
if (cp_only_ind) {
if (cp_only_ind) {
if (!cJSON_IsBool(cp_only_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [cp_only_ind]");
goto end;
@ -1504,7 +1528,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *invoke_nef = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "invokeNef");
if (invoke_nef) {
if (invoke_nef) {
if (!cJSON_IsBool(invoke_nef)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [invoke_nef]");
goto end;
@ -1513,7 +1537,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *ma_request_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "maRequestInd");
if (ma_request_ind) {
if (ma_request_ind) {
if (!cJSON_IsBool(ma_request_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ma_request_ind]");
goto end;
@ -1522,7 +1546,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *ma_nw_upgrade_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "maNwUpgradeInd");
if (ma_nw_upgrade_ind) {
if (ma_nw_upgrade_ind) {
if (!cJSON_IsBool(ma_nw_upgrade_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ma_nw_upgrade_ind]");
goto end;
@ -1532,14 +1556,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfo");
OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL;
if (n2_sm_info) {
if (n2_sm_info) {
n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info);
}
cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfoType");
OpenAPI_n2_sm_info_type_e n2_sm_info_typeVariable;
if (n2_sm_info_type) {
if (n2_sm_info_type) {
if (!cJSON_IsString(n2_sm_info_type)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [n2_sm_info_type]");
goto end;
@ -1550,14 +1574,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *n2_sm_info_ext1 = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfoExt1");
OpenAPI_ref_to_binary_data_t *n2_sm_info_ext1_local_nonprim = NULL;
if (n2_sm_info_ext1) {
if (n2_sm_info_ext1) {
n2_sm_info_ext1_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info_ext1);
}
cJSON *n2_sm_info_type_ext1 = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfoTypeExt1");
OpenAPI_n2_sm_info_type_e n2_sm_info_type_ext1Variable;
if (n2_sm_info_type_ext1) {
if (n2_sm_info_type_ext1) {
if (!cJSON_IsString(n2_sm_info_type_ext1)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [n2_sm_info_type_ext1]");
goto end;
@ -1567,7 +1591,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *sm_context_ref = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextRef");
if (sm_context_ref) {
if (sm_context_ref) {
if (!cJSON_IsString(sm_context_ref)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_ref]");
goto end;
@ -1576,7 +1600,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *sm_context_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfId");
if (sm_context_smf_id) {
if (sm_context_smf_id) {
if (!cJSON_IsString(sm_context_smf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_id]");
goto end;
@ -1585,7 +1609,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *sm_context_smf_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfSetId");
if (sm_context_smf_set_id) {
if (sm_context_smf_set_id) {
if (!cJSON_IsString(sm_context_smf_set_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_set_id]");
goto end;
@ -1594,7 +1618,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *sm_context_smf_service_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfServiceSetId");
if (sm_context_smf_service_set_id) {
if (sm_context_smf_service_set_id) {
if (!cJSON_IsString(sm_context_smf_service_set_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_service_set_id]");
goto end;
@ -1604,7 +1628,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *sm_context_smf_binding = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfBinding");
OpenAPI_sbi_binding_level_e sm_context_smf_bindingVariable;
if (sm_context_smf_binding) {
if (sm_context_smf_binding) {
if (!cJSON_IsString(sm_context_smf_binding)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_binding]");
goto end;
@ -1615,7 +1639,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *up_cnx_state = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "upCnxState");
OpenAPI_up_cnx_state_e up_cnx_stateVariable;
if (up_cnx_state) {
if (up_cnx_state) {
if (!cJSON_IsString(up_cnx_state)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [up_cnx_state]");
goto end;
@ -1626,20 +1650,20 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *small_data_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smallDataRateStatus");
OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL;
if (small_data_rate_status) {
if (small_data_rate_status) {
small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status);
}
cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "apnRateStatus");
OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL;
if (apn_rate_status) {
if (apn_rate_status) {
apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status);
}
cJSON *extended_nas_sm_timer_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "extendedNasSmTimerInd");
if (extended_nas_sm_timer_ind) {
if (extended_nas_sm_timer_ind) {
if (!cJSON_IsBool(extended_nas_sm_timer_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [extended_nas_sm_timer_ind]");
goto end;
@ -1648,7 +1672,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *dl_data_waiting_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "dlDataWaitingInd");
if (dl_data_waiting_ind) {
if (dl_data_waiting_ind) {
if (!cJSON_IsBool(dl_data_waiting_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [dl_data_waiting_ind]");
goto end;
@ -1658,13 +1682,13 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *ddn_failure_subs = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ddnFailureSubs");
OpenAPI_ddn_failure_subs_t *ddn_failure_subs_local_nonprim = NULL;
if (ddn_failure_subs) {
if (ddn_failure_subs) {
ddn_failure_subs_local_nonprim = OpenAPI_ddn_failure_subs_parseFromJSON(ddn_failure_subs);
}
cJSON *smf_transfer_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smfTransferInd");
if (smf_transfer_ind) {
if (smf_transfer_ind) {
if (!cJSON_IsBool(smf_transfer_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [smf_transfer_ind]");
goto end;
@ -1673,7 +1697,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *old_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "oldSmfId");
if (old_smf_id) {
if (old_smf_id) {
if (!cJSON_IsString(old_smf_id)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [old_smf_id]");
goto end;
@ -1682,7 +1706,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *old_sm_context_ref = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "oldSmContextRef");
if (old_sm_context_ref) {
if (old_sm_context_ref) {
if (!cJSON_IsString(old_sm_context_ref)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [old_sm_context_ref]");
goto end;
@ -1692,27 +1716,27 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
cJSON *w_agf_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "wAgfInfo");
OpenAPI_w_agf_info_t *w_agf_info_local_nonprim = NULL;
if (w_agf_info) {
if (w_agf_info) {
w_agf_info_local_nonprim = OpenAPI_w_agf_info_parseFromJSON(w_agf_info);
}
cJSON *tngf_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "tngfInfo");
OpenAPI_tngf_info_t *tngf_info_local_nonprim = NULL;
if (tngf_info) {
if (tngf_info) {
tngf_info_local_nonprim = OpenAPI_tngf_info_parseFromJSON(tngf_info);
}
cJSON *twif_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "twifInfo");
OpenAPI_twif_info_t *twif_info_local_nonprim = NULL;
if (twif_info) {
if (twif_info) {
twif_info_local_nonprim = OpenAPI_twif_info_parseFromJSON(twif_info);
}
cJSON *ran_unchanged_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ranUnchangedInd");
if (ran_unchanged_ind) {
if (ran_unchanged_ind) {
if (!cJSON_IsBool(ran_unchanged_ind)) {
ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ran_unchanged_ind]");
goto end;
@ -1721,9 +1745,11 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
sm_context_create_data_local_var = OpenAPI_sm_context_create_data_create (
supi ? ogs_strdup_or_assert(supi->valuestring) : NULL,
unauthenticated_supi ? true : false,
unauthenticated_supi ? unauthenticated_supi->valueint : 0,
pei ? ogs_strdup_or_assert(pei->valuestring) : NULL,
gpsi ? ogs_strdup_or_assert(gpsi->valuestring) : NULL,
pdu_session_id ? true : false,
pdu_session_id ? pdu_session_id->valuedouble : 0,
dnn ? ogs_strdup_or_assert(dnn->valuestring) : NULL,
selected_dnn ? ogs_strdup_or_assert(selected_dnn->valuestring) : NULL,
@ -1751,6 +1777,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
additional_hsmf_id ? additional_hsmf_idList : NULL,
additional_smf_uri ? additional_smf_uriList : NULL,
additional_smf_id ? additional_smf_idList : NULL,
old_pdu_session_id ? true : false,
old_pdu_session_id ? old_pdu_session_id->valuedouble : 0,
pdu_sessions_activate_list ? pdu_sessions_activate_listList : NULL,
ue_eps_pdn_connection ? ogs_strdup_or_assert(ue_eps_pdn_connection->valuestring) : NULL,
@ -1766,14 +1793,21 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
udm_group_id ? ogs_strdup_or_assert(udm_group_id->valuestring) : NULL,
routing_indicator ? ogs_strdup_or_assert(routing_indicator->valuestring) : NULL,
eps_interworking_ind ? eps_interworking_indVariable : 0,
indirect_forwarding_flag ? true : false,
indirect_forwarding_flag ? indirect_forwarding_flag->valueint : 0,
direct_forwarding_flag ? true : false,
direct_forwarding_flag ? direct_forwarding_flag->valueint : 0,
target_id ? target_id_local_nonprim : NULL,
eps_bearer_ctx_status ? ogs_strdup_or_assert(eps_bearer_ctx_status->valuestring) : NULL,
cp_ciot_enabled ? true : false,
cp_ciot_enabled ? cp_ciot_enabled->valueint : 0,
cp_only_ind ? true : false,
cp_only_ind ? cp_only_ind->valueint : 0,
invoke_nef ? true : false,
invoke_nef ? invoke_nef->valueint : 0,
ma_request_ind ? true : false,
ma_request_ind ? ma_request_ind->valueint : 0,
ma_nw_upgrade_ind ? true : false,
ma_nw_upgrade_ind ? ma_nw_upgrade_ind->valueint : 0,
n2_sm_info ? n2_sm_info_local_nonprim : NULL,
n2_sm_info_type ? n2_sm_info_typeVariable : 0,
@ -1787,15 +1821,19 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c
up_cnx_state ? up_cnx_stateVariable : 0,
small_data_rate_status ? small_data_rate_status_local_nonprim : NULL,
apn_rate_status ? apn_rate_status_local_nonprim : NULL,
extended_nas_sm_timer_ind ? true : false,
extended_nas_sm_timer_ind ? extended_nas_sm_timer_ind->valueint : 0,
dl_data_waiting_ind ? true : false,
dl_data_waiting_ind ? dl_data_waiting_ind->valueint : 0,
ddn_failure_subs ? ddn_failure_subs_local_nonprim : NULL,
smf_transfer_ind ? true : false,
smf_transfer_ind ? smf_transfer_ind->valueint : 0,
old_smf_id ? ogs_strdup_or_assert(old_smf_id->valuestring) : NULL,
old_sm_context_ref ? ogs_strdup_or_assert(old_sm_context_ref->valuestring) : NULL,
w_agf_info ? w_agf_info_local_nonprim : NULL,
tngf_info ? tngf_info_local_nonprim : NULL,
twif_info ? twif_info_local_nonprim : NULL,
ran_unchanged_ind ? true : false,
ran_unchanged_ind ? ran_unchanged_ind->valueint : 0
);