/* * sm_context_update_data.h * * Data within Update SM Context Request */ #ifndef _OpenAPI_sm_context_update_data_H_ #define _OpenAPI_sm_context_update_data_H_ #include #include "../external/cJSON.h" #include "../include/list.h" #include "../include/keyValuePair.h" #include "../include/binary.h" #include "access_type.h" #include "backup_amf_info.h" #include "cause.h" #include "ddn_failure_subs.h" #include "eps_interworking_indication.h" #include "exemption_ind.h" #include "guami.h" #include "ho_state.h" #include "indirect_data_forwarding_tunnel_info.h" #include "ma_release_indication.h" #include "mo_exp_data_counter.h" #include "n2_sm_info_type.h" #include "ng_ap_cause.h" #include "ng_ran_target_id.h" #include "pcf_ue_callback_info.h" #include "plmn_id_nid.h" #include "presence_state.h" #include "rat_type.h" #include "ref_to_binary_data.h" #include "satellite_backhaul_category.h" #include "snssai.h" #include "trace_data.h" #include "tunnel_info.h" #include "up_cnx_state.h" #include "user_location.h" #ifdef __cplusplus extern "C" { #endif typedef struct OpenAPI_sm_context_update_data_s OpenAPI_sm_context_update_data_t; typedef enum { OpenAPI_sm_context_update_data_SMPOLICYNOTIFYIND_NULL = 0, OpenAPI_sm_context_update_data_SMPOLICYNOTIFYIND__true } OpenAPI_sm_context_update_data_sm_policy_notify_ind_e; char* OpenAPI_sm_context_update_data_sm_policy_notify_ind_ToString(OpenAPI_sm_context_update_data_sm_policy_notify_ind_e sm_policy_notify_ind); OpenAPI_sm_context_update_data_sm_policy_notify_ind_e OpenAPI_sm_context_update_data_sm_policy_notify_ind_FromString(char* sm_policy_notify_ind); typedef struct OpenAPI_sm_context_update_data_s { char *pei; char *serving_nf_id; struct OpenAPI_guami_s *guami; struct OpenAPI_plmn_id_nid_s *serving_network; bool is_backup_amf_info_null; OpenAPI_list_t *backup_amf_info; OpenAPI_access_type_e an_type; OpenAPI_access_type_e additional_an_type; OpenAPI_access_type_e an_type_to_reactivate; OpenAPI_rat_type_e rat_type; OpenAPI_presence_state_e presence_in_ladn; struct OpenAPI_user_location_s *ue_location; char *ue_time_zone; struct OpenAPI_user_location_s *add_ue_location; OpenAPI_up_cnx_state_e up_cnx_state; OpenAPI_ho_state_e ho_state; bool is_to_be_switched; int to_be_switched; bool is_failed_to_be_switched; int failed_to_be_switched; struct OpenAPI_ref_to_binary_data_s *n1_sm_msg; struct OpenAPI_ref_to_binary_data_s *n2_sm_info; OpenAPI_n2_sm_info_type_e n2_sm_info_type; struct OpenAPI_ng_ran_target_id_s *target_id; char *target_serving_nf_id; char *sm_context_status_uri; bool is_data_forwarding; int data_forwarding; struct OpenAPI_tunnel_info_s *n9_forwarding_tunnel; OpenAPI_list_t *n9_dl_forwarding_tnl_list; OpenAPI_list_t *n9_ul_forwarding_tnl_list; struct OpenAPI_tunnel_info_s *n9_dl_forwarding_tunnel; bool is_n9_inactivity_timer; int n9_inactivity_timer; OpenAPI_list_t *eps_bearer_setup; OpenAPI_list_t *revoke_ebi_list; bool is_release; int release; OpenAPI_cause_e cause; struct OpenAPI_ng_ap_cause_s *ng_ap_cause; bool is__5g_mm_cause_value; int _5g_mm_cause_value; struct OpenAPI_snssai_s *s_nssai; bool is_trace_data_null; struct OpenAPI_trace_data_s *trace_data; OpenAPI_eps_interworking_indication_e eps_interworking_ind; bool is_an_type_can_be_changed; int an_type_can_be_changed; struct OpenAPI_ref_to_binary_data_s *n2_sm_info_ext1; OpenAPI_n2_sm_info_type_e n2_sm_info_type_ext1; OpenAPI_ma_release_indication_e ma_release_ind; bool is_ma_nw_upgrade_ind; int ma_nw_upgrade_ind; bool is_ma_request_ind; int ma_request_ind; struct OpenAPI_exemption_ind_s *exemption_ind; char *supported_features; struct OpenAPI_mo_exp_data_counter_s *mo_exp_data_counter; bool is_extended_nas_sm_timer_ind; int extended_nas_sm_timer_ind; char *forwarding_f_teid; OpenAPI_list_t *forwarding_bearer_contexts; struct OpenAPI_ddn_failure_subs_s *ddn_failure_subs; bool is_skip_n2_pdu_session_res_rel_ind; int skip_n2_pdu_session_res_rel_ind; OpenAPI_list_t *secondary_rat_usage_data_report_container; OpenAPI_sm_context_update_data_sm_policy_notify_ind_e sm_policy_notify_ind; bool is_pcf_ue_callback_info_null; struct OpenAPI_pcf_ue_callback_info_s *pcf_ue_callback_info; OpenAPI_satellite_backhaul_category_e satellite_backhaul_cat; } OpenAPI_sm_context_update_data_t; OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_create( char *pei, char *serving_nf_id, OpenAPI_guami_t *guami, OpenAPI_plmn_id_nid_t *serving_network, bool is_backup_amf_info_null, OpenAPI_list_t *backup_amf_info, OpenAPI_access_type_e an_type, OpenAPI_access_type_e additional_an_type, OpenAPI_access_type_e an_type_to_reactivate, OpenAPI_rat_type_e rat_type, OpenAPI_presence_state_e presence_in_ladn, OpenAPI_user_location_t *ue_location, char *ue_time_zone, OpenAPI_user_location_t *add_ue_location, OpenAPI_up_cnx_state_e up_cnx_state, OpenAPI_ho_state_e ho_state, bool is_to_be_switched, int to_be_switched, bool is_failed_to_be_switched, int failed_to_be_switched, OpenAPI_ref_to_binary_data_t *n1_sm_msg, OpenAPI_ref_to_binary_data_t *n2_sm_info, OpenAPI_n2_sm_info_type_e n2_sm_info_type, OpenAPI_ng_ran_target_id_t *target_id, char *target_serving_nf_id, char *sm_context_status_uri, bool is_data_forwarding, int data_forwarding, OpenAPI_tunnel_info_t *n9_forwarding_tunnel, OpenAPI_list_t *n9_dl_forwarding_tnl_list, OpenAPI_list_t *n9_ul_forwarding_tnl_list, OpenAPI_tunnel_info_t *n9_dl_forwarding_tunnel, bool is_n9_inactivity_timer, int n9_inactivity_timer, OpenAPI_list_t *eps_bearer_setup, OpenAPI_list_t *revoke_ebi_list, bool is_release, int release, OpenAPI_cause_e cause, OpenAPI_ng_ap_cause_t *ng_ap_cause, bool is__5g_mm_cause_value, int _5g_mm_cause_value, OpenAPI_snssai_t *s_nssai, bool is_trace_data_null, OpenAPI_trace_data_t *trace_data, OpenAPI_eps_interworking_indication_e eps_interworking_ind, bool is_an_type_can_be_changed, int an_type_can_be_changed, OpenAPI_ref_to_binary_data_t *n2_sm_info_ext1, OpenAPI_n2_sm_info_type_e n2_sm_info_type_ext1, OpenAPI_ma_release_indication_e ma_release_ind, bool is_ma_nw_upgrade_ind, int ma_nw_upgrade_ind, bool is_ma_request_ind, int ma_request_ind, OpenAPI_exemption_ind_t *exemption_ind, char *supported_features, OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter, bool is_extended_nas_sm_timer_ind, int extended_nas_sm_timer_ind, char *forwarding_f_teid, OpenAPI_list_t *forwarding_bearer_contexts, OpenAPI_ddn_failure_subs_t *ddn_failure_subs, bool is_skip_n2_pdu_session_res_rel_ind, int skip_n2_pdu_session_res_rel_ind, OpenAPI_list_t *secondary_rat_usage_data_report_container, OpenAPI_sm_context_update_data_sm_policy_notify_ind_e sm_policy_notify_ind, bool is_pcf_ue_callback_info_null, OpenAPI_pcf_ue_callback_info_t *pcf_ue_callback_info, OpenAPI_satellite_backhaul_category_e satellite_backhaul_cat ); void OpenAPI_sm_context_update_data_free(OpenAPI_sm_context_update_data_t *sm_context_update_data); OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(cJSON *sm_context_update_dataJSON); cJSON *OpenAPI_sm_context_update_data_convertToJSON(OpenAPI_sm_context_update_data_t *sm_context_update_data); OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_copy(OpenAPI_sm_context_update_data_t *dst, OpenAPI_sm_context_update_data_t *src); #ifdef __cplusplus } #endif #endif /* _OpenAPI_sm_context_update_data_H_ */