mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
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:
parent
1326fc85dc
commit
039b9d0aaa
930 changed files with 7387 additions and 5434 deletions
|
|
@ -465,7 +465,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *access_type = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "accessType");
|
||||
|
||||
OpenAPI_access_type_e access_typeVariable;
|
||||
if (access_type) {
|
||||
if (access_type) {
|
||||
if (!cJSON_IsString(access_type)) {
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [access_type]");
|
||||
goto end;
|
||||
|
|
@ -476,28 +476,28 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *add_access_info = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "addAccessInfo");
|
||||
|
||||
OpenAPI_additional_access_info_t *add_access_info_local_nonprim = NULL;
|
||||
if (add_access_info) {
|
||||
if (add_access_info) {
|
||||
add_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(add_access_info);
|
||||
}
|
||||
|
||||
cJSON *rel_access_info = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "relAccessInfo");
|
||||
|
||||
OpenAPI_additional_access_info_t *rel_access_info_local_nonprim = NULL;
|
||||
if (rel_access_info) {
|
||||
if (rel_access_info) {
|
||||
rel_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(rel_access_info);
|
||||
}
|
||||
|
||||
cJSON *an_charg_addr = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "anChargAddr");
|
||||
|
||||
OpenAPI_acc_net_charging_address_t *an_charg_addr_local_nonprim = NULL;
|
||||
if (an_charg_addr) {
|
||||
if (an_charg_addr) {
|
||||
an_charg_addr_local_nonprim = OpenAPI_acc_net_charging_address_parseFromJSON(an_charg_addr);
|
||||
}
|
||||
|
||||
cJSON *an_charg_ids = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "anChargIds");
|
||||
|
||||
OpenAPI_list_t *an_charg_idsList;
|
||||
if (an_charg_ids) {
|
||||
if (an_charg_ids) {
|
||||
cJSON *an_charg_ids_local_nonprimitive;
|
||||
if (!cJSON_IsArray(an_charg_ids)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [an_charg_ids]");
|
||||
|
|
@ -520,7 +520,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *an_gw_addr = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "anGwAddr");
|
||||
|
||||
OpenAPI_an_gw_address_t *an_gw_addr_local_nonprim = NULL;
|
||||
if (an_gw_addr) {
|
||||
if (an_gw_addr) {
|
||||
an_gw_addr_local_nonprim = OpenAPI_an_gw_address_parseFromJSON(an_gw_addr);
|
||||
}
|
||||
|
||||
|
|
@ -530,7 +530,6 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
if (!cJSON_IsString(ev_subs_uri)) {
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [ev_subs_uri]");
|
||||
goto end;
|
||||
|
|
@ -543,7 +542,6 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
}
|
||||
|
||||
OpenAPI_list_t *ev_notifsList;
|
||||
|
||||
cJSON *ev_notifs_local_nonprimitive;
|
||||
if (!cJSON_IsArray(ev_notifs)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [ev_notifs]");
|
||||
|
|
@ -565,7 +563,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *failed_resourc_alloc_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "failedResourcAllocReports");
|
||||
|
||||
OpenAPI_list_t *failed_resourc_alloc_reportsList;
|
||||
if (failed_resourc_alloc_reports) {
|
||||
if (failed_resourc_alloc_reports) {
|
||||
cJSON *failed_resourc_alloc_reports_local_nonprimitive;
|
||||
if (!cJSON_IsArray(failed_resourc_alloc_reports)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [failed_resourc_alloc_reports]");
|
||||
|
|
@ -588,7 +586,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *succ_resourc_alloc_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "succResourcAllocReports");
|
||||
|
||||
OpenAPI_list_t *succ_resourc_alloc_reportsList;
|
||||
if (succ_resourc_alloc_reports) {
|
||||
if (succ_resourc_alloc_reports) {
|
||||
cJSON *succ_resourc_alloc_reports_local_nonprimitive;
|
||||
if (!cJSON_IsArray(succ_resourc_alloc_reports)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [succ_resourc_alloc_reports]");
|
||||
|
|
@ -611,7 +609,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *no_net_loc_supp = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "noNetLocSupp");
|
||||
|
||||
OpenAPI_net_loc_access_support_e no_net_loc_suppVariable;
|
||||
if (no_net_loc_supp) {
|
||||
if (no_net_loc_supp) {
|
||||
if (!cJSON_IsString(no_net_loc_supp)) {
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [no_net_loc_supp]");
|
||||
goto end;
|
||||
|
|
@ -622,7 +620,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *out_of_cred_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "outOfCredReports");
|
||||
|
||||
OpenAPI_list_t *out_of_cred_reportsList;
|
||||
if (out_of_cred_reports) {
|
||||
if (out_of_cred_reports) {
|
||||
cJSON *out_of_cred_reports_local_nonprimitive;
|
||||
if (!cJSON_IsArray(out_of_cred_reports)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [out_of_cred_reports]");
|
||||
|
|
@ -645,14 +643,14 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "plmnId");
|
||||
|
||||
OpenAPI_plmn_id_nid_t *plmn_id_local_nonprim = NULL;
|
||||
if (plmn_id) {
|
||||
if (plmn_id) {
|
||||
plmn_id_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(plmn_id);
|
||||
}
|
||||
|
||||
cJSON *qnc_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "qncReports");
|
||||
|
||||
OpenAPI_list_t *qnc_reportsList;
|
||||
if (qnc_reports) {
|
||||
if (qnc_reports) {
|
||||
cJSON *qnc_reports_local_nonprimitive;
|
||||
if (!cJSON_IsArray(qnc_reports)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [qnc_reports]");
|
||||
|
|
@ -675,7 +673,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *qos_mon_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "qosMonReports");
|
||||
|
||||
OpenAPI_list_t *qos_mon_reportsList;
|
||||
if (qos_mon_reports) {
|
||||
if (qos_mon_reports) {
|
||||
cJSON *qos_mon_reports_local_nonprimitive;
|
||||
if (!cJSON_IsArray(qos_mon_reports)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [qos_mon_reports]");
|
||||
|
|
@ -698,7 +696,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *ran_nas_rel_causes = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ranNasRelCauses");
|
||||
|
||||
OpenAPI_list_t *ran_nas_rel_causesList;
|
||||
if (ran_nas_rel_causes) {
|
||||
if (ran_nas_rel_causes) {
|
||||
cJSON *ran_nas_rel_causes_local_nonprimitive;
|
||||
if (!cJSON_IsArray(ran_nas_rel_causes)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [ran_nas_rel_causes]");
|
||||
|
|
@ -721,7 +719,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ratType");
|
||||
|
||||
OpenAPI_rat_type_e rat_typeVariable;
|
||||
if (rat_type) {
|
||||
if (rat_type) {
|
||||
if (!cJSON_IsString(rat_type)) {
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [rat_type]");
|
||||
goto end;
|
||||
|
|
@ -732,13 +730,13 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *ue_loc = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ueLoc");
|
||||
|
||||
OpenAPI_user_location_t *ue_loc_local_nonprim = NULL;
|
||||
if (ue_loc) {
|
||||
if (ue_loc) {
|
||||
ue_loc_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_loc);
|
||||
}
|
||||
|
||||
cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ueTimeZone");
|
||||
|
||||
if (ue_time_zone) {
|
||||
if (ue_time_zone) {
|
||||
if (!cJSON_IsString(ue_time_zone)) {
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [ue_time_zone]");
|
||||
goto end;
|
||||
|
|
@ -748,28 +746,28 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON *
|
|||
cJSON *usg_rep = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "usgRep");
|
||||
|
||||
OpenAPI_accumulated_usage_t *usg_rep_local_nonprim = NULL;
|
||||
if (usg_rep) {
|
||||
if (usg_rep) {
|
||||
usg_rep_local_nonprim = OpenAPI_accumulated_usage_parseFromJSON(usg_rep);
|
||||
}
|
||||
|
||||
cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "tsnBridgeManCont");
|
||||
|
||||
OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL;
|
||||
if (tsn_bridge_man_cont) {
|
||||
if (tsn_bridge_man_cont) {
|
||||
tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont);
|
||||
}
|
||||
|
||||
cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "tsnPortManContDstt");
|
||||
|
||||
OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL;
|
||||
if (tsn_port_man_cont_dstt) {
|
||||
if (tsn_port_man_cont_dstt) {
|
||||
tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt);
|
||||
}
|
||||
|
||||
cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "tsnPortManContNwtts");
|
||||
|
||||
OpenAPI_list_t *tsn_port_man_cont_nwttsList;
|
||||
if (tsn_port_man_cont_nwtts) {
|
||||
if (tsn_port_man_cont_nwtts) {
|
||||
cJSON *tsn_port_man_cont_nwtts_local_nonprimitive;
|
||||
if (!cJSON_IsArray(tsn_port_man_cont_nwtts)){
|
||||
ogs_error("OpenAPI_events_notification_parseFromJSON() failed [tsn_port_man_cont_nwtts]");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue