forked from acouzens/open5gs
comply with coding standard
This commit is contained in:
parent
f278d58a69
commit
2471b1b53d
|
@ -109,7 +109,7 @@ OpenAPI_acc_net_ch_id_t *OpenAPI_acc_net_ch_id_parseFromJSON(cJSON *acc_net_ch_i
|
|||
}
|
||||
OpenAPI_list_add(ref_pcc_rule_idsList , ogs_strdup_or_assert(ref_pcc_rule_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *session_ch_scope = cJSON_GetObjectItemCaseSensitive(acc_net_ch_idJSON, "sessionChScope");
|
||||
|
||||
|
@ -118,7 +118,7 @@ OpenAPI_acc_net_ch_id_t *OpenAPI_acc_net_ch_id_parseFromJSON(cJSON *acc_net_ch_i
|
|||
ogs_error("OpenAPI_acc_net_ch_id_parseFromJSON() failed [session_ch_scope]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acc_net_ch_id_local_var = OpenAPI_acc_net_ch_id_create (
|
||||
acc_net_cha_id_value->valuedouble,
|
||||
|
|
|
@ -68,7 +68,7 @@ OpenAPI_acc_net_charging_address_t *OpenAPI_acc_net_charging_address_parseFromJS
|
|||
ogs_error("OpenAPI_acc_net_charging_address_parseFromJSON() failed [an_charg_ipv4_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *an_charg_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acc_net_charging_addressJSON, "anChargIpv6Addr");
|
||||
|
||||
|
@ -77,7 +77,7 @@ OpenAPI_acc_net_charging_address_t *OpenAPI_acc_net_charging_address_parseFromJS
|
|||
ogs_error("OpenAPI_acc_net_charging_address_parseFromJSON() failed [an_charg_ipv6_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acc_net_charging_address_local_var = OpenAPI_acc_net_charging_address_create (
|
||||
an_charg_ipv4_addr ? ogs_strdup_or_assert(an_charg_ipv4_addr->valuestring) : NULL,
|
||||
|
|
|
@ -111,7 +111,7 @@ OpenAPI_acceptable_service_info_t *OpenAPI_acceptable_service_info_parseFromJSON
|
|||
localMapObject->string, OpenAPI_media_component_parseFromJSON(localMapObject));
|
||||
OpenAPI_list_add(acc_bw_med_compsList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(acceptable_service_infoJSON, "marBwUl");
|
||||
|
||||
|
@ -120,7 +120,7 @@ OpenAPI_acceptable_service_info_t *OpenAPI_acceptable_service_info_parseFromJSON
|
|||
ogs_error("OpenAPI_acceptable_service_info_parseFromJSON() failed [mar_bw_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(acceptable_service_infoJSON, "marBwDl");
|
||||
|
||||
|
@ -129,7 +129,7 @@ OpenAPI_acceptable_service_info_t *OpenAPI_acceptable_service_info_parseFromJSON
|
|||
ogs_error("OpenAPI_acceptable_service_info_parseFromJSON() failed [mar_bw_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acceptable_service_info_local_var = OpenAPI_acceptable_service_info_create (
|
||||
acc_bw_med_comps ? acc_bw_med_compsList : NULL,
|
||||
|
|
|
@ -301,7 +301,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
OpenAPI_user_location_t *location_local_nonprim = NULL;
|
||||
if (location) {
|
||||
location_local_nonprim = OpenAPI_user_location_parseFromJSON(location);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *location_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "locationTs");
|
||||
|
||||
|
@ -310,7 +310,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [location_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *time_zone = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "timeZone");
|
||||
|
||||
|
@ -319,7 +319,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [time_zone]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *time_zone_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "timeZoneTs");
|
||||
|
||||
|
@ -328,7 +328,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [time_zone_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *access_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "accessType");
|
||||
|
||||
|
@ -339,7 +339,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
goto end;
|
||||
}
|
||||
access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *reg_states = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "regStates");
|
||||
|
||||
|
@ -362,7 +362,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
|
||||
OpenAPI_list_add(reg_statesList, reg_statesItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *reg_states_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "regStatesTs");
|
||||
|
||||
|
@ -371,7 +371,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [reg_states_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *conn_states = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "connStates");
|
||||
|
||||
|
@ -394,7 +394,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
|
||||
OpenAPI_list_add(conn_statesList, conn_statesItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *conn_states_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "connStatesTs");
|
||||
|
||||
|
@ -403,14 +403,14 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [conn_states_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *reachability_status = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "reachabilityStatus");
|
||||
|
||||
OpenAPI_ue_reachability_t *reachability_status_local_nonprim = NULL;
|
||||
if (reachability_status) {
|
||||
reachability_status_local_nonprim = OpenAPI_ue_reachability_parseFromJSON(reachability_status);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *reachability_status_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "reachabilityStatusTs");
|
||||
|
||||
|
@ -419,7 +419,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [reachability_status_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sms_over_nas_status = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "smsOverNasStatus");
|
||||
|
||||
|
@ -430,7 +430,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
goto end;
|
||||
}
|
||||
sms_over_nas_statusVariable = OpenAPI_sms_support_FromString(sms_over_nas_status->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sms_over_nas_status_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "smsOverNasStatusTs");
|
||||
|
||||
|
@ -439,7 +439,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [sms_over_nas_status_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *roaming_status = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "roamingStatus");
|
||||
|
||||
|
@ -448,7 +448,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [roaming_status]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *roaming_status_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "roamingStatusTs");
|
||||
|
||||
|
@ -457,14 +457,14 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [roaming_status_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *current_plmn = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "currentPlmn");
|
||||
|
||||
OpenAPI_plmn_id_1_t *current_plmn_local_nonprim = NULL;
|
||||
if (current_plmn) {
|
||||
current_plmn_local_nonprim = OpenAPI_plmn_id_1_parseFromJSON(current_plmn);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *current_plmn_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "currentPlmnTs");
|
||||
|
||||
|
@ -473,7 +473,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [current_plmn_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "ratType");
|
||||
|
||||
|
@ -495,7 +495,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
|
||||
OpenAPI_list_add(rat_typeList, (void *)OpenAPI_rat_type_FromString(rat_type_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_types_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "ratTypesTs");
|
||||
|
||||
|
@ -504,7 +504,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [rat_types_ts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "suppFeat");
|
||||
|
||||
|
@ -513,7 +513,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS
|
|||
ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [supp_feat]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
access_and_mobility_data_local_var = OpenAPI_access_and_mobility_data_create (
|
||||
location ? location_local_nonprim : NULL,
|
||||
|
|
|
@ -713,7 +713,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gpsis = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "gpsis");
|
||||
|
||||
|
@ -733,7 +733,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
}
|
||||
OpenAPI_list_add(gpsisList , ogs_strdup_or_assert(gpsis_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "internalGroupIds");
|
||||
|
||||
|
@ -753,7 +753,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
}
|
||||
OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *shared_vn_group_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sharedVnGroupDataIds");
|
||||
|
||||
|
@ -770,21 +770,21 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
cJSON *localMapObject = shared_vn_group_data_ids_local_map;
|
||||
OpenAPI_list_add(shared_vn_group_data_idsList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscribed_ue_ambr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "subscribedUeAmbr");
|
||||
|
||||
OpenAPI_ambr_rm_t *subscribed_ue_ambr_local_nonprim = NULL;
|
||||
if (subscribed_ue_ambr) {
|
||||
subscribed_ue_ambr_local_nonprim = OpenAPI_ambr_rm_parseFromJSON(subscribed_ue_ambr);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nssai = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "nssai");
|
||||
|
||||
OpenAPI_nssai_t *nssai_local_nonprim = NULL;
|
||||
if (nssai) {
|
||||
nssai_local_nonprim = OpenAPI_nssai_parseFromJSON(nssai);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ratRestrictions");
|
||||
|
||||
|
@ -806,7 +806,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(rat_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "forbiddenAreas");
|
||||
|
||||
|
@ -829,14 +829,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(forbidden_areasList, forbidden_areasItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "serviceAreaRestriction");
|
||||
|
||||
OpenAPI_service_area_restriction_t *service_area_restriction_local_nonprim = NULL;
|
||||
if (service_area_restriction) {
|
||||
service_area_restriction_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(service_area_restriction);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *core_network_type_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "coreNetworkTypeRestrictions");
|
||||
|
||||
|
@ -858,7 +858,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(core_network_type_restrictionsList, (void *)OpenAPI_core_network_type_FromString(core_network_type_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rfsp_index = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "rfspIndex");
|
||||
|
||||
|
@ -867,7 +867,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [rfsp_index]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subs_reg_timer = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "subsRegTimer");
|
||||
|
||||
|
@ -876,7 +876,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [subs_reg_timer]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_usage_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ueUsageType");
|
||||
|
||||
|
@ -885,7 +885,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [ue_usage_type]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mps_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mpsPriority");
|
||||
|
||||
|
@ -894,7 +894,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [mps_priority]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mcs_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mcsPriority");
|
||||
|
||||
|
@ -903,7 +903,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [mcs_priority]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *active_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "activeTime");
|
||||
|
||||
|
@ -912,14 +912,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [active_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sor_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorInfo");
|
||||
|
||||
OpenAPI_sor_info_t *sor_info_local_nonprim = NULL;
|
||||
if (sor_info) {
|
||||
sor_info_local_nonprim = OpenAPI_sor_info_parseFromJSON(sor_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sor_info_expect_ind = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorInfoExpectInd");
|
||||
|
||||
|
@ -928,7 +928,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [sor_info_expect_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *soraf_retrieval = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorafRetrieval");
|
||||
|
||||
|
@ -937,7 +937,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [soraf_retrieval]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sor_update_indicator_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorUpdateIndicatorList");
|
||||
|
||||
|
@ -959,14 +959,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(sor_update_indicator_listList, (void *)OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *upu_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "upuInfo");
|
||||
|
||||
OpenAPI_upu_info_t *upu_info_local_nonprim = NULL;
|
||||
if (upu_info) {
|
||||
upu_info_local_nonprim = OpenAPI_upu_info_parseFromJSON(upu_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mico_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "micoAllowed");
|
||||
|
||||
|
@ -975,7 +975,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [mico_allowed]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *shared_am_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sharedAmDataIds");
|
||||
|
||||
|
@ -995,7 +995,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
}
|
||||
OpenAPI_list_add(shared_am_data_idsList , ogs_strdup_or_assert(shared_am_data_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *odb_packet_services = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "odbPacketServices");
|
||||
|
||||
|
@ -1006,7 +1006,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
goto end;
|
||||
}
|
||||
odb_packet_servicesVariable = OpenAPI_odb_packet_services_FromString(odb_packet_services->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscribed_dnn_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "subscribedDnnList");
|
||||
|
||||
|
@ -1026,7 +1026,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
}
|
||||
OpenAPI_list_add(subscribed_dnn_listList , ogs_strdup_or_assert(subscribed_dnn_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *service_gap_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "serviceGapTime");
|
||||
|
||||
|
@ -1035,7 +1035,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [service_gap_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mdt_user_consent = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mdtUserConsent");
|
||||
|
||||
|
@ -1046,28 +1046,28 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
goto end;
|
||||
}
|
||||
mdt_user_consentVariable = OpenAPI_mdt_user_consent_FromString(mdt_user_consent->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mdt_configuration = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mdtConfiguration");
|
||||
|
||||
OpenAPI_mdt_configuration_t *mdt_configuration_local_nonprim = NULL;
|
||||
if (mdt_configuration) {
|
||||
mdt_configuration_local_nonprim = OpenAPI_mdt_configuration_parseFromJSON(mdt_configuration);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "traceData");
|
||||
|
||||
OpenAPI_trace_data_1_t *trace_data_local_nonprim = NULL;
|
||||
if (trace_data) {
|
||||
trace_data_local_nonprim = OpenAPI_trace_data_1_parseFromJSON(trace_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *cag_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "cagData");
|
||||
|
||||
OpenAPI_cag_data_t *cag_data_local_nonprim = NULL;
|
||||
if (cag_data) {
|
||||
cag_data_local_nonprim = OpenAPI_cag_data_parseFromJSON(cag_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *stn_sr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "stnSr");
|
||||
|
||||
|
@ -1076,7 +1076,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [stn_sr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *c_msisdn = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "cMsisdn");
|
||||
|
||||
|
@ -1085,7 +1085,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [c_msisdn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nb_io_tue_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "nbIoTUePriority");
|
||||
|
||||
|
@ -1094,7 +1094,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [nb_io_tue_priority]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nssai_inclusion_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "nssaiInclusionAllowed");
|
||||
|
||||
|
@ -1103,7 +1103,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [nssai_inclusion_allowed]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rg_wireline_characteristics = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "rgWirelineCharacteristics");
|
||||
|
||||
|
@ -1112,14 +1112,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [rg_wireline_characteristics]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ec_restriction_data_wb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ecRestrictionDataWb");
|
||||
|
||||
OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_nonprim = NULL;
|
||||
if (ec_restriction_data_wb) {
|
||||
ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ecRestrictionDataNb");
|
||||
|
||||
|
@ -1128,14 +1128,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [ec_restriction_data_nb]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *expected_ue_behaviour_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "expectedUeBehaviourList");
|
||||
|
||||
OpenAPI_expected_ue_behaviour_data_t *expected_ue_behaviour_list_local_nonprim = NULL;
|
||||
if (expected_ue_behaviour_list) {
|
||||
expected_ue_behaviour_list_local_nonprim = OpenAPI_expected_ue_behaviour_data_parseFromJSON(expected_ue_behaviour_list);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *primary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "primaryRatRestrictions");
|
||||
|
||||
|
@ -1157,7 +1157,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(primary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(primary_rat_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *secondary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "secondaryRatRestrictions");
|
||||
|
||||
|
@ -1179,7 +1179,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(secondary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(secondary_rat_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *edrx_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "edrxParametersList");
|
||||
|
||||
|
@ -1202,7 +1202,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(edrx_parameters_listList, edrx_parameters_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ptw_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ptwParametersList");
|
||||
|
||||
|
@ -1225,7 +1225,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(ptw_parameters_listList, ptw_parameters_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *iab_operation_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "iabOperationAllowed");
|
||||
|
||||
|
@ -1234,7 +1234,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [iab_operation_allowed]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *wireline_forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "wirelineForbiddenAreas");
|
||||
|
||||
|
@ -1257,14 +1257,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub
|
|||
|
||||
OpenAPI_list_add(wireline_forbidden_areasList, wireline_forbidden_areasItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *wireline_service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "wirelineServiceAreaRestriction");
|
||||
|
||||
OpenAPI_wireline_service_area_restriction_t *wireline_service_area_restriction_local_nonprim = NULL;
|
||||
if (wireline_service_area_restriction) {
|
||||
wireline_service_area_restriction_local_nonprim = OpenAPI_wireline_service_area_restriction_parseFromJSON(wireline_service_area_restriction);
|
||||
}
|
||||
}
|
||||
|
||||
access_and_mobility_subscription_data_local_var = OpenAPI_access_and_mobility_subscription_data_create (
|
||||
supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL,
|
||||
|
|
|
@ -713,7 +713,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gpsis = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "gpsis");
|
||||
|
||||
|
@ -733,7 +733,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
}
|
||||
OpenAPI_list_add(gpsisList , ogs_strdup_or_assert(gpsis_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "internalGroupIds");
|
||||
|
||||
|
@ -753,7 +753,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
}
|
||||
OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *shared_vn_group_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sharedVnGroupDataIds");
|
||||
|
||||
|
@ -770,21 +770,21 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
cJSON *localMapObject = shared_vn_group_data_ids_local_map;
|
||||
OpenAPI_list_add(shared_vn_group_data_idsList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscribed_ue_ambr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "subscribedUeAmbr");
|
||||
|
||||
OpenAPI_ambr_rm_t *subscribed_ue_ambr_local_nonprim = NULL;
|
||||
if (subscribed_ue_ambr) {
|
||||
subscribed_ue_ambr_local_nonprim = OpenAPI_ambr_rm_parseFromJSON(subscribed_ue_ambr);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nssai = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "nssai");
|
||||
|
||||
OpenAPI_nssai_1_t *nssai_local_nonprim = NULL;
|
||||
if (nssai) {
|
||||
nssai_local_nonprim = OpenAPI_nssai_1_parseFromJSON(nssai);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ratRestrictions");
|
||||
|
||||
|
@ -806,7 +806,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(rat_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "forbiddenAreas");
|
||||
|
||||
|
@ -829,14 +829,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(forbidden_areasList, forbidden_areasItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "serviceAreaRestriction");
|
||||
|
||||
OpenAPI_service_area_restriction_1_t *service_area_restriction_local_nonprim = NULL;
|
||||
if (service_area_restriction) {
|
||||
service_area_restriction_local_nonprim = OpenAPI_service_area_restriction_1_parseFromJSON(service_area_restriction);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *core_network_type_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "coreNetworkTypeRestrictions");
|
||||
|
||||
|
@ -858,7 +858,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(core_network_type_restrictionsList, (void *)OpenAPI_core_network_type_FromString(core_network_type_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rfsp_index = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "rfspIndex");
|
||||
|
||||
|
@ -867,7 +867,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [rfsp_index]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subs_reg_timer = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "subsRegTimer");
|
||||
|
||||
|
@ -876,7 +876,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [subs_reg_timer]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_usage_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ueUsageType");
|
||||
|
||||
|
@ -885,7 +885,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [ue_usage_type]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mps_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mpsPriority");
|
||||
|
||||
|
@ -894,7 +894,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [mps_priority]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mcs_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mcsPriority");
|
||||
|
||||
|
@ -903,7 +903,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [mcs_priority]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *active_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "activeTime");
|
||||
|
||||
|
@ -912,14 +912,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [active_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sor_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorInfo");
|
||||
|
||||
OpenAPI_sor_info_1_t *sor_info_local_nonprim = NULL;
|
||||
if (sor_info) {
|
||||
sor_info_local_nonprim = OpenAPI_sor_info_1_parseFromJSON(sor_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sor_info_expect_ind = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorInfoExpectInd");
|
||||
|
||||
|
@ -928,7 +928,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [sor_info_expect_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *soraf_retrieval = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorafRetrieval");
|
||||
|
||||
|
@ -937,7 +937,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [soraf_retrieval]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sor_update_indicator_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorUpdateIndicatorList");
|
||||
|
||||
|
@ -959,14 +959,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(sor_update_indicator_listList, (void *)OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *upu_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "upuInfo");
|
||||
|
||||
OpenAPI_upu_info_1_t *upu_info_local_nonprim = NULL;
|
||||
if (upu_info) {
|
||||
upu_info_local_nonprim = OpenAPI_upu_info_1_parseFromJSON(upu_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mico_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "micoAllowed");
|
||||
|
||||
|
@ -975,7 +975,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [mico_allowed]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *shared_am_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sharedAmDataIds");
|
||||
|
||||
|
@ -995,7 +995,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
}
|
||||
OpenAPI_list_add(shared_am_data_idsList , ogs_strdup_or_assert(shared_am_data_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *odb_packet_services = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "odbPacketServices");
|
||||
|
||||
|
@ -1006,7 +1006,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
goto end;
|
||||
}
|
||||
odb_packet_servicesVariable = OpenAPI_odb_packet_services_FromString(odb_packet_services->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscribed_dnn_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "subscribedDnnList");
|
||||
|
||||
|
@ -1026,7 +1026,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
}
|
||||
OpenAPI_list_add(subscribed_dnn_listList , ogs_strdup_or_assert(subscribed_dnn_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *service_gap_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "serviceGapTime");
|
||||
|
||||
|
@ -1035,7 +1035,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [service_gap_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mdt_user_consent = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mdtUserConsent");
|
||||
|
||||
|
@ -1046,28 +1046,28 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
goto end;
|
||||
}
|
||||
mdt_user_consentVariable = OpenAPI_mdt_user_consent_FromString(mdt_user_consent->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mdt_configuration = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mdtConfiguration");
|
||||
|
||||
OpenAPI_mdt_configuration_1_t *mdt_configuration_local_nonprim = NULL;
|
||||
if (mdt_configuration) {
|
||||
mdt_configuration_local_nonprim = OpenAPI_mdt_configuration_1_parseFromJSON(mdt_configuration);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "traceData");
|
||||
|
||||
OpenAPI_trace_data_t *trace_data_local_nonprim = NULL;
|
||||
if (trace_data) {
|
||||
trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *cag_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "cagData");
|
||||
|
||||
OpenAPI_cag_data_1_t *cag_data_local_nonprim = NULL;
|
||||
if (cag_data) {
|
||||
cag_data_local_nonprim = OpenAPI_cag_data_1_parseFromJSON(cag_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *stn_sr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "stnSr");
|
||||
|
||||
|
@ -1076,7 +1076,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [stn_sr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *c_msisdn = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "cMsisdn");
|
||||
|
||||
|
@ -1085,7 +1085,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [c_msisdn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nb_io_tue_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "nbIoTUePriority");
|
||||
|
||||
|
@ -1094,7 +1094,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [nb_io_tue_priority]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nssai_inclusion_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "nssaiInclusionAllowed");
|
||||
|
||||
|
@ -1103,7 +1103,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [nssai_inclusion_allowed]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rg_wireline_characteristics = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "rgWirelineCharacteristics");
|
||||
|
||||
|
@ -1112,14 +1112,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [rg_wireline_characteristics]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ec_restriction_data_wb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ecRestrictionDataWb");
|
||||
|
||||
OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_nonprim = NULL;
|
||||
if (ec_restriction_data_wb) {
|
||||
ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ecRestrictionDataNb");
|
||||
|
||||
|
@ -1128,14 +1128,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [ec_restriction_data_nb]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *expected_ue_behaviour_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "expectedUeBehaviourList");
|
||||
|
||||
OpenAPI_expected_ue_behaviour_data_1_t *expected_ue_behaviour_list_local_nonprim = NULL;
|
||||
if (expected_ue_behaviour_list) {
|
||||
expected_ue_behaviour_list_local_nonprim = OpenAPI_expected_ue_behaviour_data_1_parseFromJSON(expected_ue_behaviour_list);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *primary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "primaryRatRestrictions");
|
||||
|
||||
|
@ -1157,7 +1157,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(primary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(primary_rat_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *secondary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "secondaryRatRestrictions");
|
||||
|
||||
|
@ -1179,7 +1179,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(secondary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(secondary_rat_restrictions_local_nonprimitive->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *edrx_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "edrxParametersList");
|
||||
|
||||
|
@ -1202,7 +1202,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(edrx_parameters_listList, edrx_parameters_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ptw_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ptwParametersList");
|
||||
|
||||
|
@ -1225,7 +1225,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(ptw_parameters_listList, ptw_parameters_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *iab_operation_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "iabOperationAllowed");
|
||||
|
||||
|
@ -1234,7 +1234,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [iab_operation_allowed]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *wireline_forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "wirelineForbiddenAreas");
|
||||
|
||||
|
@ -1257,14 +1257,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s
|
|||
|
||||
OpenAPI_list_add(wireline_forbidden_areasList, wireline_forbidden_areasItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *wireline_service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "wirelineServiceAreaRestriction");
|
||||
|
||||
OpenAPI_wireline_service_area_restriction_1_t *wireline_service_area_restriction_local_nonprim = NULL;
|
||||
if (wireline_service_area_restriction) {
|
||||
wireline_service_area_restriction_local_nonprim = OpenAPI_wireline_service_area_restriction_1_parseFromJSON(wireline_service_area_restriction);
|
||||
}
|
||||
}
|
||||
|
||||
access_and_mobility_subscription_data_1_local_var = OpenAPI_access_and_mobility_subscription_data_1_create (
|
||||
supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL,
|
||||
|
|
|
@ -107,7 +107,7 @@ OpenAPI_access_net_charging_identifier_t *OpenAPI_access_net_charging_identifier
|
|||
|
||||
OpenAPI_list_add(flowsList, flowsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
access_net_charging_identifier_local_var = OpenAPI_access_net_charging_identifier_create (
|
||||
acc_net_cha_id_value->valuedouble,
|
||||
|
|
|
@ -112,7 +112,7 @@ OpenAPI_access_token_err_t *OpenAPI_access_token_err_parseFromJSON(cJSON *access
|
|||
ogs_error("OpenAPI_access_token_err_parseFromJSON() failed [error_description]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *error_uri = cJSON_GetObjectItemCaseSensitive(access_token_errJSON, "error_uri");
|
||||
|
||||
|
@ -121,7 +121,7 @@ OpenAPI_access_token_err_t *OpenAPI_access_token_err_parseFromJSON(cJSON *access
|
|||
ogs_error("OpenAPI_access_token_err_parseFromJSON() failed [error_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
access_token_err_local_var = OpenAPI_access_token_err_create (
|
||||
errorVariable,
|
||||
|
|
|
@ -338,7 +338,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
goto end;
|
||||
}
|
||||
nf_typeVariable = OpenAPI_nf_type_FromString(nf_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_nf_type = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNfType");
|
||||
|
||||
|
@ -349,7 +349,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
goto end;
|
||||
}
|
||||
target_nf_typeVariable = OpenAPI_nf_type_FromString(target_nf_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *scope = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "scope");
|
||||
if (!scope) {
|
||||
|
@ -370,14 +370,14 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [target_nf_instance_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *requester_plmn = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterPlmn");
|
||||
|
||||
OpenAPI_plmn_id_t *requester_plmn_local_nonprim = NULL;
|
||||
if (requester_plmn) {
|
||||
requester_plmn_local_nonprim = OpenAPI_plmn_id_parseFromJSON(requester_plmn);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *requester_plmn_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterPlmnList");
|
||||
|
||||
|
@ -400,7 +400,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
|
||||
OpenAPI_list_add(requester_plmn_listList, requester_plmn_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *requester_snssai_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterSnssaiList");
|
||||
|
||||
|
@ -423,7 +423,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
|
||||
OpenAPI_list_add(requester_snssai_listList, requester_snssai_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *requester_fqdn = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterFqdn");
|
||||
|
||||
|
@ -432,7 +432,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [requester_fqdn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *requester_snpn_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterSnpnList");
|
||||
|
||||
|
@ -455,14 +455,14 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
|
||||
OpenAPI_list_add(requester_snpn_listList, requester_snpn_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_plmn = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetPlmn");
|
||||
|
||||
OpenAPI_plmn_id_t *target_plmn_local_nonprim = NULL;
|
||||
if (target_plmn) {
|
||||
target_plmn_local_nonprim = OpenAPI_plmn_id_parseFromJSON(target_plmn);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_snssai_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetSnssaiList");
|
||||
|
||||
|
@ -485,7 +485,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
|
||||
OpenAPI_list_add(target_snssai_listList, target_snssai_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_nsi_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNsiList");
|
||||
|
||||
|
@ -505,7 +505,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
}
|
||||
OpenAPI_list_add(target_nsi_listList , ogs_strdup_or_assert(target_nsi_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_nf_set_id = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNfSetId");
|
||||
|
||||
|
@ -514,7 +514,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [target_nf_set_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_nf_service_set_id = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNfServiceSetId");
|
||||
|
||||
|
@ -523,7 +523,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access
|
|||
ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [target_nf_service_set_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
access_token_req_local_var = OpenAPI_access_token_req_create (
|
||||
grant_typeVariable,
|
||||
|
|
|
@ -140,7 +140,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [vol_usage]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *vol_usage_uplink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "volUsageUplink");
|
||||
|
||||
|
@ -149,7 +149,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [vol_usage_uplink]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *vol_usage_downlink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "volUsageDownlink");
|
||||
|
||||
|
@ -158,7 +158,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [vol_usage_downlink]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *time_usage = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "timeUsage");
|
||||
|
||||
|
@ -167,7 +167,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [time_usage]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *next_vol_usage = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextVolUsage");
|
||||
|
||||
|
@ -176,7 +176,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_vol_usage]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *next_vol_usage_uplink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextVolUsageUplink");
|
||||
|
||||
|
@ -185,7 +185,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_vol_usage_uplink]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *next_vol_usage_downlink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextVolUsageDownlink");
|
||||
|
||||
|
@ -194,7 +194,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_vol_usage_downlink]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *next_time_usage = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextTimeUsage");
|
||||
|
||||
|
@ -203,7 +203,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_time_usage]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
accu_usage_report_local_var = OpenAPI_accu_usage_report_create (
|
||||
ogs_strdup_or_assert(ref_um_ids->valuestring),
|
||||
|
|
|
@ -84,7 +84,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [duration]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *total_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "totalVolume");
|
||||
|
||||
|
@ -93,7 +93,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [total_volume]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *downlink_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "downlinkVolume");
|
||||
|
||||
|
@ -102,7 +102,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [downlink_volume]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *uplink_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "uplinkVolume");
|
||||
|
||||
|
@ -111,7 +111,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu
|
|||
ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [uplink_volume]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
accumulated_usage_local_var = OpenAPI_accumulated_usage_create (
|
||||
duration ? duration->valuedouble : 0,
|
||||
|
|
|
@ -95,7 +95,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow
|
|||
ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [sor_mac_iue]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *upu_mac_iue = cJSON_GetObjectItemCaseSensitive(acknowledge_infoJSON, "upuMacIue");
|
||||
|
||||
|
@ -104,7 +104,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow
|
|||
ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [upu_mac_iue]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *secured_packet = cJSON_GetObjectItemCaseSensitive(acknowledge_infoJSON, "securedPacket");
|
||||
|
||||
|
@ -113,7 +113,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow
|
|||
ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [secured_packet]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(acknowledge_infoJSON, "provisioningTime");
|
||||
if (!provisioning_time) {
|
||||
|
@ -134,7 +134,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow
|
|||
ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [ue_not_reachable]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acknowledge_info_local_var = OpenAPI_acknowledge_info_create (
|
||||
sor_mac_iue ? ogs_strdup_or_assert(sor_mac_iue->valuestring) : NULL,
|
||||
|
|
|
@ -78,7 +78,7 @@ OpenAPI_acs_info_t *OpenAPI_acs_info_parseFromJSON(cJSON *acs_infoJSON)
|
|||
ogs_error("OpenAPI_acs_info_parseFromJSON() failed [acs_url]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *acs_ipv4_addr = cJSON_GetObjectItemCaseSensitive(acs_infoJSON, "acsIpv4Addr");
|
||||
|
||||
|
@ -87,7 +87,7 @@ OpenAPI_acs_info_t *OpenAPI_acs_info_parseFromJSON(cJSON *acs_infoJSON)
|
|||
ogs_error("OpenAPI_acs_info_parseFromJSON() failed [acs_ipv4_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *acs_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acs_infoJSON, "acsIpv6Addr");
|
||||
|
||||
|
@ -96,7 +96,7 @@ OpenAPI_acs_info_t *OpenAPI_acs_info_parseFromJSON(cJSON *acs_infoJSON)
|
|||
ogs_error("OpenAPI_acs_info_parseFromJSON() failed [acs_ipv6_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acs_info_local_var = OpenAPI_acs_info_create (
|
||||
acs_url ? ogs_strdup_or_assert(acs_url->valuestring) : NULL,
|
||||
|
|
|
@ -78,7 +78,7 @@ OpenAPI_acs_info_1_t *OpenAPI_acs_info_1_parseFromJSON(cJSON *acs_info_1JSON)
|
|||
ogs_error("OpenAPI_acs_info_1_parseFromJSON() failed [acs_url]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *acs_ipv4_addr = cJSON_GetObjectItemCaseSensitive(acs_info_1JSON, "acsIpv4Addr");
|
||||
|
||||
|
@ -87,7 +87,7 @@ OpenAPI_acs_info_1_t *OpenAPI_acs_info_1_parseFromJSON(cJSON *acs_info_1JSON)
|
|||
ogs_error("OpenAPI_acs_info_1_parseFromJSON() failed [acs_ipv4_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *acs_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acs_info_1JSON, "acsIpv6Addr");
|
||||
|
||||
|
@ -96,7 +96,7 @@ OpenAPI_acs_info_1_t *OpenAPI_acs_info_1_parseFromJSON(cJSON *acs_info_1JSON)
|
|||
ogs_error("OpenAPI_acs_info_1_parseFromJSON() failed [acs_ipv6_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acs_info_1_local_var = OpenAPI_acs_info_1_create (
|
||||
acs_url ? ogs_strdup_or_assert(acs_url->valuestring) : NULL,
|
||||
|
|
|
@ -78,7 +78,7 @@ OpenAPI_acs_info_rm_t *OpenAPI_acs_info_rm_parseFromJSON(cJSON *acs_info_rmJSON)
|
|||
ogs_error("OpenAPI_acs_info_rm_parseFromJSON() failed [acs_url]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *acs_ipv4_addr = cJSON_GetObjectItemCaseSensitive(acs_info_rmJSON, "acsIpv4Addr");
|
||||
|
||||
|
@ -87,7 +87,7 @@ OpenAPI_acs_info_rm_t *OpenAPI_acs_info_rm_parseFromJSON(cJSON *acs_info_rmJSON)
|
|||
ogs_error("OpenAPI_acs_info_rm_parseFromJSON() failed [acs_ipv4_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *acs_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acs_info_rmJSON, "acsIpv6Addr");
|
||||
|
||||
|
@ -96,7 +96,7 @@ OpenAPI_acs_info_rm_t *OpenAPI_acs_info_rm_parseFromJSON(cJSON *acs_info_rmJSON)
|
|||
ogs_error("OpenAPI_acs_info_rm_parseFromJSON() failed [acs_ipv6_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
acs_info_rm_local_var = OpenAPI_acs_info_rm_create (
|
||||
acs_url ? ogs_strdup_or_assert(acs_url->valuestring) : NULL,
|
||||
|
|
|
@ -80,7 +80,7 @@ OpenAPI_additional_access_info_t *OpenAPI_additional_access_info_parseFromJSON(c
|
|||
goto end;
|
||||
}
|
||||
rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
additional_access_info_local_var = OpenAPI_additional_access_info_create (
|
||||
access_typeVariable,
|
||||
|
|
|
@ -57,7 +57,7 @@ OpenAPI_additional_snssai_data_t *OpenAPI_additional_snssai_data_parseFromJSON(c
|
|||
ogs_error("OpenAPI_additional_snssai_data_parseFromJSON() failed [required_authn_authz]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
additional_snssai_data_local_var = OpenAPI_additional_snssai_data_create (
|
||||
required_authn_authz ? required_authn_authz->valueint : 0
|
||||
|
|
|
@ -144,7 +144,7 @@ OpenAPI_af_event_exposure_data_t *OpenAPI_af_event_exposure_data_parseFromJSON(c
|
|||
}
|
||||
OpenAPI_list_add(af_idsList , ogs_strdup_or_assert(af_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *app_ids = cJSON_GetObjectItemCaseSensitive(af_event_exposure_dataJSON, "appIds");
|
||||
|
||||
|
@ -164,7 +164,7 @@ OpenAPI_af_event_exposure_data_t *OpenAPI_af_event_exposure_data_parseFromJSON(c
|
|||
}
|
||||
OpenAPI_list_add(app_idsList , ogs_strdup_or_assert(app_ids_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
af_event_exposure_data_local_var = OpenAPI_af_event_exposure_data_create (
|
||||
af_eventsList,
|
||||
|
|
|
@ -109,7 +109,7 @@ OpenAPI_af_event_notification_t *OpenAPI_af_event_notification_parseFromJSON(cJS
|
|||
|
||||
OpenAPI_list_add(flowsList, flowsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
af_event_notification_local_var = OpenAPI_af_event_notification_create (
|
||||
eventVariable,
|
||||
|
|
|
@ -98,7 +98,7 @@ OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJS
|
|||
goto end;
|
||||
}
|
||||
notif_methodVariable = OpenAPI_af_notif_method_FromString(notif_method->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rep_period = cJSON_GetObjectItemCaseSensitive(af_event_subscriptionJSON, "repPeriod");
|
||||
|
||||
|
@ -107,7 +107,7 @@ OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_af_event_subscription_parseFromJSON() failed [rep_period]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *wait_time = cJSON_GetObjectItemCaseSensitive(af_event_subscriptionJSON, "waitTime");
|
||||
|
||||
|
@ -116,7 +116,7 @@ OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_af_event_subscription_parseFromJSON() failed [wait_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
af_event_subscription_local_var = OpenAPI_af_event_subscription_create (
|
||||
eventVariable,
|
||||
|
|
|
@ -109,7 +109,7 @@ OpenAPI_af_external_t *OpenAPI_af_external_parseFromJSON(cJSON *af_externalJSON)
|
|||
ogs_error("OpenAPI_af_external_parseFromJSON() failed [af_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *allowed_geographic_area = cJSON_GetObjectItemCaseSensitive(af_externalJSON, "allowedGeographicArea");
|
||||
|
||||
|
@ -132,7 +132,7 @@ OpenAPI_af_external_t *OpenAPI_af_external_parseFromJSON(cJSON *af_externalJSON)
|
|||
|
||||
OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(af_externalJSON, "privacyCheckRelatedAction");
|
||||
|
||||
|
@ -143,14 +143,14 @@ OpenAPI_af_external_t *OpenAPI_af_external_parseFromJSON(cJSON *af_externalJSON)
|
|||
goto end;
|
||||
}
|
||||
privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(af_externalJSON, "validTimePeriod");
|
||||
|
||||
OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL;
|
||||
if (valid_time_period) {
|
||||
valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period);
|
||||
}
|
||||
}
|
||||
|
||||
af_external_local_var = OpenAPI_af_external_create (
|
||||
af_id ? ogs_strdup_or_assert(af_id->valuestring) : NULL,
|
||||
|
|
|
@ -150,7 +150,7 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c
|
|||
ogs_error("OpenAPI_af_routing_requirement_parseFromJSON() failed [app_reloc]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *route_to_locs = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "routeToLocs");
|
||||
|
||||
|
@ -173,14 +173,14 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c
|
|||
|
||||
OpenAPI_list_add(route_to_locsList, route_to_locsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sp_val = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "spVal");
|
||||
|
||||
OpenAPI_spatial_validity_t *sp_val_local_nonprim = NULL;
|
||||
if (sp_val) {
|
||||
sp_val_local_nonprim = OpenAPI_spatial_validity_parseFromJSON(sp_val);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *temp_vals = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "tempVals");
|
||||
|
||||
|
@ -203,14 +203,14 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c
|
|||
|
||||
OpenAPI_list_add(temp_valsList, temp_valsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *up_path_chg_sub = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "upPathChgSub");
|
||||
|
||||
OpenAPI_up_path_chg_event_t *up_path_chg_sub_local_nonprim = NULL;
|
||||
if (up_path_chg_sub) {
|
||||
up_path_chg_sub_local_nonprim = OpenAPI_up_path_chg_event_parseFromJSON(up_path_chg_sub);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "addrPreserInd");
|
||||
|
||||
|
@ -219,7 +219,7 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c
|
|||
ogs_error("OpenAPI_af_routing_requirement_parseFromJSON() failed [addr_preser_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
af_routing_requirement_local_var = OpenAPI_af_routing_requirement_create (
|
||||
app_reloc ? app_reloc->valueint : 0,
|
||||
|
|
|
@ -150,7 +150,7 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom
|
|||
ogs_error("OpenAPI_af_routing_requirement_rm_parseFromJSON() failed [app_reloc]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *route_to_locs = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "routeToLocs");
|
||||
|
||||
|
@ -173,14 +173,14 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom
|
|||
|
||||
OpenAPI_list_add(route_to_locsList, route_to_locsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sp_val = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "spVal");
|
||||
|
||||
OpenAPI_spatial_validity_rm_t *sp_val_local_nonprim = NULL;
|
||||
if (sp_val) {
|
||||
sp_val_local_nonprim = OpenAPI_spatial_validity_rm_parseFromJSON(sp_val);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *temp_vals = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "tempVals");
|
||||
|
||||
|
@ -203,14 +203,14 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom
|
|||
|
||||
OpenAPI_list_add(temp_valsList, temp_valsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *up_path_chg_sub = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "upPathChgSub");
|
||||
|
||||
OpenAPI_up_path_chg_event_t *up_path_chg_sub_local_nonprim = NULL;
|
||||
if (up_path_chg_sub) {
|
||||
up_path_chg_sub_local_nonprim = OpenAPI_up_path_chg_event_parseFromJSON(up_path_chg_sub);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "addrPreserInd");
|
||||
|
||||
|
@ -219,7 +219,7 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom
|
|||
ogs_error("OpenAPI_af_routing_requirement_rm_parseFromJSON() failed [addr_preser_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
af_routing_requirement_rm_local_var = OpenAPI_af_routing_requirement_rm_create (
|
||||
app_reloc ? app_reloc->valueint : 0,
|
||||
|
|
|
@ -68,7 +68,7 @@ OpenAPI_allowed_mtc_provider_info_t *OpenAPI_allowed_mtc_provider_info_parseFrom
|
|||
ogs_error("OpenAPI_allowed_mtc_provider_info_parseFromJSON() failed [mtc_provider_information]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_id = cJSON_GetObjectItemCaseSensitive(allowed_mtc_provider_infoJSON, "afId");
|
||||
|
||||
|
@ -77,7 +77,7 @@ OpenAPI_allowed_mtc_provider_info_t *OpenAPI_allowed_mtc_provider_info_parseFrom
|
|||
ogs_error("OpenAPI_allowed_mtc_provider_info_parseFromJSON() failed [af_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
allowed_mtc_provider_info_local_var = OpenAPI_allowed_mtc_provider_info_create (
|
||||
mtc_provider_information ? ogs_strdup_or_assert(mtc_provider_information->valuestring) : NULL,
|
||||
|
|
|
@ -128,14 +128,14 @@ OpenAPI_allowed_snssai_t *OpenAPI_allowed_snssai_parseFromJSON(cJSON *allowed_sn
|
|||
|
||||
OpenAPI_list_add(nsi_information_listList, nsi_information_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mapped_home_snssai = cJSON_GetObjectItemCaseSensitive(allowed_snssaiJSON, "mappedHomeSnssai");
|
||||
|
||||
OpenAPI_snssai_t *mapped_home_snssai_local_nonprim = NULL;
|
||||
if (mapped_home_snssai) {
|
||||
mapped_home_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(mapped_home_snssai);
|
||||
}
|
||||
}
|
||||
|
||||
allowed_snssai_local_var = OpenAPI_allowed_snssai_create (
|
||||
allowed_snssai_local_nonprim,
|
||||
|
|
|
@ -106,7 +106,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON
|
|||
ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [gua_fbr_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gua_fbr_ul = cJSON_GetObjectItemCaseSensitive(alternative_qos_profileJSON, "guaFbrUl");
|
||||
|
||||
|
@ -115,7 +115,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON
|
|||
ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [gua_fbr_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *packet_delay_budget = cJSON_GetObjectItemCaseSensitive(alternative_qos_profileJSON, "packetDelayBudget");
|
||||
|
||||
|
@ -124,7 +124,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON
|
|||
ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [packet_delay_budget]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *packet_err_rate = cJSON_GetObjectItemCaseSensitive(alternative_qos_profileJSON, "packetErrRate");
|
||||
|
||||
|
@ -133,7 +133,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON
|
|||
ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [packet_err_rate]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
alternative_qos_profile_local_var = OpenAPI_alternative_qos_profile_create (
|
||||
index->valuedouble,
|
||||
|
|
|
@ -113,7 +113,7 @@ OpenAPI_am_policy_data_t *OpenAPI_am_policy_data_parseFromJSON(cJSON *am_policy_
|
|||
localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject));
|
||||
OpenAPI_list_add(pra_infosList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subsc_cats = cJSON_GetObjectItemCaseSensitive(am_policy_dataJSON, "subscCats");
|
||||
|
||||
|
@ -133,7 +133,7 @@ OpenAPI_am_policy_data_t *OpenAPI_am_policy_data_parseFromJSON(cJSON *am_policy_
|
|||
}
|
||||
OpenAPI_list_add(subsc_catsList , ogs_strdup_or_assert(subsc_cats_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
am_policy_data_local_var = OpenAPI_am_policy_data_create (
|
||||
pra_infos ? pra_infosList : NULL,
|
||||
|
|
|
@ -314,7 +314,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *purge_flag = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "purgeFlag");
|
||||
|
||||
|
@ -323,7 +323,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [purge_flag]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "pei");
|
||||
|
||||
|
@ -332,7 +332,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [pei]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "imsVoPs");
|
||||
|
||||
|
@ -343,7 +343,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
goto end;
|
||||
}
|
||||
ims_vo_psVariable = OpenAPI_ims_vo_ps_FromString(ims_vo_ps->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *dereg_callback_uri = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "deregCallbackUri");
|
||||
if (!dereg_callback_uri) {
|
||||
|
@ -364,7 +364,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [amf_service_name_dereg]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pcscf_restoration_callback_uri = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "pcscfRestorationCallbackUri");
|
||||
|
||||
|
@ -373,7 +373,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [pcscf_restoration_callback_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *amf_service_name_pcscf_rest = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "amfServiceNamePcscfRest");
|
||||
|
||||
|
@ -382,7 +382,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [amf_service_name_pcscf_rest]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *initial_registration_ind = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "initialRegistrationInd");
|
||||
|
||||
|
@ -391,7 +391,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [initial_registration_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *guami = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "guami");
|
||||
if (!guami) {
|
||||
|
@ -424,7 +424,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
|
||||
OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *dr_flag = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "drFlag");
|
||||
|
||||
|
@ -433,7 +433,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [dr_flag]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "ratType");
|
||||
if (!rat_type) {
|
||||
|
@ -456,7 +456,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [urrp_indicator]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *amf_ee_subscription_id = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "amfEeSubscriptionId");
|
||||
|
||||
|
@ -465,14 +465,14 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [amf_ee_subscription_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *eps_interworking_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "epsInterworkingInfo");
|
||||
|
||||
OpenAPI_eps_interworking_info_t *eps_interworking_info_local_nonprim = NULL;
|
||||
if (eps_interworking_info) {
|
||||
eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_srvcc_capability = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "ueSrvccCapability");
|
||||
|
||||
|
@ -481,7 +481,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [ue_srvcc_capability]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *registration_time = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "registrationTime");
|
||||
|
||||
|
@ -490,21 +490,21 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [registration_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *vgmlc_address = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "vgmlcAddress");
|
||||
|
||||
OpenAPI_vgmlc_address_t *vgmlc_address_local_nonprim = NULL;
|
||||
if (vgmlc_address) {
|
||||
vgmlc_address_local_nonprim = OpenAPI_vgmlc_address_parseFromJSON(vgmlc_address);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *context_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "contextInfo");
|
||||
|
||||
OpenAPI_context_info_t *context_info_local_nonprim = NULL;
|
||||
if (context_info) {
|
||||
context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *no_ee_subscription_ind = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "noEeSubscriptionInd");
|
||||
|
||||
|
@ -513,7 +513,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [no_ee_subscription_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "supi");
|
||||
|
||||
|
@ -522,7 +522,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf3_gpp_access_registration_local_var = OpenAPI_amf3_gpp_access_registration_create (
|
||||
ogs_strdup_or_assert(amf_instance_id->valuestring),
|
||||
|
|
|
@ -151,7 +151,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_modification_parseFromJSON() failed [purge_flag]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "pei");
|
||||
|
||||
|
@ -160,7 +160,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_modification_parseFromJSON() failed [pei]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "imsVoPs");
|
||||
|
||||
|
@ -171,7 +171,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
goto end;
|
||||
}
|
||||
ims_vo_psVariable = OpenAPI_ims_vo_ps_FromString(ims_vo_ps->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "backupAmfInfo");
|
||||
|
||||
|
@ -194,14 +194,14 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
|
||||
OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *eps_interworking_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "epsInterworkingInfo");
|
||||
|
||||
OpenAPI_eps_interworking_info_t *eps_interworking_info_local_nonprim = NULL;
|
||||
if (eps_interworking_info) {
|
||||
eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_srvcc_capability = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "ueSrvccCapability");
|
||||
|
||||
|
@ -210,7 +210,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
ogs_error("OpenAPI_amf3_gpp_access_registration_modification_parseFromJSON() failed [ue_srvcc_capability]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf3_gpp_access_registration_modification_local_var = OpenAPI_amf3_gpp_access_registration_modification_create (
|
||||
guami_local_nonprim,
|
||||
|
|
|
@ -68,7 +68,7 @@ OpenAPI_amf_cond_t *OpenAPI_amf_cond_parseFromJSON(cJSON *amf_condJSON)
|
|||
ogs_error("OpenAPI_amf_cond_parseFromJSON() failed [amf_set_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *amf_region_id = cJSON_GetObjectItemCaseSensitive(amf_condJSON, "amfRegionId");
|
||||
|
||||
|
@ -77,7 +77,7 @@ OpenAPI_amf_cond_t *OpenAPI_amf_cond_parseFromJSON(cJSON *amf_condJSON)
|
|||
ogs_error("OpenAPI_amf_cond_parseFromJSON() failed [amf_region_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_cond_local_var = OpenAPI_amf_cond_create (
|
||||
amf_set_id ? ogs_strdup_or_assert(amf_set_id->valuestring) : NULL,
|
||||
|
|
|
@ -211,7 +211,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
ogs_error("OpenAPI_amf_event_parseFromJSON() failed [immediate_flag]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *area_list = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "areaList");
|
||||
|
||||
|
@ -234,7 +234,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
|
||||
OpenAPI_list_add(area_listList, area_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *location_filter_list = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "locationFilterList");
|
||||
|
||||
|
@ -257,7 +257,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
|
||||
OpenAPI_list_add(location_filter_listList, location_filter_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ref_id = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "refId");
|
||||
|
||||
|
@ -266,7 +266,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
ogs_error("OpenAPI_amf_event_parseFromJSON() failed [ref_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *traffic_descriptor_list = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "trafficDescriptorList");
|
||||
|
||||
|
@ -289,7 +289,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
|
||||
OpenAPI_list_add(traffic_descriptor_listList, traffic_descriptor_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *report_ue_reachable = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "reportUeReachable");
|
||||
|
||||
|
@ -298,14 +298,14 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
ogs_error("OpenAPI_amf_event_parseFromJSON() failed [report_ue_reachable]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *reachability_filter = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "reachabilityFilter");
|
||||
|
||||
OpenAPI_reachability_filter_t *reachability_filter_local_nonprim = NULL;
|
||||
if (reachability_filter) {
|
||||
reachability_filter_local_nonprim = OpenAPI_reachability_filter_parseFromJSON(reachability_filter);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_reports = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "maxReports");
|
||||
|
||||
|
@ -314,7 +314,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
ogs_error("OpenAPI_amf_event_parseFromJSON() failed [max_reports]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_response_time = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "maxResponseTime");
|
||||
|
||||
|
@ -323,7 +323,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON)
|
|||
ogs_error("OpenAPI_amf_event_parseFromJSON() failed [max_response_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_event_local_var = OpenAPI_amf_event_create (
|
||||
type_local_nonprim,
|
||||
|
|
|
@ -104,21 +104,21 @@ OpenAPI_amf_event_area_t *OpenAPI_amf_event_area_parseFromJSON(cJSON *amf_event_
|
|||
OpenAPI_presence_info_t *presence_info_local_nonprim = NULL;
|
||||
if (presence_info) {
|
||||
presence_info_local_nonprim = OpenAPI_presence_info_parseFromJSON(presence_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ladn_info = cJSON_GetObjectItemCaseSensitive(amf_event_areaJSON, "ladnInfo");
|
||||
|
||||
OpenAPI_ladn_info_t *ladn_info_local_nonprim = NULL;
|
||||
if (ladn_info) {
|
||||
ladn_info_local_nonprim = OpenAPI_ladn_info_parseFromJSON(ladn_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(amf_event_areaJSON, "sNssai");
|
||||
|
||||
OpenAPI_snssai_t *s_nssai_local_nonprim = NULL;
|
||||
if (s_nssai) {
|
||||
s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nsi_id = cJSON_GetObjectItemCaseSensitive(amf_event_areaJSON, "nsiId");
|
||||
|
||||
|
@ -127,7 +127,7 @@ OpenAPI_amf_event_area_t *OpenAPI_amf_event_area_parseFromJSON(cJSON *amf_event_
|
|||
ogs_error("OpenAPI_amf_event_area_parseFromJSON() failed [nsi_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_event_area_local_var = OpenAPI_amf_event_area_create (
|
||||
presence_info ? presence_info_local_nonprim : NULL,
|
||||
|
|
|
@ -109,7 +109,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_
|
|||
ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [max_reports]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *expiry = cJSON_GetObjectItemCaseSensitive(amf_event_modeJSON, "expiry");
|
||||
|
||||
|
@ -118,7 +118,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_
|
|||
ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [expiry]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rep_period = cJSON_GetObjectItemCaseSensitive(amf_event_modeJSON, "repPeriod");
|
||||
|
||||
|
@ -127,7 +127,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_
|
|||
ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [rep_period]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *samp_ratio = cJSON_GetObjectItemCaseSensitive(amf_event_modeJSON, "sampRatio");
|
||||
|
||||
|
@ -136,7 +136,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_
|
|||
ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [samp_ratio]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_event_mode_local_var = OpenAPI_amf_event_mode_create (
|
||||
trigger_local_nonprim,
|
||||
|
|
|
@ -252,7 +252,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [subs_change_notify_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subs_change_notify_correlation_id = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "subsChangeNotifyCorrelationId");
|
||||
|
||||
|
@ -261,7 +261,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [subs_change_notify_correlation_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "supi");
|
||||
|
||||
|
@ -270,7 +270,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *group_id = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "groupId");
|
||||
|
||||
|
@ -279,7 +279,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [group_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "gpsi");
|
||||
|
||||
|
@ -288,7 +288,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [gpsi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "pei");
|
||||
|
||||
|
@ -297,7 +297,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [pei]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *any_ue = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "anyUE");
|
||||
|
||||
|
@ -306,14 +306,14 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [any_ue]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *options = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "options");
|
||||
|
||||
OpenAPI_amf_event_mode_t *options_local_nonprim = NULL;
|
||||
if (options) {
|
||||
options_local_nonprim = OpenAPI_amf_event_mode_parseFromJSON(options);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *source_nf_type = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "sourceNfType");
|
||||
|
||||
|
@ -324,7 +324,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c
|
|||
goto end;
|
||||
}
|
||||
source_nf_typeVariable = OpenAPI_nf_type_FromString(source_nf_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
amf_event_subscription_local_var = OpenAPI_amf_event_subscription_create (
|
||||
event_listList,
|
||||
|
|
|
@ -90,7 +90,7 @@ OpenAPI_amf_event_subscription_add_info_t *OpenAPI_amf_event_subscription_add_in
|
|||
}
|
||||
OpenAPI_list_add(binding_infoList , ogs_strdup_or_assert(binding_info_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscribing_nf_type = cJSON_GetObjectItemCaseSensitive(amf_event_subscription_add_infoJSON, "subscribingNfType");
|
||||
|
||||
|
@ -101,7 +101,7 @@ OpenAPI_amf_event_subscription_add_info_t *OpenAPI_amf_event_subscription_add_in
|
|||
goto end;
|
||||
}
|
||||
subscribing_nf_typeVariable = OpenAPI_nf_type_FromString(subscribing_nf_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
amf_event_subscription_add_info_local_var = OpenAPI_amf_event_subscription_add_info_create (
|
||||
binding_info ? binding_infoList : NULL,
|
||||
|
|
|
@ -272,7 +272,7 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(tai_listList, tai_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tai_range_list = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "taiRangeList");
|
||||
|
||||
|
@ -295,7 +295,7 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(tai_range_listList, tai_range_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *backup_info_amf_failure = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "backupInfoAmfFailure");
|
||||
|
||||
|
@ -318,7 +318,7 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(backup_info_amf_failureList, backup_info_amf_failureItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *backup_info_amf_removal = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "backupInfoAmfRemoval");
|
||||
|
||||
|
@ -341,14 +341,14 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(backup_info_amf_removalList, backup_info_amf_removalItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *n2_interface_amf_info = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "n2InterfaceAmfInfo");
|
||||
|
||||
OpenAPI_n2_interface_amf_info_t *n2_interface_amf_info_local_nonprim = NULL;
|
||||
if (n2_interface_amf_info) {
|
||||
n2_interface_amf_info_local_nonprim = OpenAPI_n2_interface_amf_info_parseFromJSON(n2_interface_amf_info);
|
||||
}
|
||||
}
|
||||
|
||||
amf_info_local_var = OpenAPI_amf_info_create (
|
||||
ogs_strdup_or_assert(amf_set_id->valuestring),
|
||||
|
|
|
@ -269,7 +269,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *purge_flag = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "purgeFlag");
|
||||
|
||||
|
@ -278,7 +278,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [purge_flag]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "pei");
|
||||
|
||||
|
@ -287,7 +287,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [pei]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "imsVoPs");
|
||||
if (!ims_vo_ps) {
|
||||
|
@ -322,7 +322,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [amf_service_name_dereg]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pcscf_restoration_callback_uri = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "pcscfRestorationCallbackUri");
|
||||
|
||||
|
@ -331,7 +331,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [pcscf_restoration_callback_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *amf_service_name_pcscf_rest = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "amfServiceNamePcscfRest");
|
||||
|
||||
|
@ -340,7 +340,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [amf_service_name_pcscf_rest]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *guami = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "guami");
|
||||
if (!guami) {
|
||||
|
@ -373,7 +373,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
|
||||
OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "ratType");
|
||||
if (!rat_type) {
|
||||
|
@ -396,7 +396,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [urrp_indicator]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *amf_ee_subscription_id = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "amfEeSubscriptionId");
|
||||
|
||||
|
@ -405,7 +405,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [amf_ee_subscription_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *registration_time = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "registrationTime");
|
||||
|
||||
|
@ -414,21 +414,21 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [registration_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *vgmlc_address = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "vgmlcAddress");
|
||||
|
||||
OpenAPI_vgmlc_address_t *vgmlc_address_local_nonprim = NULL;
|
||||
if (vgmlc_address) {
|
||||
vgmlc_address_local_nonprim = OpenAPI_vgmlc_address_parseFromJSON(vgmlc_address);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *context_info = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "contextInfo");
|
||||
|
||||
OpenAPI_context_info_t *context_info_local_nonprim = NULL;
|
||||
if (context_info) {
|
||||
context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *no_ee_subscription_ind = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "noEeSubscriptionInd");
|
||||
|
||||
|
@ -437,7 +437,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [no_ee_subscription_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "supi");
|
||||
|
||||
|
@ -446,7 +446,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_non3_gpp_access_registration_local_var = OpenAPI_amf_non3_gpp_access_registration_create (
|
||||
ogs_strdup_or_assert(amf_instance_id->valuestring),
|
||||
|
|
|
@ -126,7 +126,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_modification_parseFromJSON() failed [purge_flag]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registration_modificationJSON, "pei");
|
||||
|
||||
|
@ -135,7 +135,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac
|
|||
ogs_error("OpenAPI_amf_non3_gpp_access_registration_modification_parseFromJSON() failed [pei]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registration_modificationJSON, "imsVoPs");
|
||||
|
||||
|
@ -146,7 +146,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac
|
|||
goto end;
|
||||
}
|
||||
ims_vo_psVariable = OpenAPI_ims_vo_ps_FromString(ims_vo_ps->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registration_modificationJSON, "backupAmfInfo");
|
||||
|
||||
|
@ -169,7 +169,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac
|
|||
|
||||
OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_non3_gpp_access_registration_modification_local_var = OpenAPI_amf_non3_gpp_access_registration_modification_create (
|
||||
guami_local_nonprim,
|
||||
|
|
|
@ -108,7 +108,7 @@ OpenAPI_amf_status_change_subscription_data_t *OpenAPI_amf_status_change_subscri
|
|||
|
||||
OpenAPI_list_add(guami_listList, guami_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_status_change_subscription_data_local_var = OpenAPI_amf_status_change_subscription_data_create (
|
||||
ogs_strdup_or_assert(amf_status_uri->valuestring),
|
||||
|
|
|
@ -139,7 +139,7 @@ OpenAPI_amf_status_info_t *OpenAPI_amf_status_info_parseFromJSON(cJSON *amf_stat
|
|||
ogs_error("OpenAPI_amf_status_info_parseFromJSON() failed [target_amf_removal]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_amf_failure = cJSON_GetObjectItemCaseSensitive(amf_status_infoJSON, "targetAmfFailure");
|
||||
|
||||
|
@ -148,7 +148,7 @@ OpenAPI_amf_status_info_t *OpenAPI_amf_status_info_parseFromJSON(cJSON *amf_stat
|
|||
ogs_error("OpenAPI_amf_status_info_parseFromJSON() failed [target_amf_failure]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_status_info_local_var = OpenAPI_amf_status_info_create (
|
||||
guami_listList,
|
||||
|
|
|
@ -98,7 +98,7 @@ OpenAPI_amf_subscription_info_t *OpenAPI_amf_subscription_info_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_amf_subscription_info_parseFromJSON() failed [subs_change_notify_correlation_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
amf_subscription_info_local_var = OpenAPI_amf_subscription_info_create (
|
||||
ogs_strdup_or_assert(amf_instance_id->valuestring),
|
||||
|
|
|
@ -68,7 +68,7 @@ OpenAPI_an_gw_address_t *OpenAPI_an_gw_address_parseFromJSON(cJSON *an_gw_addres
|
|||
ogs_error("OpenAPI_an_gw_address_parseFromJSON() failed [an_gw_ipv4_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *an_gw_ipv6_addr = cJSON_GetObjectItemCaseSensitive(an_gw_addressJSON, "anGwIpv6Addr");
|
||||
|
||||
|
@ -77,7 +77,7 @@ OpenAPI_an_gw_address_t *OpenAPI_an_gw_address_parseFromJSON(cJSON *an_gw_addres
|
|||
ogs_error("OpenAPI_an_gw_address_parseFromJSON() failed [an_gw_ipv6_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
an_gw_address_local_var = OpenAPI_an_gw_address_create (
|
||||
an_gw_ipv4_addr ? ogs_strdup_or_assert(an_gw_ipv4_addr->valuestring) : NULL,
|
||||
|
|
|
@ -94,7 +94,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate
|
|||
ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_packets_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *remain_packets_dl = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "remainPacketsDl");
|
||||
|
||||
|
@ -103,7 +103,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate
|
|||
ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_packets_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "validityTime");
|
||||
|
||||
|
@ -112,7 +112,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate
|
|||
ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [validity_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *remain_ex_reports_ul = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "remainExReportsUl");
|
||||
|
||||
|
@ -121,7 +121,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate
|
|||
ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_ex_reports_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *remain_ex_reports_dl = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "remainExReportsDl");
|
||||
|
||||
|
@ -130,7 +130,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate
|
|||
ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_ex_reports_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
apn_rate_status_local_var = OpenAPI_apn_rate_status_create (
|
||||
remain_packets_ul ? remain_packets_ul->valuedouble : 0,
|
||||
|
|
|
@ -68,7 +68,7 @@ OpenAPI_app_descriptor_t *OpenAPI_app_descriptor_parseFromJSON(cJSON *app_descri
|
|||
ogs_error("OpenAPI_app_descriptor_parseFromJSON() failed [os_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *app_id = cJSON_GetObjectItemCaseSensitive(app_descriptorJSON, "appId");
|
||||
|
||||
|
@ -77,7 +77,7 @@ OpenAPI_app_descriptor_t *OpenAPI_app_descriptor_parseFromJSON(cJSON *app_descri
|
|||
ogs_error("OpenAPI_app_descriptor_parseFromJSON() failed [app_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
app_descriptor_local_var = OpenAPI_app_descriptor_create (
|
||||
os_id ? ogs_strdup_or_assert(os_id->valuestring) : NULL,
|
||||
|
|
|
@ -104,7 +104,7 @@ OpenAPI_app_detection_info_t *OpenAPI_app_detection_info_parseFromJSON(cJSON *ap
|
|||
ogs_error("OpenAPI_app_detection_info_parseFromJSON() failed [instance_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sdf_descriptions = cJSON_GetObjectItemCaseSensitive(app_detection_infoJSON, "sdfDescriptions");
|
||||
|
||||
|
@ -127,7 +127,7 @@ OpenAPI_app_detection_info_t *OpenAPI_app_detection_info_parseFromJSON(cJSON *ap
|
|||
|
||||
OpenAPI_list_add(sdf_descriptionsList, sdf_descriptionsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
app_detection_info_local_var = OpenAPI_app_detection_info_create (
|
||||
ogs_strdup_or_assert(app_id->valuestring),
|
||||
|
|
|
@ -66,7 +66,7 @@ OpenAPI_app_port_id_t *OpenAPI_app_port_id_parseFromJSON(cJSON *app_port_idJSON)
|
|||
ogs_error("OpenAPI_app_port_id_parseFromJSON() failed [destination_port]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *originator_port = cJSON_GetObjectItemCaseSensitive(app_port_idJSON, "originatorPort");
|
||||
|
||||
|
@ -75,7 +75,7 @@ OpenAPI_app_port_id_t *OpenAPI_app_port_id_parseFromJSON(cJSON *app_port_idJSON)
|
|||
ogs_error("OpenAPI_app_port_id_parseFromJSON() failed [originator_port]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
app_port_id_local_var = OpenAPI_app_port_id_create (
|
||||
destination_port ? destination_port->valuedouble : 0,
|
||||
|
|
|
@ -94,21 +94,21 @@ OpenAPI_app_session_context_t *OpenAPI_app_session_context_parseFromJSON(cJSON *
|
|||
OpenAPI_app_session_context_req_data_t *asc_req_data_local_nonprim = NULL;
|
||||
if (asc_req_data) {
|
||||
asc_req_data_local_nonprim = OpenAPI_app_session_context_req_data_parseFromJSON(asc_req_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *asc_resp_data = cJSON_GetObjectItemCaseSensitive(app_session_contextJSON, "ascRespData");
|
||||
|
||||
OpenAPI_app_session_context_resp_data_t *asc_resp_data_local_nonprim = NULL;
|
||||
if (asc_resp_data) {
|
||||
asc_resp_data_local_nonprim = OpenAPI_app_session_context_resp_data_parseFromJSON(asc_resp_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *evs_notif = cJSON_GetObjectItemCaseSensitive(app_session_contextJSON, "evsNotif");
|
||||
|
||||
OpenAPI_events_notification_t *evs_notif_local_nonprim = NULL;
|
||||
if (evs_notif) {
|
||||
evs_notif_local_nonprim = OpenAPI_events_notification_parseFromJSON(evs_notif);
|
||||
}
|
||||
}
|
||||
|
||||
app_session_context_local_var = OpenAPI_app_session_context_create (
|
||||
asc_req_data ? asc_req_data_local_nonprim : NULL,
|
||||
|
|
|
@ -414,7 +414,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [af_app_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_charg_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "afChargId");
|
||||
|
||||
|
@ -423,7 +423,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [af_charg_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_req_data = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "afReqData");
|
||||
|
||||
|
@ -434,14 +434,14 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
goto end;
|
||||
}
|
||||
af_req_dataVariable = OpenAPI_af_requested_data_FromString(af_req_data->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "afRoutReq");
|
||||
|
||||
OpenAPI_af_routing_requirement_t *af_rout_req_local_nonprim = NULL;
|
||||
if (af_rout_req) {
|
||||
af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_parseFromJSON(af_rout_req);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *asp_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "aspId");
|
||||
|
||||
|
@ -450,7 +450,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [asp_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "bdtRefId");
|
||||
|
||||
|
@ -459,7 +459,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [bdt_ref_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *dnn = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "dnn");
|
||||
|
||||
|
@ -468,14 +468,14 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [dnn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ev_subsc = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "evSubsc");
|
||||
|
||||
OpenAPI_events_subsc_req_data_t *ev_subsc_local_nonprim = NULL;
|
||||
if (ev_subsc) {
|
||||
ev_subsc_local_nonprim = OpenAPI_events_subsc_req_data_parseFromJSON(ev_subsc);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mcptt_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mcpttId");
|
||||
|
||||
|
@ -484,7 +484,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mcptt_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mc_video_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mcVideoId");
|
||||
|
||||
|
@ -493,7 +493,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mc_video_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *med_components = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "medComponents");
|
||||
|
||||
|
@ -516,7 +516,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
localMapObject->string, OpenAPI_media_component_parseFromJSON(localMapObject));
|
||||
OpenAPI_list_add(med_componentsList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "ipDomain");
|
||||
|
||||
|
@ -525,7 +525,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ip_domain]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mps_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mpsId");
|
||||
|
||||
|
@ -534,7 +534,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mps_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mcs_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mcsId");
|
||||
|
||||
|
@ -543,7 +543,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mcs_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *preempt_control_info = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "preemptControlInfo");
|
||||
|
||||
|
@ -554,7 +554,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
goto end;
|
||||
}
|
||||
preempt_control_infoVariable = OpenAPI_preemption_control_information_FromString(preempt_control_info->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "resPrio");
|
||||
|
||||
|
@ -565,7 +565,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
goto end;
|
||||
}
|
||||
res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *serv_inf_status = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "servInfStatus");
|
||||
|
||||
|
@ -576,7 +576,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
goto end;
|
||||
}
|
||||
serv_inf_statusVariable = OpenAPI_service_info_status_FromString(serv_inf_status->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *notif_uri = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "notifUri");
|
||||
if (!notif_uri) {
|
||||
|
@ -597,14 +597,14 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [serv_urn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *slice_info = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "sliceInfo");
|
||||
|
||||
OpenAPI_snssai_t *slice_info_local_nonprim = NULL;
|
||||
if (slice_info) {
|
||||
slice_info_local_nonprim = OpenAPI_snssai_parseFromJSON(slice_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *spon_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "sponId");
|
||||
|
||||
|
@ -613,7 +613,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [spon_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *spon_status = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "sponStatus");
|
||||
|
||||
|
@ -624,7 +624,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
goto end;
|
||||
}
|
||||
spon_statusVariable = OpenAPI_sponsoring_status_FromString(spon_status->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "supi");
|
||||
|
||||
|
@ -633,7 +633,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "gpsi");
|
||||
|
||||
|
@ -642,7 +642,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [gpsi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "suppFeat");
|
||||
if (!supp_feat) {
|
||||
|
@ -663,7 +663,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ue_ipv4]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_ipv6 = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "ueIpv6");
|
||||
|
||||
|
@ -672,7 +672,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ue_ipv6]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_mac = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "ueMac");
|
||||
|
||||
|
@ -681,21 +681,21 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ue_mac]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "tsnBridgeManCont");
|
||||
|
||||
OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL;
|
||||
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(app_session_context_req_dataJSON, "tsnPortManContDstt");
|
||||
|
||||
OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL;
|
||||
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(app_session_context_req_dataJSON, "tsnPortManContNwtts");
|
||||
|
||||
|
@ -718,7 +718,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par
|
|||
|
||||
OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
app_session_context_req_data_local_var = OpenAPI_app_session_context_req_data_create (
|
||||
af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL,
|
||||
|
|
|
@ -95,7 +95,7 @@ OpenAPI_app_session_context_resp_data_t *OpenAPI_app_session_context_resp_data_p
|
|||
goto end;
|
||||
}
|
||||
serv_auth_infoVariable = OpenAPI_serv_auth_info_FromString(serv_auth_info->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_ids = cJSON_GetObjectItemCaseSensitive(app_session_context_resp_dataJSON, "ueIds");
|
||||
|
||||
|
@ -118,7 +118,7 @@ OpenAPI_app_session_context_resp_data_t *OpenAPI_app_session_context_resp_data_p
|
|||
|
||||
OpenAPI_list_add(ue_idsList, ue_idsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(app_session_context_resp_dataJSON, "suppFeat");
|
||||
|
||||
|
@ -127,7 +127,7 @@ OpenAPI_app_session_context_resp_data_t *OpenAPI_app_session_context_resp_data_p
|
|||
ogs_error("OpenAPI_app_session_context_resp_data_parseFromJSON() failed [supp_feat]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
app_session_context_resp_data_local_var = OpenAPI_app_session_context_resp_data_create (
|
||||
serv_auth_info ? serv_auth_infoVariable : 0,
|
||||
|
|
|
@ -299,14 +299,14 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [af_app_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "afRoutReq");
|
||||
|
||||
OpenAPI_af_routing_requirement_rm_t *af_rout_req_local_nonprim = NULL;
|
||||
if (af_rout_req) {
|
||||
af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_rm_parseFromJSON(af_rout_req);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *asp_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "aspId");
|
||||
|
||||
|
@ -315,7 +315,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [asp_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "bdtRefId");
|
||||
|
||||
|
@ -324,14 +324,14 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [bdt_ref_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ev_subsc = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "evSubsc");
|
||||
|
||||
OpenAPI_events_subsc_req_data_rm_t *ev_subsc_local_nonprim = NULL;
|
||||
if (ev_subsc) {
|
||||
ev_subsc_local_nonprim = OpenAPI_events_subsc_req_data_rm_parseFromJSON(ev_subsc);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mcptt_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mcpttId");
|
||||
|
||||
|
@ -340,7 +340,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mcptt_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mc_video_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mcVideoId");
|
||||
|
||||
|
@ -349,7 +349,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mc_video_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *med_components = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "medComponents");
|
||||
|
||||
|
@ -372,7 +372,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
localMapObject->string, OpenAPI_media_component_rm_parseFromJSON(localMapObject));
|
||||
OpenAPI_list_add(med_componentsList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mps_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mpsId");
|
||||
|
||||
|
@ -381,7 +381,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mps_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mcs_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mcsId");
|
||||
|
||||
|
@ -390,14 +390,14 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mcs_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *preempt_control_info = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "preemptControlInfo");
|
||||
|
||||
OpenAPI_preemption_control_information_rm_t *preempt_control_info_local_nonprim = NULL;
|
||||
if (preempt_control_info) {
|
||||
preempt_control_info_local_nonprim = OpenAPI_preemption_control_information_rm_parseFromJSON(preempt_control_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "resPrio");
|
||||
|
||||
|
@ -408,7 +408,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
goto end;
|
||||
}
|
||||
res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *serv_inf_status = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "servInfStatus");
|
||||
|
||||
|
@ -419,7 +419,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
goto end;
|
||||
}
|
||||
serv_inf_statusVariable = OpenAPI_service_info_status_FromString(serv_inf_status->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sip_fork_ind = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "sipForkInd");
|
||||
|
||||
|
@ -430,7 +430,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
goto end;
|
||||
}
|
||||
sip_fork_indVariable = OpenAPI_sip_forking_indication_FromString(sip_fork_ind->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *spon_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "sponId");
|
||||
|
||||
|
@ -439,7 +439,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [spon_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *spon_status = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "sponStatus");
|
||||
|
||||
|
@ -450,21 +450,21 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
goto end;
|
||||
}
|
||||
spon_statusVariable = OpenAPI_sponsoring_status_FromString(spon_status->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "tsnBridgeManCont");
|
||||
|
||||
OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL;
|
||||
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(app_session_context_update_dataJSON, "tsnPortManContDstt");
|
||||
|
||||
OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL;
|
||||
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(app_session_context_update_dataJSON, "tsnPortManContNwtts");
|
||||
|
||||
|
@ -487,7 +487,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da
|
|||
|
||||
OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
app_session_context_update_data_local_var = OpenAPI_app_session_context_update_data_create (
|
||||
af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL,
|
||||
|
|
|
@ -62,7 +62,7 @@ OpenAPI_app_session_context_update_data_patch_t *OpenAPI_app_session_context_upd
|
|||
OpenAPI_app_session_context_update_data_t *asc_req_data_local_nonprim = NULL;
|
||||
if (asc_req_data) {
|
||||
asc_req_data_local_nonprim = OpenAPI_app_session_context_update_data_parseFromJSON(asc_req_data);
|
||||
}
|
||||
}
|
||||
|
||||
app_session_context_update_data_patch_local_var = OpenAPI_app_session_context_update_data_patch_create (
|
||||
asc_req_data ? asc_req_data_local_nonprim : NULL
|
||||
|
|
|
@ -118,21 +118,21 @@ OpenAPI_application_data_change_notif_t *OpenAPI_application_data_change_notif_p
|
|||
OpenAPI_iptv_config_data_t *iptv_config_data_local_nonprim = NULL;
|
||||
if (iptv_config_data) {
|
||||
iptv_config_data_local_nonprim = OpenAPI_iptv_config_data_parseFromJSON(iptv_config_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pfd_data = cJSON_GetObjectItemCaseSensitive(application_data_change_notifJSON, "pfdData");
|
||||
|
||||
OpenAPI_pfd_change_notification_t *pfd_data_local_nonprim = NULL;
|
||||
if (pfd_data) {
|
||||
pfd_data_local_nonprim = OpenAPI_pfd_change_notification_parseFromJSON(pfd_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bdt_policy_data = cJSON_GetObjectItemCaseSensitive(application_data_change_notifJSON, "bdtPolicyData");
|
||||
|
||||
OpenAPI_bdt_policy_data_t *bdt_policy_data_local_nonprim = NULL;
|
||||
if (bdt_policy_data) {
|
||||
bdt_policy_data_local_nonprim = OpenAPI_bdt_policy_data_parseFromJSON(bdt_policy_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(application_data_change_notifJSON, "resUri");
|
||||
if (!res_uri) {
|
||||
|
@ -151,7 +151,7 @@ OpenAPI_application_data_change_notif_t *OpenAPI_application_data_change_notif_p
|
|||
OpenAPI_service_parameter_data_t *ser_param_data_local_nonprim = NULL;
|
||||
if (ser_param_data) {
|
||||
ser_param_data_local_nonprim = OpenAPI_service_parameter_data_parseFromJSON(ser_param_data);
|
||||
}
|
||||
}
|
||||
|
||||
application_data_change_notif_local_var = OpenAPI_application_data_change_notif_create (
|
||||
iptv_config_data ? iptv_config_data_local_nonprim : NULL,
|
||||
|
|
|
@ -128,7 +128,7 @@ OpenAPI_application_data_subs_t *OpenAPI_application_data_subs_parseFromJSON(cJS
|
|||
|
||||
OpenAPI_list_add(data_filtersList, data_filtersItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *expiry = cJSON_GetObjectItemCaseSensitive(application_data_subsJSON, "expiry");
|
||||
|
||||
|
@ -137,7 +137,7 @@ OpenAPI_application_data_subs_t *OpenAPI_application_data_subs_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_application_data_subs_parseFromJSON() failed [expiry]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(application_data_subsJSON, "supportedFeatures");
|
||||
|
||||
|
@ -146,7 +146,7 @@ OpenAPI_application_data_subs_t *OpenAPI_application_data_subs_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_application_data_subs_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
application_data_subs_local_var = OpenAPI_application_data_subs_create (
|
||||
ogs_strdup_or_assert(notification_uri->valuestring),
|
||||
|
|
|
@ -91,7 +91,7 @@ OpenAPI_area_t *OpenAPI_area_parseFromJSON(cJSON *areaJSON)
|
|||
}
|
||||
OpenAPI_list_add(tacsList , ogs_strdup_or_assert(tacs_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *area_code = cJSON_GetObjectItemCaseSensitive(areaJSON, "areaCode");
|
||||
|
||||
|
@ -100,7 +100,7 @@ OpenAPI_area_t *OpenAPI_area_parseFromJSON(cJSON *areaJSON)
|
|||
ogs_error("OpenAPI_area_parseFromJSON() failed [area_code]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
area_local_var = OpenAPI_area_create (
|
||||
tacs ? tacsList : NULL,
|
||||
|
|
|
@ -91,7 +91,7 @@ OpenAPI_area_1_t *OpenAPI_area_1_parseFromJSON(cJSON *area_1JSON)
|
|||
}
|
||||
OpenAPI_list_add(tacsList , ogs_strdup_or_assert(tacs_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *area_code = cJSON_GetObjectItemCaseSensitive(area_1JSON, "areaCode");
|
||||
|
||||
|
@ -100,7 +100,7 @@ OpenAPI_area_1_t *OpenAPI_area_1_parseFromJSON(cJSON *area_1JSON)
|
|||
ogs_error("OpenAPI_area_1_parseFromJSON() failed [area_code]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
area_1_local_var = OpenAPI_area_1_create (
|
||||
tacs ? tacsList : NULL,
|
||||
|
|
|
@ -154,7 +154,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON)
|
|||
}
|
||||
OpenAPI_list_add(eutra_cell_id_listList , ogs_strdup_or_assert(eutra_cell_id_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nr_cell_id_list = cJSON_GetObjectItemCaseSensitive(area_scopeJSON, "nrCellIdList");
|
||||
|
||||
|
@ -174,7 +174,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON)
|
|||
}
|
||||
OpenAPI_list_add(nr_cell_id_listList , ogs_strdup_or_assert(nr_cell_id_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tac_list = cJSON_GetObjectItemCaseSensitive(area_scopeJSON, "tacList");
|
||||
|
||||
|
@ -194,7 +194,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON)
|
|||
}
|
||||
OpenAPI_list_add(tac_listList , ogs_strdup_or_assert(tac_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *tac_info_per_plmn = cJSON_GetObjectItemCaseSensitive(area_scopeJSON, "tacInfoPerPlmn");
|
||||
|
||||
|
@ -217,7 +217,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON)
|
|||
localMapObject->string, OpenAPI_tac_info_parseFromJSON(localMapObject));
|
||||
OpenAPI_list_add(tac_info_per_plmnList , localMapKeyPair);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
area_scope_local_var = OpenAPI_area_scope_create (
|
||||
eutra_cell_id_list ? eutra_cell_id_listList : NULL,
|
||||
|
|
|
@ -145,7 +145,7 @@ OpenAPI_assign_ebi_data_t *OpenAPI_assign_ebi_data_parseFromJSON(cJSON *assign_e
|
|||
|
||||
OpenAPI_list_add(arp_listList, arp_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *released_ebi_list = cJSON_GetObjectItemCaseSensitive(assign_ebi_dataJSON, "releasedEbiList");
|
||||
|
||||
|
@ -165,14 +165,14 @@ OpenAPI_assign_ebi_data_t *OpenAPI_assign_ebi_data_parseFromJSON(cJSON *assign_e
|
|||
}
|
||||
OpenAPI_list_add(released_ebi_listList , &released_ebi_list_local->valuedouble);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *old_guami = cJSON_GetObjectItemCaseSensitive(assign_ebi_dataJSON, "oldGuami");
|
||||
|
||||
OpenAPI_guami_t *old_guami_local_nonprim = NULL;
|
||||
if (old_guami) {
|
||||
old_guami_local_nonprim = OpenAPI_guami_parseFromJSON(old_guami);
|
||||
}
|
||||
}
|
||||
|
||||
assign_ebi_data_local_var = OpenAPI_assign_ebi_data_create (
|
||||
pdu_session_id->valuedouble,
|
||||
|
|
|
@ -107,7 +107,7 @@ OpenAPI_assign_ebi_failed_t *OpenAPI_assign_ebi_failed_parseFromJSON(cJSON *assi
|
|||
|
||||
OpenAPI_list_add(failed_arp_listList, failed_arp_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
assign_ebi_failed_local_var = OpenAPI_assign_ebi_failed_create (
|
||||
pdu_session_id->valuedouble,
|
||||
|
|
|
@ -179,7 +179,7 @@ OpenAPI_assigned_ebi_data_t *OpenAPI_assigned_ebi_data_parseFromJSON(cJSON *assi
|
|||
|
||||
OpenAPI_list_add(failed_arp_listList, failed_arp_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *released_ebi_list = cJSON_GetObjectItemCaseSensitive(assigned_ebi_dataJSON, "releasedEbiList");
|
||||
|
||||
|
@ -199,7 +199,7 @@ OpenAPI_assigned_ebi_data_t *OpenAPI_assigned_ebi_data_parseFromJSON(cJSON *assi
|
|||
}
|
||||
OpenAPI_list_add(released_ebi_listList , &released_ebi_list_local->valuedouble);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
assigned_ebi_data_local_var = OpenAPI_assigned_ebi_data_create (
|
||||
pdu_session_id->valuedouble,
|
||||
|
|
|
@ -97,7 +97,7 @@ OpenAPI_atom_t *OpenAPI_atom_parseFromJSON(cJSON *atomJSON)
|
|||
ogs_error("OpenAPI_atom_parseFromJSON() failed [negative]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
atom_local_var = OpenAPI_atom_create (
|
||||
ogs_strdup_or_assert(attr->valuestring),
|
||||
|
|
|
@ -75,7 +75,7 @@ OpenAPI_atsss_capability_t *OpenAPI_atsss_capability_parseFromJSON(cJSON *atsss_
|
|||
ogs_error("OpenAPI_atsss_capability_parseFromJSON() failed [atsss_ll]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *mptcp = cJSON_GetObjectItemCaseSensitive(atsss_capabilityJSON, "mptcp");
|
||||
|
||||
|
@ -84,7 +84,7 @@ OpenAPI_atsss_capability_t *OpenAPI_atsss_capability_parseFromJSON(cJSON *atsss_
|
|||
ogs_error("OpenAPI_atsss_capability_parseFromJSON() failed [mptcp]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rtt_without_pmf = cJSON_GetObjectItemCaseSensitive(atsss_capabilityJSON, "rttWithoutPmf");
|
||||
|
||||
|
@ -93,7 +93,7 @@ OpenAPI_atsss_capability_t *OpenAPI_atsss_capability_parseFromJSON(cJSON *atsss_
|
|||
ogs_error("OpenAPI_atsss_capability_parseFromJSON() failed [rtt_without_pmf]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
atsss_capability_local_var = OpenAPI_atsss_capability_create (
|
||||
atsss_ll ? atsss_ll->valueint : 0,
|
||||
|
|
|
@ -106,7 +106,7 @@ OpenAPI_ausf_info_t *OpenAPI_ausf_info_parseFromJSON(cJSON *ausf_infoJSON)
|
|||
ogs_error("OpenAPI_ausf_info_parseFromJSON() failed [group_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi_ranges = cJSON_GetObjectItemCaseSensitive(ausf_infoJSON, "supiRanges");
|
||||
|
||||
|
@ -129,7 +129,7 @@ OpenAPI_ausf_info_t *OpenAPI_ausf_info_parseFromJSON(cJSON *ausf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(supi_rangesList, supi_rangesItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *routing_indicators = cJSON_GetObjectItemCaseSensitive(ausf_infoJSON, "routingIndicators");
|
||||
|
||||
|
@ -149,7 +149,7 @@ OpenAPI_ausf_info_t *OpenAPI_ausf_info_parseFromJSON(cJSON *ausf_infoJSON)
|
|||
}
|
||||
OpenAPI_list_add(routing_indicatorsList , ogs_strdup_or_assert(routing_indicators_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ausf_info_local_var = OpenAPI_ausf_info_create (
|
||||
group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL,
|
||||
|
|
|
@ -157,7 +157,7 @@ OpenAPI_auth_event_t *OpenAPI_auth_event_parseFromJSON(cJSON *auth_eventJSON)
|
|||
ogs_error("OpenAPI_auth_event_parseFromJSON() failed [auth_removal_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auth_event_local_var = OpenAPI_auth_event_create (
|
||||
ogs_strdup_or_assert(nf_instance_id->valuestring),
|
||||
|
|
|
@ -189,7 +189,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
OpenAPI_resynchronization_info_t *resynchronization_info_local_nonprim = NULL;
|
||||
if (resynchronization_info) {
|
||||
resynchronization_info_local_nonprim = OpenAPI_resynchronization_info_parseFromJSON(resynchronization_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pei = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "pei");
|
||||
|
||||
|
@ -198,14 +198,14 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [pei]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "traceData");
|
||||
|
||||
OpenAPI_trace_data_t *trace_data_local_nonprim = NULL;
|
||||
if (trace_data) {
|
||||
trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "udmGroupId");
|
||||
|
||||
|
@ -214,7 +214,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [udm_group_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "routingIndicator");
|
||||
|
||||
|
@ -223,7 +223,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [routing_indicator]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *cell_cag_info = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "cellCagInfo");
|
||||
|
||||
|
@ -243,7 +243,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
}
|
||||
OpenAPI_list_add(cell_cag_infoList , ogs_strdup_or_assert(cell_cag_info_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *n5gc_ind = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "n5gcInd");
|
||||
|
||||
|
@ -252,7 +252,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [n5gc_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "supportedFeatures");
|
||||
|
||||
|
@ -261,7 +261,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON *
|
|||
ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authentication_info_local_var = OpenAPI_authentication_info_create (
|
||||
ogs_strdup_or_assert(supi_or_suci->valuestring),
|
||||
|
|
|
@ -121,7 +121,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse
|
|||
ogs_error("OpenAPI_authentication_info_request_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *serving_network_name = cJSON_GetObjectItemCaseSensitive(authentication_info_requestJSON, "servingNetworkName");
|
||||
if (!serving_network_name) {
|
||||
|
@ -140,7 +140,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse
|
|||
OpenAPI_resynchronization_info_t *resynchronization_info_local_nonprim = NULL;
|
||||
if (resynchronization_info) {
|
||||
resynchronization_info_local_nonprim = OpenAPI_resynchronization_info_parseFromJSON(resynchronization_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ausf_instance_id = cJSON_GetObjectItemCaseSensitive(authentication_info_requestJSON, "ausfInstanceId");
|
||||
if (!ausf_instance_id) {
|
||||
|
@ -172,7 +172,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse
|
|||
}
|
||||
OpenAPI_list_add(cell_cag_infoList , ogs_strdup_or_assert(cell_cag_info_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *n5gc_ind = cJSON_GetObjectItemCaseSensitive(authentication_info_requestJSON, "n5gcInd");
|
||||
|
||||
|
@ -181,7 +181,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse
|
|||
ogs_error("OpenAPI_authentication_info_request_parseFromJSON() failed [n5gc_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authentication_info_request_local_var = OpenAPI_authentication_info_request_create (
|
||||
supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL,
|
||||
|
|
|
@ -105,14 +105,14 @@ OpenAPI_authentication_info_result_t *OpenAPI_authentication_info_result_parseFr
|
|||
ogs_error("OpenAPI_authentication_info_result_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *authentication_vector = cJSON_GetObjectItemCaseSensitive(authentication_info_resultJSON, "authenticationVector");
|
||||
|
||||
OpenAPI_authentication_vector_t *authentication_vector_local_nonprim = NULL;
|
||||
if (authentication_vector) {
|
||||
authentication_vector_local_nonprim = OpenAPI_authentication_vector_parseFromJSON(authentication_vector);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(authentication_info_resultJSON, "supi");
|
||||
|
||||
|
@ -121,7 +121,7 @@ OpenAPI_authentication_info_result_t *OpenAPI_authentication_info_result_parseFr
|
|||
ogs_error("OpenAPI_authentication_info_result_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authentication_info_result_local_var = OpenAPI_authentication_info_result_create (
|
||||
auth_typeVariable,
|
||||
|
|
|
@ -182,7 +182,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [enc_permanent_key]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *protection_parameter_id = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "protectionParameterId");
|
||||
|
||||
|
@ -191,14 +191,14 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [protection_parameter_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sequence_number = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "sequenceNumber");
|
||||
|
||||
OpenAPI_sequence_number_t *sequence_number_local_nonprim = NULL;
|
||||
if (sequence_number) {
|
||||
sequence_number_local_nonprim = OpenAPI_sequence_number_parseFromJSON(sequence_number);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *authentication_management_field = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "authenticationManagementField");
|
||||
|
||||
|
@ -207,7 +207,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [authentication_management_field]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *algorithm_id = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "algorithmId");
|
||||
|
||||
|
@ -216,7 +216,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [algorithm_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *enc_opc_key = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "encOpcKey");
|
||||
|
||||
|
@ -225,7 +225,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [enc_opc_key]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *enc_topc_key = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "encTopcKey");
|
||||
|
||||
|
@ -234,7 +234,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [enc_topc_key]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *vector_generation_in_hss = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "vectorGenerationInHss");
|
||||
|
||||
|
@ -243,7 +243,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [vector_generation_in_hss]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *n5gc_auth_method = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "n5gcAuthMethod");
|
||||
|
||||
|
@ -254,7 +254,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
goto end;
|
||||
}
|
||||
n5gc_auth_methodVariable = OpenAPI_auth_method_FromString(n5gc_auth_method->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rg_authentication_ind = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "rgAuthenticationInd");
|
||||
|
||||
|
@ -263,7 +263,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [rg_authentication_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "supi");
|
||||
|
||||
|
@ -272,7 +272,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse
|
|||
ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authentication_subscription_local_var = OpenAPI_authentication_subscription_create (
|
||||
authentication_methodVariable,
|
||||
|
|
|
@ -147,7 +147,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [xres]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *autn = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "autn");
|
||||
if (!autn) {
|
||||
|
@ -168,7 +168,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [ck_prime]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ik_prime = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "ikPrime");
|
||||
|
||||
|
@ -177,7 +177,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [ik_prime]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *xres_star = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "xresStar");
|
||||
|
||||
|
@ -186,7 +186,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [xres_star]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *kausf = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "kausf");
|
||||
|
||||
|
@ -195,7 +195,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [kausf]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authentication_vector_local_var = OpenAPI_authentication_vector_create (
|
||||
av_typeVariable,
|
||||
|
|
|
@ -108,7 +108,7 @@ OpenAPI_authorization_data_t *OpenAPI_authorization_data_parseFromJSON(cJSON *au
|
|||
ogs_error("OpenAPI_authorization_data_parseFromJSON() failed [validity_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authorization_data_local_var = OpenAPI_authorization_data_create (
|
||||
authorization_dataList,
|
||||
|
|
|
@ -149,14 +149,14 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [_5qi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *arp = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "arp");
|
||||
|
||||
OpenAPI_arp_t *arp_local_nonprim = NULL;
|
||||
if (arp) {
|
||||
arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *priority_level = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "priorityLevel");
|
||||
|
||||
|
@ -165,7 +165,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [priority_level]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *aver_window = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "averWindow");
|
||||
|
||||
|
@ -174,7 +174,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [aver_window]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "maxDataBurstVol");
|
||||
|
||||
|
@ -183,7 +183,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [max_data_burst_vol]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *maxbr_ul = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "maxbrUl");
|
||||
|
||||
|
@ -192,7 +192,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [maxbr_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *maxbr_dl = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "maxbrDl");
|
||||
|
||||
|
@ -201,7 +201,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [maxbr_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gbr_ul = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "gbrUl");
|
||||
|
||||
|
@ -210,7 +210,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [gbr_ul]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gbr_dl = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "gbrDl");
|
||||
|
||||
|
@ -219,7 +219,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [gbr_dl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ext_max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "extMaxDataBurstVol");
|
||||
|
||||
|
@ -228,7 +228,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c
|
|||
ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [ext_max_data_burst_vol]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authorized_default_qos_local_var = OpenAPI_authorized_default_qos_create (
|
||||
_5qi ? _5qi->valuedouble : 0,
|
||||
|
|
|
@ -264,7 +264,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
|
||||
OpenAPI_list_add(allowed_nssai_listList, allowed_nssai_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *configured_nssai = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "configuredNssai");
|
||||
|
||||
|
@ -287,7 +287,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
|
||||
OpenAPI_list_add(configured_nssaiList, configured_nssaiItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_amf_set = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "targetAmfSet");
|
||||
|
||||
|
@ -296,7 +296,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [target_amf_set]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *candidate_amf_list = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "candidateAmfList");
|
||||
|
||||
|
@ -316,7 +316,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
}
|
||||
OpenAPI_list_add(candidate_amf_listList , ogs_strdup_or_assert(candidate_amf_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rejected_nssai_in_plmn = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "rejectedNssaiInPlmn");
|
||||
|
||||
|
@ -339,7 +339,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
|
||||
OpenAPI_list_add(rejected_nssai_in_plmnList, rejected_nssai_in_plmnItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rejected_nssai_in_ta = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "rejectedNssaiInTa");
|
||||
|
||||
|
@ -362,14 +362,14 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
|
||||
OpenAPI_list_add(rejected_nssai_in_taList, rejected_nssai_in_taItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nsi_information = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nsiInformation");
|
||||
|
||||
OpenAPI_nsi_information_t *nsi_information_local_nonprim = NULL;
|
||||
if (nsi_information) {
|
||||
nsi_information_local_nonprim = OpenAPI_nsi_information_parseFromJSON(nsi_information);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "supportedFeatures");
|
||||
|
||||
|
@ -378,7 +378,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nrf_amf_set = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nrfAmfSet");
|
||||
|
||||
|
@ -387,7 +387,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [nrf_amf_set]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nrf_amf_set_nf_mgt_uri = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nrfAmfSetNfMgtUri");
|
||||
|
||||
|
@ -396,7 +396,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [nrf_amf_set_nf_mgt_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nrf_amf_set_access_token_uri = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nrfAmfSetAccessTokenUri");
|
||||
|
||||
|
@ -405,7 +405,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [nrf_amf_set_access_token_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *target_amf_service_set = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "targetAmfServiceSet");
|
||||
|
||||
|
@ -414,7 +414,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p
|
|||
ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [target_amf_service_set]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
authorized_network_slice_info_local_var = OpenAPI_authorized_network_slice_info_create (
|
||||
allowed_nssai_list ? allowed_nssai_listList : NULL,
|
||||
|
|
|
@ -117,7 +117,7 @@ OpenAPI_av5_ghe_aka_t *OpenAPI_av5_ghe_aka_parseFromJSON(cJSON *av5_ghe_akaJSON)
|
|||
ogs_error("OpenAPI_av5_ghe_aka_parseFromJSON() failed [xres_star]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *autn = cJSON_GetObjectItemCaseSensitive(av5_ghe_akaJSON, "autn");
|
||||
if (!autn) {
|
||||
|
@ -138,7 +138,7 @@ OpenAPI_av5_ghe_aka_t *OpenAPI_av5_ghe_aka_parseFromJSON(cJSON *av5_ghe_akaJSON)
|
|||
ogs_error("OpenAPI_av5_ghe_aka_parseFromJSON() failed [kausf]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
av5_ghe_aka_local_var = OpenAPI_av5_ghe_aka_create (
|
||||
av_typeVariable,
|
||||
|
|
|
@ -127,7 +127,7 @@ OpenAPI_av_eap_aka_prime_t *OpenAPI_av_eap_aka_prime_parseFromJSON(cJSON *av_eap
|
|||
ogs_error("OpenAPI_av_eap_aka_prime_parseFromJSON() failed [xres]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *autn = cJSON_GetObjectItemCaseSensitive(av_eap_aka_primeJSON, "autn");
|
||||
if (!autn) {
|
||||
|
@ -148,7 +148,7 @@ OpenAPI_av_eap_aka_prime_t *OpenAPI_av_eap_aka_prime_parseFromJSON(cJSON *av_eap
|
|||
ogs_error("OpenAPI_av_eap_aka_prime_parseFromJSON() failed [ck_prime]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ik_prime = cJSON_GetObjectItemCaseSensitive(av_eap_aka_primeJSON, "ikPrime");
|
||||
|
||||
|
@ -157,7 +157,7 @@ OpenAPI_av_eap_aka_prime_t *OpenAPI_av_eap_aka_prime_parseFromJSON(cJSON *av_eap
|
|||
ogs_error("OpenAPI_av_eap_aka_prime_parseFromJSON() failed [ik_prime]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
av_eap_aka_prime_local_var = OpenAPI_av_eap_aka_prime_create (
|
||||
av_typeVariable,
|
||||
|
|
|
@ -108,7 +108,7 @@ OpenAPI_backup_amf_info_t *OpenAPI_backup_amf_info_parseFromJSON(cJSON *backup_a
|
|||
|
||||
OpenAPI_list_add(guami_listList, guami_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
backup_amf_info_local_var = OpenAPI_backup_amf_info_create (
|
||||
ogs_strdup_or_assert(backup_amf->valuestring),
|
||||
|
|
|
@ -75,7 +75,7 @@ OpenAPI_battery_indication_t *OpenAPI_battery_indication_parseFromJSON(cJSON *ba
|
|||
ogs_error("OpenAPI_battery_indication_parseFromJSON() failed [battery_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *replaceable_ind = cJSON_GetObjectItemCaseSensitive(battery_indicationJSON, "replaceableInd");
|
||||
|
||||
|
@ -84,7 +84,7 @@ OpenAPI_battery_indication_t *OpenAPI_battery_indication_parseFromJSON(cJSON *ba
|
|||
ogs_error("OpenAPI_battery_indication_parseFromJSON() failed [replaceable_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rechargeable_ind = cJSON_GetObjectItemCaseSensitive(battery_indicationJSON, "rechargeableInd");
|
||||
|
||||
|
@ -93,7 +93,7 @@ OpenAPI_battery_indication_t *OpenAPI_battery_indication_parseFromJSON(cJSON *ba
|
|||
ogs_error("OpenAPI_battery_indication_parseFromJSON() failed [rechargeable_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
battery_indication_local_var = OpenAPI_battery_indication_create (
|
||||
battery_ind ? battery_ind->valueint : 0,
|
||||
|
|
|
@ -75,7 +75,7 @@ OpenAPI_battery_indication_rm_t *OpenAPI_battery_indication_rm_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_battery_indication_rm_parseFromJSON() failed [battery_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *replaceable_ind = cJSON_GetObjectItemCaseSensitive(battery_indication_rmJSON, "replaceableInd");
|
||||
|
||||
|
@ -84,7 +84,7 @@ OpenAPI_battery_indication_rm_t *OpenAPI_battery_indication_rm_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_battery_indication_rm_parseFromJSON() failed [replaceable_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rechargeable_ind = cJSON_GetObjectItemCaseSensitive(battery_indication_rmJSON, "rechargeableInd");
|
||||
|
||||
|
@ -93,7 +93,7 @@ OpenAPI_battery_indication_rm_t *OpenAPI_battery_indication_rm_parseFromJSON(cJS
|
|||
ogs_error("OpenAPI_battery_indication_rm_parseFromJSON() failed [rechargeable_ind]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
battery_indication_rm_local_var = OpenAPI_battery_indication_rm_create (
|
||||
battery_ind ? battery_ind->valueint : 0,
|
||||
|
|
|
@ -205,14 +205,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON)
|
|||
ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [bdt_ref_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nw_area_info = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "nwAreaInfo");
|
||||
|
||||
OpenAPI_network_area_info_1_t *nw_area_info_local_nonprim = NULL;
|
||||
if (nw_area_info) {
|
||||
nw_area_info_local_nonprim = OpenAPI_network_area_info_1_parseFromJSON(nw_area_info);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *num_of_ues = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "numOfUes");
|
||||
|
||||
|
@ -221,14 +221,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON)
|
|||
ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [num_of_ues]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *vol_per_ue = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "volPerUe");
|
||||
|
||||
OpenAPI_usage_threshold_t *vol_per_ue_local_nonprim = NULL;
|
||||
if (vol_per_ue) {
|
||||
vol_per_ue_local_nonprim = OpenAPI_usage_threshold_parseFromJSON(vol_per_ue);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *dnn = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "dnn");
|
||||
|
||||
|
@ -237,14 +237,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON)
|
|||
ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [dnn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *snssai = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "snssai");
|
||||
|
||||
OpenAPI_snssai_t *snssai_local_nonprim = NULL;
|
||||
if (snssai) {
|
||||
snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *traffic_des = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "trafficDes");
|
||||
|
||||
|
@ -253,14 +253,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON)
|
|||
ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [traffic_des]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bdtp_status = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "bdtpStatus");
|
||||
|
||||
OpenAPI_bdt_policy_status_t *bdtp_status_local_nonprim = NULL;
|
||||
if (bdtp_status) {
|
||||
bdtp_status_local_nonprim = OpenAPI_bdt_policy_status_parseFromJSON(bdtp_status);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "suppFeat");
|
||||
|
||||
|
@ -269,7 +269,7 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON)
|
|||
ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [supp_feat]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bdt_data_local_var = OpenAPI_bdt_data_create (
|
||||
ogs_strdup_or_assert(asp_id->valuestring),
|
||||
|
|
|
@ -78,14 +78,14 @@ OpenAPI_bdt_data_patch_t *OpenAPI_bdt_data_patch_parseFromJSON(cJSON *bdt_data_p
|
|||
OpenAPI_transfer_policy_t *trans_policy_local_nonprim = NULL;
|
||||
if (trans_policy) {
|
||||
trans_policy_local_nonprim = OpenAPI_transfer_policy_parseFromJSON(trans_policy);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bdtp_status = cJSON_GetObjectItemCaseSensitive(bdt_data_patchJSON, "bdtpStatus");
|
||||
|
||||
OpenAPI_bdt_policy_status_t *bdtp_status_local_nonprim = NULL;
|
||||
if (bdtp_status) {
|
||||
bdtp_status_local_nonprim = OpenAPI_bdt_policy_status_parseFromJSON(bdtp_status);
|
||||
}
|
||||
}
|
||||
|
||||
bdt_data_patch_local_var = OpenAPI_bdt_data_patch_create (
|
||||
trans_policy ? trans_policy_local_nonprim : NULL,
|
||||
|
|
|
@ -112,7 +112,7 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli
|
|||
ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [inter_group_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *supi = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "supi");
|
||||
|
||||
|
@ -121,7 +121,7 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli
|
|||
ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "bdtRefId");
|
||||
if (!bdt_ref_id) {
|
||||
|
@ -142,14 +142,14 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli
|
|||
ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [dnn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *snssai = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "snssai");
|
||||
|
||||
OpenAPI_snssai_t *snssai_local_nonprim = NULL;
|
||||
if (snssai) {
|
||||
snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "resUri");
|
||||
|
||||
|
@ -158,7 +158,7 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli
|
|||
ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [res_uri]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bdt_policy_data_local_var = OpenAPI_bdt_policy_data_create (
|
||||
inter_group_id ? ogs_strdup_or_assert(inter_group_id->valuestring) : NULL,
|
||||
|
|
|
@ -84,7 +84,7 @@ OpenAPI_binding_resp_t *OpenAPI_binding_resp_parseFromJSON(cJSON *binding_respJS
|
|||
ogs_error("OpenAPI_binding_resp_parseFromJSON() failed [pcf_sm_fqdn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pcf_sm_ip_end_points = cJSON_GetObjectItemCaseSensitive(binding_respJSON, "pcfSmIpEndPoints");
|
||||
|
||||
|
@ -107,7 +107,7 @@ OpenAPI_binding_resp_t *OpenAPI_binding_resp_parseFromJSON(cJSON *binding_respJS
|
|||
|
||||
OpenAPI_list_add(pcf_sm_ip_end_pointsList, pcf_sm_ip_end_pointsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
binding_resp_local_var = OpenAPI_binding_resp_create (
|
||||
pcf_sm_fqdn ? ogs_strdup_or_assert(pcf_sm_fqdn->valuestring) : NULL,
|
||||
|
|
|
@ -155,7 +155,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON)
|
|||
}
|
||||
OpenAPI_list_add(dnn_listList , ogs_strdup_or_assert(dnn_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ip_domain_list = cJSON_GetObjectItemCaseSensitive(bsf_infoJSON, "ipDomainList");
|
||||
|
||||
|
@ -175,7 +175,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON)
|
|||
}
|
||||
OpenAPI_list_add(ip_domain_listList , ogs_strdup_or_assert(ip_domain_list_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ipv4_address_ranges = cJSON_GetObjectItemCaseSensitive(bsf_infoJSON, "ipv4AddressRanges");
|
||||
|
||||
|
@ -198,7 +198,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(ipv4_address_rangesList, ipv4_address_rangesItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ipv6_prefix_ranges = cJSON_GetObjectItemCaseSensitive(bsf_infoJSON, "ipv6PrefixRanges");
|
||||
|
||||
|
@ -221,7 +221,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(ipv6_prefix_rangesList, ipv6_prefix_rangesItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bsf_info_local_var = OpenAPI_bsf_info_create (
|
||||
dnn_list ? dnn_listList : NULL,
|
||||
|
|
|
@ -111,7 +111,7 @@ OpenAPI_cag_data_t *OpenAPI_cag_data_parseFromJSON(cJSON *cag_dataJSON)
|
|||
ogs_error("OpenAPI_cag_data_parseFromJSON() failed [provisioning_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cag_data_local_var = OpenAPI_cag_data_create (
|
||||
cag_infosList,
|
||||
|
|
|
@ -111,7 +111,7 @@ OpenAPI_cag_data_1_t *OpenAPI_cag_data_1_parseFromJSON(cJSON *cag_data_1JSON)
|
|||
ogs_error("OpenAPI_cag_data_1_parseFromJSON() failed [provisioning_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cag_data_1_local_var = OpenAPI_cag_data_1_create (
|
||||
cag_infosList,
|
||||
|
|
|
@ -100,7 +100,7 @@ OpenAPI_cag_info_t *OpenAPI_cag_info_parseFromJSON(cJSON *cag_infoJSON)
|
|||
ogs_error("OpenAPI_cag_info_parseFromJSON() failed [cag_only_indicator]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cag_info_local_var = OpenAPI_cag_info_create (
|
||||
allowed_cag_listList,
|
||||
|
|
|
@ -100,7 +100,7 @@ OpenAPI_cag_info_1_t *OpenAPI_cag_info_1_parseFromJSON(cJSON *cag_info_1JSON)
|
|||
ogs_error("OpenAPI_cag_info_1_parseFromJSON() failed [cag_only_indicator]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cag_info_1_local_var = OpenAPI_cag_info_1_create (
|
||||
allowed_cag_listList,
|
||||
|
|
|
@ -105,7 +105,7 @@ OpenAPI_candidate_for_replacement_t *OpenAPI_candidate_for_replacement_parseFrom
|
|||
}
|
||||
OpenAPI_list_add(dnnsList , ogs_strdup_or_assert(dnns_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
candidate_for_replacement_local_var = OpenAPI_candidate_for_replacement_create (
|
||||
snssai_local_nonprim,
|
||||
|
|
|
@ -119,7 +119,7 @@ OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON)
|
|||
ogs_error("OpenAPI_change_item_parseFromJSON() failed [from]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *orig_value = cJSON_GetObjectItemCaseSensitive(change_itemJSON, "origValue");
|
||||
|
||||
|
@ -128,7 +128,7 @@ OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON)
|
|||
ogs_error("OpenAPI_change_item_parseFromJSON() failed [orig_value]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *new_value = cJSON_GetObjectItemCaseSensitive(change_itemJSON, "newValue");
|
||||
|
||||
|
@ -137,7 +137,7 @@ OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON)
|
|||
ogs_error("OpenAPI_change_item_parseFromJSON() failed [new_value]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
change_item_local_var = OpenAPI_change_item_create (
|
||||
opVariable,
|
||||
|
|
|
@ -172,7 +172,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
goto end;
|
||||
}
|
||||
metering_methodVariable = OpenAPI_metering_method_FromString(metering_method->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *offline = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "offline");
|
||||
|
||||
|
@ -181,7 +181,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [offline]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *online = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "online");
|
||||
|
||||
|
@ -190,7 +190,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [online]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sdf_handl = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "sdfHandl");
|
||||
|
||||
|
@ -199,7 +199,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [sdf_handl]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rating_group = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "ratingGroup");
|
||||
|
||||
|
@ -208,7 +208,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [rating_group]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *reporting_level = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "reportingLevel");
|
||||
|
||||
|
@ -219,7 +219,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
goto end;
|
||||
}
|
||||
reporting_levelVariable = OpenAPI_reporting_level_FromString(reporting_level->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *service_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "serviceId");
|
||||
|
||||
|
@ -228,7 +228,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [service_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sponsor_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "sponsorId");
|
||||
|
||||
|
@ -237,7 +237,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [sponsor_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *app_svc_prov_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "appSvcProvId");
|
||||
|
||||
|
@ -246,7 +246,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [app_svc_prov_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_charging_identifier = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "afChargingIdentifier");
|
||||
|
||||
|
@ -255,7 +255,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [af_charging_identifier]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *af_charg_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "afChargId");
|
||||
|
||||
|
@ -264,7 +264,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat
|
|||
ogs_error("OpenAPI_charging_data_parseFromJSON() failed [af_charg_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
charging_data_local_var = OpenAPI_charging_data_create (
|
||||
ogs_strdup_or_assert(chg_id->valuestring),
|
||||
|
|
|
@ -128,7 +128,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON
|
|||
ogs_error("OpenAPI_charging_information_parseFromJSON() failed [primary_chf_set_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *primary_chf_instance_id = cJSON_GetObjectItemCaseSensitive(charging_informationJSON, "primaryChfInstanceId");
|
||||
|
||||
|
@ -137,7 +137,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON
|
|||
ogs_error("OpenAPI_charging_information_parseFromJSON() failed [primary_chf_instance_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *secondary_chf_set_id = cJSON_GetObjectItemCaseSensitive(charging_informationJSON, "secondaryChfSetId");
|
||||
|
||||
|
@ -146,7 +146,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON
|
|||
ogs_error("OpenAPI_charging_information_parseFromJSON() failed [secondary_chf_set_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *secondary_chf_instance_id = cJSON_GetObjectItemCaseSensitive(charging_informationJSON, "secondaryChfInstanceId");
|
||||
|
||||
|
@ -155,7 +155,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON
|
|||
ogs_error("OpenAPI_charging_information_parseFromJSON() failed [secondary_chf_instance_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
charging_information_local_var = OpenAPI_charging_information_create (
|
||||
ogs_strdup_or_assert(primary_chf_address->valuestring),
|
||||
|
|
|
@ -170,7 +170,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(supi_range_listList, supi_range_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *gpsi_range_list = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "gpsiRangeList");
|
||||
|
||||
|
@ -193,7 +193,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(gpsi_range_listList, gpsi_range_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *plmn_range_list = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "plmnRangeList");
|
||||
|
||||
|
@ -216,7 +216,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON)
|
|||
|
||||
OpenAPI_list_add(plmn_range_listList, plmn_range_listItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *group_id = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "groupId");
|
||||
|
||||
|
@ -225,7 +225,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON)
|
|||
ogs_error("OpenAPI_chf_info_parseFromJSON() failed [group_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *primary_chf_instance = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "primaryChfInstance");
|
||||
|
||||
|
@ -234,7 +234,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON)
|
|||
ogs_error("OpenAPI_chf_info_parseFromJSON() failed [primary_chf_instance]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *secondary_chf_instance = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "secondaryChfInstance");
|
||||
|
||||
|
@ -243,7 +243,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON)
|
|||
ogs_error("OpenAPI_chf_info_parseFromJSON() failed [secondary_chf_instance]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
chf_info_local_var = OpenAPI_chf_info_create (
|
||||
supi_range_list ? supi_range_listList : NULL,
|
||||
|
|
|
@ -388,7 +388,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [country]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *a1 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A1");
|
||||
|
||||
|
@ -397,7 +397,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a1]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *a2 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A2");
|
||||
|
||||
|
@ -406,7 +406,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a2]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *a3 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A3");
|
||||
|
||||
|
@ -415,7 +415,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a3]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *a4 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A4");
|
||||
|
||||
|
@ -424,7 +424,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a4]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *a5 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A5");
|
||||
|
||||
|
@ -433,7 +433,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a5]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *a6 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A6");
|
||||
|
||||
|
@ -442,7 +442,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a6]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *prd = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PRD");
|
||||
|
||||
|
@ -451,7 +451,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [prd]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pod = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "POD");
|
||||
|
||||
|
@ -460,7 +460,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pod]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sts = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "STS");
|
||||
|
||||
|
@ -469,7 +469,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [sts]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *hno = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "HNO");
|
||||
|
||||
|
@ -478,7 +478,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [hno]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *hns = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "HNS");
|
||||
|
||||
|
@ -487,7 +487,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [hns]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *lmk = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "LMK");
|
||||
|
||||
|
@ -496,7 +496,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [lmk]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *loc = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "LOC");
|
||||
|
||||
|
@ -505,7 +505,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [loc]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *nam = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "NAM");
|
||||
|
||||
|
@ -514,7 +514,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [nam]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pc = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PC");
|
||||
|
||||
|
@ -523,7 +523,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pc]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *bld = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "BLD");
|
||||
|
||||
|
@ -532,7 +532,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [bld]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *unit = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "UNIT");
|
||||
|
||||
|
@ -541,7 +541,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [unit]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *flr = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "FLR");
|
||||
|
||||
|
@ -550,7 +550,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [flr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *room = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "ROOM");
|
||||
|
||||
|
@ -559,7 +559,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [room]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *plc = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PLC");
|
||||
|
||||
|
@ -568,7 +568,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [plc]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pcn = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PCN");
|
||||
|
||||
|
@ -577,7 +577,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pcn]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pobox = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "POBOX");
|
||||
|
||||
|
@ -586,7 +586,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pobox]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *addcode = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "ADDCODE");
|
||||
|
||||
|
@ -595,7 +595,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [addcode]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *seat = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "SEAT");
|
||||
|
||||
|
@ -604,7 +604,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [seat]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rd = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RD");
|
||||
|
||||
|
@ -613,7 +613,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rd]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rdsec = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RDSEC");
|
||||
|
||||
|
@ -622,7 +622,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rdsec]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rdbr = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RDBR");
|
||||
|
||||
|
@ -631,7 +631,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rdbr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rdsubbr = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RDSUBBR");
|
||||
|
||||
|
@ -640,7 +640,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rdsubbr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *prm = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PRM");
|
||||
|
||||
|
@ -649,7 +649,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [prm]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pom = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "POM");
|
||||
|
||||
|
@ -658,7 +658,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pom]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *usage_rules = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "usageRules");
|
||||
|
||||
|
@ -667,7 +667,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [usage_rules]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *method = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "method");
|
||||
|
||||
|
@ -676,7 +676,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [method]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *provided_by = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "providedBy");
|
||||
|
||||
|
@ -685,7 +685,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres
|
|||
ogs_error("OpenAPI_civic_address_parseFromJSON() failed [provided_by]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
civic_address_local_var = OpenAPI_civic_address_create (
|
||||
country ? ogs_strdup_or_assert(country->valuestring) : NULL,
|
||||
|
|
|
@ -127,7 +127,7 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON
|
|||
goto end;
|
||||
}
|
||||
stationary_indicationVariable = OpenAPI_stationary_indication_FromString(stationary_indication->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *communication_duration_time = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "communicationDurationTime");
|
||||
|
||||
|
@ -136,7 +136,7 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON
|
|||
ogs_error("OpenAPI_cn_assisted_ran_para_parseFromJSON() failed [communication_duration_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *periodic_time = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "periodicTime");
|
||||
|
||||
|
@ -145,14 +145,14 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON
|
|||
ogs_error("OpenAPI_cn_assisted_ran_para_parseFromJSON() failed [periodic_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *scheduled_communication_time = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "scheduledCommunicationTime");
|
||||
|
||||
OpenAPI_scheduled_communication_time_t *scheduled_communication_time_local_nonprim = NULL;
|
||||
if (scheduled_communication_time) {
|
||||
scheduled_communication_time_local_nonprim = OpenAPI_scheduled_communication_time_parseFromJSON(scheduled_communication_time);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *scheduled_communication_type = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "scheduledCommunicationType");
|
||||
|
||||
|
@ -163,7 +163,7 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON
|
|||
goto end;
|
||||
}
|
||||
scheduled_communication_typeVariable = OpenAPI_scheduled_communication_type_FromString(scheduled_communication_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *traffic_profile = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "trafficProfile");
|
||||
|
||||
|
@ -174,14 +174,14 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON
|
|||
goto end;
|
||||
}
|
||||
traffic_profileVariable = OpenAPI_traffic_profile_FromString(traffic_profile->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *battery_indication = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "batteryIndication");
|
||||
|
||||
OpenAPI_battery_indication_t *battery_indication_local_nonprim = NULL;
|
||||
if (battery_indication) {
|
||||
battery_indication_local_nonprim = OpenAPI_battery_indication_parseFromJSON(battery_indication);
|
||||
}
|
||||
}
|
||||
|
||||
cn_assisted_ran_para_local_var = OpenAPI_cn_assisted_ran_para_create (
|
||||
stationary_indication ? stationary_indicationVariable : 0,
|
||||
|
|
|
@ -135,14 +135,14 @@ OpenAPI_communication_characteristics_t *OpenAPI_communication_characteristics_p
|
|||
OpenAPI_pp_subs_reg_timer_t *pp_subs_reg_timer_local_nonprim = NULL;
|
||||
if (pp_subs_reg_timer) {
|
||||
pp_subs_reg_timer_local_nonprim = OpenAPI_pp_subs_reg_timer_parseFromJSON(pp_subs_reg_timer);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pp_active_time = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppActiveTime");
|
||||
|
||||
OpenAPI_pp_active_time_t *pp_active_time_local_nonprim = NULL;
|
||||
if (pp_active_time) {
|
||||
pp_active_time_local_nonprim = OpenAPI_pp_active_time_parseFromJSON(pp_active_time);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pp_dl_packet_count = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppDlPacketCount");
|
||||
|
||||
|
@ -151,28 +151,28 @@ OpenAPI_communication_characteristics_t *OpenAPI_communication_characteristics_p
|
|||
ogs_error("OpenAPI_communication_characteristics_parseFromJSON() failed [pp_dl_packet_count]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pp_dl_packet_count_ext = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppDlPacketCountExt");
|
||||
|
||||
OpenAPI_pp_dl_packet_count_ext_t *pp_dl_packet_count_ext_local_nonprim = NULL;
|
||||
if (pp_dl_packet_count_ext) {
|
||||
pp_dl_packet_count_ext_local_nonprim = OpenAPI_pp_dl_packet_count_ext_parseFromJSON(pp_dl_packet_count_ext);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pp_maximum_response_time = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppMaximumResponseTime");
|
||||
|
||||
OpenAPI_pp_maximum_response_time_t *pp_maximum_response_time_local_nonprim = NULL;
|
||||
if (pp_maximum_response_time) {
|
||||
pp_maximum_response_time_local_nonprim = OpenAPI_pp_maximum_response_time_parseFromJSON(pp_maximum_response_time);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *pp_maximum_latency = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppMaximumLatency");
|
||||
|
||||
OpenAPI_pp_maximum_latency_t *pp_maximum_latency_local_nonprim = NULL;
|
||||
if (pp_maximum_latency) {
|
||||
pp_maximum_latency_local_nonprim = OpenAPI_pp_maximum_latency_parseFromJSON(pp_maximum_latency);
|
||||
}
|
||||
}
|
||||
|
||||
communication_characteristics_local_var = OpenAPI_communication_characteristics_create (
|
||||
pp_subs_reg_timer ? pp_subs_reg_timer_local_nonprim : NULL,
|
||||
|
|
|
@ -106,7 +106,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_
|
|||
ogs_error("OpenAPI_condition_data_parseFromJSON() failed [activation_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *deactivation_time = cJSON_GetObjectItemCaseSensitive(condition_dataJSON, "deactivationTime");
|
||||
|
||||
|
@ -115,7 +115,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_
|
|||
ogs_error("OpenAPI_condition_data_parseFromJSON() failed [deactivation_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *access_type = cJSON_GetObjectItemCaseSensitive(condition_dataJSON, "accessType");
|
||||
|
||||
|
@ -126,7 +126,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_
|
|||
goto end;
|
||||
}
|
||||
access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(condition_dataJSON, "ratType");
|
||||
|
||||
|
@ -137,7 +137,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_
|
|||
goto end;
|
||||
}
|
||||
rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring);
|
||||
}
|
||||
}
|
||||
|
||||
condition_data_local_var = OpenAPI_condition_data_create (
|
||||
ogs_strdup_or_assert(cond_id->valuestring),
|
||||
|
|
|
@ -86,7 +86,7 @@ OpenAPI_configured_snssai_t *OpenAPI_configured_snssai_parseFromJSON(cJSON *conf
|
|||
OpenAPI_snssai_t *mapped_home_snssai_local_nonprim = NULL;
|
||||
if (mapped_home_snssai) {
|
||||
mapped_home_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(mapped_home_snssai);
|
||||
}
|
||||
}
|
||||
|
||||
configured_snssai_local_var = OpenAPI_configured_snssai_create (
|
||||
configured_snssai_local_nonprim,
|
||||
|
|
|
@ -78,7 +78,7 @@ OpenAPI_confirmation_data_t *OpenAPI_confirmation_data_parseFromJSON(cJSON *conf
|
|||
ogs_error("OpenAPI_confirmation_data_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
confirmation_data_local_var = OpenAPI_confirmation_data_create (
|
||||
ogs_strdup_or_assert(res_star->valuestring),
|
||||
|
|
|
@ -89,7 +89,7 @@ OpenAPI_confirmation_data_response_t *OpenAPI_confirmation_data_response_parseFr
|
|||
ogs_error("OpenAPI_confirmation_data_response_parseFromJSON() failed [supi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *kseaf = cJSON_GetObjectItemCaseSensitive(confirmation_data_responseJSON, "kseaf");
|
||||
|
||||
|
@ -98,7 +98,7 @@ OpenAPI_confirmation_data_response_t *OpenAPI_confirmation_data_response_parseFr
|
|||
ogs_error("OpenAPI_confirmation_data_response_parseFromJSON() failed [kseaf]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
confirmation_data_response_local_var = OpenAPI_confirmation_data_response_create (
|
||||
auth_resultVariable,
|
||||
|
|
|
@ -230,14 +230,14 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont
|
|||
OpenAPI_amf3_gpp_access_registration_t *amf3_gpp_local_nonprim = NULL;
|
||||
if (amf3_gpp) {
|
||||
amf3_gpp_local_nonprim = OpenAPI_amf3_gpp_access_registration_parseFromJSON(amf3_gpp);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *amf_non3_gpp = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "amfNon3Gpp");
|
||||
|
||||
OpenAPI_amf_non3_gpp_access_registration_t *amf_non3_gpp_local_nonprim = NULL;
|
||||
if (amf_non3_gpp) {
|
||||
amf_non3_gpp_local_nonprim = OpenAPI_amf_non3_gpp_access_registration_parseFromJSON(amf_non3_gpp);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sdm_subscriptions = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "sdmSubscriptions");
|
||||
|
||||
|
@ -260,7 +260,7 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont
|
|||
|
||||
OpenAPI_list_add(sdm_subscriptionsList, sdm_subscriptionsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ee_subscriptions = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "eeSubscriptions");
|
||||
|
||||
|
@ -283,21 +283,21 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont
|
|||
|
||||
OpenAPI_list_add(ee_subscriptionsList, ee_subscriptionsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *smsf3_gpp_access = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "smsf3GppAccess");
|
||||
|
||||
OpenAPI_smsf_registration_t *smsf3_gpp_access_local_nonprim = NULL;
|
||||
if (smsf3_gpp_access) {
|
||||
smsf3_gpp_access_local_nonprim = OpenAPI_smsf_registration_parseFromJSON(smsf3_gpp_access);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *smsf_non3_gpp_access = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "smsfNon3GppAccess");
|
||||
|
||||
OpenAPI_smsf_registration_t *smsf_non3_gpp_access_local_nonprim = NULL;
|
||||
if (smsf_non3_gpp_access) {
|
||||
smsf_non3_gpp_access_local_nonprim = OpenAPI_smsf_registration_parseFromJSON(smsf_non3_gpp_access);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscription_data_subscriptions = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "subscriptionDataSubscriptions");
|
||||
|
||||
|
@ -320,7 +320,7 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont
|
|||
|
||||
OpenAPI_list_add(subscription_data_subscriptionsList, subscription_data_subscriptionsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *smf_registrations = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "smfRegistrations");
|
||||
|
||||
|
@ -343,14 +343,14 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont
|
|||
|
||||
OpenAPI_list_add(smf_registrationsList, smf_registrationsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ip_sm_gw = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "ipSmGw");
|
||||
|
||||
OpenAPI_ip_sm_gw_registration_t *ip_sm_gw_local_nonprim = NULL;
|
||||
if (ip_sm_gw) {
|
||||
ip_sm_gw_local_nonprim = OpenAPI_ip_sm_gw_registration_parseFromJSON(ip_sm_gw);
|
||||
}
|
||||
}
|
||||
|
||||
context_data_sets_local_var = OpenAPI_context_data_sets_create (
|
||||
amf3_gpp ? amf3_gpp_local_nonprim : NULL,
|
||||
|
|
|
@ -81,7 +81,7 @@ OpenAPI_context_info_t *OpenAPI_context_info_parseFromJSON(cJSON *context_infoJS
|
|||
}
|
||||
OpenAPI_list_add(orig_headersList , ogs_strdup_or_assert(orig_headers_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
context_info_local_var = OpenAPI_context_info_create (
|
||||
orig_headers ? orig_headersList : NULL
|
||||
|
|
|
@ -185,7 +185,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da
|
|||
}
|
||||
OpenAPI_list_add(original_callback_referenceList , ogs_strdup_or_assert(original_callback_reference_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *ue_id = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "ueId");
|
||||
|
||||
|
@ -194,7 +194,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da
|
|||
ogs_error("OpenAPI_data_change_notify_parseFromJSON() failed [ue_id]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *notify_items = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "notifyItems");
|
||||
|
||||
|
@ -217,14 +217,14 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da
|
|||
|
||||
OpenAPI_list_add(notify_itemsList, notify_itemsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *sdm_subscription = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "sdmSubscription");
|
||||
|
||||
OpenAPI_sdm_subscription_1_t *sdm_subscription_local_nonprim = NULL;
|
||||
if (sdm_subscription) {
|
||||
sdm_subscription_local_nonprim = OpenAPI_sdm_subscription_1_parseFromJSON(sdm_subscription);
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *additional_sdm_subscriptions = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "additionalSdmSubscriptions");
|
||||
|
||||
|
@ -247,7 +247,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da
|
|||
|
||||
OpenAPI_list_add(additional_sdm_subscriptionsList, additional_sdm_subscriptionsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *subscription_data_subscriptions = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "subscriptionDataSubscriptions");
|
||||
|
||||
|
@ -270,7 +270,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da
|
|||
|
||||
OpenAPI_list_add(subscription_data_subscriptionsList, subscription_data_subscriptionsItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data_change_notify_local_var = OpenAPI_data_change_notify_create (
|
||||
original_callback_reference ? original_callback_referenceList : NULL,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue